index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688
  1. <template>
  2. <view :style="colorStyle">
  3. <view class="my-order">
  4. <view class="header bg-color">
  5. <view class="picTxt acea-row row-between-wrapper">
  6. <view class="text">
  7. <view class="name">{{$t(`订单信息`)}}</view>
  8. <view>{{$t(`消费订单`)}}:{{ orderData.order_count || 0 }}
  9. {{$t(`总消费`)}}:{{$t(`¥`)}}{{ orderData.sum_price || 0 }}
  10. </view>
  11. </view>
  12. <view class="pictrue">
  13. <image src="../static/orderTime.png"></image>
  14. </view>
  15. </view>
  16. </view>
  17. <view class="nav acea-row row-around">
  18. <view class="item" :class="orderStatus == 9 ? 'on' : ''" @click="statusClick(9)">
  19. <view>{{$t(`全部`)}}</view>
  20. <view class="num">{{ orderData.order_count || 0 }}</view>
  21. </view>
  22. <view class="item" :class="orderStatus == 0 ? 'on' : ''" @click="statusClick(0)">
  23. <view>{{$t(`待付款`)}}</view>
  24. <view class="num">{{ orderData.unpaid_count || 0 }}</view>
  25. </view>
  26. <view class="item" :class="orderStatus == 1 ? 'on' : ''" @click="statusClick(1)">
  27. <view>{{$t(`待发货`)}}</view>
  28. <view class="num">{{ orderData.unshipped_count || 0 }}</view>
  29. </view>
  30. <view class="item" :class="orderStatus == 2 ? 'on' : ''" @click="statusClick(2)">
  31. <view>{{$t(`待收货`)}}</view>
  32. <view class="num ">{{ orderData.received_count || 0 }}</view>
  33. </view>
  34. <view class="item" :class="orderStatus == 3 ? 'on' : ''" @click="statusClick(3)">
  35. <view>{{$t(`待评价`)}}</view>
  36. <view class="num">{{ orderData.evaluated_count || 0 }}</view>
  37. </view>
  38. </view>
  39. <view class="list">
  40. <view class="item" v-for="(item, index) in orderList" :key="index">
  41. <view @click="goOrderDetails(item.order_id)">
  42. <view class="title acea-row row-between-wrapper">
  43. <view class="acea-row row-middle">
  44. <text class="sign cart-color acea-row row-center-wrapper"
  45. v-if="item.type == 2">{{$t(`砍价`)}}</text>
  46. <text class="sign cart-color acea-row row-center-wrapper"
  47. v-else-if="item.type == 3">{{$t(`拼团`)}}</text>
  48. <text class="sign cart-color acea-row row-center-wrapper"
  49. v-else-if="item.type == 1">{{$t(`秒杀`)}}</text>
  50. <text class="sign cart-color acea-row row-center-wrapper"
  51. v-else-if="item.type == 4">{{$t(`预售`)}}</text>
  52. <view>{{ item._add_time }}</view>
  53. </view>
  54. <view v-if="item._status._type == 9" class="font-color">{{$t(`线下付款,未支付`)}}</view>
  55. <view v-else-if="item._status._type == 0" class="font-color">{{$t(`待付款`)}}</view>
  56. <view v-else-if="item._status._type == 1 && item.shipping_type == 1" class="font-color">
  57. {{$t(`待发货`)}}
  58. <text v-if="item.refund.length">,{{item.is_all_refund?$t(`退款中`):$t(`部分退款中`)}}</text>
  59. </view>
  60. <view v-else-if="item._status._type == 1 && item.shipping_type == 2" class="font-color">
  61. {{$t(`待核销`)}}
  62. <text v-if="item.refund.length">,{{item.is_all_refund?$t(`退款中`):$t(`部分退款中`)}}</text>
  63. </view>
  64. <view v-else-if="item._status._type == 2" class="font-color">{{$t(`待收货`)}}
  65. <text v-if="item.refund.length">,{{item.is_all_refund?$t(`退款中`):$t(`部分退款中`)}}</text>
  66. </view>
  67. <view v-else-if="item._status._type == 3" class="font-color">{{$t(`待评价`)}}
  68. <text v-if="item.refund.length">,{{item.is_all_refund?$t(`退款中`):$t(`部分退款中`)}}</text>
  69. </view>
  70. <view v-else-if="item._status._type == 4" class="font-color">{{$t(`已完成`)}}
  71. <text v-if="item.refund.length">,{{item.is_all_refund?$t(`退款中`):$t(`部分退款中`)}}</text>
  72. </view>
  73. <view v-else-if="item._status._type == 5 && item.status == 0" class="font-color">
  74. {{$t(`未核销`)}}
  75. <text v-if="item.refund.length">,{{item.is_all_refund?$t(`退款中`):$t(`部分退款中`)}}</text>
  76. </view>
  77. <view v-else-if="item._status._type == -2" class="font-color">{{$t(`已退款`)}}
  78. </view>
  79. </view>
  80. <view class="item-info acea-row row-between row-top" v-for="(items, indexCat) in item.cartInfo"
  81. :key="indexCat">
  82. <view class="pictrue">
  83. <easy-loadimage mode="widthFix" :image-src="items.productInfo.image"></easy-loadimage>
  84. <!-- <image :src="items.productInfo.image"></image> -->
  85. </view>
  86. <view class="text row-between">
  87. <text class="name line2">{{ items.productInfo.store_name }}</text>
  88. <view class="money">
  89. <view v-if="items.productInfo.attrInfo">
  90. {{$t(`¥`)}}{{ items.productInfo.attrInfo.price }}
  91. </view>
  92. <view v-else>{{$t(`¥`)}}{{ items.productInfo.price }}</view>
  93. <view>x{{ items.cart_num }}</view>
  94. <view v-if="items.refund_num && item._status._type != -2" class="return">
  95. {{ items.refund_num }}{{$t(`件退款中`)}}
  96. </view>
  97. </view>
  98. </view>
  99. </view>
  100. <view class="totalPrice">
  101. {{$t(`共`)}}{{ item.total_num || 0 }}{{$t(`件商品,总金额`)}}
  102. <text class="money">{{$t(`¥`)}}{{ item.pay_price }}</text>
  103. </view>
  104. </view>
  105. <view class="bottom acea-row row-right row-middle">
  106. <view class="bnt cancelBnt" v-if="item._status._type == 0 || item._status._type == 9"
  107. @click="cancelOrder(index, item.order_id)">{{$t(`取消订单`)}}</view>
  108. <view class="bnt bg-color" v-if="item._status._type == 0"
  109. @click="goPay(item.pay_price, item.order_id)">{{$t(`立即付款`)}}</view>
  110. <!-- <view class="bnt bg-color" v-else-if="item._status._type == 3"
  111. @click="goOrderDetails(item.order_id)">去评价</view> -->
  112. <!-- <view class="bnt bg-color"
  113. v-else-if="item.seckill_id < 1 && item.bargain_id < 1 && item.combination_id < 1 && item._status._type == 4"
  114. @click="goOrderDetails(item.order_id)">
  115. 再次购买
  116. </view> -->
  117. <view class="bnt cancelBnt" v-if="item._status._type == 4"
  118. @click="delOrder(item.order_id, index)">{{$t(`删除订单`)}}</view>
  119. <view class="bnt bg-color" @click="goOrderDetails(item.order_id)">{{$t(`查看详情`)}}</view>
  120. </view>
  121. </view>
  122. </view>
  123. <view class="loadingicon acea-row row-center-wrapper" v-if="orderList.length > 0">
  124. <text class="loading iconfont icon-jiazai" :hidden="loading == false"></text>
  125. {{ loadTitle }}
  126. </view>
  127. <view v-if="orderList.length == 0">
  128. <emptyPage v-if="!loading" :title="$t(`暂无订单`)"></emptyPage>
  129. <view class="loadingicon acea-row row-center-wrapper">
  130. <text class="loading iconfont icon-jiazai" :hidden="loading == false"></text>
  131. </view>
  132. </view>
  133. </view>
  134. <!-- #ifndef MP -->
  135. <home></home>
  136. <!-- #endif -->
  137. <payment :payMode="payMode" :pay_close="pay_close" @onChangeFun="onChangeFun" :order_id="pay_order_id"
  138. :totalPrice="totalPrice"></payment>
  139. </view>
  140. </template>
  141. <script>
  142. import {
  143. getOrderList,
  144. orderData,
  145. orderCancel,
  146. orderDel,
  147. orderPay
  148. } from '@/api/order.js';
  149. import {
  150. getUserInfo
  151. } from '@/api/user.js';
  152. import {
  153. openOrderSubscribe
  154. } from '@/utils/SubscribeMessage.js';
  155. import home from '@/components/home';
  156. import payment from '@/components/payment';
  157. import {
  158. toLogin
  159. } from '@/libs/login.js';
  160. import {
  161. mapGetters
  162. } from 'vuex';
  163. // #ifdef MP
  164. import authorize from '@/components/Authorize';
  165. // #endif
  166. import emptyPage from '@/components/emptyPage.vue';
  167. import colors from '@/mixins/color.js';
  168. export default {
  169. components: {
  170. payment,
  171. home,
  172. emptyPage,
  173. // #ifdef MP
  174. authorize
  175. // #endif
  176. },
  177. mixins: [colors],
  178. data() {
  179. return {
  180. loading: false, //是否加载中
  181. loadend: false, //是否加载完毕
  182. loadTitle: this.$t(`加载更多`), //提示语
  183. orderList: [], //订单数组
  184. orderData: {}, //订单详细统计
  185. orderStatus: 9, //订单状态
  186. page: 1,
  187. limit: 20,
  188. payMode: [{
  189. name: this.$t(`微信支付`),
  190. icon: 'icon-weixinzhifu',
  191. value: 'weixin',
  192. title: this.$t(`使用微信快捷支付`),
  193. payStatus: true
  194. },
  195. {
  196. name: this.$t(`支付宝支付`),
  197. icon: 'icon-zhifubao',
  198. value: 'alipay',
  199. title: this.$t(`使用支付宝支付`),
  200. payStatus: true
  201. },
  202. {
  203. name: this.$t(`余额支付`),
  204. icon: 'icon-yuezhifu',
  205. value: 'yue',
  206. title: this.$t(`可用余额`),
  207. number: 0,
  208. payStatus: true
  209. }, {
  210. "name": this.$t(`好友代付`),
  211. "icon": "icon-haoyoudaizhifu",
  212. value: 'friend',
  213. title: this.$t(`找微信好友支付`),
  214. payStatus: 1,
  215. }
  216. ],
  217. pay_close: false,
  218. pay_order_id: '',
  219. totalPrice: '0',
  220. isAuto: false, //没有授权的不会自动授权
  221. isShowAuth: false //是否隐藏授权
  222. };
  223. },
  224. computed: mapGetters(['isLogin']),
  225. onShow() {
  226. if (this.isLogin) {
  227. this.page = 1;
  228. this.orderList = []
  229. this.loadend = false;
  230. this.onLoadFun();
  231. this.getOrderList();
  232. } else {
  233. toLogin();
  234. }
  235. },
  236. methods: {
  237. onLoadFun() {
  238. this.getOrderData();
  239. this.getUserInfo();
  240. },
  241. // 授权关闭
  242. authColse: function(e) {
  243. this.isShowAuth = e;
  244. },
  245. /**
  246. * 事件回调
  247. *
  248. */
  249. onChangeFun: function(e) {
  250. let opt = e;
  251. let action = opt.action || null;
  252. let value = opt.value != undefined ? opt.value : null;
  253. action && this[action] && this[action](value);
  254. },
  255. /**
  256. * 获取用户信息
  257. *
  258. */
  259. getUserInfo: function() {
  260. let that = this;
  261. getUserInfo().then(res => {
  262. that.payMode[2].number = res.data.now_money;
  263. that.$set(that, 'payMode', that.payMode);
  264. });
  265. },
  266. /**
  267. * 关闭支付组件
  268. *
  269. */
  270. payClose: function() {
  271. this.pay_close = false;
  272. },
  273. /**
  274. * 生命周期函数--监听页面加载
  275. */
  276. onLoad: function(options) {
  277. if (options.status) this.orderStatus = options.status;
  278. },
  279. /**
  280. * 获取订单统计数据
  281. *
  282. */
  283. getOrderData: function() {
  284. let that = this;
  285. orderData().then(res => {
  286. that.$set(that, 'orderData', res.data);
  287. that.payMode.map(item => {
  288. if (item.value == 'weixin') {
  289. item.payStatus = res.data.pay_weixin_open ? true : false;
  290. }
  291. if (item.value == 'alipay') {
  292. item.payStatus = res.data.ali_pay_status ? true : false;
  293. }
  294. if (item.value == 'yue') {
  295. item.payStatus = res.data.yue_pay_status == 1 ? true : false;
  296. }
  297. if (item.value == 'friend') {
  298. item.payStatus = res.data.friend_pay_status == 1 ? true : false;
  299. }
  300. });
  301. //#ifdef MP
  302. this.payMode[1].payStatus = false;
  303. //#endif
  304. });
  305. },
  306. /**
  307. * 取消订单
  308. *
  309. */
  310. cancelOrder: function(index, order_id) {
  311. let that = this;
  312. if (!order_id)
  313. return that.$util.Tips({
  314. title: that.$t(`缺少订单号无法取消订单`)
  315. });
  316. orderCancel(order_id)
  317. .then(res => {
  318. return that.$util.Tips({
  319. title: res.msg,
  320. icon: 'success'
  321. },
  322. function() {
  323. that.orderList.splice(index, 1);
  324. that.$set(that, 'orderList', that.orderList);
  325. that.$set(that.orderData, 'unpaid_count', that.orderData.unpaid_count - 1);
  326. that.getOrderData();
  327. }
  328. );
  329. })
  330. .catch(err => {
  331. return that.$util.Tips({
  332. title: err
  333. });
  334. });
  335. },
  336. /**
  337. * 打开支付组件
  338. *
  339. */
  340. goPay: function(pay_price, order_id) {
  341. this.$set(this, 'pay_close', true);
  342. this.$set(this, 'pay_order_id', order_id);
  343. this.$set(this, 'totalPrice', pay_price);
  344. },
  345. /**
  346. * 支付成功回调
  347. *
  348. */
  349. pay_complete: function() {
  350. this.loadend = false;
  351. this.page = 1;
  352. this.$set(this, 'orderList', []);
  353. this.pay_close = false;
  354. uni.navigateTo({
  355. url: '/pages/goods/order_pay_status/index?order_id=' + this.pay_order_id +
  356. '&msg=' + this.$t(`支付成功`) + '&type=3&totalPrice=' + this.totalPrice
  357. })
  358. this.pay_order_id = '';
  359. this.getOrderData();
  360. this.getOrderList();
  361. },
  362. /**
  363. * 支付失败回调
  364. *
  365. */
  366. pay_fail: function() {
  367. this.pay_close = false;
  368. this.pay_order_id = '';
  369. },
  370. /**
  371. * 去订单详情
  372. */
  373. goOrderDetails: function(order_id) {
  374. let that = this;
  375. if (!order_id)
  376. return that.$util.Tips({
  377. title: that.$t(`缺少订单号无法查看订单详情`)
  378. });
  379. // #ifdef MP
  380. uni.showLoading({
  381. title: that.$t(`正在加载中`)
  382. });
  383. openOrderSubscribe()
  384. .then(() => {
  385. uni.hideLoading();
  386. uni.navigateTo({
  387. url: '/pages/goods/order_details/index?order_id=' + order_id
  388. })
  389. })
  390. .catch(err => {
  391. uni.hideLoading();
  392. });
  393. // #endif
  394. // #ifndef MP
  395. uni.navigateTo({
  396. url: '/pages/goods/order_details/index?order_id=' + order_id
  397. });
  398. // #endif
  399. },
  400. /**
  401. * 切换类型
  402. */
  403. statusClick: function(status) {
  404. if (status == this.orderStatus) return;
  405. this.orderStatus = status;
  406. this.loadend = false;
  407. this.page = 1;
  408. this.$set(this, 'orderList', []);
  409. this.getOrderList();
  410. },
  411. /**
  412. * 获取订单列表
  413. */
  414. getOrderList: function() {
  415. let that = this;
  416. if (that.loadend) return;
  417. if (that.loading) return;
  418. that.loading = true;
  419. that.loadTitle = that.$t(`加载更多`);
  420. getOrderList({
  421. type: that.orderStatus,
  422. page: that.page,
  423. limit: that.limit
  424. })
  425. .then(res => {
  426. let list = res.data || [];
  427. let loadend = list.length < that.limit;
  428. that.orderList = that.$util.SplitArray(list, that.orderList);
  429. that.$set(that, 'orderList', that.orderList);
  430. that.loadend = loadend;
  431. that.loading = false;
  432. that.loadTitle = loadend ? that.$t(`没有更多内容啦~`) : that.$t(`加载更多`);
  433. that.page = that.page + 1;
  434. })
  435. .catch(err => {
  436. that.loading = false;
  437. that.loadTitle = that.$t(`加载更多`);
  438. });
  439. },
  440. /**
  441. * 删除订单
  442. */
  443. delOrder: function(order_id, index) {
  444. let that = this;
  445. uni.showModal({
  446. title: that.$t(`删除订单`),
  447. content: that.$t(`确定删除该订单`),
  448. success: function(res) {
  449. if (res.confirm) {
  450. orderDel(order_id)
  451. .then(res => {
  452. that.orderList.splice(index, 1);
  453. that.$set(that, 'orderList', that.orderList);
  454. that.$set(that.orderData, 'unpaid_count', that.orderData
  455. .unpaid_count - 1);
  456. that.getOrderData();
  457. return that.$util.Tips({
  458. title: that.$t(`删除成功`),
  459. icon: 'success'
  460. });
  461. })
  462. .catch(err => {
  463. return that.$util.Tips({
  464. title: err
  465. });
  466. });
  467. } else if (res.cancel) {
  468. return that.$util.Tips({
  469. title: that.$t(`已取消`)
  470. });
  471. }
  472. }
  473. });
  474. }
  475. },
  476. onReachBottom: function() {
  477. this.getOrderList();
  478. },
  479. // 滚动监听
  480. onPageScroll(e) {
  481. // 传入scrollTop值并触发所有easy-loadimage组件下的滚动监听事件
  482. uni.$emit('scroll');
  483. },
  484. };
  485. </script>
  486. <style scoped lang="scss">
  487. .my-order .header {
  488. height: 260rpx;
  489. padding: 0 30rpx;
  490. }
  491. .my-order .header .picTxt {
  492. height: 190rpx;
  493. }
  494. .my-order .header .picTxt .text {
  495. color: rgba(255, 255, 255, 0.8);
  496. font-size: 26rpx;
  497. font-family: 'Guildford Pro';
  498. }
  499. .my-order .header .picTxt .text .name {
  500. font-size: 34rpx;
  501. font-weight: bold;
  502. color: #fff;
  503. margin-bottom: 20rpx;
  504. }
  505. .my-order .header .picTxt .pictrue {
  506. width: 122rpx;
  507. height: 109rpx;
  508. }
  509. .my-order .header .picTxt .pictrue image {
  510. width: 100%;
  511. height: 100%;
  512. }
  513. .my-order .nav {
  514. background-color: #fff;
  515. width: 690rpx;
  516. height: 140rpx;
  517. border-radius: 6rpx;
  518. margin: -73rpx auto 0 auto;
  519. }
  520. .my-order .nav .item {
  521. text-align: center;
  522. font-size: 26rpx;
  523. color: #282828;
  524. width: 3rem;
  525. padding: 27rpx 0;
  526. border-bottom: 5rpx solid transparent;
  527. }
  528. .my-order .nav .item.on {
  529. /* #ifdef H5 || MP */
  530. font-weight: bold;
  531. /* #endif */
  532. /* #ifdef APP-PLUS */
  533. color: #000;
  534. /* #endif */
  535. border-color: var(--view-theme);
  536. }
  537. .my-order .nav .item .num {
  538. margin-top: 18rpx;
  539. }
  540. .my-order .list {
  541. width: 690rpx;
  542. margin: 14rpx auto 0 auto;
  543. }
  544. .my-order .list .item {
  545. background-color: #fff;
  546. border-radius: 6rpx;
  547. margin-bottom: 14rpx;
  548. }
  549. .my-order .list .item .title {
  550. height: 84rpx;
  551. padding: 0 30rpx;
  552. border-bottom: 1rpx solid #eee;
  553. font-size: 28rpx;
  554. color: #282828;
  555. }
  556. .my-order .list .item .title .sign {
  557. font-size: 24rpx;
  558. padding: 0 7rpx;
  559. height: 36rpx;
  560. margin-right: 15rpx;
  561. }
  562. .my-order .list .item .item-info {
  563. padding: 0 30rpx;
  564. margin-top: 22rpx;
  565. }
  566. .my-order .list .item .item-info .pictrue {
  567. width: 120rpx;
  568. height: 120rpx;
  569. /deep/,
  570. /deep/image,
  571. /deep/.easy-loadimage,
  572. /deep/uni-image {
  573. width: 120rpx;
  574. height: 120rpx;
  575. border-radius: 6rpx;
  576. }
  577. }
  578. .my-order .list .item .item-info .pictrue image {
  579. width: 100%;
  580. height: 100%;
  581. border-radius: 6rpx;
  582. }
  583. .my-order .list .item .item-info .text {
  584. width: 486rpx;
  585. font-size: 28rpx;
  586. color: #999;
  587. margin-top: 6rpx;
  588. display: flex;
  589. line-height: 39rpx;
  590. }
  591. .my-order .list .item .item-info .text .name {
  592. width: 306rpx;
  593. color: #282828;
  594. height: 78rpx;
  595. }
  596. .my-order .list .item .item-info .text .money {
  597. text-align: right;
  598. flex: 1;
  599. }
  600. .my-order .list .item .totalPrice {
  601. font-size: 26rpx;
  602. color: #282828;
  603. text-align: right;
  604. margin: 27rpx 0 0 30rpx;
  605. padding: 0 30rpx 30rpx 0;
  606. border-bottom: 1rpx solid #eee;
  607. }
  608. .my-order .list .item .totalPrice .money {
  609. font-size: 28rpx;
  610. font-weight: bold;
  611. color: var(--view-priceColor);
  612. }
  613. .my-order .list .item .bottom {
  614. height: 107rpx;
  615. padding: 0 30rpx;
  616. }
  617. .my-order .list .item .bottom .bnt {
  618. width: 176rpx;
  619. height: 60rpx;
  620. text-align: center;
  621. line-height: 60rpx;
  622. color: #fff;
  623. border-radius: 50rpx;
  624. font-size: 27rpx;
  625. }
  626. .my-order .list .item .bottom .bnt.cancelBnt {
  627. border: 1rpx solid #ddd;
  628. color: #aaa;
  629. }
  630. .my-order .list .item .bottom .bnt~.bnt {
  631. margin-left: 17rpx;
  632. }
  633. .noCart {
  634. margin-top: 171rpx;
  635. padding-top: 0.1rpx;
  636. }
  637. .noCart .pictrue {
  638. width: 414rpx;
  639. height: 336rpx;
  640. margin: 78rpx auto 56rpx auto;
  641. }
  642. .noCart .pictrue image {
  643. width: 100%;
  644. height: 100%;
  645. }
  646. .my-order .list .item .item-info .text .money .return {
  647. // color: var(--view-priceColor);
  648. margin-top: 10rpx;
  649. font-size: 24rpx;
  650. }
  651. </style>