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

383 lines
7.2 KiB

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