You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

91 lines
2.6 KiB

8 months ago
  1. <template>
  2. <view class="content">
  3. <view style="background: #f5f5f5; min-height: calc(100vh - 570rpx);">
  4. <view class="item-card">
  5. <view class="item-line flex flex-sb" v-for="i in 10">
  6. <view class="flex">
  7. <view style="width:80rpx;height:80rpx;margin-right:24rpx;border-radius: 50%;" class="test">
  8. </view>
  9. <view>
  10. <view style="">头部按摩放松</view>
  11. <view style="color: #909090; font-size: 24rpx">已加入平台120天</view>
  12. </view>
  13. </view>
  14. <view>
  15. <view v-if="i%2 === 0" style="line-height: 80rpx;color: #fc5341;">下单12单佣金840</view>
  16. <view v-if="i%2 === 1" style="line-height: 80rpx;color: #FEB50A;">下单72单佣金780</view>
  17. </view>
  18. </view>
  19. </view>
  20. </view>
  21. </view>
  22. </template>
  23. <script>
  24. export default {
  25. data() {
  26. return {
  27. active_idx: 0,
  28. tc: [{
  29. price1: '100',
  30. price2: '9',
  31. price3: '0.00',
  32. }, {
  33. price1: '1000',
  34. price2: '8',
  35. price3: '100.00',
  36. }, {
  37. price1: '3000',
  38. price2: '7',
  39. price3: '400.00',
  40. }, {
  41. price1: '5000',
  42. price2: '6',
  43. price3: '888.00',
  44. }]
  45. }
  46. },
  47. onShow() {
  48. },
  49. methods: {
  50. clickBanner(){ uni.navigateTo({ url: '/pages/login/login' }) },
  51. clickNotice(){ uni.navigateTo({ url: '/pages/index/notice'}) },
  52. clickFillin(){ uni.navigateTo({ url: '/pages/index/fillin'}) },
  53. clickSpring(){ uni.navigateTo({ url: '/pages/spring/vote' }) },
  54. clickSpRank(){ uni.navigateTo({ url: '/pages/spring/rank' }) },
  55. clickMore(){ uni.navigateTo({ url: '/pages/index/infor' }) },
  56. clickStar(){ uni.navigateTo({ url: '/pages/star/index' }) },
  57. clickVote(){ uni.switchTab({ url: '/pages/star/vote' }) },
  58. clickRank(){ uni.switchTab({ url: '/pages/index/rank' }) },
  59. clickInfo(id){ uni.navigateTo({ url: `/pages/index/infod?id=${id}`}) },
  60. }
  61. }
  62. </script>
  63. <style scoped>
  64. body{
  65. background-color: #f5f5f5;
  66. }
  67. .item-card{
  68. width: calc(710rpx);
  69. margin: 20rpx;
  70. font-size: 28rpx;
  71. font-family: PingFang SC, PingFang SC-Bold;
  72. font-weight: 700;
  73. text-align: left;
  74. color: #333333;
  75. }
  76. .item-line{
  77. border-radius: 16rpx;
  78. background-color: #fff;
  79. line-height: 40rpx;
  80. width: calc(100% - 80rpx);
  81. height: 80rpx;
  82. padding: 32rpx 40rpx;
  83. margin-bottom: 20rpx;
  84. }
  85. </style>