index.vue 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. <template>
  2. <view class="content">
  3. <image src="../../static/img/index/index.png" mode="" class="bg"></image>
  4. <view class="box">
  5. <view class="discounts">
  6. <image src="../../static/img/index/youhui1.png" mode="" class="discounts1"></image>
  7. <view class="money">
  8. ¥<text>{{price}}</text>
  9. </view>
  10. <view class="baodan" @click="baodan()">
  11. <image src="../../static/img/index/baodan1.png" mode=""></image>
  12. </view>
  13. </view>
  14. <view class="earnings-box">
  15. <image src="../../static/img/index/vip.png" mode="" class="earnings"></image>
  16. <view class="text-box">
  17. <view class="textDetail" v-for="(item,index) in revenueList">
  18. <view class="textDetail-title">
  19. {{index<2?(index+1)+"层收益":(index+1)+"层收益(黑钻VIP会员专属)"}}
  20. </view>
  21. <view class="textDetail-content">{{item}}</view>
  22. </view>
  23. </view>
  24. </view>
  25. <view class="discounts">
  26. <image src="../../static/img/index/youhui1.png" mode="" class="discounts1"></image>
  27. <view class="money">
  28. ¥<text>{{price}}</text>
  29. </view>
  30. <view class="baodan" @click="baodan()">
  31. <image src="../../static/img/index/baodan1.png" mode=""></image>
  32. </view>
  33. </view>
  34. <view class="earnings-box">
  35. <image src="../../static/img/index/vip.png" mode="" class="earnings"></image>
  36. <view class="text-box">
  37. <view class="textDetail" v-for="(item,index) in revenueList">
  38. <view class="textDetail-title">
  39. {{index<2?(index+1)+"层收益":(index+1)+"层收益(黑钻VIP会员专属)"}}
  40. </view>
  41. <view class="textDetail-content">{{item}}</view>
  42. </view>
  43. </view>
  44. </view>
  45. </view>
  46. </view>
  47. </template>
  48. <script>
  49. import {
  50. mapState
  51. } from 'vuex';
  52. export default {
  53. components: {},
  54. data() {
  55. return {
  56. price: 20000,
  57. price1: 4000,
  58. revenueList: [
  59. "5人x2000元=1万元",
  60. "25人x2000元=5万元",
  61. "125人x2000元=25万元 ",
  62. "625人x2000元=125万元",
  63. "3125人x2000元=625万元 ",
  64. "15625人x2000元=3125万元 ",
  65. "78125人x2000元=1.5625亿元"
  66. ]
  67. }
  68. },
  69. methods: {
  70. baodan() {
  71. console.log("aaaaa ");
  72. uni.navigateTo({
  73. url
  74. })
  75. }
  76. }
  77. }
  78. </script>
  79. <style lang="scss" scoped>
  80. page {
  81. padding: 0;
  82. margin: 0;
  83. // width: 750rpx;
  84. height: 100%;
  85. }
  86. .content {
  87. display: flex;
  88. position: relative;
  89. flex-direction: column;
  90. .bg {
  91. position: absolute;
  92. width: 100%;
  93. height: 6000rpx;
  94. }
  95. .box{
  96. margin-top: 1480rpx;
  97. }
  98. .discounts {
  99. margin: 0 30rpx;
  100. display: flex;
  101. justify-content: center;
  102. position: relative;
  103. width: 690rpx;
  104. height: 890rpx;
  105. .discounts1 {
  106. width: 100%;
  107. height: 100%;
  108. }
  109. .money {
  110. margin: 0 auto;
  111. display: flex;
  112. justify-content: center;
  113. align-items: center;
  114. top: 0;
  115. margin-top: 250rpx;
  116. font-size: 36rpx;
  117. font-family: Source Han Sans CN;
  118. font-weight: bold;
  119. color: #C63535;
  120. line-height: 30rpx;
  121. position: absolute;
  122. text {
  123. font-size: 116rpx;
  124. font-family: Source Han Sans CN;
  125. font-weight: 800;
  126. color: #C63535;
  127. line-height: 115rpx;
  128. }
  129. }
  130. .baodan {
  131. position: absolute;
  132. top: 690rpx;
  133. width: 300rpx;
  134. height: 80rpx;
  135. image {
  136. width: 100%;
  137. height: 100%;
  138. }
  139. }
  140. }
  141. .earnings-box {
  142. position: relative;
  143. margin: 40rpx 30rpx;
  144. width: 690rpx;
  145. height: 1140rpx;
  146. .earnings {
  147. width: 100%;
  148. height: 100%;
  149. }
  150. .text-box {
  151. position: absolute;
  152. top: 184rpx;
  153. left: 110rpx;
  154. .textDetail {
  155. padding-bottom: 69rpx;
  156. .textDetail-title {
  157. font-size: 28rpx;
  158. font-family: PingFang SC;
  159. font-weight: bold;
  160. color: #4E2C0E;
  161. line-height: 30rpx;
  162. padding-bottom: 10rpx;
  163. }
  164. .textDetail-content {
  165. font-size: 30rpx;
  166. font-family: PingFang SC;
  167. font-weight: bold;
  168. color: #4E2C0E;
  169. line-height: 30rpx;
  170. }
  171. }
  172. }
  173. }
  174. }
  175. </style>