integral_order_details.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870
  1. <template>
  2. <view :style="colorStyle">
  3. <view class='order-details'>
  4. <view v-if="cartInfo.product_type == 0">
  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" :class="cartInfo.product_type == 0?'':'on'">
  14. <view class='total'>共{{cartInfo.total_num}}件商品</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' v-if="cartInfo.attrInfo">{{cartInfo.attrInfo.suk}}</view>
  26. <view class='money font-num'>
  27. {{cartInfo.price}}积分
  28. </view>
  29. </view>
  30. </view>
  31. </view>
  32. </view>
  33. <view v-if="cartInfo.status!=0">
  34. <view class='wrapper' v-if='cartInfo.delivery_type=="fictitious" && cartInfo.product_type!=1'>
  35. <view class='item acea-row row-between'>
  36. <view>虚拟发货:</view>
  37. <view class='conter'>已发货,请注意查收</view>
  38. </view>
  39. <view class='item acea-row row-between' v-if="cartInfo.fictitious_content">
  40. <view>虚拟备注:</view>
  41. <view class='conter'>{{cartInfo.fictitious_content}}</view>
  42. </view>
  43. </view>
  44. <view class='wrapper' v-if="cartInfo.virtual_info && cartInfo.product_type==1">
  45. <view class='item acea-row row-between'>
  46. <view>卡密发货:</view>
  47. <view class='conter'>{{cartInfo.virtual_info}}</view>
  48. </view>
  49. </view>
  50. </view>
  51. <customForm :customForm="cartInfo.custom_form"></customForm>
  52. <view class='wrapper'>
  53. <view class='item acea-row row-between'>
  54. <view>订单编号:</view>
  55. <view class='conter acea-row row-middle row-right'>{{cartInfo.order_id}}
  56. <!-- #ifndef H5 -->
  57. <text class='copy' @tap='copy'>复制</text>
  58. <!-- #endif -->
  59. <!-- #ifdef H5 -->
  60. <text class='copy copy-data' :data-clipboard-text="cartInfo.order_id">复制</text>
  61. <!-- #endif -->
  62. </view>
  63. </view>
  64. <view class='item acea-row row-between'>
  65. <view>订单状态:</view>
  66. <view class='conter'>{{cartInfo.status_name}}</view>
  67. </view>
  68. <view class='item acea-row row-between'>
  69. <view>下单时间:</view>
  70. <view class='conter'>{{cartInfo.add_time}}</view>
  71. </view>
  72. <view class='item acea-row row-between'>
  73. <view>支付积分:</view>
  74. <view class='conter'>{{cartInfo.total_price}}</view>
  75. </view>
  76. <view class='item acea-row row-between' v-if="cartInfo.delivery_type === 'express'">
  77. <view>快递单号:</view>
  78. <view class='conter'>{{cartInfo.delivery_id}}</view>
  79. </view>
  80. <view class='item acea-row row-between' v-if="cartInfo.delivery_type === 'express'">
  81. <view>快递公司:</view>
  82. <view class='conter'>{{cartInfo.delivery_name}}</view>
  83. </view>
  84. <view class='item acea-row row-between' v-if="cartInfo.delivery_type === 'send'">
  85. <view>送货人电话:</view>
  86. <view class='conter'>{{cartInfo.delivery_id}}</view>
  87. </view>
  88. <view class='item acea-row row-between' v-if="cartInfo.delivery_type === 'send'">
  89. <view>配送人姓名:</view>
  90. <view class='conter'>{{cartInfo.delivery_name}}</view>
  91. </view>
  92. <!-- <view class='item acea-row row-between' v-if="cartInfo.delivery_type === 'fictitious'">
  93. <view>虚拟发货:</view>
  94. <view class='conter'>>已发货,请注意查收</view>
  95. </view> -->
  96. <view class='item acea-row row-between' v-if="cartInfo.fictitious_content">
  97. <view>虚拟备注:</view>
  98. <view class='conter'>{{cartInfo.fictitious_content}}</view>
  99. </view>
  100. <view class='item acea-row row-between' v-if="cartInfo.delivery_type === 'send'">
  101. <view>配送核销码:</view>
  102. <view class='conter'>{{cartInfo.verify_code}}</view>
  103. </view>
  104. </view>
  105. <view style='height:120rpx;'></view>
  106. <view class='footer acea-row row-right row-middle' v-if="cartInfo.status>1">
  107. <view class='bnt bg-color' v-if="cartInfo.status==3" @tap='delOrder'>删除订单</view>
  108. <navigator class='bnt cancel' hover-class='none'
  109. v-if="cartInfo.delivery_id && cartInfo.delivery_type === 'express'"
  110. :url="'/pages/points_mall/logistics_details?order_id='+ cartInfo.order_id">查看物流
  111. </navigator>
  112. <view class='bnt bg-color' v-if="cartInfo.status==2" @tap='confirmOrder'>确认收货</view>
  113. </view>
  114. </view>
  115. <home v-if="navigation"></home>
  116. </view>
  117. </template>
  118. <script>
  119. import {
  120. integralOrderDetails,
  121. orderTake,
  122. orderDel
  123. } from '@/api/activity.js'
  124. import {
  125. openOrderRefundSubscribe
  126. } from '@/utils/SubscribeMessage.js';
  127. import {
  128. getUserInfo
  129. } from '@/api/user.js';
  130. import home from '@/components/home';
  131. import customForm from "@/components/customForm";
  132. import orderGoods from "@/components/orderGoods";
  133. import ClipboardJS from "@/plugin/clipboard/clipboard.js";
  134. import {
  135. toLogin
  136. } from '@/libs/login.js';
  137. import {
  138. mapGetters
  139. } from "vuex";
  140. import colors from "@/mixins/color";
  141. export default {
  142. components: {
  143. home,
  144. customForm,
  145. orderGoods
  146. },
  147. mixins: [colors],
  148. data() {
  149. return {
  150. order_id: '',
  151. evaluate: 0,
  152. cartInfo: [], //购物车产品
  153. orderInfo: {
  154. system_store: {},
  155. _status: {}
  156. }, //订单详情
  157. system_store: {},
  158. isGoodsReturn: false, //是否为退款订单
  159. status: {}, //订单底部按钮状态
  160. isClose: false,
  161. payMode: [{
  162. name: "微信支付",
  163. icon: "icon-weixinzhifu",
  164. value: 'weixin',
  165. title: '使用微信快捷支付',
  166. payStatus: true,
  167. },
  168. // #ifdef H5 || APP-PLUS
  169. {
  170. name: '支付宝支付',
  171. icon: 'icon-zhifubao',
  172. value: 'alipay',
  173. title: '使用线上支付宝支付',
  174. payStatus: true
  175. },
  176. // #endif
  177. {
  178. name: "余额支付",
  179. icon: "icon-yuezhifu",
  180. value: 'yue',
  181. title: '当前可用余额:',
  182. number: 0,
  183. payStatus: true
  184. },
  185. ],
  186. pay_close: false,
  187. pay_order_id: '',
  188. totalPrice: '0',
  189. isAuto: false, //没有授权的不会自动授权
  190. isShowAuth: false, //是否隐藏授权
  191. routineContact: '0'
  192. };
  193. },
  194. computed: mapGetters(['isLogin']),
  195. onLoad: function(options) {
  196. if (options.order_id) {
  197. this.$set(this, 'order_id', options.order_id);
  198. }
  199. },
  200. onShow() {
  201. uni.removeStorageSync('form_type_cart');
  202. if (this.isLogin) {
  203. this.getOrderInfo();
  204. // this.getUserInfo();
  205. } else {
  206. toLogin();
  207. }
  208. },
  209. onHide: function() {
  210. this.isClose = true;
  211. },
  212. onReady: function() {
  213. // #ifdef H5 || APP-PLUS
  214. this.$nextTick(function() {
  215. const clipboard = new ClipboardJS(".copy-data");
  216. clipboard.on("success", () => {
  217. this.$util.Tips({
  218. title: '复制成功'
  219. });
  220. });
  221. });
  222. // #endif
  223. },
  224. methods: {
  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: '正在加载',
  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: '缺少经纬度信息无法查看地图!'
  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: "正在加载中"
  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: '确认收货',
  417. content: '为保障权益,请收到货确认无误后,再确认收货',
  418. success: function(res) {
  419. if (res.confirm) {
  420. orderTake({
  421. order_id: that.order_id
  422. }).then(res => {
  423. return that.$util.Tips({
  424. title: '操作成功',
  425. icon: 'success'
  426. }, function() {
  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: '删除成功',
  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. .goodWrapper{
  478. padding: 0 30rpx;
  479. }
  480. .goodCall {
  481. color: #e93323;
  482. text-align: center;
  483. width: 100%;
  484. height: 86rpx;
  485. padding: 0 30rpx;
  486. border-bottom: 1rpx solid #eee;
  487. font-size: 30rpx;
  488. line-height: 86rpx;
  489. background: #fff;
  490. .icon-kefu {
  491. font-size: 36rpx;
  492. margin-right: 15rpx;
  493. }
  494. /* #ifdef MP */
  495. button {
  496. display: flex;
  497. align-items: center;
  498. justify-content: center;
  499. height: 86rpx;
  500. font-size: 30rpx;
  501. color: #e93323;
  502. }
  503. /* #endif */
  504. }
  505. .order-details .header {
  506. padding: 0 30rpx;
  507. height: 150rpx;
  508. }
  509. .order-details .header.on {
  510. background-color: #666 !important;
  511. }
  512. .order-details .header .pictrue {
  513. width: 110rpx;
  514. height: 110rpx;
  515. }
  516. .order-details .header .pictrue image {
  517. width: 100%;
  518. height: 100%;
  519. }
  520. .order-details .header .data {
  521. color: rgba(255, 255, 255, 0.8);
  522. font-size: 24rpx;
  523. margin-left: 27rpx;
  524. }
  525. .order-details .header .data.on {
  526. margin-left: 0;
  527. }
  528. .order-details .header .data .state {
  529. font-size: 30rpx;
  530. font-weight: bold;
  531. color: #fff;
  532. margin-bottom: 7rpx;
  533. }
  534. .order-details .header .data .time {
  535. margin-left: 20rpx;
  536. }
  537. .order-details .nav {
  538. background-color: #fff;
  539. font-size: 26rpx;
  540. color: #282828;
  541. padding: 25rpx 0;
  542. }
  543. .order-details .nav .navCon {
  544. padding: 0 40rpx;
  545. }
  546. .order-details .nav .on {
  547. color: #e93323;
  548. }
  549. .order-details .nav .progress {
  550. padding: 0 65rpx;
  551. margin-top: 10rpx;
  552. }
  553. .order-details .nav .progress .line {
  554. width: 100rpx;
  555. height: 2rpx;
  556. background-color: #939390;
  557. }
  558. .order-details .nav .progress .iconfont {
  559. font-size: 25rpx;
  560. color: #939390;
  561. margin-top: -2rpx;
  562. }
  563. .order-details .address {
  564. font-size: 26rpx;
  565. color: #868686;
  566. background-color: #fff;
  567. padding: 35rpx 30rpx;
  568. }
  569. .order-details .address .name {
  570. font-size: 30rpx;
  571. color: #282828;
  572. margin-bottom: 15rpx;
  573. }
  574. .order-details .address .name .phone {
  575. margin-left: 40rpx;
  576. }
  577. .order-details .line {
  578. width: 100%;
  579. height: 3rpx;
  580. }
  581. .order-details .line image {
  582. width: 100%;
  583. height: 100%;
  584. display: block;
  585. }
  586. .order-details .wrapper {
  587. background-color: #fff;
  588. margin-top: 12rpx;
  589. padding: 30rpx;
  590. }
  591. .order-details .wrapper .item {
  592. font-size: 28rpx;
  593. color: #282828;
  594. }
  595. .order-details .wrapper .item~.item {
  596. margin-top: 20rpx;
  597. }
  598. .order-details .wrapper .item .conter {
  599. color: #868686;
  600. width: 460rpx;
  601. text-align: right;
  602. }
  603. .order-details .wrapper .item .conter .copy {
  604. font-size: 20rpx;
  605. color: #333;
  606. border-radius: 3rpx;
  607. border: 1rpx solid #666;
  608. padding: 3rpx 15rpx;
  609. margin-left: 24rpx;
  610. }
  611. .order-details .wrapper .actualPay {
  612. border-top: 1rpx solid #eee;
  613. margin-top: 30rpx;
  614. padding-top: 30rpx;
  615. }
  616. .order-details .wrapper .actualPay .money {
  617. font-weight: bold;
  618. font-size: 30rpx;
  619. }
  620. .order-details .footer {
  621. width: 100%;
  622. height: 100rpx;
  623. position: fixed;
  624. bottom: 0;
  625. left: 0;
  626. background-color: #fff;
  627. padding: 0 30rpx;
  628. box-sizing: border-box;
  629. }
  630. .order-details .footer .bnt {
  631. width: 150rpx;
  632. height: 60rpx;
  633. text-align: center;
  634. line-height: 60rpx;
  635. border-radius: 50rpx;
  636. color: #fff;
  637. font-size: 27rpx;
  638. }
  639. .order-details .footer .bnt.cancel {
  640. color: #aaa;
  641. border: 1rpx solid #ddd;
  642. }
  643. .order-details .footer .bnt~.bnt {
  644. margin-left: 18rpx;
  645. }
  646. .order-details .writeOff {
  647. background-color: #fff;
  648. margin-top: 13rpx;
  649. padding-bottom: 30rpx;
  650. }
  651. .order-details .writeOff .title {
  652. font-size: 30rpx;
  653. color: #282828;
  654. height: 87rpx;
  655. border-bottom: 1px solid #f0f0f0;
  656. padding: 0 30rpx;
  657. line-height: 87rpx;
  658. }
  659. .order-details .writeOff .grayBg {
  660. background-color: #f2f5f7;
  661. width: 590rpx;
  662. height: 384rpx;
  663. border-radius: 20rpx 20rpx 0 0;
  664. margin: 50rpx auto 0 auto;
  665. padding-top: 55rpx;
  666. position: relative;
  667. }
  668. .order-details .writeOff .grayBg .written {
  669. position: absolute;
  670. top: 0;
  671. right: 0;
  672. width: 60rpx;
  673. height: 60rpx;
  674. }
  675. .order-details .writeOff .grayBg .written image {
  676. width: 100%;
  677. height: 100%;
  678. }
  679. .order-details .writeOff .grayBg .pictrue {
  680. width: 290rpx;
  681. height: 290rpx;
  682. margin: 0 auto;
  683. }
  684. .order-details .writeOff .grayBg .pictrue image {
  685. width: 100%;
  686. height: 100%;
  687. display: block;
  688. }
  689. .order-details .writeOff .gear {
  690. width: 590rpx;
  691. height: 30rpx;
  692. margin: 0 auto;
  693. }
  694. .order-details .writeOff .gear image {
  695. width: 100%;
  696. height: 100%;
  697. display: block;
  698. }
  699. .order-details .writeOff .num {
  700. background-color: #f0c34c;
  701. width: 590rpx;
  702. height: 84rpx;
  703. color: #282828;
  704. font-size: 48rpx;
  705. margin: 0 auto;
  706. border-radius: 0 0 20rpx 20rpx;
  707. text-align: center;
  708. padding-top: 4rpx;
  709. }
  710. .order-details .writeOff .rules {
  711. margin: 46rpx 30rpx 0 30rpx;
  712. border-top: 1px solid #f0f0f0;
  713. padding-top: 10rpx;
  714. }
  715. .order-details .writeOff .rules .item {
  716. margin-top: 20rpx;
  717. }
  718. .order-details .writeOff .rules .item .rulesTitle {
  719. font-size: 28rpx;
  720. color: #282828;
  721. }
  722. .order-details .writeOff .rules .item .rulesTitle .iconfont {
  723. font-size: 30rpx;
  724. color: #333;
  725. margin-right: 8rpx;
  726. margin-top: 5rpx;
  727. }
  728. .order-details .writeOff .rules .item .info {
  729. font-size: 28rpx;
  730. color: #999;
  731. margin-top: 7rpx;
  732. }
  733. .order-details .writeOff .rules .item .info .time {
  734. margin-left: 20rpx;
  735. }
  736. .order-details .map {
  737. height: 86rpx;
  738. font-size: 30rpx;
  739. color: #282828;
  740. line-height: 86rpx;
  741. border-bottom: 1px solid #f0f0f0;
  742. margin-top: 13rpx;
  743. background-color: #fff;
  744. padding: 0 30rpx;
  745. }
  746. .order-details .map .place {
  747. font-size: 26rpx;
  748. width: 176rpx;
  749. height: 50rpx;
  750. border-radius: 25rpx;
  751. line-height: 50rpx;
  752. text-align: center;
  753. }
  754. .order-details .map .place .iconfont {
  755. font-size: 27rpx;
  756. height: 27rpx;
  757. line-height: 27rpx;
  758. margin: 2rpx 3rpx 0 0;
  759. }
  760. .order-details .address .name .iconfont {
  761. font-size: 34rpx;
  762. margin-left: 10rpx;
  763. }
  764. .refund {
  765. padding: 0 30rpx 30rpx;
  766. margin-top: 24rpx;
  767. background-color: #fff;
  768. .title {
  769. display: flex;
  770. align-items: center;
  771. font-size: 30rpx;
  772. color: #333;
  773. height: 86rpx;
  774. border-bottom: 1px solid #f5f5f5;
  775. image {
  776. width: 32rpx;
  777. height: 32rpx;
  778. margin-right: 10rpx;
  779. }
  780. }
  781. .con {
  782. padding-top: 25rpx;
  783. font-size: 28rpx;
  784. color: #868686;
  785. }
  786. }
  787. .orderGoods {
  788. background-color: #fff;
  789. margin-top: 12rpx;
  790. &.on{
  791. margin-top: 0;
  792. }
  793. }
  794. .orderGoods .total {
  795. width: 100%;
  796. height: 86rpx;
  797. padding: 0 30rpx;
  798. border-bottom: 2rpx solid #f0f0f0;
  799. font-size: 30rpx;
  800. color: #282828;
  801. line-height: 86rpx;
  802. box-sizing: border-box;
  803. }
  804. </style>