index.vue 20 KB

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