青蛙卖大米小程序2024-11-24
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.

376 lines
6.7 KiB

8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
  1. <template>
  2. <view class="page">
  3. <navbar title="个人中心" />
  4. <view class="head">
  5. <view class="headImage">
  6. <image src="" mode=""></image>
  7. </view>
  8. <view class="info">
  9. <view class="name">
  10. <view class="one"> 可可</view>
  11. <view class="two"> 黄金会员</view>
  12. </view>
  13. <view class="vip">
  14. IDAa63982546
  15. </view>
  16. <view class="tips">
  17. 注册时间2020-10-11
  18. </view>
  19. </view>
  20. <view class="setting">
  21. <uv-icon name="setting" size="40rpx"></uv-icon>
  22. </view>
  23. </view>
  24. <view class="earnings">
  25. <view class="member">
  26. <view>会员等级黄金会员</view>
  27. <view>查看权益></view>
  28. </view>
  29. <view class="deposit">
  30. <view class="box">
  31. <view>
  32. <view class="num">1.00</view>
  33. <view class="text">收益明细()</view>
  34. </view>
  35. <view class="boxs">收益明细</view>
  36. </view>
  37. <view class="box">
  38. <view>
  39. <view class="num">1.00</view>
  40. <view class="text">余额()</view>
  41. </view>
  42. <view class="boxs">去充值</view>
  43. </view>
  44. <view class="box">
  45. <view>
  46. <view class="num" style="border: none;">1.00</view>
  47. <view class="text">可提现()</view>
  48. </view>
  49. <view class="boxs">去提现</view>
  50. </view>
  51. </view>
  52. </view>
  53. <view class="myOrder">
  54. <view>我的订单</view>
  55. <view>查看全部></view>
  56. </view>
  57. <view class="order">
  58. <view class="box">
  59. <view class="boxs">
  60. <image src="../../static/image/center/13.png" mode="aspectFill" />
  61. <view>待付款</view>
  62. </view>
  63. <view class="boxs">
  64. <image src="../../static/image/center/14.png" mode="aspectFill" />
  65. <view>已付款</view>
  66. </view>
  67. <view class="boxs">
  68. <image src="../../static/image/center/15.png" mode="aspectFill" />
  69. <view>待发货</view>
  70. </view>
  71. <view class="boxs">
  72. <image src="../../static/image/center/16.png" mode="aspectFill" />
  73. <view>已发货</view>
  74. </view>
  75. <view class="boxs">
  76. <image src="../../static/image/center/17.png" mode="aspectFill" />
  77. <view>已完成</view>
  78. </view>
  79. </view>
  80. </view>
  81. <!-- 酒店 -->
  82. <view class="user">
  83. <view class="line grid">
  84. <view class="title">
  85. 常用功能
  86. </view>
  87. </view>
  88. <view class="cell-bottom">
  89. <uv-cell-group>
  90. <uv-cell icon="share" title="我的邀请码" :isLink="true" arrow-direction="right" />
  91. <uv-cell icon="share" title="我的推荐" :isLink="true" arrow-direction="right " />
  92. <uv-cell icon="share" title="联系客服" :isLink="true" arrow-direction="right " />
  93. <uv-cell icon="share" title="我的地址" :isLink="true" arrow-direction="right " />
  94. </uv-cell-group>
  95. </view>
  96. </view>
  97. <tabber select="center" />
  98. </view>
  99. </template>
  100. <script>
  101. import tabber from '@/components/base/tabbar.vue'
  102. import {
  103. mapGetters
  104. } from 'vuex'
  105. import userShopCommission from '@/components/userShop/userShopCommission.vue'
  106. export default {
  107. components: {
  108. tabber,
  109. userShopCommission,
  110. },
  111. computed: {},
  112. data() {
  113. return {}
  114. },
  115. methods: {}
  116. }
  117. </script>
  118. <style scoped lang="scss">
  119. .page {
  120. .warp {
  121. display: flex;
  122. align-items: center;
  123. justify-content: center;
  124. height: 100%;
  125. }
  126. .rect {
  127. width: 600rpx;
  128. height: 300rpx;
  129. background-color: #fff;
  130. border-radius: 20rpx;
  131. overflow: hidden;
  132. .title {
  133. padding: 10rpx 0 0 15rpx;
  134. background-color: #fd5100;
  135. color: #FFF;
  136. text-align: left;
  137. width: 100%;
  138. height: 18%;
  139. font-size: 36rpx;
  140. }
  141. .center {
  142. height: 40%;
  143. display: flex;
  144. justify-content: center;
  145. align-items: center;
  146. font-size: 36rpx;
  147. }
  148. .bottom {
  149. display: flex;
  150. justify-content: center;
  151. gap: 50rpx;
  152. }
  153. }
  154. }
  155. image {
  156. width: 100%;
  157. height: 100%;
  158. }
  159. .head {
  160. display: flex;
  161. background-color: #fff;
  162. padding: 40rpx 20rpx;
  163. align-items: center;
  164. position: relative;
  165. .headImage {
  166. width: 120rpx;
  167. height: 120rpx;
  168. background-image: url(/static/image/center/3.png);
  169. background-size: 100% 100%;
  170. overflow: hidden;
  171. border-radius: 50%;
  172. margin-right: 40rpx;
  173. }
  174. .info {
  175. font-size: 28rpx;
  176. .vip {
  177. color: #909294;
  178. font-size: 24rpx;
  179. }
  180. .name {
  181. display: flex;
  182. align-items: center;
  183. .one {
  184. color: #343140;
  185. font-size: 32rpx;
  186. font-weight: 600;
  187. }
  188. .two {
  189. font-size: 24rpx;
  190. margin-left: 10rpx;
  191. padding: 3rpx 16rpx;
  192. border-radius: 18rpx;
  193. background-color: rgb(252, 213, 157);
  194. }
  195. }
  196. .tips {
  197. font-size: 26rpx;
  198. color: #ABABAB;
  199. }
  200. }
  201. }
  202. .headBtn {
  203. margin-left: auto;
  204. padding: 15rpx 20rpx;
  205. background-color: $uni-color;
  206. color: #fff;
  207. border-radius: 20rpx;
  208. margin-top: 50rpx;
  209. }
  210. .setting {
  211. position: absolute;
  212. right: 50rpx;
  213. top: 50rpx;
  214. }
  215. .earnings {
  216. width: 94%;
  217. margin-left: 3%;
  218. .member {
  219. display: flex;
  220. align-items: center;
  221. justify-content: space-between;
  222. width: 90%;
  223. margin-left: 5%;
  224. height: 80rpx;
  225. background-image: url("../../static/image/center/12.png");
  226. background-size: 100% 100%;
  227. font-size: 28rpx;
  228. color: #F9CF93;
  229. view {
  230. margin: 0 20rpx;
  231. }
  232. }
  233. .deposit {
  234. display: flex;
  235. justify-content: space-around;
  236. align-items: center;
  237. height: 300rpx;
  238. margin-top: -20rpx;
  239. background-color: rgb(163, 201, 80);
  240. border-radius: 40rpx;
  241. .box {
  242. display: flex;
  243. height: 80%;
  244. padding: 0rpx 30rpx;
  245. text-align: center;
  246. flex-direction: column;
  247. justify-content: space-around;
  248. color: #fff;
  249. .num {
  250. font-size: 48rpx;
  251. border-right: 2rpx dashed;
  252. width: 100%;
  253. padding: 0 30rpx 0 0;
  254. }
  255. .text {
  256. font-size: 20rpx;
  257. }
  258. .boxs {
  259. font-size: 32rpx;
  260. background-color: rgb(252, 213, 157);
  261. padding: 14rpx 20rpx;
  262. border-radius: 30rpx;
  263. color: #aa5500;
  264. font-weight: 600;
  265. }
  266. }
  267. }
  268. }
  269. .myOrder {
  270. display: flex;
  271. width: 94%;
  272. margin-left: 3%;
  273. align-items: center;
  274. justify-content: space-between;
  275. padding: 20rpx 0;
  276. view:nth-child(1) {
  277. font-weight: 600;
  278. font-size: 32rpx;
  279. border-left: 7rpx solid #A3D250;
  280. }
  281. view:nth-child(2) {
  282. font-size: 28rpx;
  283. color: #A3D250;
  284. }
  285. view {
  286. padding: 0 20rpx;
  287. }
  288. }
  289. .order {
  290. display: flex;
  291. align-items: center;
  292. justify-content: center;
  293. width: 94%;
  294. margin-left: 3%;
  295. background-color: #fff;
  296. border-radius: 16rpx;
  297. .box {
  298. display: flex;
  299. width: 100%;
  300. justify-content: space-around;
  301. padding: 70rpx 0 90rpx;
  302. }
  303. }
  304. .user {
  305. .grid {
  306. flex-direction: column;
  307. font-size: 26rpx;
  308. padding: 20rpx;
  309. .title {
  310. font-weight: 600;
  311. padding: 10rpx;
  312. border-left: 6rpx solid #A3D250;
  313. }
  314. }
  315. .cell-bottom {
  316. width: 96%;
  317. margin-top: 20rpx;
  318. margin-left: 2%;
  319. background-color: #fff;
  320. border-radius: 20rpx;
  321. }
  322. }
  323. </style>