storeOrderDetail.vue 21 KB

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