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

386 lines
7.2 KiB

6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 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. onShow() {
  123. this.$store.commit('getUserInfo')
  124. },
  125. methods: {}
  126. }
  127. </script>
  128. <style scoped lang="scss">
  129. .page {
  130. .warp {
  131. display: flex;
  132. align-items: center;
  133. justify-content: center;
  134. height: 100%;
  135. }
  136. .rect {
  137. width: 600rpx;
  138. height: 300rpx;
  139. background-color: #fff;
  140. border-radius: 20rpx;
  141. overflow: hidden;
  142. .title {
  143. padding: 10rpx 0 0 15rpx;
  144. background-color: #fd5100;
  145. color: #FFF;
  146. text-align: left;
  147. width: 100%;
  148. height: 18%;
  149. font-size: 36rpx;
  150. }
  151. .center {
  152. height: 40%;
  153. display: flex;
  154. justify-content: center;
  155. align-items: center;
  156. font-size: 36rpx;
  157. }
  158. .bottom {
  159. display: flex;
  160. justify-content: center;
  161. gap: 50rpx;
  162. }
  163. }
  164. }
  165. image {
  166. width: 100%;
  167. height: 100%;
  168. }
  169. .head {
  170. display: flex;
  171. background-color: #fff;
  172. padding: 40rpx 20rpx;
  173. align-items: center;
  174. position: relative;
  175. .headImage {
  176. width: 120rpx;
  177. height: 120rpx;
  178. background-image: url(/static/image/center/3.png);
  179. background-size: 100% 100%;
  180. overflow: hidden;
  181. border-radius: 50%;
  182. margin-right: 40rpx;
  183. }
  184. .info {
  185. font-size: 28rpx;
  186. .vip {
  187. color: #909294;
  188. font-size: 24rpx;
  189. }
  190. .name {
  191. display: flex;
  192. align-items: center;
  193. .one {
  194. color: #343140;
  195. font-size: 32rpx;
  196. font-weight: 600;
  197. }
  198. .two {
  199. font-size: 24rpx;
  200. margin-left: 10rpx;
  201. padding: 3rpx 16rpx;
  202. border-radius: 18rpx;
  203. background-color: rgb(252, 213, 157);
  204. }
  205. }
  206. .tips {
  207. font-size: 26rpx;
  208. color: #ABABAB;
  209. }
  210. }
  211. }
  212. .headBtn {
  213. margin-left: auto;
  214. padding: 15rpx 20rpx;
  215. background-color: $uni-color;
  216. color: #fff;
  217. border-radius: 20rpx;
  218. margin-top: 50rpx;
  219. }
  220. .setting {
  221. position: absolute;
  222. right: 50rpx;
  223. top: 50rpx;
  224. }
  225. .earnings {
  226. width: 94%;
  227. margin-left: 3%;
  228. .member {
  229. display: flex;
  230. align-items: center;
  231. justify-content: space-between;
  232. width: 90%;
  233. margin-left: 5%;
  234. height: 80rpx;
  235. background-image: url("../../static/image/center/12.png");
  236. background-size: 100% 100%;
  237. font-size: 28rpx;
  238. color: #F9CF93;
  239. view {
  240. margin: 0 20rpx;
  241. }
  242. }
  243. .deposit {
  244. display: flex;
  245. justify-content: space-around;
  246. align-items: center;
  247. height: 300rpx;
  248. margin-top: -20rpx;
  249. background-color: rgb(163, 201, 80);
  250. border-radius: 40rpx;
  251. .box {
  252. display: flex;
  253. height: 80%;
  254. padding: 0rpx 30rpx;
  255. text-align: center;
  256. flex-direction: column;
  257. justify-content: space-around;
  258. color: #fff;
  259. .num {
  260. font-size: 48rpx;
  261. border-right: 2rpx dashed;
  262. width: 100%;
  263. padding: 0 30rpx 0 0;
  264. }
  265. .text {
  266. font-size: 20rpx;
  267. }
  268. .boxs {
  269. font-size: 32rpx;
  270. background-color: rgb(252, 213, 157);
  271. padding: 14rpx 20rpx;
  272. border-radius: 30rpx;
  273. color: #aa5500;
  274. font-weight: 600;
  275. }
  276. }
  277. }
  278. }
  279. .myOrder {
  280. display: flex;
  281. width: 94%;
  282. margin-left: 3%;
  283. align-items: center;
  284. justify-content: space-between;
  285. padding: 20rpx 0;
  286. view:nth-child(1) {
  287. font-weight: 600;
  288. font-size: 32rpx;
  289. border-left: 7rpx solid #A3D250;
  290. }
  291. view:nth-child(2) {
  292. font-size: 28rpx;
  293. color: #A3D250;
  294. }
  295. view {
  296. padding: 0 20rpx;
  297. }
  298. }
  299. .order {
  300. display: flex;
  301. align-items: center;
  302. justify-content: center;
  303. width: 94%;
  304. margin-left: 3%;
  305. background-color: #fff;
  306. border-radius: 16rpx;
  307. .box {
  308. display: flex;
  309. width: 100%;
  310. justify-content: space-around;
  311. padding: 70rpx 0 90rpx;
  312. }
  313. }
  314. .user {
  315. .grid {
  316. flex-direction: column;
  317. font-size: 26rpx;
  318. padding: 20rpx;
  319. .title {
  320. font-weight: 600;
  321. padding: 10rpx;
  322. border-left: 6rpx solid #A3D250;
  323. }
  324. }
  325. .cell-bottom {
  326. width: 96%;
  327. margin-top: 20rpx;
  328. margin-left: 2%;
  329. background-color: #fff;
  330. border-radius: 20rpx;
  331. }
  332. }
  333. </style>