storeOrderDetail.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805
  1. <template>
  2. <view>
  3. <view class="cont">
  4. <view class="bg"></view>
  5. <view class="inner">
  6. <!-- 订单状态 -->
  7. <view class="order-status">
  8. <!-- 待付款 -->
  9. <view v-if="order.status == 1" class="inner">
  10. <view class="img-box">
  11. <image src="https://cqtyt-2025.oss-cn-beijing.aliyuncs.com/huyi/imagesNew/67eda0644e5847008096525b04cd12ca.png" mode=""></image>
  12. </view>
  13. <view class="status-box">
  14. <text class="status">待付款</text>
  15. <text class="desc">请在{{payLimitTime}}前完成支付</text>
  16. </view>
  17. </view>
  18. <!-- 待发货 -->
  19. <view v-if="order.status == 2" class="inner">
  20. <view class="img-box">
  21. <image src="https://cqtyt-2025.oss-cn-beijing.aliyuncs.com/huyi/imagesNew/520e24fba47441b3b0f73b5250bb0b57.png" mode=""></image>
  22. </view>
  23. <view class="status-box">
  24. <text class="status">待发货</text>
  25. <text class="desc">等待后台发货</text>
  26. </view>
  27. </view>
  28. <!-- 已发货、待收货 -->
  29. <view v-if="order.status == 3" class="inner">
  30. <view class="img-box">
  31. <image src="https://cqtyt-2025.oss-cn-beijing.aliyuncs.com/huyi/imagesNew/1e6ba423ff7e4537bef87a022d530015.png" mode=""></image>
  32. </view>
  33. <view class="status-box">
  34. <text class="status">待收货</text>
  35. <text class="desc">运输中</text>
  36. </view>
  37. </view>
  38. <!-- 已完成 -->
  39. <view v-if="order.status == 4" class="inner">
  40. <view class="img-box">
  41. <image src="https://cqtyt-2025.oss-cn-beijing.aliyuncs.com/huyi/imagesNew/0712ba14f3a648afa69c9912fcbf9b61.png" mode=""></image>
  42. </view>
  43. <view class="status-box">
  44. <text class="status">已完成</text>
  45. <text class="desc">订单已确认收货,交易完成</text>
  46. </view>
  47. </view>
  48. <!--交易取消 -->
  49. <view v-if="order.status == -3" class="inner">
  50. <view class="img-box">
  51. <image src="https://cqtyt-2025.oss-cn-beijing.aliyuncs.com/huyi/imagesNew/02f95bd03e854a9c8076aef1e6c05e74.png" mode=""></image>
  52. </view>
  53. <view class="status-box">
  54. <text class="status">交易关闭</text>
  55. <text class="desc">订单已取消</text>
  56. </view>
  57. </view>
  58. <view v-if="order.status == -1" class="inner">
  59. <view class="img-box">
  60. <image src="https://cqtyt-2025.oss-cn-beijing.aliyuncs.com/huyi/imagesNew/6020712aa10f4bb08db92957cb7eb8ed.png" mode=""></image>
  61. </view>
  62. <view class="status-box">
  63. <text class="status">申请售后</text>
  64. <text class="desc">请等待客服审核,您的退款将在2-5个工作日内原路退回</text>
  65. </view>
  66. </view>
  67. <view v-if="order.status == -2" class="inner">
  68. <view class="img-box">
  69. <image src="https://cqtyt-2025.oss-cn-beijing.aliyuncs.com/huyi/imagesNew/6020712aa10f4bb08db92957cb7eb8ed.png" mode=""></image>
  70. </view>
  71. <view class="status-box">
  72. <text class="status">退款成功</text>
  73. <text class="desc">已成功退款</text>
  74. </view>
  75. </view>
  76. </view>
  77. <!-- 下单人信息 -->
  78. <view class="order-placer" v-if="order.userName!=null">
  79. <view class="inner">
  80. <image class="location" src="https://cqtyt-2025.oss-cn-beijing.aliyuncs.com/huyi/images/location.png" mode=""></image>
  81. <view class="info">
  82. <view class="name-phone">
  83. <text class="text">{{order.userName}}</text>
  84. <text class="text" v-if="order.userPhone!=null">{{order.userPhone}}</text>
  85. </view>
  86. <view class="address ellipsis2">
  87. {{order.userAddress}}
  88. </view>
  89. </view>
  90. </view>
  91. </view>
  92. <view class="content">
  93. <!-- 药品列表 -->
  94. <view class="goods-list">
  95. <view v-for="(item,index) in items" :key="index" class="item" >
  96. <view class="img-box">
  97. <image :src="item.image==''?'https://cqtyt-2025.oss-cn-beijing.aliyuncs.com/huyi/images/drug.svg':item.image" mode="aspectFill"></image>
  98. </view>
  99. <view class="info-box">
  100. <view>
  101. <view class="name-box ellipsis2">
  102. {{item.productName}}
  103. </view>
  104. <view class="spec ellipsis2">{{item.sku}}</view>
  105. </view>
  106. <view class="price-num">
  107. <view class="price">
  108. <!-- <text class="unit">¥</text> -->
  109. <!-- <text class="num" v-if="item.price!=null">{{item.price.toFixed(2)}}</text> -->
  110. </view>
  111. <view class="num" v-if="order.ordetType==1">x{{item.num}}</view>
  112. </view>
  113. </view>
  114. </view>
  115. <!-- 已优惠、小计 -->
  116. <view class="sub-total">
  117. <view class="discount">
  118. 订单金额:¥{{order.payPrice }}
  119. </view>
  120. <!-- <text class="label">实付金额:</text>
  121. <view class="price">
  122. <text class="unit">¥</text>
  123. <text class="num">{{order.payMoney}}</text>
  124. </view> -->
  125. </view>
  126. </view>
  127. <!-- 订单信息 -->
  128. <view class="order-info">
  129. <view class="title">订单信息</view>
  130. <view class="item">
  131. <text class="label">订单编号</text>
  132. <view class="sn-box">
  133. <text class="text">{{order.orderCode}}</text>
  134. <view class="copy-btn" @click="copyOrderSn(order.orderCode)">复制</view>
  135. </view>
  136. </view>
  137. <view class="item">
  138. <text class="label">下单时间</text>
  139. <text class="text">{{order.createTime}}</text>
  140. </view>
  141. <view class="item">
  142. <text class="label">支付方式</text>
  143. <text class="text" v-if="order.payType==1">微信支付</text>
  144. <text class="text" v-if="order.payType==2">物流代收</text>
  145. </view>
  146. <view class="item">
  147. <text class="label">订单金额</text>
  148. <text class="text" v-if="order.totalPrice!=null">¥{{order.totalPrice.toFixed(2)}}</text>
  149. </view>
  150. <view class="item">
  151. <text class="label">优惠金额</text>
  152. <text class="text" v-if="order.discountMoney!=null">¥{{order.discountMoney.toFixed(2)}}</text>
  153. </view>
  154. <view class="item">
  155. <text class="label">应付金额</text>
  156. <text class="text" v-if="order.payPrice!=null">¥{{order.payPrice.toFixed(2)}}</text>
  157. </view>
  158. <view class="item">
  159. <text class="label">支付金额</text>
  160. <text class="text" v-if="order.payMoney!=null">¥{{order.payMoney.toFixed(2)}}</text>
  161. </view>
  162. <view class="item">
  163. <text class="label">支付时间</text>
  164. <text class="text" v-if="order.payTime!=null">{{order.payTime}}</text>
  165. </view>
  166. <!-- <view v-if="order.status >1" class="item">
  167. <text class="label">发货时间</text>
  168. <text class="text"></text>
  169. </view> -->
  170. </view>
  171. <!-- 子订单 -->
  172. <view class="order-info" v-for="(children,index) in childrenItems" :key="index">
  173. <view class="order-info-title">
  174. <view class="title">子订单{{index}}<text style="font-weight: normal;color: #FF5C03;margin-left: 10rpx;" v-if="children[0].extendOrderId">(已发货)</text></view>
  175. <view class="order-info-r">
  176. <view class="btn pay" v-if="!children[0].extendOrderId&&order.status>0&&order.refundStatus==0&&order.isAfterSales==0" @click="splitOrder2ERP(children[0].orderCode)">申请发货</view>
  177. <view class="btn cancel" v-if="children[0].extendOrderId" @click="showDelivery(1,children[0])">查看物流</view>
  178. </view>
  179. </view>
  180. <view class="item" v-if="children[0].extendOrderId">
  181. <text class="label">发货时间</text>
  182. <view class="sn-box">
  183. <text class="text">{{children[0].deliveryTime||'--'}}</text>
  184. </view>
  185. </view>
  186. </view>
  187. </view>
  188. </view>
  189. </view>
  190. <!-- 按钮 -->
  191. <view class="btn-box">
  192. <view class="btn cancel">
  193. 联系客服
  194. <button class='contact-btn' open-type="contact">
  195. </button>
  196. </view>
  197. <view class="btn cancel" v-if="order.status==1" @click="cancel()">取消订单</view>
  198. <view class="btn pay" v-if="order.status==1" @click="pay()">支付</view>
  199. <!-- <view class="btn pay" v-if="order.status>1&&order.prescribeId!=null&&order.prescribeId>0" @click="showPrescribe()">查看处方单</view> -->
  200. <view class="btn cancel" v-if="order.status>1&&order.isAfterSales==1&&order.orderType==1" @click="refund()">申请售后</view>
  201. <!-- <view class="btn cancel" v-if="showInvoice()&&order.status==4&&order.billPrice != order.payPrice" @click="handleInvoice()">申请开票</view>
  202. <view class="btn pay" v-if="order.status==4&&order.billPrice" @click="handleInvoiceList()">查看发票</view> -->
  203. <view class="btn pay" v-if="order.deliverySn!=null&&order.extendOrderId != 'BATCH'" @click="showDelivery()">查看物流</view>
  204. <view class="btn pay" v-if="order.status==3" @click="finish()">确认收货</view>
  205. </view>
  206. </view>
  207. </template>
  208. <script>
  209. import {getPrescribeById} from '@/api/prescribe.js'
  210. import {getMyStoreOrderById,cancelOrder,finishOrder,splitOrder2ERP} from '@/api/storeOrder'
  211. export default {
  212. data() {
  213. return {
  214. payLimitTime:null,
  215. orderId:null,
  216. order:{},
  217. items:[],
  218. childrenItems:{}
  219. };
  220. },
  221. onLoad(option) {
  222. this.orderId = option.orderId
  223. },
  224. onShow() {
  225. this.getMyStoreOrderById()
  226. },
  227. methods: {
  228. showPrescribe(){
  229. var data={prescribeId:this.order.prescribeId}
  230. getPrescribeById(data).then(
  231. res => {
  232. if(res.code==200){
  233. if(res.data.prescribe.prescribeImgUrl!=null){
  234. var data=[];
  235. data.push(res.data.prescribe.prescribeImgUrl)
  236. uni.previewImage({
  237. current: 0,
  238. urls: data
  239. });
  240. }
  241. else{
  242. uni.showToast({
  243. icon:'none',
  244. title: "电子处方单不存在",
  245. });
  246. }
  247. }
  248. },
  249. err => {
  250. }
  251. );
  252. },
  253. getMyStoreOrderById(){
  254. var data={orderId:this.orderId};
  255. getMyStoreOrderById(data).then(res => {
  256. if(res.code==200){
  257. this.order=res.order;
  258. // this.items=res.items;
  259. this.childrenItems = res.childrenItems || {}
  260. if(this.order.extendOrderId == "BATCH") {
  261. this.items=res.items&&res.items.length > 0? JSON.parse(res.items[0].splitOrderItemJson || '[]') : [];
  262. } else {
  263. let items=JSON.parse(res.order.itemJson || '[]')
  264. if(items&&items.length>0) {
  265. this.items = items.map(it=>JSON.parse(it.jsonInfo))
  266. }
  267. }
  268. this.payLimitTime=res.payLimitTime;
  269. this.prescribe=res.prescribe;
  270. }else{
  271. uni.showToast({
  272. icon:'none',
  273. title: "请求失败",
  274. });
  275. }
  276. });
  277. },
  278. showDelivery(type,childrenOrder){
  279. if(type==1) {
  280. if(!childrenOrder.deliverySn){
  281. uni.showToast({
  282. title:"暂无物流信息",
  283. icon:'none'
  284. })
  285. return;
  286. }
  287. uni.navigateTo({
  288. url: './storeOrderDelivery?orderCode='+childrenOrder.orderCode
  289. })
  290. } else {
  291. uni.navigateTo({
  292. url: './storeOrderDelivery?orderId='+this.orderId
  293. })
  294. }
  295. },
  296. splitOrder2ERP(orderCode){
  297. var that=this;
  298. uni.showModal({
  299. title: '提示',
  300. content: '确定发货吗?',
  301. success: function (res) {
  302. if (res.confirm) {
  303. var data = {
  304. orderCode:orderCode
  305. };
  306. splitOrder2ERP(data).then(res => {
  307. if(res.code==200){
  308. that.getMyStoreOrderById()
  309. }else{
  310. uni.showToast({
  311. icon:'none',
  312. title: res.msg,
  313. });
  314. }
  315. });
  316. }
  317. else if (res.cancel) {
  318. }
  319. }
  320. });
  321. },
  322. cancel(){
  323. var that=this;
  324. uni.showModal({
  325. title: '提示',
  326. content: '确定取消订单吗',
  327. success: function (res) {
  328. if (res.confirm) {
  329. var data = {
  330. orderId:that.order.orderId
  331. };
  332. cancelOrder(data).then(res => {
  333. if(res.code==200){
  334. that.getMyStoreOrderById()
  335. uni.$emit('refreshStoreOrder');
  336. }else{
  337. uni.showToast({
  338. icon:'none',
  339. title: res.msg,
  340. });
  341. }
  342. });
  343. }
  344. else if (res.cancel) {
  345. }
  346. }
  347. });
  348. },
  349. finish(){
  350. var that=this;
  351. uni.showModal({
  352. title: '提示',
  353. content: '确定已收货吗',
  354. success: function (res) {
  355. if (res.confirm) {
  356. var data = {
  357. orderId:that.orderId
  358. };
  359. finishOrder(data).then(res => {
  360. if(res.code==200){
  361. that.getMyStoreOrderById()
  362. uni.$emit('refreshStoreOrder');
  363. }else{
  364. uni.showToast({
  365. icon:'none',
  366. title: res.msg,
  367. });
  368. }
  369. });
  370. }
  371. else if (res.cancel) {
  372. }
  373. }
  374. });
  375. },
  376. pay() {
  377. uni.navigateTo({
  378. url: '/pages_order/storeOrderPay?orderId='+this.order.orderId
  379. })
  380. },
  381. payRemain() {
  382. uni.navigateTo({
  383. url: '/pages_user/user/paymentOrderRemain?orderId='+this.order.orderId
  384. })
  385. },
  386. // 复制订单编号
  387. copyOrderSn(text) {
  388. // 复制方法
  389. uni.setClipboardData({
  390. data:text,
  391. success:()=>{
  392. uni.showToast({
  393. title:'内容已成功复制到剪切板',
  394. icon:'none'
  395. })
  396. }
  397. });
  398. },
  399. // 退货
  400. refund() {
  401. uni.navigateTo({
  402. url: '/pages_order/storeOrderRefundApply?orderId='+this.orderId
  403. })
  404. },
  405. showInvoice() {
  406. const time = this.order.createTime
  407. const targetDate = new Date('2025-01-01 00:00:00');
  408. const currentDate = new Date(time);
  409. if (time && currentDate >= targetDate) {
  410. return true
  411. } else {
  412. return false
  413. }
  414. },
  415. // 申请开票
  416. handleInvoice() {
  417. uni.navigateTo({
  418. url: '/pages_order/invoice/index?orderId='+this.orderId
  419. })
  420. },
  421. // 开票历史
  422. handleInvoiceList() {
  423. uni.navigateTo({
  424. url: '/pages_order/invoice/invoiceList?orderId='+this.orderId
  425. })
  426. },
  427. }
  428. }
  429. </script>
  430. <style lang="scss">
  431. .cont{
  432. width: 100%;
  433. position: relative;
  434. .bg{
  435. width: 100%;
  436. height: 350upx;
  437. position: absolute;
  438. top: 0;
  439. left: 0;
  440. z-index: 1;
  441. background-color: #078C9D;
  442. background: linear-gradient(#078C9D, #E2C99E);
  443. border-radius: 0rpx 0rpx 100rpx 100rpx;
  444. }
  445. .inner{
  446. position: relative;
  447. padding: 30upx 0rpx;
  448. width: 100%;
  449. height: 100%;
  450. z-index: 999;
  451. .order-status{
  452. display: flex;
  453. align-items: center;
  454. justify-content: space-between;
  455. padding: 0 30upx;
  456. .inner{
  457. display: flex;
  458. align-items: center;
  459. .img-box{
  460. width: 96upx;
  461. height: 96upx;
  462. margin-right: 30upx;
  463. image{
  464. width: 100%;
  465. height: 100%;
  466. }
  467. }
  468. .status-box{
  469. height: 96upx;
  470. display: flex;
  471. flex-direction: column;
  472. justify-content: center;
  473. .status{
  474. font-size: 40upx;
  475. font-family: PingFang SC;
  476. font-weight: bold;
  477. color: #FFFFFF;
  478. line-height: 1;
  479. }
  480. .desc{
  481. font-size: 26upx;
  482. font-family: PingFang SC;
  483. font-weight: 500;
  484. color: #FFFFFF;
  485. line-height: 1;
  486. margin-top: 30upx;
  487. }
  488. }
  489. }
  490. }
  491. .order-placer{
  492. margin-top: 30upx;
  493. padding: 0 20upx;
  494. .inner{
  495. box-sizing: border-box;
  496. border-radius: 16upx;
  497. height: 150upx;
  498. padding: 40upx 30upx;
  499. display: flex;
  500. align-items: center;
  501. background: #FFFFFF;
  502. .location{
  503. width: 24upx;
  504. height: 27upx;
  505. margin-right: 18upx;
  506. flex-shrink: 0;
  507. }
  508. .info{
  509. .name-phone{
  510. display: flex;
  511. align-items: center;
  512. .text{
  513. font-size: 28upx;
  514. font-family: PingFang SC;
  515. font-weight: bold;
  516. color: #333333;
  517. line-height: 1;
  518. margin-right: 20upx;
  519. &:last-child{
  520. margin-right: 0;
  521. }
  522. }
  523. }
  524. .address{
  525. font-size: 26upx;
  526. font-family: PingFang SC;
  527. font-weight: 500;
  528. color: #999999;
  529. line-height: 1.3;
  530. margin-top: 10upx;
  531. }
  532. }
  533. }
  534. }
  535. }
  536. }
  537. .content{
  538. margin: 20rpx 0rpx;
  539. padding: 0 20upx 140rpx 20upx;
  540. .goods-list{
  541. padding: 0 30upx;
  542. background-color: #FFFFFF;
  543. border-radius: 16upx;
  544. .item{
  545. padding: 30upx 0;
  546. border-bottom: 1px solid #EDEEEF;
  547. display: flex;
  548. align-items: center;
  549. .img-box{
  550. width: 160upx;
  551. height: 160upx;
  552. margin-right: 30upx;
  553. image{
  554. width: 100%;
  555. height: 100%;
  556. }
  557. }
  558. .info-box{
  559. width: calc(100% - 190upx);
  560. height: 160upx;
  561. display: flex;
  562. flex-direction: column;
  563. justify-content: space-between;
  564. .name-box{
  565. font-size: 28upx;
  566. font-family: PingFang SC;
  567. font-weight: 500;
  568. color: #111111;
  569. line-height: 40upx;
  570. .tag{
  571. display: inline-block;
  572. padding: 0 6upx;
  573. height: 30upx;
  574. background: linear-gradient(90deg, #078C9D 0%, #E2C99E 100%);
  575. border-radius: 4upx;
  576. margin-right: 10upx;
  577. font-size: 22upx;
  578. font-family: PingFang SC;
  579. font-weight: bold;
  580. color: #FFFFFF;
  581. line-height: 30upx;
  582. float: left;
  583. margin-top: 7upx;
  584. }
  585. }
  586. .spec{
  587. margin-top: 18upx;
  588. font-size: 24upx;
  589. font-family: PingFang SC;
  590. font-weight: 500;
  591. color: #999999;
  592. line-height: 1;
  593. }
  594. .price-num{
  595. display: flex;
  596. align-items: center;
  597. justify-content: space-between;
  598. .price{
  599. display: flex;
  600. align-items: flex-end;
  601. .unit{
  602. font-size: 24upx;
  603. font-family: PingFang SC;
  604. font-weight: 500;
  605. color: #111111;
  606. line-height: 1.2;
  607. margin-right: 4upx;
  608. }
  609. .num{
  610. font-size: 32upx;
  611. font-family: PingFang SC;
  612. font-weight: 500;
  613. color: #111111;
  614. line-height: 1;
  615. }
  616. }
  617. .num{
  618. font-size: 24upx;
  619. font-family: PingFang SC;
  620. font-weight: 500;
  621. color: #999999;
  622. line-height: 1;
  623. }
  624. }
  625. }
  626. }
  627. .sub-total{
  628. height: 88upx;
  629. display: flex;
  630. align-items: center;
  631. justify-content: flex-end;
  632. .discount{
  633. font-size: 24upx;
  634. font-family: PingFang SC;
  635. font-weight: 500;
  636. color: #999999;
  637. line-height: 1;
  638. margin-right: 30upx;
  639. }
  640. .label{
  641. font-size: 24upx;
  642. font-family: PingFang SC;
  643. font-weight: 500;
  644. color: #999999;
  645. }
  646. .price{
  647. display: flex;
  648. align-items: flex-end;
  649. .unit{
  650. font-size: 24upx;
  651. font-family: PingFang SC;
  652. font-weight: 500;
  653. color: #FF6633;
  654. line-height: 1.2;
  655. margin-right: 4upx;
  656. }
  657. .num{
  658. font-size: 32upx;
  659. font-family: PingFang SC;
  660. font-weight: bold;
  661. color: #FF6633;
  662. line-height: 1;
  663. }
  664. }
  665. }
  666. }
  667. .order-info{
  668. margin-top: 20upx;
  669. background: #FFFFFF;
  670. border-radius: 16upx;
  671. padding: 40upx 30upx;
  672. .title{
  673. font-size: 30upx;
  674. font-family: PingFang SC;
  675. font-weight: bold;
  676. color: #222222;
  677. line-height: 1;
  678. }
  679. .item{
  680. margin-top: 40upx;
  681. display: flex;
  682. align-items: center;
  683. justify-content: space-between;
  684. .label{
  685. font-size: 26upx;
  686. font-family: PingFang SC;
  687. font-weight: 500;
  688. color: #666666;
  689. line-height: 1;
  690. }
  691. .text{
  692. font-size: 26upx;
  693. font-family: PingFang SC;
  694. font-weight: 500;
  695. color: #222222;
  696. line-height: 32upx;
  697. }
  698. .cont-text{
  699. font-size: 26upx;
  700. font-family: PingFang SC;
  701. font-weight: 500;
  702. color: #666666;
  703. .bold{
  704. color: #111111;
  705. }
  706. }
  707. .sn-box{
  708. display: flex;
  709. align-items: center;
  710. .copy-btn{
  711. width: 58upx;
  712. height: 32upx;
  713. line-height: 32upx;
  714. text-align: center;
  715. font-size: 22upx;
  716. font-family: PingFang SC;
  717. font-weight: 500;
  718. color: #222222;
  719. background: #F5F5F5;
  720. border-radius: 4upx;
  721. margin-left: 24upx;
  722. }
  723. }
  724. .check-box{
  725. display: flex;
  726. align-items: center;
  727. image{
  728. width: 14upx;
  729. height: 24upx;
  730. margin-left: 10upx;
  731. }
  732. }
  733. }
  734. .line{
  735. width: 100%;
  736. height: 1px;
  737. background: #F0F0F0;
  738. margin-top: 30upx;
  739. }
  740. }
  741. }
  742. .btn-box{
  743. z-index: 999;
  744. bottom: 0;
  745. width: 100%;
  746. position: fixed;
  747. height: 120upx;
  748. box-sizing: border-box;
  749. background: #FFFFFF;
  750. padding: 0 30upx;
  751. display: flex;
  752. align-items: center;
  753. justify-content: flex-end;
  754. }
  755. .btn{
  756. position: relative;
  757. width: 155upx;
  758. height: 64upx;
  759. line-height: 64upx;
  760. font-size: 26upx;
  761. font-family: PingFang SC;
  762. font-weight: 500;
  763. text-align: center;
  764. border-radius: 32upx;
  765. margin-left: 15upx;
  766. &.cancel{
  767. border: 1px solid #DDDDDD;
  768. color: #666666;
  769. }
  770. &.pay{
  771. background: #078C9D;
  772. color: #FFFFFF;
  773. }
  774. .contact-btn {
  775. top: 0;
  776. position: absolute;
  777. width:100%;
  778. height:100%;
  779. opacity: 0;
  780. }
  781. }
  782. .order-info-title {
  783. display: flex;
  784. align-items: center;
  785. justify-content: space-between;
  786. }
  787. .order-info-r {
  788. display: flex;
  789. align-items: center;
  790. .btn{
  791. margin-bottom: 0;
  792. }
  793. }
  794. </style>