role.vue 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <template>
  2. <view>
  3. <image class="integral-role-header" :src="statics.integralRoleHeader"></image>
  4. <view class="integral-role-main pd16_15">
  5. <view class="box pd16_15">
  6. <view class="flex alcenter space pb16 bd-bottom mb16">
  7. <view class="flex alcenter">
  8. <image :src="statics.integralRoleImg[0]" style="width: 100rpx;height: 100rpx;"></image>
  9. <view class="ml15">
  10. <view class="ft14 ftw600">注册完善资料</view>
  11. <view class="flex alcenter mt12">
  12. <image :src="statics.integralImg01" style="width: 32rpx; height: 32rpx;"></image>
  13. <view class="ft12 cl-notice ml5">奖励10积分</view>
  14. </view>
  15. </view>
  16. </view>
  17. <view class="btn-small" :style="getBtnDisStyle" style="width: 148rpx;">已赚到</view>
  18. </view>
  19. <view class="flex alcenter space pb16 bd-bottom mb16">
  20. <view class="flex alcenter">
  21. <image :src="statics.integralRoleImg[1]" style="width: 100rpx;height: 100rpx;"></image>
  22. <view class="ml15">
  23. <view class="ft14 ftw600">邀请好友注册</view>
  24. <view class="flex alcenter mt12">
  25. <image :src="statics.integralImg01" style="width: 32rpx; height: 32rpx;"></image>
  26. <view class="ft12 cl-notice ml5">奖励10积分</view>
  27. </view>
  28. </view>
  29. </view>
  30. <button open-type="share" class="btn-small" :style="getBtnRoleStyle" style="width: 148rpx;">赚积分</button>
  31. </view>
  32. <view class="flex alcenter space pb16 bd-bottom mb16">
  33. <view class="flex alcenter">
  34. <image :src="statics.integralRoleImg[2]" style="width: 100rpx;height: 100rpx;"></image>
  35. <view class="ml15">
  36. <view class="ft14 ftw600">充值余额</view>
  37. <view class="flex alcenter mt12">
  38. <image :src="statics.integralImg01" style="width: 32rpx; height: 32rpx;"></image>
  39. <view class="ft12 cl-notice ml5">奖励对应充值积分</view>
  40. </view>
  41. </view>
  42. </view>
  43. <navigator url="/pages/client/vipcard/recharge">
  44. <view class="btn-small" :style="getBtnRoleStyle" style="width: 148rpx;">赚积分</view>
  45. </navigator>
  46. </view>
  47. <view class="flex alcenter space pb16 bd-bottom mb16">
  48. <view class="flex alcenter">
  49. <image :src="statics.integralRoleImg[3]" style="width: 100rpx;height: 100rpx;"></image>
  50. <view class="ml15">
  51. <view class="ft14 ftw600">购买次卡</view>
  52. <view class="flex alcenter mt12">
  53. <image :src="statics.integralImg01" style="width: 32rpx; height: 32rpx;"></image>
  54. <view class="ft12 cl-notice ml5">奖励对应次卡积分</view>
  55. </view>
  56. </view>
  57. </view>
  58. <navigator url="/pages/client/card/index">
  59. <view class="btn-small" :style="getBtnRoleStyle" style="width: 148rpx;">赚积分</view>
  60. </navigator>
  61. </view>
  62. <view class="flex alcenter space pb16 bd-bottom mb16">
  63. <view class="flex alcenter">
  64. <image :src="statics.integralRoleImg[4]" style="width: 100rpx;height: 100rpx;"></image>
  65. <view class="ml15">
  66. <view class="ft14 ftw600">购买特惠套餐</view>
  67. <view class="flex alcenter mt12">
  68. <image :src="statics.integralImg01" style="width: 32rpx; height: 32rpx;"></image>
  69. <view class="ft12 cl-notice ml5">奖励对应消费积分</view>
  70. </view>
  71. </view>
  72. </view>
  73. <navigator url="/pages/client/tuan/index">
  74. <view class="btn-small" :style="getBtnRoleStyle" style="width: 148rpx;">赚积分</view>
  75. </navigator>
  76. </view>
  77. <view class="flex alcenter space pb16 ">
  78. <view class="flex alcenter">
  79. <image :src="statics.integralRoleImg[5]" style="width: 100rpx;height: 100rpx;"></image>
  80. <view class="ml15">
  81. <view class="ft14 ftw600">订单评价</view>
  82. <view class="flex alcenter mt12">
  83. <image :src="statics.integralImg01" style="width: 32rpx; height: 32rpx;"></image>
  84. <view class="ft12 cl-notice ml5">奖励10积分</view>
  85. </view>
  86. </view>
  87. </view>
  88. <navigator url="/pages/client/order/index">
  89. <view class="btn-small" :style="getBtnRoleStyle" style="width: 148rpx;">赚积分</view>
  90. </navigator>
  91. </view>
  92. </view>
  93. </view>
  94. </view>
  95. </template>
  96. <script>
  97. export default{
  98. data(){
  99. return {
  100. }
  101. },
  102. computed:{
  103. getBtnRoleStyle(){
  104. let style = 'background: linear-gradient(135deg, #FFBB00 0%, #FF4D00 100%);color:#ffffff;';
  105. return style;
  106. }
  107. },
  108. onLoad(){
  109. },
  110. onShareAppMessage(e){
  111. },
  112. onShareTimeline(e){
  113. },
  114. methods:{
  115. }
  116. }
  117. </script>
  118. <style>
  119. .integral-role-header{
  120. position: relative;
  121. width: 100%;
  122. height: 400rpx;
  123. }
  124. .integral-role-main{
  125. position: relative;
  126. width: 100%;
  127. margin-top: -192rpx;
  128. }
  129. </style>