index.vue 18 KB

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