integral_order_details.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863
  1. <template>
  2. <view :style="colorStyle">
  3. <view class='order-details'>
  4. <view>
  5. <view class='address'>
  6. <view class='name'>{{cartInfo.real_name}}<text class='phone'>{{cartInfo.user_phone}}</text></view>
  7. <view>{{cartInfo.user_address}}</view>
  8. </view>
  9. <view class='line'>
  10. <image src='@/static/images/line.jpg'></image>
  11. </view>
  12. </view>
  13. <view class="orderGoods">
  14. <view class='total'>{{$t(`共`)}}{{cartInfo.total_num}}{{$t(`件商品`)}}</view>
  15. <view class='goodWrapper'>
  16. <view class='item acea-row row-between-wrapper' @click="jumpCon(cartInfo.product_id)">
  17. <view class='pictrue'>
  18. <image :src='cartInfo.image'></image>
  19. </view>
  20. <view class='text'>
  21. <view class='acea-row row-between-wrapper'>
  22. <view class='name line1'>{{cartInfo.store_name}}</view>
  23. <view class='num'>x {{cartInfo.total_num}}</view>
  24. </view>
  25. <view class='attr line1'>{{cartInfo.suk}}
  26. </view>
  27. <view class='money font-num'>
  28. {{cartInfo.price}}{{$t(`积分`)}}
  29. </view>
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. <view class='wrapper'>
  35. <view class='item acea-row row-between'>
  36. <view>{{$t(`订单编号`)}}:</view>
  37. <view class='conter acea-row row-middle row-right'>{{cartInfo.order_id}}
  38. <!-- #ifndef H5 -->
  39. <text class='copy' @tap='copy'>{{$t(`复制`)}}</text>
  40. <!-- #endif -->
  41. <!-- #ifdef H5 -->
  42. <text class='copy copy-data' :data-clipboard-text="cartInfo.order_id">{{$t(`复制`)}}</text>
  43. <!-- #endif -->
  44. </view>
  45. </view>
  46. <view class='item acea-row row-between'>
  47. <view>{{$t(`订单状态`)}}:</view>
  48. <view class='conter'>{{$t(cartInfo.status_name)}}</view>
  49. </view>
  50. <view class='item acea-row row-between'>
  51. <view>{{$t(`下单时间`)}}:</view>
  52. <view class='conter'>{{cartInfo.add_time}}</view>
  53. </view>
  54. <view class='item acea-row row-between'>
  55. <view>{{$t(`支付积分`)}}:</view>
  56. <view class='conter'>{{cartInfo.total_price}}</view>
  57. </view>
  58. <view class='item acea-row row-between' v-if="cartInfo.mark">
  59. <view>{{$t(`订单备注`)}}:</view>
  60. <view class='conter'>{{cartInfo.mark}}</view>
  61. </view>
  62. <view class='item acea-row row-between' v-if="cartInfo.remark">
  63. <view>{{$t(`商家备注`)}}:</view>
  64. <view class='conter'>{{cartInfo.remark}}</view>
  65. </view>
  66. <view class='item acea-row row-between' v-if="cartInfo.delivery_type === 'express'">
  67. <view>{{$t(`快递单号`)}}:</view>
  68. <view class='conter'>{{cartInfo.delivery_id}}</view>
  69. </view>
  70. <view class='item acea-row row-between' v-if="cartInfo.delivery_type === 'express'">
  71. <view>{{$t(`快递公司`)}}:</view>
  72. <view class='conter'>{{cartInfo.delivery_name}}</view>
  73. </view>
  74. <view class='item acea-row row-between' v-if="cartInfo.delivery_type === 'send'">
  75. <view>{{$t(`送货人电话`)}}:</view>
  76. <view class='conter'>{{cartInfo.delivery_id}}</view>
  77. </view>
  78. <view class='item acea-row row-between' v-if="cartInfo.delivery_type === 'send'">
  79. <view>{{$t(`配送人姓名`)}}:</view>
  80. <view class='conter'>{{cartInfo.delivery_name}}</view>
  81. </view>
  82. <view class='item acea-row row-between' v-if="cartInfo.delivery_type === 'fictitious'">
  83. <view>{{$t(`虚拟发货`)}}:</view>
  84. <view class='conter'>{{$t(`已发货,请注意查收`)}}</view>
  85. </view>
  86. <view class='item acea-row row-between' v-if="cartInfo.fictitious_content">
  87. <view>{{$t(`虚拟备注`)}}:</view>
  88. <view class='conter'>{{cartInfo.fictitious_content}}</view>
  89. </view>
  90. <view class='item acea-row row-between' v-if="cartInfo.delivery_type === 'send'">
  91. <view>{{$t(`配送核销码`)}}:</view>
  92. <view class='conter'>{{cartInfo.verify_code}}</view>
  93. </view>
  94. </view>
  95. <view style='height:120rpx;'></view>
  96. <view class='footer acea-row row-right row-middle'>
  97. <view class='bnt bg-color' v-if="cartInfo.status==3" @tap='delOrder'>{{$t(`删除订单`)}}</view>
  98. <navigator class='bnt cancel' hover-class='none'
  99. v-if="cartInfo.delivery_id && cartInfo.delivery_type === 'express'"
  100. :url="'/pages/points_mall/logistics_details?order_id='+ cartInfo.order_id">{{$t(`查看物流`)}}
  101. </navigator>
  102. <view class='bnt bg-color' v-if="cartInfo.status==2" @tap='confirmOrder'>{{$t(`确认收货`)}}</view>
  103. </view>
  104. </view>
  105. <!-- #ifndef MP -->
  106. <home></home>
  107. <!-- #endif -->
  108. </view>
  109. </template>
  110. <script>
  111. import {
  112. integralOrderDetails,
  113. orderTake,
  114. orderDel
  115. } from '@/api/activity.js'
  116. import {
  117. openOrderRefundSubscribe
  118. } from '@/utils/SubscribeMessage.js';
  119. import {
  120. getUserInfo
  121. } from '@/api/user.js';
  122. import home from '@/components/home';
  123. import orderGoods from "@/components/orderGoods";
  124. import ClipboardJS from "@/plugin/clipboard/clipboard.js";
  125. import {
  126. toLogin
  127. } from '@/libs/login.js';
  128. import {
  129. mapGetters
  130. } from "vuex";
  131. // #ifdef MP
  132. import authorize from '@/components/Authorize';
  133. // #endif
  134. import colors from "@/mixins/color";
  135. export default {
  136. components: {
  137. home,
  138. orderGoods,
  139. // #ifdef MP
  140. authorize
  141. // #endif
  142. },
  143. mixins: [colors],
  144. data() {
  145. return {
  146. order_id: '',
  147. evaluate: 0,
  148. cartInfo: [], //购物车产品
  149. orderInfo: {
  150. system_store: {},
  151. _status: {}
  152. }, //订单详情
  153. system_store: {},
  154. isGoodsReturn: false, //是否为退款订单
  155. status: {}, //订单底部按钮状态
  156. isClose: false,
  157. payMode: [{
  158. name: this.$t(`微信支付`),
  159. icon: "icon-weixinzhifu",
  160. value: 'weixin',
  161. title: this.$t(`使用微信快捷支付`),
  162. payStatus: true,
  163. },
  164. // #ifdef H5 || APP-PLUS
  165. {
  166. name: this.$t(`支付宝支付`),
  167. icon: 'icon-zhifubao',
  168. value: 'alipay',
  169. title: this.$t(`使用线上支付宝支付`),
  170. payStatus: true
  171. },
  172. // #endif
  173. {
  174. name: this.$t(`余额支付`),
  175. icon: "icon-yuezhifu",
  176. value: 'yue',
  177. title: this.$t(`当前可用余额:`),
  178. number: 0,
  179. payStatus: true
  180. },
  181. ],
  182. pay_close: false,
  183. pay_order_id: '',
  184. totalPrice: '0',
  185. isAuto: false, //没有授权的不会自动授权
  186. isShowAuth: false, //是否隐藏授权
  187. routineContact: '0'
  188. };
  189. },
  190. computed: mapGetters(['isLogin']),
  191. onLoad: function(options) {
  192. if (options.order_id) {
  193. this.$set(this, 'order_id', options.order_id);
  194. }
  195. },
  196. onShow() {
  197. if (this.isLogin) {
  198. this.getOrderInfo();
  199. // this.getUserInfo();
  200. } else {
  201. toLogin();
  202. }
  203. },
  204. onHide: function() {
  205. this.isClose = true;
  206. },
  207. onReady: function() {
  208. // #ifdef H5 || APP-PLUS
  209. this.$nextTick(function() {
  210. const clipboard = new ClipboardJS(".copy-data");
  211. clipboard.on("success", () => {
  212. this.$util.Tips({
  213. title: this.$t(`复制成功`)
  214. });
  215. });
  216. });
  217. // #endif
  218. },
  219. methods: {
  220. goGoodCall() {
  221. let self = this
  222. uni.navigateTo({
  223. url: `/pages/extension/customer_list/chat?orderId=${self.order_id}`
  224. })
  225. },
  226. openSubcribe: function(e) {
  227. let page = e;
  228. uni.showLoading({
  229. title: this.$t(`正在加载`),
  230. })
  231. openOrderRefundSubscribe().then(res => {
  232. uni.hideLoading();
  233. uni.navigateTo({
  234. url: page,
  235. });
  236. }).catch(() => {
  237. uni.hideLoading();
  238. });
  239. },
  240. /**
  241. * 事件回调
  242. *
  243. */
  244. onChangeFun: function(e) {
  245. let opt = e;
  246. let action = opt.action || null;
  247. let value = opt.value != undefined ? opt.value : null;
  248. (action && this[action]) && this[action](value);
  249. },
  250. /**
  251. * 拨打电话
  252. */
  253. makePhone: function() {
  254. uni.makePhoneCall({
  255. phoneNumber: this.system_store.phone
  256. })
  257. },
  258. /**
  259. * 打开地图
  260. *
  261. */
  262. showMaoLocation: function() {
  263. if (!this.system_store.latitude || !this.system_store.longitude) return this.$util.Tips({
  264. title: this.$t(`缺少经纬度信息无法查看地图!`)
  265. });
  266. uni.openLocation({
  267. latitude: parseFloat(this.system_store.latitude),
  268. longitude: parseFloat(this.system_store.longitude),
  269. scale: 8,
  270. name: this.system_store.name,
  271. address: this.system_store.address + this.system_store.detailed_address,
  272. success: function() {
  273. },
  274. });
  275. },
  276. /**
  277. * 关闭支付组件
  278. *
  279. */
  280. payClose: function() {
  281. this.pay_close = false;
  282. },
  283. /**
  284. * 打开支付组件
  285. *
  286. */
  287. pay_open: function() {
  288. this.pay_close = true;
  289. this.pay_order_id = this.orderInfo.order_id;
  290. this.totalPrice = this.orderInfo.pay_price;
  291. },
  292. /**
  293. * 支付成功回调
  294. *
  295. */
  296. pay_complete: function() {
  297. this.pay_close = false;
  298. this.pay_order_id = '';
  299. this.getOrderInfo();
  300. },
  301. /**
  302. * 支付失败回调
  303. *
  304. */
  305. pay_fail: function() {
  306. this.pay_close = false;
  307. this.pay_order_id = '';
  308. },
  309. /**
  310. * 登录授权回调
  311. *
  312. */
  313. onLoadFun: function() {
  314. this.getOrderInfo();
  315. this.getUserInfo();
  316. },
  317. /**
  318. * 获取用户信息
  319. *
  320. */
  321. getUserInfo: function() {
  322. let that = this;
  323. getUserInfo().then(res => {
  324. // #ifdef H5 || APP-PLUS
  325. that.payMode[2].number = res.data.now_money;
  326. // #endif
  327. // #ifdef MP
  328. that.payMode[1].number = res.data.now_money;
  329. // #endif
  330. that.$set(that, 'payMode', that.payMode);
  331. })
  332. },
  333. /**
  334. * 获取订单详细信息
  335. *
  336. */
  337. getOrderInfo: function() {
  338. let that = this;
  339. uni.showLoading({
  340. title: this.$t(`正在加载中`)
  341. });
  342. integralOrderDetails(this.order_id).then(res => {
  343. uni.hideLoading();
  344. that.$set(that, 'cartInfo', res.data);
  345. }).catch(err => {
  346. uni.hideLoading();
  347. that.$util.Tips({
  348. title: err
  349. }, '/pages/points_mall/exchange_record');
  350. });
  351. },
  352. /**
  353. *
  354. * 剪切订单号
  355. */
  356. // #ifndef H5
  357. copy: function() {
  358. let that = this;
  359. uni.setClipboardData({
  360. data: this.cartInfo.order_id
  361. });
  362. },
  363. // #endif
  364. /**
  365. * 打电话
  366. */
  367. goTel: function() {
  368. uni.makePhoneCall({
  369. phoneNumber: this.orderInfo.delivery_id
  370. })
  371. },
  372. /**
  373. * 设置底部按钮
  374. *
  375. */
  376. getOrderStatus: function() {
  377. let orderInfo = this.orderInfo || {},
  378. _status = orderInfo._status || {
  379. _type: 0
  380. },
  381. status = {};
  382. let type = parseInt(_status._type),
  383. delivery_type = orderInfo.delivery_type,
  384. seckill_id = orderInfo.seckill_id ? parseInt(orderInfo.seckill_id) : 0,
  385. bargain_id = orderInfo.bargain_id ? parseInt(orderInfo.bargain_id) : 0,
  386. combination_id = orderInfo.combination_id ? parseInt(orderInfo.combination_id) : 0;
  387. status = {
  388. type: type == 9 ? -9 : type,
  389. class_status: 0
  390. };
  391. if (type == 1 && combination_id > 0) status.class_status = 1; //查看拼团
  392. if (type == 2 && delivery_type == 'express') status.class_status = 2; //查看物流
  393. if (type == 2) status.class_status = 3; //确认收货
  394. if (type == 4 || type == 0) status.class_status = 4; //删除订单
  395. if (!seckill_id && !bargain_id && !combination_id && (type == 3 || type == 4)) status.class_status =
  396. 5; //再次购买
  397. this.$set(this, 'status', status);
  398. },
  399. /**
  400. * 去拼团详情
  401. *
  402. */
  403. goJoinPink: function() {
  404. uni.navigateTo({
  405. url: '/pages/activity/goods_combination_status/index?id=' + this.orderInfo.pink_id,
  406. });
  407. },
  408. confirmOrder: function() {
  409. let that = this;
  410. uni.showModal({
  411. title: this.$t(`确认收货`),
  412. content: this.$t(`为保障权益,请收到货确认无误后,再确认收货`),
  413. success: function(res) {
  414. if (res.confirm) {
  415. orderTake({
  416. order_id: that.order_id
  417. }).then(res => {
  418. return that.$util.Tips({
  419. title: this.$t(`操作成功`),
  420. icon: 'success'
  421. }, function() {
  422. that.getOrderInfo();
  423. });
  424. }).catch(err => {
  425. return that.$util.Tips({
  426. title: err
  427. });
  428. })
  429. }
  430. }
  431. })
  432. },
  433. /**
  434. *
  435. * 删除订单
  436. */
  437. delOrder: function() {
  438. let that = this;
  439. orderDel({
  440. order_id: that.order_id
  441. }).then(res => {
  442. return that.$util.Tips({
  443. title: that.$t(`删除成功`),
  444. icon: 'success'
  445. }, {
  446. tab: 5,
  447. url: '/pages/points_mall/exchange_record'
  448. });
  449. }).catch(err => {
  450. return that.$util.Tips({
  451. title: err
  452. });
  453. });
  454. },
  455. }
  456. }
  457. </script>
  458. <style scoped lang="scss">
  459. .qs-btn {
  460. width: auto;
  461. height: 60rpx;
  462. text-align: center;
  463. line-height: 60rpx;
  464. border-radius: 50rpx;
  465. color: #fff;
  466. font-size: 27rpx;
  467. padding: 0 3%;
  468. color: #aaa;
  469. border: 1px solid #ddd;
  470. margin-right: 20rpx;
  471. }
  472. .goodCall {
  473. color: #e93323;
  474. text-align: center;
  475. width: 100%;
  476. height: 86rpx;
  477. padding: 0 30rpx;
  478. border-bottom: 1rpx solid #eee;
  479. font-size: 30rpx;
  480. line-height: 86rpx;
  481. background: #fff;
  482. .icon-kefu {
  483. font-size: 36rpx;
  484. margin-right: 15rpx;
  485. }
  486. /* #ifdef MP */
  487. button {
  488. display: flex;
  489. align-items: center;
  490. justify-content: center;
  491. height: 86rpx;
  492. font-size: 30rpx;
  493. color: #e93323;
  494. }
  495. /* #endif */
  496. }
  497. .order-details .header {
  498. padding: 0 30rpx;
  499. height: 150rpx;
  500. }
  501. .order-details .header.on {
  502. background-color: #666 !important;
  503. }
  504. .order-details .header .pictrue {
  505. width: 110rpx;
  506. height: 110rpx;
  507. }
  508. .order-details .header .pictrue image {
  509. width: 100%;
  510. height: 100%;
  511. }
  512. .order-details .header .data {
  513. color: rgba(255, 255, 255, 0.8);
  514. font-size: 24rpx;
  515. margin-left: 27rpx;
  516. }
  517. .order-details .header .data.on {
  518. margin-left: 0;
  519. }
  520. .order-details .header .data .state {
  521. font-size: 30rpx;
  522. font-weight: bold;
  523. color: #fff;
  524. margin-bottom: 7rpx;
  525. }
  526. .order-details .header .data .time {
  527. margin-left: 20rpx;
  528. }
  529. .order-details .nav {
  530. background-color: #fff;
  531. font-size: 26rpx;
  532. color: #282828;
  533. padding: 25rpx 0;
  534. }
  535. .order-details .nav .navCon {
  536. padding: 0 40rpx;
  537. }
  538. .order-details .nav .on {
  539. color: #e93323;
  540. }
  541. .order-details .nav .progress {
  542. padding: 0 65rpx;
  543. margin-top: 10rpx;
  544. }
  545. .order-details .nav .progress .line {
  546. width: 100rpx;
  547. height: 2rpx;
  548. background-color: #939390;
  549. }
  550. .order-details .nav .progress .iconfont {
  551. font-size: 25rpx;
  552. color: #939390;
  553. margin-top: -2rpx;
  554. }
  555. .order-details .address {
  556. font-size: 26rpx;
  557. color: #868686;
  558. background-color: #fff;
  559. margin-top: 13rpx;
  560. padding: 35rpx 30rpx;
  561. }
  562. .order-details .address .name {
  563. font-size: 30rpx;
  564. color: #282828;
  565. margin-bottom: 15rpx;
  566. }
  567. .order-details .address .name .phone {
  568. margin-left: 40rpx;
  569. }
  570. .order-details .line {
  571. width: 100%;
  572. height: 3rpx;
  573. }
  574. .order-details .line image {
  575. width: 100%;
  576. height: 100%;
  577. display: block;
  578. }
  579. .order-details .wrapper {
  580. background-color: #fff;
  581. margin-top: 12rpx;
  582. padding: 30rpx;
  583. }
  584. .order-details .wrapper .item {
  585. font-size: 28rpx;
  586. color: #282828;
  587. }
  588. .order-details .wrapper .item~.item {
  589. margin-top: 20rpx;
  590. }
  591. .order-details .wrapper .item .conter {
  592. color: #868686;
  593. max-width: 460rpx;
  594. height: max-content;
  595. text-align: right;
  596. display: flex;
  597. flex-wrap: wrap;
  598. white-space:normal;
  599. }
  600. .order-details .wrapper .item .conter .copy {
  601. font-size: 20rpx;
  602. color: #333;
  603. border-radius: 3rpx;
  604. border: 1rpx solid #666;
  605. padding: 3rpx 15rpx;
  606. margin-left: 24rpx;
  607. }
  608. .order-details .wrapper .actualPay {
  609. border-top: 1rpx solid #eee;
  610. margin-top: 30rpx;
  611. padding-top: 30rpx;
  612. }
  613. .order-details .wrapper .actualPay .money {
  614. font-weight: bold;
  615. font-size: 30rpx;
  616. }
  617. .order-details .footer {
  618. width: 100%;
  619. height: 100rpx;
  620. position: fixed;
  621. bottom: 0;
  622. left: 0;
  623. background-color: #fff;
  624. padding: 0 30rpx;
  625. box-sizing: border-box;
  626. }
  627. .order-details .footer .bnt {
  628. width: 176rpx;
  629. height: 60rpx;
  630. text-align: center;
  631. line-height: 60rpx;
  632. border-radius: 50rpx;
  633. color: #fff;
  634. font-size: 27rpx;
  635. }
  636. .order-details .footer .bnt.cancel {
  637. color: #aaa;
  638. border: 1rpx solid #ddd;
  639. }
  640. .order-details .footer .bnt~.bnt {
  641. margin-left: 18rpx;
  642. }
  643. .order-details .writeOff {
  644. background-color: #fff;
  645. margin-top: 13rpx;
  646. padding-bottom: 30rpx;
  647. }
  648. .order-details .writeOff .title {
  649. font-size: 30rpx;
  650. color: #282828;
  651. height: 87rpx;
  652. border-bottom: 1px solid #f0f0f0;
  653. padding: 0 30rpx;
  654. line-height: 87rpx;
  655. }
  656. .order-details .writeOff .grayBg {
  657. background-color: #f2f5f7;
  658. width: 590rpx;
  659. height: 384rpx;
  660. border-radius: 20rpx 20rpx 0 0;
  661. margin: 50rpx auto 0 auto;
  662. padding-top: 55rpx;
  663. position: relative;
  664. }
  665. .order-details .writeOff .grayBg .written {
  666. position: absolute;
  667. top: 0;
  668. right: 0;
  669. width: 60rpx;
  670. height: 60rpx;
  671. }
  672. .order-details .writeOff .grayBg .written image {
  673. width: 100%;
  674. height: 100%;
  675. }
  676. .order-details .writeOff .grayBg .pictrue {
  677. width: 290rpx;
  678. height: 290rpx;
  679. margin: 0 auto;
  680. }
  681. .order-details .writeOff .grayBg .pictrue image {
  682. width: 100%;
  683. height: 100%;
  684. display: block;
  685. }
  686. .order-details .writeOff .gear {
  687. width: 590rpx;
  688. height: 30rpx;
  689. margin: 0 auto;
  690. }
  691. .order-details .writeOff .gear image {
  692. width: 100%;
  693. height: 100%;
  694. display: block;
  695. }
  696. .order-details .writeOff .num {
  697. background-color: #f0c34c;
  698. width: 590rpx;
  699. height: 84rpx;
  700. color: #282828;
  701. font-size: 48rpx;
  702. margin: 0 auto;
  703. border-radius: 0 0 20rpx 20rpx;
  704. text-align: center;
  705. padding-top: 4rpx;
  706. }
  707. .order-details .writeOff .rules {
  708. margin: 46rpx 30rpx 0 30rpx;
  709. border-top: 1px solid #f0f0f0;
  710. padding-top: 10rpx;
  711. }
  712. .order-details .writeOff .rules .item {
  713. margin-top: 20rpx;
  714. }
  715. .order-details .writeOff .rules .item .rulesTitle {
  716. font-size: 28rpx;
  717. color: #282828;
  718. }
  719. .order-details .writeOff .rules .item .rulesTitle .iconfont {
  720. font-size: 30rpx;
  721. color: #333;
  722. margin-right: 8rpx;
  723. margin-top: 5rpx;
  724. }
  725. .order-details .writeOff .rules .item .info {
  726. font-size: 28rpx;
  727. color: #999;
  728. margin-top: 7rpx;
  729. }
  730. .order-details .writeOff .rules .item .info .time {
  731. margin-left: 20rpx;
  732. }
  733. .order-details .map {
  734. height: 86rpx;
  735. font-size: 30rpx;
  736. color: #282828;
  737. line-height: 86rpx;
  738. border-bottom: 1px solid #f0f0f0;
  739. margin-top: 13rpx;
  740. background-color: #fff;
  741. padding: 0 30rpx;
  742. }
  743. .order-details .map .place {
  744. font-size: 26rpx;
  745. width: 176rpx;
  746. height: 50rpx;
  747. border-radius: 25rpx;
  748. line-height: 50rpx;
  749. text-align: center;
  750. }
  751. .order-details .map .place .iconfont {
  752. font-size: 27rpx;
  753. height: 27rpx;
  754. line-height: 27rpx;
  755. margin: 2rpx 3rpx 0 0;
  756. }
  757. .order-details .address .name .iconfont {
  758. font-size: 34rpx;
  759. margin-left: 10rpx;
  760. }
  761. .refund {
  762. padding: 0 30rpx 30rpx;
  763. margin-top: 24rpx;
  764. background-color: #fff;
  765. .title {
  766. display: flex;
  767. align-items: center;
  768. font-size: 30rpx;
  769. color: #333;
  770. height: 86rpx;
  771. border-bottom: 1px solid #f5f5f5;
  772. image {
  773. width: 32rpx;
  774. height: 32rpx;
  775. margin-right: 10rpx;
  776. }
  777. }
  778. .con {
  779. padding-top: 25rpx;
  780. font-size: 28rpx;
  781. color: #868686;
  782. }
  783. }
  784. .orderGoods {
  785. background-color: #fff;
  786. margin-top: 12rpx;
  787. }
  788. .orderGoods .total {
  789. width: 100%;
  790. height: 86rpx;
  791. padding: 0 30rpx;
  792. border-bottom: 2rpx solid #f0f0f0;
  793. font-size: 30rpx;
  794. color: #282828;
  795. line-height: 86rpx;
  796. box-sizing: border-box;
  797. }
  798. </style>