index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894
  1. <template>
  2. <view class="order-details pos-order-details">
  3. <view class="header acea-row row-middle">
  4. <view class="state">{{ title }}</view>
  5. <view class="data">
  6. <view class="order-num">{{$t(`订单`)}}:{{ orderInfo.order_id }}</view>
  7. <view>
  8. <span class="time">{{ orderInfo._add_time }}</span>
  9. </view>
  10. </view>
  11. </view>
  12. <view class="remarks acea-row row-between-wrapper" v-if="goname != 'looks'">
  13. <span class="iconfont icon-zhinengkefu-"></span>
  14. <input class="line1" style="text-align: left;" :value="
  15. orderInfo.remark ? orderInfo.remark : $t(`订单未备注,点击添加备注信息`)
  16. " disabled @click="modify('1')" />
  17. </view>
  18. <view class="orderingUser acea-row row-middle">
  19. <span class="iconfont icon-yonghu2"></span>{{ orderInfo.nickname }}
  20. </view>
  21. <view class="address">
  22. <view class="name">
  23. {{ orderInfo.real_name
  24. }}<span class="phone">{{ orderInfo.user_phone }}</span>
  25. <!-- #ifdef H5 -->
  26. <span class="copy copy-data"
  27. :data-clipboard-text="`${orderInfo.real_name} ${orderInfo.user_phone} ${orderInfo.user_address}`">{{$t(`复制`)}}</span>
  28. <!-- #endif -->
  29. <!-- #ifndef H5 -->
  30. <span class="copy copy-data"
  31. @click="copyNum(`${orderInfo.real_name} ${orderInfo.user_phone} ${orderInfo.user_address}`)">{{$t(`复制`)}}</span>
  32. <!-- #endif -->
  33. </view>
  34. <view>{{ orderInfo.user_address }}</view>
  35. </view>
  36. <view class="line">
  37. <image src="/static/images/line.jpg" />
  38. </view>
  39. <view class="pos-order-goods">
  40. <navigator :url="`/pages/goods_details/index?id=${item.productInfo.id}`" hover-class="none"
  41. class="goods acea-row row-between-wrapper" v-for="(item, index) in orderInfo.cartInfo" :key="index">
  42. <view class="picTxt acea-row row-between-wrapper">
  43. <view class="pictrue">
  44. <image :src="item.productInfo.image" />
  45. </view>
  46. <view class="text acea-row row-between row-column">
  47. <view class="info line2">
  48. {{ item.productInfo.store_name }}
  49. </view>
  50. <view class="attr">{{ item.productInfo.attrInfo.suk }}</view>
  51. </view>
  52. </view>
  53. <view class="money">
  54. <view class="x-money">{{$t(`¥`)}}{{ item.productInfo.price }}</view>
  55. <view class="num">x{{ item.cart_num }}</view>
  56. <view class="y-money" v-if='item.productInfo.attrInfo'>{{$t(`¥`)}}{{ item.productInfo.attrInfo.ot_price }}</view>
  57. <view class="y-money" v-else>{{$t(`¥`)}}{{ item.productInfo.ot_price }}</view>
  58. </view>
  59. </navigator>
  60. </view>
  61. <view class="public-total" v-if="orderInfo.total_num">
  62. {{$t(`共`)}}{{ orderInfo.total_num }}{{$t(`件商品,应支付`)}}
  63. <span class="money">{{$t(`¥`)}}{{ orderInfo.pay_price }}</span> ( {{$t(`邮费`)}} {{$t(`¥`)}}{{
  64. orderInfo.pay_postage
  65. }}
  66. )
  67. </view>
  68. <view class="wrapper" v-if="orderInfo.order_id">
  69. <view class="item acea-row row-between">
  70. <view>{{$t(`订单编号`)}}:</view>
  71. <view class="conter acea-row row-middle row-right">
  72. {{ orderInfo.order_id
  73. }}
  74. <!-- #ifdef H5 -->
  75. <span class="copy copy-data" :data-clipboard-text="orderInfo.order_id">{{$t(`复制`)}}</span>
  76. <!-- #endif -->
  77. <!-- #ifndef H5 -->
  78. <span class="copy copy-data" @click="copyNum(orderInfo.order_id)">{{$t(`复制`)}}</span>
  79. <!-- #endif -->
  80. </view>
  81. </view>
  82. <view class="item acea-row row-between">
  83. <view>{{$t(`下单时间`)}}:</view>
  84. <view class="conter">{{ orderInfo._add_time }}</view>
  85. </view>
  86. <view class="item acea-row row-between">
  87. <view>{{$t(`支付状态`)}}:</view>
  88. <view class="conter">
  89. {{ orderInfo.paid == 1 ? $t(`已支付`) : $t(`未支付`) }}
  90. </view>
  91. </view>
  92. <view class="item acea-row row-between">
  93. <view>{{$t(`支付方式`)}}:</view>
  94. <view class="conter">{{ payType }}</view>
  95. </view>
  96. <view class="item acea-row row-between">
  97. <view>{{$t(`买家留言`)}}:</view>
  98. <view class="conter">{{ orderInfo.mark }}</view>
  99. </view>
  100. </view>
  101. <view class='wrapper' v-if="customForm && customForm.length">
  102. <view class='item acea-row row-between' v-for="(item,index) in customForm" :key="index">
  103. <view class='upload' v-if="item.label == 'img'">
  104. <view>{{item.title}}:</view>
  105. <view class='pictrue' v-for="(img,index) in item.value" :key="index">
  106. <image :src='img'></image>
  107. </view>
  108. </view>
  109. <view v-if="item.label !== 'img'">{{item.title}}:</view>
  110. <view v-if="item.label !== 'img'" class='conter'>{{item.value}}</view>
  111. </view>
  112. </view>
  113. <view class="wrapper">
  114. <view class='item acea-row row-between'>
  115. <view>{{$t(`商品总价`)}}:</view>
  116. <view class='conter'>
  117. {{$t(`¥`)}}{{(parseFloat(orderInfo.total_price)+parseFloat(orderInfo.vip_true_price)).toFixed(2)}}
  118. </view>
  119. </view>
  120. <view class='item acea-row row-between' v-if="orderInfo.pay_postage > 0">
  121. <view>{{$t(`配送运费`)}}:</view>
  122. <view class='conter'>{{$t(`¥`)}}{{parseFloat(orderInfo.pay_postage).toFixed(2)}}</view>
  123. </view>
  124. <view v-if="orderInfo.levelPrice > 0" class='item acea-row row-between'>
  125. <view>{{$t(`用户等级优惠`)}}:</view>
  126. <view class='conter'>-{{$t(`¥`)}}{{parseFloat(orderInfo.levelPrice).toFixed(2)}}</view>
  127. </view>
  128. <view v-if="orderInfo.memberPrice > 0" class='item acea-row row-between'>
  129. <view>{{$t(`付费会员优惠`)}}:</view>
  130. <view class='conter'>-{{$t(`¥`)}}{{parseFloat(orderInfo.memberPrice).toFixed(2)}}</view>
  131. </view>
  132. <view class='item acea-row row-between' v-if='orderInfo.coupon_price > 0'>
  133. <view>{{$t(`优惠券抵扣`)}}:</view>
  134. <view class='conter'>-{{$t(`¥`)}}{{parseFloat(orderInfo.coupon_price).toFixed(2)}}</view>
  135. </view>
  136. <view class='item acea-row row-between' v-if="orderInfo.use_integral > 0">
  137. <view>{{$t(`积分抵扣`)}}:</view>
  138. <view class='conter'>-{{$t(`¥`)}}{{parseFloat(orderInfo.deduction_price).toFixed(2)}}</view>
  139. </view>
  140. <view class='actualPay acea-row row-right'>{{$t(`实付款`)}}:<text class='money'>{{$t(`¥`)}}{{parseFloat(orderInfo.pay_price).toFixed(2)}}</text></view>
  141. </view>
  142. <view class="wrapper" v-if="
  143. orderInfo.delivery_type != 'fictitious' && orderInfo._status._type === 2
  144. ">
  145. <view class="item acea-row row-between">
  146. <view>{{$t(`配送方式`)}}:</view>
  147. <view class="conter" v-if="orderInfo.delivery_type === 'express'">
  148. {{$t(`快递`)}}
  149. </view>
  150. <view class="conter" v-if="orderInfo.delivery_type === 'send'">{{$t(`送货`)}}</view>
  151. </view>
  152. <view class="item acea-row row-between">
  153. <view v-if="orderInfo.delivery_type === 'express'">{{$t(`快递公司`)}}:</view>
  154. <view v-if="orderInfo.delivery_type === 'send'">{{$t(`送货人`)}}:</view>
  155. <view class="conter">{{ orderInfo.delivery_name }}</view>
  156. </view>
  157. <view class="item acea-row row-between">
  158. <view v-if="orderInfo.delivery_type === 'express'">{{$t(`快递单号`)}}:</view>
  159. <view v-if="orderInfo.delivery_type === 'send'">{{$t(`送货人电话`)}}:</view>
  160. <view class="conter">
  161. {{ orderInfo.delivery_id}}
  162. <!-- #ifdef H5 -->
  163. <span class="copy copy-data" :data-clipboard-text="orderInfo.delivery_id">{{$t(`复制`)}}</span>
  164. <!-- #endif -->
  165. <!-- #ifndef H5 -->
  166. <span class="copy copy-data" @click="copyNum(orderInfo.delivery_id)">{{$t(`复制`)}}</span>
  167. <!-- #endif -->
  168. </view>
  169. </view>
  170. </view>
  171. <view style="height:120upx;"></view>
  172. <view class="footer acea-row row-right row-middle" v-if="goname != 'looks'">
  173. <view class="more"></view>
  174. <view class="bnt cancel" @click="modify('0')" v-if="types == 0">
  175. {{$t(`一键改价`)}}
  176. </view>
  177. <view class="bnt cancel" @click="modify('2')" v-if="types == -1 && orderInfo.refund_type == 1">
  178. {{$t(`立即退款`)}}
  179. </view>
  180. <view class="bnt cancel" @click="agreeExpress(orderInfo.id)"
  181. v-if="types == -1 && orderInfo.refund_type == 2">
  182. {{$t(`同意退货`)}}
  183. </view>
  184. <view class="wait" v-if="types == -1 && orderInfo.refund_type == 4">{{$t(`待用户发货`)}}</view>
  185. <view class="bnt cancel" @click="modify('1')">{{$t(`订单备注`)}}</view>
  186. <view class="bnt cancel" v-if="orderInfo.pay_type === 'offline' && orderInfo.paid === 0"
  187. @click="offlinePay">
  188. {{$t(`确认付款`)}}
  189. </view>
  190. <navigator class="bnt delivery"
  191. v-if="types == 1 && orderInfo.shipping_type === 1 && (orderInfo.pinkStatus === null || orderInfo.pinkStatus === 2)"
  192. :url="'/pages/admin/delivery/index?id='+orderInfo.order_id">{{$t(`去发货`)}}</navigator>
  193. </view>
  194. <PriceChange :change="change" :orderInfo="orderInfo" v-on:closechange="changeclose($event)"
  195. v-on:savePrice="savePrice" :status="status"></PriceChange>
  196. </view>
  197. </template>
  198. <script>
  199. import PriceChange from "../components/PriceChange/index.vue";
  200. // #ifdef H5
  201. import ClipboardJS from "@/plugin/clipboard/clipboard.js";
  202. // #endif
  203. import {
  204. getAdminOrderDetail,
  205. getAdminRefundOrderDetail,
  206. setAdminOrderPrice,
  207. setAdminOrderRemark,
  208. setAdminRefundRemark,
  209. setOfflinePay,
  210. setOrderRefund,
  211. agreeExpress
  212. } from "@/api/admin";
  213. // import { required, num } from "@utils/validate";
  214. // import { validatorDefaultCatch } from "@utils/dialog";
  215. import {
  216. isMoney
  217. } from '@/utils/validate.js'
  218. export default {
  219. name: "AdminOrder",
  220. components: {
  221. PriceChange
  222. },
  223. props: {},
  224. data: function() {
  225. return {
  226. order: false,
  227. change: false,
  228. order_id: "",
  229. orderInfo: {
  230. _status: {}
  231. },
  232. status: "",
  233. title: "",
  234. payType: "",
  235. types: "",
  236. order_type: "",
  237. clickNum: 1,
  238. goname: '',
  239. customForm: []
  240. };
  241. },
  242. watch: {
  243. "$route.params.oid": function(newVal) {
  244. let that = this;
  245. if (newVal != undefined) {
  246. that.order_id = newVal;
  247. that.getIndex();
  248. }
  249. }
  250. },
  251. onShow() {
  252. this.getIndex();
  253. },
  254. onLoad(option) {
  255. let self = this
  256. this.order_id = option.id;
  257. this.goname = option.goname
  258. this.order_type = option.types
  259. // #ifdef H5
  260. this.$nextTick(function() {
  261. var clipboard = new ClipboardJS('.copy-data');
  262. // var copybtn = document.getElementsByClassName("copy-data");
  263. // var clipboard = new Clipboard(copybtn);
  264. clipboard.on('success', function(e) {
  265. self.$util.Tips({
  266. title: self.$t(`复制成功`)
  267. })
  268. });
  269. clipboard.on('error', function(e) {
  270. self.$util.Tips({
  271. title: self.$t(`复制失败`)
  272. })
  273. });
  274. });
  275. // #endif
  276. },
  277. methods: {
  278. more: function() {
  279. this.order = !this.order;
  280. },
  281. modify(status) {
  282. this.change = true;
  283. this.status = status;
  284. },
  285. changeclose: function(msg) {
  286. this.change = msg;
  287. },
  288. getIndex: function() {
  289. let that = this;
  290. let fn = this.order_type == -3 ? getAdminRefundOrderDetail : getAdminOrderDetail
  291. fn(that.order_id).then(
  292. res => {
  293. that.orderInfo = res.data;
  294. //处理自定义留言非必填项的数据展示
  295. that.types = res.data._status._type;
  296. that.title = res.data._status._title;
  297. that.payType = res.data._status._payType;
  298. if (that.orderInfo.custom_form && that.orderInfo.custom_form.length) {
  299. let arr = []
  300. that.orderInfo.custom_form.map(i => {
  301. if (i.value != '') {
  302. arr.push(i)
  303. }
  304. })
  305. that.$set(that, 'customForm', arr);
  306. }
  307. },
  308. err => {
  309. // that.$util.Tips({
  310. // title: err
  311. // }, {
  312. // tab: 3,
  313. // url: 1
  314. // });
  315. }
  316. );
  317. },
  318. agreeExpress(id) {
  319. let that = this;
  320. agreeExpress({
  321. id
  322. }).then(res => {
  323. that.$util.Tips({
  324. title: res.msg
  325. });
  326. that.init();
  327. }).catch(err => {
  328. that.$util.Tips({
  329. title: err
  330. });
  331. })
  332. },
  333. async savePrice(opt) {
  334. let that = this,
  335. data = {},
  336. price = opt.price,
  337. refund_price = opt.refund_price,
  338. refund_status = that.orderInfo.refund_status,
  339. remark = opt.remark;
  340. data.order_id = that.orderInfo.order_id;
  341. if (that.status == 0) {
  342. if (!isMoney(price)) {
  343. return that.$util.Tips({
  344. title: that.$t(`请输入正确的金额`)
  345. });
  346. }
  347. data.price = price;
  348. setAdminOrderPrice(data).then(
  349. res => {
  350. that.change = false;
  351. that.$util.Tips({
  352. title: that.$t(`改价成功`),
  353. icon: 'success'
  354. }, '/pages/admin/orderDetail/index?id=' + res.data.order_id + '&types=0')
  355. },
  356. err => {
  357. that.change = false;
  358. that.$util.Tips({
  359. title: that.$t(`改价失败`),
  360. icon: 'none'
  361. })
  362. }
  363. );
  364. } else if (that.status == 2) {
  365. if (!isMoney(refund_price)) {
  366. return that.$util.Tips({
  367. title: that.$t(`请输入正确的金额`)
  368. });
  369. }
  370. data.price = refund_price;
  371. data.type = opt.type;
  372. setOrderRefund(data).then(
  373. res => {
  374. that.change = false;
  375. that.$util.Tips({
  376. title: res.msg
  377. });
  378. that.getIndex();
  379. },
  380. err => {
  381. that.change = false;
  382. that.$util.Tips({
  383. title: err
  384. });
  385. }
  386. );
  387. } else {
  388. if (!remark) {
  389. return that.$util.Tips({
  390. title: that.$t(`请输入备注`)
  391. })
  392. }
  393. data.remark = remark;
  394. let obj
  395. if (that.order_type == -3) {
  396. obj = setAdminRefundRemark(data);
  397. } else {
  398. obj = setAdminOrderRemark(data);
  399. }
  400. obj.then(
  401. res => {
  402. that.change = false;
  403. that.$util.Tips({
  404. title: res.msg,
  405. icon: 'success'
  406. })
  407. that.getIndex();
  408. },
  409. err => {
  410. that.change = false;
  411. that.$util.Tips({
  412. title: err
  413. });
  414. }
  415. );
  416. }
  417. },
  418. offlinePay: function() {
  419. setOfflinePay({
  420. order_id: this.orderInfo.order_id
  421. }).then(
  422. res => {
  423. this.$util.Tips({
  424. title: res.msg,
  425. icon: 'success'
  426. });
  427. this.getIndex();
  428. },
  429. err => {
  430. this.$util.Tips({
  431. title: err
  432. });
  433. }
  434. );
  435. },
  436. // #ifndef H5
  437. copyNum(id) {
  438. uni.setClipboardData({
  439. data: id,
  440. success: function() {}
  441. });
  442. },
  443. // #endif
  444. // #ifdef H5
  445. webCopy(item, index) {
  446. let items = item
  447. let indexs = index
  448. let self = this
  449. if (self.clickNum == 1) {
  450. self.clickNum += 1
  451. self.webCopy(items, indexs)
  452. }
  453. }
  454. // #endif
  455. }
  456. };
  457. </script>
  458. <style>
  459. /*商户管理订单详情*/
  460. .pos-order-details .header {
  461. background: linear-gradient(to right, #2291f8 0%, #1cd1dc 100%);
  462. background: -webkit-linear-gradient(to right, #2291f8 0%, #1cd1dc 100%);
  463. background: -moz-linear-gradient(to right, #2291f8 0%, #1cd1dc 100%);
  464. }
  465. .pos-order-details .header .state {
  466. font-size: 36upx;
  467. color: #fff;
  468. }
  469. .pos-order-details .header .data {
  470. margin-left: 35upx;
  471. font-size: 28upx;
  472. }
  473. .pos-order-details .header .data .order-num {
  474. font-size: 30upx;
  475. margin-bottom: 8upx;
  476. }
  477. .pos-order-details .remarks {
  478. width: 100%;
  479. height: 86upx;
  480. background-color: #fff;
  481. padding: 0 30upx;
  482. }
  483. .pos-order-details .remarks .iconfont {
  484. font-size: 40upx;
  485. color: #2a7efb;
  486. }
  487. .pos-order-details .remarks input {
  488. width: 630upx;
  489. height: 100%;
  490. font-size: 30upx;
  491. }
  492. .pos-order-details .remarks input::placeholder {
  493. color: #666;
  494. }
  495. .pos-order-details .orderingUser {
  496. font-size: 26upx;
  497. color: #282828;
  498. padding: 0 30upx;
  499. height: 67upx;
  500. background-color: #fff;
  501. margin-top: 16upx;
  502. border-bottom: 1px solid #f5f5f5;
  503. }
  504. .pos-order-details .orderingUser .iconfont {
  505. font-size: 40upx;
  506. color: #2a7efb;
  507. margin-right: 15upx;
  508. }
  509. .pos-order-details .address {
  510. margin-top: 0;
  511. }
  512. .pos-order-details .pos-order-goods {
  513. margin-top: 17upx;
  514. }
  515. .pos-order-details .footer .more {
  516. font-size: 27upx;
  517. color: #aaa;
  518. width: 100upx;
  519. height: 64upx;
  520. text-align: center;
  521. line-height: 64upx;
  522. margin-right: 25upx;
  523. position: relative;
  524. }
  525. .pos-order-details .footer .delivery {
  526. background: linear-gradient(to right, #2291f8 0%, #1cd1dc 100%);
  527. background: -webkit-linear-gradient(to right, #2291f8 0%, #1cd1dc 100%);
  528. background: -moz-linear-gradient(to right, #2291f8 0%, #1cd1dc 100%);
  529. }
  530. .pos-order-details .footer .more .order .arrow {
  531. width: 0;
  532. height: 0;
  533. border-left: 11upx solid transparent;
  534. border-right: 11upx solid transparent;
  535. border-top: 20upx solid #e5e5e5;
  536. position: absolute;
  537. left: 15upx;
  538. bottom: -18upx;
  539. }
  540. .pos-order-details .footer .more .order .arrow:before {
  541. content: '';
  542. width: 0;
  543. height: 0;
  544. border-left: 9upx solid transparent;
  545. border-right: 9upx solid transparent;
  546. border-top: 19upx solid #fff;
  547. position: absolute;
  548. left: -10upx;
  549. bottom: 0;
  550. }
  551. .pos-order-details .footer .more .order {
  552. width: 200upx;
  553. background-color: #fff;
  554. border: 1px solid #eee;
  555. border-radius: 10upx;
  556. position: absolute;
  557. top: -200upx;
  558. z-index: 9;
  559. }
  560. .pos-order-details .footer .more .order .item {
  561. height: 77upx;
  562. line-height: 77upx;
  563. }
  564. .pos-order-details .footer .more .order .item~.item {
  565. border-top: 1px solid #f5f5f5;
  566. }
  567. .pos-order-details .footer .more .moreName {
  568. width: 100%;
  569. height: 100%;
  570. }
  571. /*订单详情*/
  572. .order-details .header {
  573. padding: 0 30upx;
  574. height: 150upx;
  575. }
  576. .order-details .header.on {
  577. background-color: #666 !important;
  578. }
  579. .order-details .header .pictrue {
  580. width: 110upx;
  581. height: 110upx;
  582. }
  583. .order-details .header .pictrue image {
  584. width: 100%;
  585. height: 100%;
  586. }
  587. .order-details .header .data {
  588. color: rgba(255, 255, 255, 0.8);
  589. font-size: 24upx;
  590. margin-left: 27upx;
  591. }
  592. .order-details .header.on .data {
  593. margin-left: 0;
  594. }
  595. .order-details .header .data .state {
  596. font-size: 30upx;
  597. font-weight: bold;
  598. color: #fff;
  599. margin-bottom: 7upx;
  600. }
  601. /* .order-details .header .data .time{margin-left:20upx;} */
  602. .order-details .nav {
  603. background-color: #fff;
  604. font-size: 26upx;
  605. color: #282828;
  606. padding: 25upx 0;
  607. }
  608. .order-details .nav .navCon {
  609. padding: 0 40upx;
  610. }
  611. .order-details .nav .navCon .on {
  612. font-weight: bold;
  613. color: #e93323;
  614. }
  615. .order-details .nav .progress {
  616. padding: 0 65upx;
  617. margin-top: 10upx;
  618. }
  619. .order-details .nav .progress .line {
  620. width: 100upx;
  621. height: 2upx;
  622. background-color: #939390;
  623. }
  624. .order-details .nav .progress .iconfont {
  625. font-size: 25upx;
  626. color: #939390;
  627. margin-top: -2upx;
  628. width: 30upx;
  629. height: 30upx;
  630. line-height: 33upx;
  631. text-align: center;
  632. margin-right: 0 !important;
  633. }
  634. .order-details .address {
  635. font-size: 26upx;
  636. color: #868686;
  637. background-color: #fff;
  638. padding: 25upx 30upx 30upx 30upx;
  639. }
  640. .order-details .address .name {
  641. display: flex;
  642. align-items: center;
  643. font-size: 30upx;
  644. color: #282828;
  645. margin-bottom: 0.1rem;
  646. }
  647. .order-details .address .name .phone {
  648. margin-left: 40upx;
  649. }
  650. .order-details .line {
  651. width: 100%;
  652. height: 3upx;
  653. }
  654. .order-details .line image {
  655. width: 100%;
  656. height: 100%;
  657. display: block;
  658. }
  659. .order-details .wrapper {
  660. background-color: #fff;
  661. margin-top: 12upx;
  662. padding: 30upx;
  663. }
  664. .order-details .wrapper .item {
  665. font-size: 28upx;
  666. color: #282828;
  667. }
  668. .order-details .wrapper .item~.item {
  669. margin-top: 20upx;
  670. }
  671. .order-details .wrapper .item .conter {
  672. color: #868686;
  673. text-align: right;
  674. }
  675. .order-details .wrapper .item .conter .copy {
  676. font-size: 20rpx;
  677. color: #333;
  678. border-radius: 3rpx;
  679. border: 1px solid #666;
  680. padding: 2rpx 15rpx;
  681. margin-left: 24rpx;
  682. }
  683. .order-details .wrapper .actualPay {
  684. border-top: 1upx solid #eee;
  685. margin-top: 30upx;
  686. padding-top: 30upx;
  687. }
  688. .order-details .wrapper .actualPay .money {
  689. font-weight: bold;
  690. font-size: 30upx;
  691. color: #e93323;
  692. }
  693. .order-details .footer {
  694. width: 100%;
  695. height: 100upx;
  696. position: fixed;
  697. bottom: 0;
  698. left: 0;
  699. background-color: #fff;
  700. padding: 0 30upx;
  701. border-top: 1px solid #eee;
  702. }
  703. .order-details .footer .bnt {
  704. width: auto;
  705. height: 60upx;
  706. line-height: 60upx;
  707. text-align: center;
  708. line-height: upx;
  709. border-radius: 50upx;
  710. color: #fff;
  711. font-size: 27upx;
  712. padding: 0 3%;
  713. }
  714. .order-details .footer .bnt.cancel {
  715. color: #aaa;
  716. border: 1px solid #ddd;
  717. }
  718. .order-details .footer .bnt.default {
  719. color: #444;
  720. border: 1px solid #444;
  721. }
  722. .wait {
  723. margin-right: 30rpx;
  724. color: orangered;
  725. }
  726. .order-details .footer .bnt~.bnt {
  727. margin-left: 18upx;
  728. }
  729. .pos-order-goods {
  730. padding: 0 30upx;
  731. background-color: #fff;
  732. }
  733. .pos-order-goods .goods {
  734. height: 185upx;
  735. }
  736. .pos-order-goods .goods~.goods {
  737. border-top: 1px dashed #e5e5e5;
  738. }
  739. .pos-order-goods .goods .picTxt {
  740. width: 515upx;
  741. }
  742. .pos-order-goods .goods .picTxt .pictrue {
  743. width: 130upx;
  744. height: 130upx;
  745. }
  746. .pos-order-goods .goods .picTxt .pictrue image {
  747. width: 100%;
  748. height: 100%;
  749. border-radius: 6upx;
  750. }
  751. .pos-order-goods .goods .picTxt .text {
  752. width: 365upx;
  753. display: flex;
  754. justify-content: space-between;
  755. flex-direction: column;
  756. height: 130upx;
  757. }
  758. .pos-order-goods .goods .picTxt .text .info {
  759. font-size: 28upx;
  760. color: #282828;
  761. }
  762. .pos-order-goods .goods .picTxt .text .attr {
  763. font-size: 24upx;
  764. color: #999;
  765. width: 100%;
  766. overflow: hidden;
  767. white-space: nowrap;
  768. text-overflow: ellipsis;
  769. }
  770. .pos-order-goods .goods .money {
  771. width: 164upx;
  772. text-align: right;
  773. font-size: 28upx;
  774. }
  775. .pos-order-goods .goods .money .x-money {
  776. color: #282828;
  777. }
  778. .pos-order-goods .goods .money .num {
  779. color: #ff9600;
  780. margin: 5upx 0;
  781. }
  782. .pos-order-goods .goods .money .y-money {
  783. color: #999;
  784. text-decoration: line-through;
  785. }
  786. .public-total {
  787. font-size: 28upx;
  788. color: #282828;
  789. border-top: 1px solid #eee;
  790. height: 92upx;
  791. line-height: 92upx;
  792. text-align: right;
  793. padding: 0 30upx;
  794. background-color: #fff;
  795. }
  796. .public-total .money {
  797. color: #ff4c3c;
  798. }
  799. .copy-data {
  800. font-size: 10px;
  801. color: #333;
  802. -webkit-border-radius: 1px;
  803. border-radius: 1px;
  804. border: 1px solid #666;
  805. padding: 0px 7px;
  806. margin-left: 12px;
  807. }
  808. .upload .pictrue {
  809. display: inline-block;
  810. margin: 22rpx 17rpx 20rpx 0;
  811. width: 156rpx;
  812. height: 156rpx;
  813. color: #bbb;
  814. }
  815. .upload .pictrue image {
  816. width: 100%;
  817. height: 100%;
  818. }
  819. </style>