partner.vue 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <template>
  2. <view class="box">
  3. <view class="top-box" :style="{background:'#'+themeColor}"> </view>
  4. <view class="topCont">
  5. <view class="topContLIne topContLIne1">
  6. <view class="topContLIneTitle">未提现金额</view>
  7. <view class="topContLIneNum">99999.98</view>
  8. </view>
  9. <view class="topContLIne topContLIne2">
  10. <view class="topContLIneTitle">剩余股本金额</view>
  11. <view class="topContLIneNum">99999.98</view>
  12. </view>
  13. <view class="topContLIne topContLIne3">
  14. <view class="topContLIneTitle">累计提现金额</view>
  15. <view class="topContLIneNum">99999.98</view>
  16. </view>
  17. <view class="topContLIne topContLIne4">
  18. <view class="topContLIneTitle">累计分红金额</view>
  19. <view class="topContLIneNum">99999.98</view>
  20. </view>
  21. </view>
  22. <view class="lineBox">
  23. <view class="line" @click="goRouter('bonus')">
  24. <view class="lineLeft">
  25. <image src="../../static/timg/icon_fenhongjilu.png" mode="" class="lineLeftImg"></image>
  26. <view class="lineLeftTxt">分红记录</view>
  27. </view>
  28. <view class="lineRight">
  29. <view class="lineRIghtNUm">999</view>
  30. <image src="../../static/timg/icon_arrow_right.png" mode="" class="lineRightImg"></image>
  31. </view>
  32. </view>
  33. <view class="line" @click="goRouter('people')">
  34. <view class="lineLeft">
  35. <image src="../../static/timg/icon_renmai.png" mode="" class="lineLeftImg"></image>
  36. <view class="lineLeftTxt">下线人脉</view>
  37. </view>
  38. <view class="lineRight">
  39. <view class="lineRIghtNUm">999</view>
  40. <image src="../../static/timg/icon_arrow_right.png" mode="" class="lineRightImg"></image>
  41. </view>
  42. </view>
  43. </view>
  44. <view class="lineBox">
  45. <view class="line" @click="goRouter('myQr')">
  46. <view class="lineLeft">
  47. <image src="../../static/timg/icon_erweima.png" mode="" class="lineLeftImg"></image>
  48. <view class="lineLeftTxt">生成二维码</view>
  49. </view>
  50. <view class="lineRight">
  51. <image src="../../static/timg/icon_arrow_right.png" mode="" class="lineRightImg"></image>
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. </template>
  57. <script>
  58. export default {
  59. components: {
  60. },
  61. data() {
  62. return {
  63. themeColor:'',
  64. userInfo:'',
  65. }
  66. },
  67. onLoad(opt) {
  68. this.themeColor = uni.getStorageSync("themeColor");
  69. this.userInfo = uni.getStorageSync("userInfo");
  70. },
  71. onShow() {
  72. },
  73. methods: {
  74. goRouter(url){
  75. uni.navigateTo({
  76. url:url
  77. })
  78. }
  79. }
  80. }
  81. </script>
  82. <style scoped lang="less">
  83. .box {
  84. width: 100vw;
  85. min-height: 100vh;
  86. background: #F4F5F7;
  87. }
  88. .top-box{
  89. width: 750rpx;
  90. height: 192rpx;
  91. background: #FF0000;
  92. }
  93. .topCont{
  94. width: 702rpx;
  95. height: 358rpx;
  96. background: #FFFFFF;
  97. border-radius: 10rpx;
  98. margin-left: 24rpx;
  99. margin-top: -148rpx;
  100. display: flex;
  101. flex-wrap: wrap;
  102. }
  103. .topContLIne{
  104. width: 350rpx;
  105. height: 178rpx;
  106. text-align: center;
  107. }
  108. .topContLIne1{
  109. border-right: 1px solid #EEEEEE;
  110. border-bottom: 1px solid #EEEEEE;
  111. }
  112. .topContLIne2{
  113. border-bottom: 1px solid #EEEEEE;
  114. }
  115. .topContLIne3{
  116. border-right: 1px solid #EEEEEE;
  117. }
  118. .topContLIneTitle{
  119. color: #666666; font-size: 28rpx;padding-top: 28rpx;
  120. }
  121. .topContLIneNum{
  122. color: #FF0000;
  123. font-size: 40rpx;
  124. font-family: PingFangSC-Medium, PingFang SC;
  125. font-weight: 500;
  126. padding-top: 10rpx;
  127. }
  128. .lineLeftImg{
  129. width: 34rpx;
  130. height: 34rpx;
  131. }
  132. .lineLeftTxt{
  133. color: #333333;font-size: 28rpx;line-height: 34rpx;padding-left: 24rpx;
  134. }
  135. .lineRIghtNUm{
  136. color: #666666;font-size: 28rpx;line-height: 34rpx;padding-right: 16rpx;
  137. }
  138. .lineRightImg{
  139. width: 12rpx;
  140. height: 20rpx;
  141. margin-top: 7rpx;
  142. }
  143. .lineBox{
  144. background: #FFFFFF;width: 702rpx;margin-top: 20rpx;margin-left: 24rpx;
  145. }
  146. .line{
  147. display: flex;
  148. justify-content: space-between;
  149. padding: 38rpx 32rpx;
  150. }
  151. .lineLeft{
  152. display: flex;
  153. }
  154. .lineRight{
  155. display: flex;
  156. }
  157. </style>