index.vue 22 KB

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