index.vue 18 KB

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