猫妈狗爸伴宠师小程序前端代码
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.

245 lines
4.9 KiB

2 months ago
  1. <template>
  2. <!-- <div>我的等级</div> -->
  3. <view class="box box-size">
  4. <view class="level">
  5. <view class="picture" :style="{borderRadius:'50%'}">
  6. <image src="" mode="" shape="circle" withe="139rpx" height="139rpx"></image>
  7. </view>
  8. <view class="flex">
  9. <view class="name">
  10. 猫小姐
  11. </view>
  12. <view class="level">
  13. <view class="title level" :style="{borderRadius:'19rpx'}">
  14. 初级合伙人
  15. </view>
  16. <view class="time">
  17. 已加入合伙人:130
  18. </view>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="top box-size" :style="{ borderRadius: '16rpx' }">
  23. <view class="form-title">
  24. 当月数据
  25. </view>
  26. <view class="line1">
  27. </view>
  28. <view class="flex-b margin_top_3">
  29. <view class="justify col_999">
  30. <view class="">
  31. 当月注册用户
  32. </view>
  33. <view class="margin_top_10">
  34. 0
  35. </view>
  36. </view>
  37. <view class="justify col_999">
  38. <view class="">
  39. 当月下单用户
  40. </view>
  41. <view class="margin_top_10">
  42. 0
  43. </view>
  44. </view>
  45. <view class="justify col_999">
  46. <view class="">
  47. 当月有效用户
  48. </view>
  49. <view class="margin_top_10">
  50. 0
  51. </view>
  52. </view>
  53. </view>
  54. </view>
  55. <view class=" top center box-size" :style="{ borderRadius: '16rpx' }">
  56. <view class="form-title">
  57. 累积数据
  58. </view>
  59. <view class="line1">
  60. </view>
  61. <view class="flex-b margin_top_3">
  62. <view class="justify col_999">
  63. <view class="">
  64. 累积注册用户
  65. </view>
  66. <view class="margin_top_10">
  67. 0
  68. </view>
  69. </view>
  70. <view class="justify col_999">
  71. <view class="">
  72. 累积下单用户
  73. </view>
  74. <view class="margin_top_10">
  75. 0
  76. </view>
  77. </view>
  78. <view class="justify col_999">
  79. <view class="">
  80. 累积有效用户
  81. </view>
  82. <view class="margin_top_10">
  83. 0
  84. </view>
  85. </view>
  86. </view>
  87. </view>
  88. <view class="bottom box-size child" :style="{ borderRadius: '16rpx' }">
  89. <view class="form_item">
  90. 累积数据:即注册至今的累计数据
  91. </view>
  92. <view class="line1">
  93. </view>
  94. <view class="form_item">
  95. 当月注册用户:在本月初至今您成功邀请绑定的新用户数量
  96. <p>累积注册用户:您入驻合伙人至今成功邀请绑定的用户数量</p>
  97. </view>
  98. <view class="line1">
  99. </view>
  100. <view class="form_item">
  101. 当月下单用户:在本月初至今成功邀请绑定的新用户中截止今天成功下单的用户数;
  102. <p>累积下单用户:您入驻合伙人至今成功邀请绑定的新用户中截止今日成功下单的用户数</p>
  103. </view>
  104. <view class="line1">
  105. </view>
  106. <view class="form_item">
  107. 当月有效用户:本月初至今下单的用户中截止今日订单已完成的用户数量;
  108. <p>累积有效用户:您入驻合伙人至今成功下单的新用户中截止今日所有订单已完成的用户数</p>
  109. </view>
  110. </view>
  111. </view>
  112. </template>
  113. <script>
  114. </script>
  115. <style scoped lang="scss">
  116. .box {
  117. width: 100vw;
  118. height: 100vh;
  119. background: linear-gradient(180deg, #ffbf60, #ffe6bf, #F5F5F7 433rpx);
  120. padding: 1% 2%;
  121. .picture {
  122. width: 139rpx;
  123. height: 139rpx;
  124. background-color: green;
  125. margin: 30rpx 20rpx 30rpx 30rpx;
  126. }
  127. .box-size {
  128. box-sizing: border-box;
  129. }
  130. .flex {
  131. flex-direction: column;
  132. justify-content: center;
  133. align-items: flex-start;
  134. }
  135. .level {
  136. display: flex;
  137. }
  138. .justify {
  139. width: 168rpx;
  140. display: grid;
  141. justify-content: center;
  142. }
  143. .name {
  144. font-size: 32rpx;
  145. margin-bottom: 15rpx;
  146. }
  147. .title {
  148. width: 143rpx;
  149. height: 38rpx;
  150. background-color: #FFA848;
  151. font-size: 22rpx;
  152. border: 1rpx solid #FFFFFF;
  153. line-height: 36rpx;
  154. color: #FFFFFF;
  155. justify-content: center;
  156. margin-right: 15rpx;
  157. }
  158. .time {
  159. color: #A55822;
  160. font-size: 22rpx;
  161. line-height: 36rpx;
  162. }
  163. .line1 {
  164. position: relative;
  165. margin-bottom: 50rpx;
  166. &::before {
  167. position: absolute;
  168. top: 25rpx;
  169. left: 0;
  170. content: "";
  171. width: 660rpx;
  172. height: 1rpx;
  173. background-color: #F5F5F7;
  174. // background-color: red;
  175. }
  176. }
  177. .top {
  178. width: 718rpx;
  179. height: 259rpx;
  180. background-color: #FFFFFF;
  181. padding: 3% 4%;
  182. .margin_top_3 {
  183. margin-top: 3%;
  184. font-weight: 0 important !important;
  185. .margin_top_10 {
  186. margin-top: 10%;
  187. color: #000000;
  188. }
  189. .col_999 {
  190. font-size: 28rpx;
  191. color: #999999;
  192. }
  193. }
  194. }
  195. .center {
  196. margin-top: 3%;
  197. }
  198. .bottom {
  199. width: 711rpx;
  200. height: 546rpx;
  201. background-color: #FFF4E6;
  202. padding: 3%;
  203. font-size: 22rpx;
  204. margin-top: 20rpx;
  205. .form_item {
  206. font-size: 22rpx;
  207. color: #A55822;
  208. position: relative;
  209. // padding: 38rpx 20rpx 0;
  210. margin-left: 10rpx;
  211. &::before {
  212. position: absolute;
  213. top: 5rpx;
  214. left: -18rpx;
  215. content: "*";
  216. }
  217. }
  218. }
  219. .child {
  220. display: grid;
  221. justify-content: space-between;
  222. }
  223. }
  224. </style>