integral_order_details.vue 21 KB

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