integral_order_details.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868
  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. jumpCon(id) {
  221. uni.navigateTo({
  222. url: `/pages/points_mall/integral_goods_details?id=${id}`
  223. })
  224. },
  225. goGoodCall() {
  226. let self = this
  227. uni.navigateTo({
  228. url: `/pages/extension/customer_list/chat?orderId=${self.order_id}`
  229. })
  230. },
  231. openSubcribe: function(e) {
  232. let page = e;
  233. uni.showLoading({
  234. title: this.$t(`正在加载`),
  235. })
  236. openOrderRefundSubscribe().then(res => {
  237. uni.hideLoading();
  238. uni.navigateTo({
  239. url: page,
  240. });
  241. }).catch(() => {
  242. uni.hideLoading();
  243. });
  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. makePhone: function() {
  259. uni.makePhoneCall({
  260. phoneNumber: this.system_store.phone
  261. })
  262. },
  263. /**
  264. * 打开地图
  265. *
  266. */
  267. showMaoLocation: function() {
  268. if (!this.system_store.latitude || !this.system_store.longitude) return this.$util.Tips({
  269. title: this.$t(`缺少经纬度信息无法查看地图!`)
  270. });
  271. uni.openLocation({
  272. latitude: parseFloat(this.system_store.latitude),
  273. longitude: parseFloat(this.system_store.longitude),
  274. scale: 8,
  275. name: this.system_store.name,
  276. address: this.system_store.address + this.system_store.detailed_address,
  277. success: function() {
  278. },
  279. });
  280. },
  281. /**
  282. * 关闭支付组件
  283. *
  284. */
  285. payClose: function() {
  286. this.pay_close = false;
  287. },
  288. /**
  289. * 打开支付组件
  290. *
  291. */
  292. pay_open: function() {
  293. this.pay_close = true;
  294. this.pay_order_id = this.orderInfo.order_id;
  295. this.totalPrice = this.orderInfo.pay_price;
  296. },
  297. /**
  298. * 支付成功回调
  299. *
  300. */
  301. pay_complete: function() {
  302. this.pay_close = false;
  303. this.pay_order_id = '';
  304. this.getOrderInfo();
  305. },
  306. /**
  307. * 支付失败回调
  308. *
  309. */
  310. pay_fail: function() {
  311. this.pay_close = false;
  312. this.pay_order_id = '';
  313. },
  314. /**
  315. * 登录授权回调
  316. *
  317. */
  318. onLoadFun: function() {
  319. this.getOrderInfo();
  320. this.getUserInfo();
  321. },
  322. /**
  323. * 获取用户信息
  324. *
  325. */
  326. getUserInfo: function() {
  327. let that = this;
  328. getUserInfo().then(res => {
  329. // #ifdef H5 || APP-PLUS
  330. that.payMode[2].number = res.data.now_money;
  331. // #endif
  332. // #ifdef MP
  333. that.payMode[1].number = res.data.now_money;
  334. // #endif
  335. that.$set(that, 'payMode', that.payMode);
  336. })
  337. },
  338. /**
  339. * 获取订单详细信息
  340. *
  341. */
  342. getOrderInfo: function() {
  343. let that = this;
  344. uni.showLoading({
  345. title: this.$t(`正在加载中`)
  346. });
  347. integralOrderDetails(this.order_id).then(res => {
  348. uni.hideLoading();
  349. that.$set(that, 'cartInfo', res.data);
  350. }).catch(err => {
  351. uni.hideLoading();
  352. that.$util.Tips({
  353. title: err
  354. }, '/pages/points_mall/exchange_record');
  355. });
  356. },
  357. /**
  358. *
  359. * 剪切订单号
  360. */
  361. // #ifndef H5
  362. copy: function() {
  363. let that = this;
  364. uni.setClipboardData({
  365. data: this.cartInfo.order_id
  366. });
  367. },
  368. // #endif
  369. /**
  370. * 打电话
  371. */
  372. goTel: function() {
  373. uni.makePhoneCall({
  374. phoneNumber: this.orderInfo.delivery_id
  375. })
  376. },
  377. /**
  378. * 设置底部按钮
  379. *
  380. */
  381. getOrderStatus: function() {
  382. let orderInfo = this.orderInfo || {},
  383. _status = orderInfo._status || {
  384. _type: 0
  385. },
  386. status = {};
  387. let type = parseInt(_status._type),
  388. delivery_type = orderInfo.delivery_type,
  389. seckill_id = orderInfo.seckill_id ? parseInt(orderInfo.seckill_id) : 0,
  390. bargain_id = orderInfo.bargain_id ? parseInt(orderInfo.bargain_id) : 0,
  391. combination_id = orderInfo.combination_id ? parseInt(orderInfo.combination_id) : 0;
  392. status = {
  393. type: type == 9 ? -9 : type,
  394. class_status: 0
  395. };
  396. if (type == 1 && combination_id > 0) status.class_status = 1; //查看拼团
  397. if (type == 2 && delivery_type == 'express') status.class_status = 2; //查看物流
  398. if (type == 2) status.class_status = 3; //确认收货
  399. if (type == 4 || type == 0) status.class_status = 4; //删除订单
  400. if (!seckill_id && !bargain_id && !combination_id && (type == 3 || type == 4)) status.class_status =
  401. 5; //再次购买
  402. this.$set(this, 'status', status);
  403. },
  404. /**
  405. * 去拼团详情
  406. *
  407. */
  408. goJoinPink: function() {
  409. uni.navigateTo({
  410. url: '/pages/activity/goods_combination_status/index?id=' + this.orderInfo.pink_id,
  411. });
  412. },
  413. confirmOrder: function() {
  414. let that = this;
  415. uni.showModal({
  416. title: this.$t(`确认收货`),
  417. content: this.$t(`为保障权益,请收到货确认无误后,再确认收货`),
  418. success: (res) => {
  419. if (res.confirm) {
  420. orderTake({
  421. order_id: that.order_id
  422. }).then(res => {
  423. return that.$util.Tips({
  424. title: that.$t(`操作成功`),
  425. icon: 'success'
  426. }, () => {
  427. that.getOrderInfo();
  428. });
  429. }).catch(err => {
  430. return that.$util.Tips({
  431. title: err
  432. });
  433. })
  434. }
  435. }
  436. })
  437. },
  438. /**
  439. *
  440. * 删除订单
  441. */
  442. delOrder: function() {
  443. let that = this;
  444. orderDel({
  445. order_id: that.order_id
  446. }).then(res => {
  447. return that.$util.Tips({
  448. title: that.$t(`删除成功`),
  449. icon: 'success'
  450. }, {
  451. tab: 5,
  452. url: '/pages/points_mall/exchange_record'
  453. });
  454. }).catch(err => {
  455. return that.$util.Tips({
  456. title: err
  457. });
  458. });
  459. },
  460. }
  461. }
  462. </script>
  463. <style scoped lang="scss">
  464. .qs-btn {
  465. width: auto;
  466. height: 60rpx;
  467. text-align: center;
  468. line-height: 60rpx;
  469. border-radius: 50rpx;
  470. color: #fff;
  471. font-size: 27rpx;
  472. padding: 0 3%;
  473. color: #aaa;
  474. border: 1px solid #ddd;
  475. margin-right: 20rpx;
  476. }
  477. .goodCall {
  478. color: #e93323;
  479. text-align: center;
  480. width: 100%;
  481. height: 86rpx;
  482. padding: 0 30rpx;
  483. border-bottom: 1rpx solid #eee;
  484. font-size: 30rpx;
  485. line-height: 86rpx;
  486. background: #fff;
  487. .icon-kefu {
  488. font-size: 36rpx;
  489. margin-right: 15rpx;
  490. }
  491. /* #ifdef MP */
  492. button {
  493. display: flex;
  494. align-items: center;
  495. justify-content: center;
  496. height: 86rpx;
  497. font-size: 30rpx;
  498. color: #e93323;
  499. }
  500. /* #endif */
  501. }
  502. .order-details .header {
  503. padding: 0 30rpx;
  504. height: 150rpx;
  505. }
  506. .order-details .header.on {
  507. background-color: #666 !important;
  508. }
  509. .order-details .header .pictrue {
  510. width: 110rpx;
  511. height: 110rpx;
  512. }
  513. .order-details .header .pictrue image {
  514. width: 100%;
  515. height: 100%;
  516. }
  517. .order-details .header .data {
  518. color: rgba(255, 255, 255, 0.8);
  519. font-size: 24rpx;
  520. margin-left: 27rpx;
  521. }
  522. .order-details .header .data.on {
  523. margin-left: 0;
  524. }
  525. .order-details .header .data .state {
  526. font-size: 30rpx;
  527. font-weight: bold;
  528. color: #fff;
  529. margin-bottom: 7rpx;
  530. }
  531. .order-details .header .data .time {
  532. margin-left: 20rpx;
  533. }
  534. .order-details .nav {
  535. background-color: #fff;
  536. font-size: 26rpx;
  537. color: #282828;
  538. padding: 25rpx 0;
  539. }
  540. .order-details .nav .navCon {
  541. padding: 0 40rpx;
  542. }
  543. .order-details .nav .on {
  544. color: #e93323;
  545. }
  546. .order-details .nav .progress {
  547. padding: 0 65rpx;
  548. margin-top: 10rpx;
  549. }
  550. .order-details .nav .progress .line {
  551. width: 100rpx;
  552. height: 2rpx;
  553. background-color: #939390;
  554. }
  555. .order-details .nav .progress .iconfont {
  556. font-size: 25rpx;
  557. color: #939390;
  558. margin-top: -2rpx;
  559. }
  560. .order-details .address {
  561. font-size: 26rpx;
  562. color: #868686;
  563. background-color: #fff;
  564. margin-top: 13rpx;
  565. padding: 35rpx 30rpx;
  566. }
  567. .order-details .address .name {
  568. font-size: 30rpx;
  569. color: #282828;
  570. margin-bottom: 15rpx;
  571. }
  572. .order-details .address .name .phone {
  573. margin-left: 40rpx;
  574. }
  575. .order-details .line {
  576. width: 100%;
  577. height: 3rpx;
  578. }
  579. .order-details .line image {
  580. width: 100%;
  581. height: 100%;
  582. display: block;
  583. }
  584. .order-details .wrapper {
  585. background-color: #fff;
  586. margin-top: 12rpx;
  587. padding: 30rpx;
  588. }
  589. .order-details .wrapper .item {
  590. font-size: 28rpx;
  591. color: #282828;
  592. }
  593. .order-details .wrapper .item~.item {
  594. margin-top: 20rpx;
  595. }
  596. .order-details .wrapper .item .conter {
  597. color: #868686;
  598. max-width: 460rpx;
  599. height: max-content;
  600. text-align: right;
  601. display: flex;
  602. flex-wrap: wrap;
  603. white-space: normal;
  604. }
  605. .order-details .wrapper .item .conter .copy {
  606. font-size: 20rpx;
  607. color: #333;
  608. border-radius: 3rpx;
  609. border: 1rpx solid #666;
  610. padding: 3rpx 15rpx;
  611. margin-left: 24rpx;
  612. }
  613. .order-details .wrapper .actualPay {
  614. border-top: 1rpx solid #eee;
  615. margin-top: 30rpx;
  616. padding-top: 30rpx;
  617. }
  618. .order-details .wrapper .actualPay .money {
  619. font-weight: bold;
  620. font-size: 30rpx;
  621. }
  622. .order-details .footer {
  623. width: 100%;
  624. height: 100rpx;
  625. position: fixed;
  626. bottom: 0;
  627. left: 0;
  628. background-color: #fff;
  629. padding: 0 30rpx;
  630. box-sizing: border-box;
  631. }
  632. .order-details .footer .bnt {
  633. width: 176rpx;
  634. height: 60rpx;
  635. text-align: center;
  636. line-height: 60rpx;
  637. border-radius: 50rpx;
  638. color: #fff;
  639. font-size: 27rpx;
  640. }
  641. .order-details .footer .bnt.cancel {
  642. color: #aaa;
  643. border: 1rpx solid #ddd;
  644. }
  645. .order-details .footer .bnt~.bnt {
  646. margin-left: 18rpx;
  647. }
  648. .order-details .writeOff {
  649. background-color: #fff;
  650. margin-top: 13rpx;
  651. padding-bottom: 30rpx;
  652. }
  653. .order-details .writeOff .title {
  654. font-size: 30rpx;
  655. color: #282828;
  656. height: 87rpx;
  657. border-bottom: 1px solid #f0f0f0;
  658. padding: 0 30rpx;
  659. line-height: 87rpx;
  660. }
  661. .order-details .writeOff .grayBg {
  662. background-color: #f2f5f7;
  663. width: 590rpx;
  664. height: 384rpx;
  665. border-radius: 20rpx 20rpx 0 0;
  666. margin: 50rpx auto 0 auto;
  667. padding-top: 55rpx;
  668. position: relative;
  669. }
  670. .order-details .writeOff .grayBg .written {
  671. position: absolute;
  672. top: 0;
  673. right: 0;
  674. width: 60rpx;
  675. height: 60rpx;
  676. }
  677. .order-details .writeOff .grayBg .written image {
  678. width: 100%;
  679. height: 100%;
  680. }
  681. .order-details .writeOff .grayBg .pictrue {
  682. width: 290rpx;
  683. height: 290rpx;
  684. margin: 0 auto;
  685. }
  686. .order-details .writeOff .grayBg .pictrue image {
  687. width: 100%;
  688. height: 100%;
  689. display: block;
  690. }
  691. .order-details .writeOff .gear {
  692. width: 590rpx;
  693. height: 30rpx;
  694. margin: 0 auto;
  695. }
  696. .order-details .writeOff .gear image {
  697. width: 100%;
  698. height: 100%;
  699. display: block;
  700. }
  701. .order-details .writeOff .num {
  702. background-color: #f0c34c;
  703. width: 590rpx;
  704. height: 84rpx;
  705. color: #282828;
  706. font-size: 48rpx;
  707. margin: 0 auto;
  708. border-radius: 0 0 20rpx 20rpx;
  709. text-align: center;
  710. padding-top: 4rpx;
  711. }
  712. .order-details .writeOff .rules {
  713. margin: 46rpx 30rpx 0 30rpx;
  714. border-top: 1px solid #f0f0f0;
  715. padding-top: 10rpx;
  716. }
  717. .order-details .writeOff .rules .item {
  718. margin-top: 20rpx;
  719. }
  720. .order-details .writeOff .rules .item .rulesTitle {
  721. font-size: 28rpx;
  722. color: #282828;
  723. }
  724. .order-details .writeOff .rules .item .rulesTitle .iconfont {
  725. font-size: 30rpx;
  726. color: #333;
  727. margin-right: 8rpx;
  728. margin-top: 5rpx;
  729. }
  730. .order-details .writeOff .rules .item .info {
  731. font-size: 28rpx;
  732. color: #999;
  733. margin-top: 7rpx;
  734. }
  735. .order-details .writeOff .rules .item .info .time {
  736. margin-left: 20rpx;
  737. }
  738. .order-details .map {
  739. height: 86rpx;
  740. font-size: 30rpx;
  741. color: #282828;
  742. line-height: 86rpx;
  743. border-bottom: 1px solid #f0f0f0;
  744. margin-top: 13rpx;
  745. background-color: #fff;
  746. padding: 0 30rpx;
  747. }
  748. .order-details .map .place {
  749. font-size: 26rpx;
  750. width: 176rpx;
  751. height: 50rpx;
  752. border-radius: 25rpx;
  753. line-height: 50rpx;
  754. text-align: center;
  755. }
  756. .order-details .map .place .iconfont {
  757. font-size: 27rpx;
  758. height: 27rpx;
  759. line-height: 27rpx;
  760. margin: 2rpx 3rpx 0 0;
  761. }
  762. .order-details .address .name .iconfont {
  763. font-size: 34rpx;
  764. margin-left: 10rpx;
  765. }
  766. .refund {
  767. padding: 0 30rpx 30rpx;
  768. margin-top: 24rpx;
  769. background-color: #fff;
  770. .title {
  771. display: flex;
  772. align-items: center;
  773. font-size: 30rpx;
  774. color: #333;
  775. height: 86rpx;
  776. border-bottom: 1px solid #f5f5f5;
  777. image {
  778. width: 32rpx;
  779. height: 32rpx;
  780. margin-right: 10rpx;
  781. }
  782. }
  783. .con {
  784. padding-top: 25rpx;
  785. font-size: 28rpx;
  786. color: #868686;
  787. }
  788. }
  789. .orderGoods {
  790. background-color: #fff;
  791. margin-top: 12rpx;
  792. }
  793. .orderGoods .total {
  794. width: 100%;
  795. height: 86rpx;
  796. padding: 0 30rpx;
  797. border-bottom: 2rpx solid #f0f0f0;
  798. font-size: 30rpx;
  799. color: #282828;
  800. line-height: 86rpx;
  801. box-sizing: border-box;
  802. }
  803. </style>