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

378 lines
6.9 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
7 months ago
8 months ago
7 months ago
8 months ago
8 months ago
8 months ago
8 months ago
7 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
7 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" @click="$utils.navigateTo('/pages/index/order?type=1')">
  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. @click="$utils.navigateTo('/pages_order/mine/recommend')" />
  93. <uv-cell icon="share" title="联系客服" :isLink="true" arrow-direction="right" />
  94. <uv-cell icon="share" title="我的地址" :isLink="true" arrow-direction="right"
  95. @click="$utils.navigateTo('/pages_order/mine/address')"/>
  96. </uv-cell-group>
  97. </view>
  98. </view>
  99. <tabber select="center" />
  100. </view>
  101. </template>
  102. <script>
  103. import tabber from '@/components/base/tabbar.vue'
  104. import {
  105. mapGetters
  106. } from 'vuex'
  107. import userShopCommission from '@/components/userShop/userShopCommission.vue'
  108. export default {
  109. components: {
  110. tabber,
  111. userShopCommission,
  112. },
  113. computed: {},
  114. data() {
  115. return {}
  116. },
  117. methods: {}
  118. }
  119. </script>
  120. <style scoped lang="scss">
  121. .page {
  122. .warp {
  123. display: flex;
  124. align-items: center;
  125. justify-content: center;
  126. height: 100%;
  127. }
  128. .rect {
  129. width: 600rpx;
  130. height: 300rpx;
  131. background-color: #fff;
  132. border-radius: 20rpx;
  133. overflow: hidden;
  134. .title {
  135. padding: 10rpx 0 0 15rpx;
  136. background-color: #fd5100;
  137. color: #FFF;
  138. text-align: left;
  139. width: 100%;
  140. height: 18%;
  141. font-size: 36rpx;
  142. }
  143. .center {
  144. height: 40%;
  145. display: flex;
  146. justify-content: center;
  147. align-items: center;
  148. font-size: 36rpx;
  149. }
  150. .bottom {
  151. display: flex;
  152. justify-content: center;
  153. gap: 50rpx;
  154. }
  155. }
  156. }
  157. image {
  158. width: 100%;
  159. height: 100%;
  160. }
  161. .head {
  162. display: flex;
  163. background-color: #fff;
  164. padding: 40rpx 20rpx;
  165. align-items: center;
  166. position: relative;
  167. .headImage {
  168. width: 120rpx;
  169. height: 120rpx;
  170. background-image: url(/static/image/center/3.png);
  171. background-size: 100% 100%;
  172. overflow: hidden;
  173. border-radius: 50%;
  174. margin-right: 40rpx;
  175. }
  176. .info {
  177. font-size: 28rpx;
  178. .vip {
  179. color: #909294;
  180. font-size: 24rpx;
  181. }
  182. .name {
  183. display: flex;
  184. align-items: center;
  185. .one {
  186. color: #343140;
  187. font-size: 32rpx;
  188. font-weight: 600;
  189. }
  190. .two {
  191. font-size: 24rpx;
  192. margin-left: 10rpx;
  193. padding: 3rpx 16rpx;
  194. border-radius: 18rpx;
  195. background-color: rgb(252, 213, 157);
  196. }
  197. }
  198. .tips {
  199. font-size: 26rpx;
  200. color: #ABABAB;
  201. }
  202. }
  203. }
  204. .headBtn {
  205. margin-left: auto;
  206. padding: 15rpx 20rpx;
  207. background-color: $uni-color;
  208. color: #fff;
  209. border-radius: 20rpx;
  210. margin-top: 50rpx;
  211. }
  212. .setting {
  213. position: absolute;
  214. right: 50rpx;
  215. top: 50rpx;
  216. }
  217. .earnings {
  218. width: 94%;
  219. margin-left: 3%;
  220. .member {
  221. display: flex;
  222. align-items: center;
  223. justify-content: space-between;
  224. width: 90%;
  225. margin-left: 5%;
  226. height: 80rpx;
  227. background-image: url("../../static/image/center/12.png");
  228. background-size: 100% 100%;
  229. font-size: 28rpx;
  230. color: #F9CF93;
  231. view {
  232. margin: 0 20rpx;
  233. }
  234. }
  235. .deposit {
  236. display: flex;
  237. justify-content: space-around;
  238. align-items: center;
  239. height: 300rpx;
  240. margin-top: -20rpx;
  241. background-color: rgb(163, 201, 80);
  242. border-radius: 40rpx;
  243. .box {
  244. display: flex;
  245. height: 80%;
  246. padding: 0rpx 30rpx;
  247. text-align: center;
  248. flex-direction: column;
  249. justify-content: space-around;
  250. color: #fff;
  251. .num {
  252. font-size: 48rpx;
  253. border-right: 2rpx dashed;
  254. width: 100%;
  255. padding: 0 30rpx 0 0;
  256. }
  257. .text {
  258. font-size: 20rpx;
  259. }
  260. .boxs {
  261. font-size: 32rpx;
  262. background-color: rgb(252, 213, 157);
  263. padding: 14rpx 20rpx;
  264. border-radius: 30rpx;
  265. color: #aa5500;
  266. font-weight: 600;
  267. }
  268. }
  269. }
  270. }
  271. .myOrder {
  272. display: flex;
  273. width: 94%;
  274. margin-left: 3%;
  275. align-items: center;
  276. justify-content: space-between;
  277. padding: 20rpx 0;
  278. view:nth-child(1) {
  279. font-weight: 600;
  280. font-size: 32rpx;
  281. border-left: 7rpx solid #A3D250;
  282. }
  283. view:nth-child(2) {
  284. font-size: 28rpx;
  285. color: #A3D250;
  286. }
  287. view {
  288. padding: 0 20rpx;
  289. }
  290. }
  291. .order {
  292. display: flex;
  293. align-items: center;
  294. justify-content: center;
  295. width: 94%;
  296. margin-left: 3%;
  297. background-color: #fff;
  298. border-radius: 16rpx;
  299. .box {
  300. display: flex;
  301. width: 100%;
  302. justify-content: space-around;
  303. padding: 70rpx 0 90rpx;
  304. }
  305. }
  306. .user {
  307. .grid {
  308. flex-direction: column;
  309. font-size: 26rpx;
  310. padding: 20rpx;
  311. .title {
  312. font-weight: 600;
  313. padding: 10rpx;
  314. border-left: 6rpx solid #A3D250;
  315. }
  316. }
  317. .cell-bottom {
  318. width: 96%;
  319. margin-top: 20rpx;
  320. margin-left: 2%;
  321. background-color: #fff;
  322. border-radius: 20rpx;
  323. }
  324. }
  325. </style>