serve.vue 20 KB

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