storeOrderDetail.vue 21 KB

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