integral_order_details.vue 19 KB

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