index.vue 18 KB

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