detail.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833
  1. <template>
  2. <view class="movie-order-detail">
  3. <zs-skeleton type="orderDetail" :loading="pageLoading"></zs-skeleton>
  4. <view class="status-box">
  5. <view class="text-box">
  6. <view class="status" v-if="info.goodsList[0].goodsState == 'WAIT_PAYMENT'&&!isNotTime">
  7. 等待支付,剩余<u-count-down :time="closeTime" format="mm:ss" @finish="finish"></u-count-down>
  8. </view>
  9. <view class="status" v-else>
  10. {{info.goodsList[0] | filterType}}
  11. </view>
  12. </view>
  13. </view>
  14. <view class="content shop-box">
  15. <view class="shop-name">
  16. {{info.shopInfo.shopName}}
  17. </view>
  18. <view class="address">
  19. {{info.goodsList[0].goodsInfo.cinemaAddress}}
  20. </view>
  21. </view>
  22. <view class="content info">
  23. <view class="order-info">
  24. <image class="icon" :src="info.goodsList[0].goodsInfo.goodsPath" mode=""></image>
  25. <view class="shop-info">
  26. <view class="title">
  27. {{info.goodsList[0].goodsInfo.goodsName}}
  28. </view>
  29. <view class="goods-desc" >
  30. {{ $u.timeFormat(info.goodsList[0].goodsInfo.sessionBeginTime,'yyyy-mm-dd hh:MM')}}
  31. </view>
  32. <view class="goods-desc" >
  33. {{info.goodsList[0].goodsInfo.hallName}} {{info.goodsList[0].goodsInfo.seatNames}}
  34. </view>
  35. <view class="price-box">
  36. <view class="price">
  37. ¥{{info.goodsList[0].payAmount}}
  38. </view>
  39. <view class="num">
  40. {{`(${info.goodsList[0].goodsInfo.seatNames.split(',').length}张电影票)`}}
  41. </view>
  42. </view>
  43. </view>
  44. </view>
  45. </view>
  46. <view class="content code-box" v-if="info.goodsList[0].goodsState == 'USED'">
  47. <view class="title">
  48. 券码信息
  49. </view>
  50. <!-- <view class="code-btn" @click="checkCode">
  51. 查看券码 <image class="jiantou" src="../../static/jiantou-icon.png" mode=""></image>
  52. </view> -->
  53. <uqrcode class="qrcode" ref="uqrcode" type="2d" auto canvas-id="qrcode" :value="codeData" :loading="loading" :options="{ margin: 20 }">
  54. <template v-slot:loading>
  55. <text style="color: black;">拼命加载中...</text>
  56. </template>
  57. </uqrcode>
  58. <view class="code">
  59. {{codeData}}
  60. </view>
  61. </view>
  62. <view class="content">
  63. <view class="title">
  64. 订单信息
  65. </view>
  66. <view class="item">
  67. <view class="label">
  68. 订单编号
  69. </view>
  70. <view class="value">
  71. {{info.orderNo}}
  72. </view>
  73. </view>
  74. <view class="item">
  75. <view class="label">
  76. 付款方式
  77. </view>
  78. <view class="value">
  79. {{info.payment | filterPay}}
  80. </view>
  81. </view>
  82. <view class="item">
  83. <view class="label">
  84. 下单时间
  85. </view>
  86. <view class="value">
  87. {{$u.timeFormat(info.createTime,'yyyy-mm-dd hh:MM:ss')}}
  88. </view>
  89. </view>
  90. <view class="item" v-if="info.goodsList[0].goodsState != 'WAIT_PAYMENT' && info.goodsList[0].goodsState != 'CLOSE'">
  91. <view class="label">
  92. 支付时间
  93. </view>
  94. <view class="value" >
  95. {{payTime}}
  96. </view>
  97. </view>
  98. </view>
  99. <view class="content" v-if="info.goodsList[0].jobFlowMap == 'XiaoJu'">
  100. <view class="title">
  101. 交易信息
  102. </view>
  103. <view class="item">
  104. <view class="label">
  105. 订单金额
  106. </view>
  107. <view class="value">
  108. ¥{{info.totalAmount}}
  109. </view>
  110. </view>
  111. <view class="item">
  112. <view class="label">
  113. 服务费
  114. </view>
  115. <view class="value">
  116. ¥{{(info.goodsList[0].goodsInfo.serviceFee/100).toFixed(2)}}
  117. </view>
  118. </view>
  119. <view class="item" >
  120. <view class="label">
  121. 优惠减免金额
  122. </view>
  123. <view class="value ">
  124. -¥{{info.discountAmount}}
  125. </view>
  126. </view>
  127. <view class="item">
  128. <view class="label">
  129. 支付金额
  130. </view>
  131. <view class="value">
  132. ¥{{info.payAmount}}
  133. </view>
  134. </view>
  135. </view>
  136. <view class="content" v-else>
  137. <view class="title">
  138. 交易信息
  139. </view>
  140. <view class="item">
  141. <view class="label">
  142. 商品金额
  143. </view>
  144. <view class="value black">
  145. ¥{{info.totalAmount}}
  146. </view>
  147. </view>
  148. <view class="item" >
  149. <view class="label">
  150. 优惠券
  151. </view>
  152. <view class="value red">
  153. -¥{{info.discountAmount}}
  154. </view>
  155. </view>
  156. <view class="item">
  157. <view class="label">
  158. 合计
  159. </view>
  160. <view class="value">
  161. <text class="red fs28">¥{{info.payAmount}}</text>
  162. </view>
  163. </view>
  164. </view>
  165. <!-- <template>
  166. <view class="content refund-box" v-if="info.goodsList[0].goodsState == 'APPLY_REFUND'||(info.goodsList[0].refundLog&&info.goodsList[0].refundLog.remark)">
  167. <view class="title">
  168. 退款原因
  169. </view>
  170. <view class="refund-msg">
  171. {{info.goodsList[0].refundLog.remark}}
  172. </view>
  173. </view>
  174. <button type="default" :loading="btnLoading" v-if="info.goodsList[0].goodsState == 'APPLY_REFUND'" class="pay-btn" @click="cancelReply" >取消退款</button>
  175. </template> -->
  176. <view class="btn-box" v-if="info.goodsList[0].goodsState == 'WAIT_PAYMENT'">
  177. <button class="cancel-btn" @click="cancel" :loading="btnLoading">
  178. 取消订单
  179. </button>
  180. <button class="btn" @click="pay" :loading="btnLoading">
  181. 立即支付
  182. </button>
  183. </view>
  184. <!-- <button type="default" :loading="btnLoading" class="pay-btn" v-if="info.goodsList[0].goodsState == 'WAIT_PAYMENT'&&info.goodsList[0].jobFlowMap !== 'XiaoJu'" @click="pay" >立即支付</button>
  185. <view class="content apply-box" v-else-if="(info.goodsList[0].goodsState == 'WAIT_USE'||info.goodsList[0].goodsState == 'USED')&&isRefund()&&info.goodsList[0].jobFlowMap !== 'XiaoJu'" @click="apply">
  186. <view class="label">
  187. 退款申请
  188. </view>
  189. <view class="value">
  190. 如引发商品争议,可申请平台介入处理
  191. </view>
  192. <image class="jiantou" src="../../static/jiantou-icon.png" mode=""></image>
  193. </view>
  194. <view class="content apply-box" v-if="info.goodsList[0].refundLog&&info.goodsList[0].refundLog.refund == 'REFUSAL_REFUND'">
  195. <view class="title">
  196. 已拒绝
  197. </view>
  198. <view class="value">
  199. 拒绝理由:{{info.goodsList[0].refundLog.conclusion}}
  200. </view>
  201. </view>
  202. <button type="default" :loading="btnLoading1" v-if="info.goodsList[0].refundLog&&!info.goodsList[0].refundLog.platInter" class="pay-btn" @click="refundIntervene" >申请介入处理</button> -->
  203. <!-- 二维码 -->
  204. <u-overlay :show="show" v-if="show" :opacity="0.6">
  205. <view class="wrap" @click.stop="close">
  206. <uqrcode ref="uqrcode" type="2d" auto canvas-id="qrcode" :value="codeData" :loading="loading" :options="{ margin: 20 }">
  207. <template v-slot:loading>
  208. <text style="color: black;">拼命加载中...</text>
  209. </template>
  210. </uqrcode>
  211. </view>
  212. </u-overlay>
  213. </view>
  214. </template>
  215. <script>
  216. import {qrCode,closeOrder} from '@/api/order.js'
  217. import {payDetails,queryPayOrder,unRefund,refundIntervene} from '@/api/payment.js';
  218. // import {cancelOrder} from '@/api/refuel.js'
  219. export default {
  220. data() {
  221. return {
  222. isVisual:false,//是否是虚拟商品
  223. codeData:'123',
  224. show:false,
  225. loading:false,
  226. pageLoading:true,
  227. btnLoading:false,
  228. btnLoading1:false,
  229. oldBright:0,
  230. info:{
  231. goodsList:[{goodsState:'CLOSE'}]
  232. },
  233. isNotTime:false
  234. }
  235. },
  236. watch: {
  237. // isNotTime(val) {
  238. // if(this.isNotTime){
  239. // this.payDetails(this.info.orderNo)
  240. // }
  241. // }
  242. },
  243. filters: {
  244. filterType: function(val) {
  245. if(val.refundLog&&val.refundLog.refund == 'REFUSAL_REFUND'){
  246. return '拒绝退款'
  247. }
  248. else if(val.goodsState == 'APPLY_REFUND'){
  249. return '退款审核中'
  250. }else if(val.goodsState == 'CLOSE'){
  251. return '关闭订单'
  252. }else if(val.goodsState == 'REFUNDED'){
  253. return '已退款'
  254. }else if(val.goodsState == 'APPLY_REFUNDING'){
  255. return '退款中'
  256. }else if(val.goodsState == 'REFUSAL_REFUND'){
  257. return '拒绝退款'
  258. }else if(val.goodsState == 'USED'){
  259. return '已出票'
  260. }else if(val.goodsState == 'WAIT_PAYMENT'){
  261. return '待付款'
  262. }else if(val.goodsState == 'WAIT_USE'){
  263. return '出票中'
  264. }
  265. },
  266. filterPay(val){
  267. if(val.paymentWay == 'wx.unifiedOrder'){
  268. return '微信支付'
  269. }else if(val.paymentWay == 'trade.create'){
  270. return '支付宝支付'
  271. }else if(val.paymentWay == 'uac.miniOrder'){
  272. return '云闪付支付'
  273. }else{
  274. return '-'
  275. }
  276. }
  277. },
  278. computed: {
  279. closeTime() {
  280. // return (this.info.createTime + 1000*60*30) - new Date().getTime()
  281. return (this.info.createTime + 1000*60*10) - new Date().getTime()
  282. },
  283. payTime(){
  284. if(this.info.payment && this.info.payment.paymentTime){
  285. return uni.$u.timeFormat(this.info.payment.paymentTime,'yyyy-mm-dd hh:MM:ss')
  286. }else{
  287. return '-'
  288. }
  289. }
  290. },
  291. methods: {
  292. // 申请客服介入
  293. refundIntervene(){
  294. let that = this
  295. uni.showModal({
  296. title: '提示',
  297. content: '确认申请客服介入吗?',
  298. success: function (res) {
  299. if (res.confirm) {
  300. that.btnLoading1 = true
  301. refundIntervene(that.info.goodsList[0].id).then(res=>{
  302. that.btnLoading1 = false
  303. if(res.state == 'Success'){
  304. that.payDetails(that.info.orderNo)
  305. }
  306. })
  307. } else if (res.cancel) {
  308. console.log('用户点击取消');
  309. }
  310. }
  311. });
  312. },
  313. isRefund(){
  314. if(!this.info.goodsList[0].verifyModel){//没核销
  315. return true
  316. }else if(this.info.goodsList[0].verifyModel && (new Date().getTime() < (this.info.goodsList[0].verifyModel.checkTime + 1000*60*60*48))){// 已核销 并且没超过48小时
  317. return true
  318. }else{
  319. return false
  320. }
  321. },
  322. finish(){
  323. this.isNotTime = true
  324. this.payDetails(this.info.orderNo)
  325. },
  326. refundDetail(){
  327. uni.navigateTo({
  328. url:`/my/order/refundDetail?id=${this.info.orderNo}`
  329. })
  330. },
  331. checkCode() {
  332. this.codeData = ''
  333. this.$nextTick(()=>{
  334. this.show = true
  335. this.loading = true
  336. let that = this
  337. // uni.getScreenBrightness({
  338. // success(res) {
  339. // // 获取用户手机亮度 保存起来
  340. // that.oldBright = res.value
  341. // setTimeout(()=>{
  342. // uni.setScreenBrightness({
  343. // value:1
  344. // })
  345. // },200)
  346. // }
  347. // })
  348. qrCode(this.info.goodsList[0].id).then(res=>{
  349. this.loading = false
  350. if(res.state == 'Success'){
  351. this.codeData = res.content
  352. }
  353. })
  354. })
  355. },
  356. close(){
  357. this.show = false
  358. // uni.setScreenBrightness({
  359. // value:this.oldBright
  360. // })
  361. },
  362. handleCall(){
  363. uni.makePhoneCall({
  364. phoneNumber: '4000016553'//仅为示例
  365. });
  366. },
  367. apply(){
  368. let that = this
  369. if(this.info.goodsList[0].jobFlowMap == 'XiaoJu'){
  370. uni.navigateTo({
  371. url:'./webView'
  372. })
  373. }else{
  374. uni.navigateTo({
  375. url:'./refund',
  376. success: function(res) {
  377. // 通过eventChannel向被打开页面传送数据
  378. res.eventChannel.emit('orderInfo', that.info)
  379. }
  380. })
  381. }
  382. },
  383. // 获取订单详情
  384. payDetails(orderNo){
  385. payDetails(orderNo).then(res=>{
  386. this.pageLoading = false
  387. this.info = res.content
  388. this.codeData = JSON.parse(this.info.goodsList[0].extend).sync.ticketCode
  389. if(this.info.goodsList[0].jobFlowMap == 'P802'){
  390. this.isVisual = true
  391. }
  392. // try{
  393. // let extend = JSON.parse(this.info.goodsList[0].extend)
  394. // if(extend.account){
  395. // this.isVisual = true
  396. // }
  397. // }catch(e){
  398. // //TODO handle the exception
  399. // }
  400. })
  401. },
  402. // 取消支付
  403. cancel(){
  404. uni.showLoading({
  405. title: '取消中'
  406. })
  407. closeOrder(this.info.orderNo).then(res=>{
  408. if(res.state == 'Success'){
  409. uni.showToast({
  410. title: '取消成功',
  411. icon: 'success'
  412. })
  413. this.payDetails(this.info.orderNo)
  414. }
  415. })
  416. },
  417. // 支付
  418. pay(){
  419. let that = this
  420. if(this.info.goodsList[0].jobFlowMap == 'XiaoJu'){
  421. let {xjOrderId,tradeId} = JSON.parse(this.info.goodsList[0].extend)
  422. uni.navigateToMiniProgram({
  423. appId:"wx0d252f6ed9755862", // 滴滴加油小程序appId
  424. path: `packageA/pages/open-energy-pay/index?orderId=${xjOrderId}&tradeId=${tradeId}`, // 滴滴加油收银台页面地址,需要拼接orderId和tradeId
  425. envVersion: 'release', // 固定release
  426. })
  427. }else{
  428. if (this.btnLoading) return
  429. this.btnLoading = true
  430. uni.showLoading({
  431. title: '支付中'
  432. })
  433. let miniPayRequest = JSON.parse(this.info.payment.miniPayRequest)
  434. uni.requestPayment({
  435. "provider": "wxpay",
  436. "orderInfo": miniPayRequest,
  437. "appid": miniPayRequest.appId, // 微信开放平台 - 应用 - AppId,注意和微信小程序、公众号 AppId 可能不一致
  438. "paySign": miniPayRequest.paySign,
  439. "nonceStr": miniPayRequest.nonceStr, // 随机字符串
  440. "package": miniPayRequest.package, // 固定值
  441. // "prepayid": miniPayRequest.package, // 统一下单订单号
  442. "timeStamp": miniPayRequest.timeStamp, // 时间戳(单位:秒)
  443. "signType": miniPayRequest.signType, //签名算法
  444. success(msg) {
  445. console.log('msg', msg);
  446. queryPayOrder(that.info.orderNo).then(res1 => {
  447. if (res1.state == 'Success') {
  448. uni.hideLoading()
  449. uni.showToast({
  450. title: '支付成功',
  451. icon: 'success'
  452. })
  453. that.btnLoading = false
  454. that.payDetails(that.info.orderNo)
  455. }
  456. })
  457. },
  458. fail(e) {
  459. that.btnLoading = false
  460. uni.hideLoading()
  461. uni.showToast({
  462. title: '取消支付',
  463. icon: 'fail'
  464. })
  465. // 取消支付后,获取支付信息以备再次支付
  466. that.payDetails(that.info.orderNo)
  467. console.log('err', e,this);
  468. }
  469. })
  470. }
  471. },
  472. // 取消退款申请
  473. cancelReply(){
  474. if (this.btnLoading) return
  475. this.btnLoading = true
  476. uni.showLoading({
  477. title: '取消中'
  478. })
  479. unRefund({id:this.info.goodsList[0].id}).then(res=>{
  480. this.btnLoading = false
  481. uni.hideLoading()
  482. if (res.state == 'Success') {
  483. this.payDetails(this.info.orderNo)
  484. uni.showToast({
  485. title:'取消成功',
  486. icon:'success'
  487. })
  488. }
  489. })
  490. }
  491. },
  492. onReady() {
  493. },
  494. onLoad(options) {
  495. this.info.orderNo = options.id
  496. },
  497. onShow() {
  498. this.pageLoading = true
  499. this.payDetails(this.info.orderNo)
  500. },
  501. created() {
  502. // this.info = JSON.parse(uni.getStorageSync('order'))
  503. }
  504. }
  505. </script>
  506. <style lang="scss">
  507. .movie-order-detail{
  508. background: #F9F9F9;
  509. min-height: 100vh;
  510. padding-bottom: 100rpx;
  511. .status-box{
  512. padding: 24rpx 24rpx 4rpx;
  513. display: flex;
  514. justify-content: space-between;
  515. .text-box{
  516. color: #181818;
  517. .status{
  518. font-weight: bold;
  519. font-size: 32rpx;
  520. display: flex;
  521. .u-count-down__text{
  522. color: $uni-color-primary!important;
  523. }
  524. }
  525. .notice{
  526. font-size: 24rpx;
  527. margin-top: 20rpx;
  528. }
  529. }
  530. }
  531. .progress{
  532. .progress-title{
  533. font-weight: 600;
  534. font-size: 32rpx;
  535. color: #181818;
  536. }
  537. .progress-desc{
  538. font-weight: 300;
  539. font-size: 24rpx;
  540. color: #AAAAAA;
  541. margin-top: 15rpx;
  542. }
  543. }
  544. .shop-box{
  545. width: 690rpx;
  546. // margin: 0 30rpx;
  547. // padding: 24rpx 24rpx 30rpx;
  548. background: #fff;
  549. border-radius: 16rpx;
  550. margin-top: -30rpx;
  551. box-sizing: border-box;
  552. .shop-name{
  553. font-weight: 600;
  554. font-size: 32rpx;
  555. color: #181818;
  556. width: 100%;
  557. white-space: nowrap;
  558. overflow: hidden;
  559. text-overflow: ellipsis;
  560. }
  561. .address{
  562. font-weight: 300;
  563. font-size: 24rpx;
  564. color: #AAAAAA;
  565. margin-top: 20rpx;
  566. width: 100%;
  567. white-space: nowrap;
  568. overflow: hidden;
  569. text-overflow: ellipsis;
  570. }
  571. }
  572. .black{
  573. color: #222222!important;
  574. }
  575. .red{
  576. color: red!important;
  577. }
  578. .fs28{
  579. font-size: 28rpx!important;
  580. font-weight: bold;
  581. }
  582. .code-box{
  583. .qrcode{
  584. display: flex;
  585. align-items: center;
  586. justify-content: center;
  587. margin-top: 20rpx;
  588. }
  589. .code-btn{
  590. display: flex;
  591. align-items: center;
  592. font-weight: 300;
  593. font-size: 24rpx;
  594. color: #AAAAAA;
  595. .jiantou{
  596. width: 24rpx;
  597. height: 24rpx;
  598. }
  599. }
  600. .code{
  601. font-size: 28rpx;
  602. color: #222222;
  603. text-align: center;
  604. }
  605. }
  606. .input-box{
  607. margin: 20rpx 30rpx;
  608. padding: 28rpx 24rpx;
  609. background: #FFFFFF;
  610. border-radius: 16rpx 16rpx 16rpx 16rpx;
  611. display: flex;
  612. align-items: center;
  613. justify-content: space-between;
  614. .label {
  615. color: #222;
  616. font-size: 28rpx;
  617. }
  618. .value {
  619. font-size: 28rpx;
  620. color: #AAAAAA;
  621. }
  622. }
  623. .content{
  624. margin: 20rpx 30rpx;
  625. padding: 28rpx 24rpx;
  626. border-radius: 16rpx;
  627. background: #fff;
  628. .title{
  629. font-weight: 600;
  630. font-size: 28rpx;
  631. color: #222222;
  632. }
  633. .item{
  634. display: flex;
  635. align-items: center;
  636. justify-content: space-between;
  637. margin-top: 28rpx;
  638. .label{
  639. font-size: 28rpx;
  640. color: #AAAAAA;
  641. }
  642. .value{
  643. font-size: 28rpx;
  644. color: #222222;
  645. }
  646. }
  647. }
  648. .pay-btn{
  649. background: $uni-color-primary;
  650. width: 688rpx;
  651. height: 80rpx;
  652. line-height: 80rpx;
  653. border-radius: 46rpx;
  654. color: #fff;
  655. margin-top: 50rpx;
  656. }
  657. .refund-box{
  658. .refund-msg{
  659. font-weight: 300;
  660. font-size: 24rpx;
  661. color: #222222;
  662. margin-top: 15rpx;
  663. line-height: 40rpx;
  664. }
  665. }
  666. .apply-box{
  667. position: relative;
  668. .label{
  669. font-weight: 600;
  670. font-size: 28rpx;
  671. color: #222222;
  672. }
  673. .value{
  674. color: #999999;
  675. font-size: 24rpx;
  676. margin-top: 15rpx;
  677. }
  678. .jiantou{
  679. position: absolute;
  680. top: 50%;
  681. right: 24rpx;
  682. transform: translateY(-50%);
  683. width: 24rpx;
  684. height: 24rpx;
  685. }
  686. }
  687. .btn-box {
  688. position: fixed;
  689. bottom: 0%;
  690. left: 0%;
  691. width: 100%;
  692. display: flex;
  693. align-items: center;
  694. justify-content: flex-end;
  695. box-sizing: border-box;
  696. padding: 10rpx 24rpx env(safe-area-inset-bottom);
  697. background: #fff;
  698. border-top: 1rpx solid #EEEEEE;
  699. .cancel-btn{
  700. width: 240rpx;
  701. height: 80rpx;
  702. line-height: 80rpx;
  703. text-align: center;
  704. border-radius: 40rpx;
  705. border: 2rpx solid #EE4320;
  706. font-weight: 600;
  707. font-size: 28rpx;
  708. color: #EE4320;
  709. margin: 0;
  710. }
  711. .btn {
  712. width: 240rpx;
  713. height: 80rpx;
  714. line-height: 80rpx;
  715. text-align: center;
  716. background: $uni-color-primary;
  717. border-radius: 40rpx;
  718. font-weight: 600;
  719. font-size: 28rpx;
  720. color: #FFFFFF;
  721. margin: 0;
  722. margin-left: 20rpx;
  723. }
  724. }
  725. .info{
  726. .order-info{
  727. display: flex;
  728. .icon{
  729. width: 164rpx;
  730. height: 164rpx;
  731. border-radius: 16rpx;
  732. flex-shrink: 0;
  733. }
  734. .shop-info{
  735. display: flex;
  736. flex-direction: column;
  737. justify-content: space-between;
  738. padding-left: 24rpx;
  739. flex: 1;
  740. box-sizing: border-box;
  741. .title{
  742. color: #181818;
  743. font-size: 28rpx;
  744. width: 450rpx;
  745. white-space: nowrap;
  746. overflow: hidden;
  747. text-overflow: ellipsis;
  748. }
  749. .price-box{
  750. display: flex;
  751. align-items: center;
  752. .price{
  753. font-size: 24rpx;
  754. color: #FF4D3A;
  755. }
  756. .num{
  757. font-size: 24rpx;
  758. color: #AAAAAA;
  759. margin-left: 10rpx;
  760. }
  761. }
  762. .start-time,.goods-desc{
  763. font-size: 24rpx;
  764. color: #AAAAAA;
  765. width: 450rpx;
  766. white-space: nowrap;
  767. overflow: hidden;
  768. text-overflow: ellipsis;
  769. }
  770. }
  771. }
  772. }
  773. .wrap{
  774. display: flex;
  775. justify-content: center;
  776. align-items: center;
  777. height: 100vh;
  778. overflow: hidden;
  779. }
  780. }
  781. </style>