signUpDetail.vue 19 KB

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