orderdetails.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
  1. <template>
  2. <view class="pages">
  3. <view class="" :style="{height: navHeight+'px' }"></view>
  4. <view class="navbar-box">
  5. <u-navbar title="订单详情" :safeAreaInsetTop="true" @leftClick="leftClick" :titleStyle="{color:'#fff'}" leftIconColor="#fff" bgColor="transparent"></u-navbar>
  6. </view>
  7. <u-loading-page :loading="loadingPage"></u-loading-page>
  8. <view class="page-wrap">
  9. <view class="status-content">
  10. <view class="status-item" v-if="orderDetails.status==0">
  11. <view class="text">请尽快完成付款,还剩 {{countdown}}</view>
  12. <view class="btn-wrap u-flex u-row-center">
  13. <view class="btn cancel" @click="cancelOrder">取消订单</view>
  14. <view class="btn" @click="gotoPay(orderDetails.id)">立即支付</view>
  15. </view>
  16. </view>
  17. <view class="status-item" v-else-if="orderDetails.status==3">
  18. <view class="text">距离演出开始,还剩 {{countdown}}</view>
  19. </view>
  20. <view class="status-item" v-else>
  21. <view class="text">{{orderDetails.status|filterOrderState}}</view>
  22. </view>
  23. </view>
  24. <view class="base-info">
  25. <view class="top u-flex u-row-between">
  26. <view class="name">{{orderDetails.theatreName}}</view>
  27. <!-- <view class="icon-wrap u-flex">
  28. <u-icon name="phone-fill" color="#999999" size="42rpx"></u-icon>
  29. <u-icon name="map-fill" color="#999999" size="42rpx"></u-icon>
  30. </view> -->
  31. </view>
  32. <view class="info u-flex u-row-between">
  33. <image class="img" :src="orderDetails.performImg"></image>
  34. <view class="text">
  35. <view class="name u-flex u-row-between">
  36. {{orderDetails.performName}}
  37. <!-- <text class="status">{{orderDetails.status|filterOrderState}}</text> -->
  38. </view>
  39. <view class="time">{{orderDetails.performDate}} {{orderDetails.performTimeStart}}</view>
  40. <view class="position u-flex u-row-between">
  41. <view class="">{{orderDetails.goodsName}}/{{orderDetails.seatTypeName}}</view>
  42. <view class="">X {{orderDetails.viewerNum}}</view>
  43. </view>
  44. </view>
  45. </view>
  46. </view>
  47. <view class="box qr-wrap" v-if="orderDetails.status==3">
  48. <view class="title">二维码</view>
  49. <view class="qr-content">
  50. <view class="img-wrap">
  51. <!-- <image class="img" :src="orderDetails.performImg"></image> -->
  52. <view class="ayQrcode" @click="refreshCode">
  53. <ayQrcode ref="qrcode" :modal="modal_qr" :url="qrContent" @hideQrcode="hideQrcode" :height="180" :width="180" />
  54. </view>
  55. <image v-if="orderDetails.status==4" class="refund-ico" :src="staticUrl+'/img/refund-ico.png'"></image>
  56. </view>
  57. <!-- <view class="">{{orderDetails.viewersList.length}}张演出票</view> -->
  58. <!-- order-num del-line -->
  59. <view class="order-num">取票号:{{orderDetails.parentQrcodeNo}}</view>
  60. </view>
  61. </view>
  62. <view class="box viewers-list">
  63. <view class="title">观影人员</view>
  64. <view class="item u-flex u-row-around" v-for="(item,index) in orderDetails.viewersList" :key="index">
  65. <text>观影人员{{index + 1}}</text>
  66. <text>{{item.name}}</text>
  67. <text>{{item.id}}</text>
  68. <text v-if="orderDetails.status==3" @click="singleQR(item,index)" class="qrbtn">查看二维码</text>
  69. </view>
  70. </view>
  71. <view class="box order-info">
  72. <view class="title u-flex u-row-between">
  73. 订单信息
  74. <text class="btn" v-if="orderDetails.status==3" @click="refund">申请退款</text>
  75. </view>
  76. <view class="order-info-item" v-for="(item,index) in orderInfo[orderDetails.status]" :key="index">
  77. <text class="til">{{item.name}}</text>
  78. <text class="con">
  79. <text v-if="item.key=='payType'">{{orderDetails[item.key]|filterPayType}}</text>
  80. <text v-else-if="item.key=='realPrice'"> ¥ {{orderDetails[item.key]}}</text>
  81. <text v-else>{{orderDetails[item.key]}}</text>
  82. <text class="copy-btn" @click="copyOrderNum(orderDetails[item.key])" v-if="item.key=='orderNum'">复制</text>
  83. </text>
  84. </view>
  85. </view>
  86. <view class="box tips">
  87. <view class="title">观影须知</view>
  88. <u-parse :content="formerNotice"></u-parse>
  89. <!-- <view class="tips-item" v-for="(item,index) in tipsArr" :key="index">
  90. {{item}}
  91. </view> -->
  92. </view>
  93. </view>
  94. <u-popup :show="showSingleQR" @close="closeSingleQR" @open="openSingleQR" :round="10" mode="center">
  95. <view class="singleQR-wrap">
  96. <view class="title">
  97. 二维码
  98. <!-- <u-icon class="close" @click="closeSingleQR" name="close" color="#333" size="36rpx"></u-icon> -->
  99. </view>
  100. <view class="single-info">
  101. <view class="item">姓名:{{singleInfo.name}}</view>
  102. <view class="item">身份证号码:{{singleInfo.idcard}}</view>
  103. <view class="item">座位:{{singleInfo.seatName}}</view>
  104. <view class="item">状态:{{singleInfo.status|filterSingleState}}</view>
  105. </view>
  106. <view class="singleQrcode">
  107. <ayQrcode ref="singleqrcode" :modal="singleModalQr" :url="singleQrContent" @hideQrcode="hideSingleQrcode" :height="180" :width="180" />
  108. </view>
  109. <view class="order-num">取票号:{{singleInfo.qrcodeNo}}</view>
  110. </view>
  111. </u-popup>
  112. <u-toast ref="uToast"></u-toast>
  113. </view>
  114. </template>
  115. <script>
  116. import { systemInfo } from "@/mixin.js";
  117. import ayQrcode from "@/components/ay-qrcode/ay-qrcode.vue"
  118. export default {
  119. mixins:[systemInfo],
  120. components:{
  121. ayQrcode
  122. },
  123. data() {
  124. return {
  125. timer: null,
  126. modal_qr: false,
  127. qrContent: {}, // 要生成的二维码值
  128. id:'',
  129. loadingPage:true,
  130. staticUrl:this.$commonConfig.staticUrl,
  131. orderDetails:{},
  132. deadline: new Date("2023-12-01").getTime(), // 设置截止时间为某个日期的时间戳
  133. countdown: '', // 用于显示倒计时时间
  134. orderInfo:{
  135. 0:[{name:'需付金额',key:'realPrice'},{name:'订单编号',key:'orderNum'},{name:'下单时间',key:'createTime'}],
  136. 1:[{name:'订单编号',key:'orderNum'},{name:'下单时间',key:'createTime'},{name:'支付方式',key:'payWay'},{name:'支付时间',key:'payTime'}],
  137. 2:[{name:'订单编号',key:'orderNum'},{name:'下单时间',key:'createTime'},{name:'支付方式',key:'payWay'},{name:'支付时间',key:'payTime'}],
  138. 3:[{name:'订单编号',key:'orderNum'},{name:'下单时间',key:'createTime'},{name:'支付方式',key:'payWay'},{name:'支付时间',key:'payTime'}],
  139. 4:[{name:'订单编号',key:'orderNum'},{name:'下单时间',key:'createTime'},{name:'支付方式',key:'payWay'},{name:'支付时间',key:'payTime'}],
  140. 5:[{name:'订单编号',key:'orderNum'},{name:'下单时间',key:'createTime'},{name:'支付方式',key:'payWay'},{name:'支付时间',key:'payTime'}],
  141. 6:[{name:'订单编号',key:'orderNum'},{name:'下单时间',key:'createTime'},{name:'支付方式',key:'payWay'},{name:'支付时间',key:'payTime'}],
  142. 7:[{name:'订单编号',key:'orderNum'},{name:'下单时间',key:'createTime'},{name:'支付方式',key:'payWay'},{name:'支付时间',key:'payTime'}],
  143. },
  144. tipsArr:[
  145. '1.请提前到达影院现场,找到自助取票机,打印纸质电影票,完成取票',
  146. '2.如现场自助取票机无法打印电影票,请联系影院工作人员处理',
  147. '3.凭打印好的纸质电影票、检票入场观影',
  148. '4.如果订单使用了兑换券,或购买了特殊场次,暂不支持退票和改签'
  149. ],
  150. params:{
  151. },
  152. singleInfo:{},//观影人信息
  153. showSingleQR:false,//显示单人二维码
  154. singleModalQr:false,
  155. singleQrContent:{},
  156. formerNotice:'',
  157. }
  158. },
  159. onShow() {
  160. this.getOrderDetails(this.id);
  161. },
  162. onLoad(page) {
  163. console.log('page',page);
  164. this.id = page.id;
  165. this.getSystemInfo();
  166. },
  167. onUnload() {
  168. // 页面离开时停止计时器
  169. // clearInterval(this.timer)
  170. },
  171. mounted() {
  172. // 每秒更新倒计时时间
  173. setInterval(() => {
  174. const now = new Date().getTime();
  175. const distance = this.deadline - now;
  176. // 计算倒计时时间,可以根据需求自定义显示方式
  177. const days = Math.floor(distance / (1000 * 60 * 60 * 24));
  178. const hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
  179. const minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
  180. const seconds = Math.floor((distance % (1000 * 60)) / 1000);
  181. // 更新倒计时时间
  182. this.countdown = `${days}天 ${hours}小时 ${minutes}分钟 ${seconds}秒`;
  183. }, 1000);
  184. },
  185. methods: {
  186. leftClick(e){
  187. let pages = getCurrentPages();
  188. if(pages.length==1){
  189. uni.$u.route('/pages/index/index')
  190. }else{
  191. uni.navigateBack()
  192. };
  193. },
  194. // 展示二维码
  195. showQrcode() {
  196. let _this = this;
  197. this.modal_qr = true;
  198. // uni.showLoading()
  199. setTimeout(function() {
  200. // uni.hideLoading()
  201. _this.$refs.qrcode.crtQrCode()
  202. }, 50)
  203. },
  204. //传入组件的方法
  205. hideQrcode() {
  206. this.modal_qr = false;
  207. },
  208. refreshCode(){
  209. this.qrContent = {};
  210. this.qrContent.qrcode = this.orderDetails.parentQrcodeNo;
  211. this.qrContent.time = Date.now();
  212. this.qrContent = JSON.stringify(this.qrContent);
  213. this.showQrcode()
  214. },
  215. hideSingleQrcode(){
  216. this.singleModalQr = false;
  217. },
  218. getOrderDetails(id){
  219. this.$u.api.orderDetails({id:id}).then(res=>{
  220. this.loadingPage = false;
  221. this.orderDetails = res.data
  222. this.deadline = new Date(`${res.data.performDate} ${res.data.performTimeStart}`).getTime();
  223. if(res.data.status==3){
  224. this.qrContent.qrcode = res.data.parentQrcodeNo;
  225. this.qrContent.time = Date.now();
  226. this.qrContent = JSON.stringify(this.qrContent);
  227. let that = this;
  228. that.showQrcode();//一加载生成二维码
  229. // this.refreshCode()
  230. }
  231. this.getPerformerNotice();
  232. // console.log('this.deadline',this.deadline);
  233. // console.log('orderDetails',JSON.parse(JSON.stringify(res.data)));
  234. }).catch(err=>{
  235. console.log('getOrderDetails',err);
  236. })
  237. },
  238. singleQR(item,index){
  239. let that = this;
  240. console.log('singleQR',item);
  241. this.showSingleQR = true;
  242. this.singleInfo = item;
  243. this.singleQrContent = {};
  244. this.singleQrContent.qrcode = item.qrcodeNo;
  245. this.singleQrContent.time = Date.now();
  246. this.singleQrContent = JSON.stringify(this.singleQrContent);
  247. that.showSingleQrcode();//一加载生成二维码
  248. },
  249. // 展示二维码
  250. showSingleQrcode() {
  251. let _this = this;
  252. this.singleModalQr = true;
  253. // uni.showLoading()
  254. setTimeout(function() {
  255. // uni.hideLoading()
  256. _this.$refs.singleqrcode.crtQrCode()
  257. }, 50)
  258. },
  259. closeSingleQR(){
  260. this.showSingleQR = false;
  261. },
  262. openSingleQR(){
  263. },
  264. clickEven(fun,item){
  265. // console.log('fun',fun);
  266. let funObj = {
  267. pay: this.pay,
  268. logistics:this.logistics,
  269. evaluate:this.evaluate,
  270. refund:this.refund,
  271. cancelOrder:this.cancelOrder,
  272. viewRefund:this.viewRefund,
  273. confirmReceipt:this.confirmReceipt
  274. };
  275. // console.log('funObj[fun]',funObj[fun]);
  276. if (fun in funObj) {
  277. funObj[fun](item);
  278. }
  279. },
  280. pay(item){
  281. this.gotoPay(this.orderDetails.id);
  282. // console.log('pay',item);
  283. // uni.$u.route('/center/pay', {
  284. // orderId: item.id,
  285. // // openid: that.vuex_wechatOpenid,
  286. // payAmount:item.orderPrice
  287. // });
  288. },
  289. logistics(item){
  290. // console.log('logistics',item);
  291. uni.$u.route('/center/distribution', {
  292. orderId: item.id
  293. });
  294. },
  295. evaluate(item){
  296. // console.log('logistics',item);
  297. uni.$u.route('/shopping/evaluate', {
  298. id: item.id
  299. });
  300. },
  301. refund(item){
  302. console.log('this.orderDetails',this.orderDetails);
  303. uni.$u.route('/center/refund', {
  304. id: this.orderDetails.id,
  305. realPrice:this.orderDetails.realPrice
  306. });
  307. },
  308. cancelOrder(item){
  309. let that = this;
  310. uni.showModal({
  311. title: '提示',
  312. content: '确认取消吗!',
  313. success: res => {
  314. if (res.confirm) {
  315. this.$u.api.cancelOrder({orderId:that.orderDetails.id}).then(res=>{
  316. this.$refs.uToast.show({
  317. message:res.msg,
  318. complete() {
  319. that.getOrderDetails(that.orderDetails.id);
  320. }
  321. });
  322. // uni.$u.toast(res.msg);
  323. console.log('res',res.data);
  324. }).catch(err=>{
  325. console.log('cancelOrder',err);
  326. })
  327. }
  328. }
  329. });
  330. // console.log('logistics',item);
  331. },
  332. confirmReceipt(item){
  333. let that = this;
  334. uni.showModal({
  335. title: '提示',
  336. content: '确认收货吗!',
  337. success: res => {
  338. if (res.confirm) {
  339. this.$u.api.confirmReceipt({orderId:item.id}).then(res=>{
  340. uni.showToast({
  341. title:res.msg,
  342. duration:2000,
  343. complete() {
  344. that.evaluate(item)
  345. that.getOrderDetails(that.id);
  346. }
  347. });
  348. console.log('res',res.data);
  349. }).catch(err=>{
  350. console.log('confirmReceipt',err);
  351. })
  352. }
  353. }
  354. })
  355. },
  356. goMap(){
  357. uni.openLocation({
  358. latitude: Number(this.pickupInfo.pickupLatitude), //维度
  359. longitude: Number(this.pickupInfo.pickupLongitude), //经度
  360. name: "商行地址", //目的地定位名称
  361. scale: 15, //缩放比例
  362. address: this.pickupInfo.pickupAddress //导航详细地址
  363. })
  364. },
  365. copyOrderNum(orderNum){
  366. // console.log('copyOrderNum',orderNum);
  367. uni.setClipboardData({
  368. data: orderNum,
  369. success: function () {
  370. uni.showToast({
  371. title: '复制成功'
  372. });
  373. },
  374. fail(e) {
  375. // console.log('copyOrderNumfail',e);
  376. uni.showToast({
  377. title: '复制失败',
  378. icon:"error"
  379. });
  380. }
  381. });
  382. },
  383. gotoPay(orderId){
  384. this.$u.api.gotoPay({orderId:orderId,openid:''}).then(res=>{
  385. this.payResult = res.data.payInfo;
  386. this.payResult.package = res.data.payInfo.packageValue;
  387. this.wxPay()
  388. // if(this.params.paymentMode==1||this.params.paymentMode==4){
  389. // this.wxPay()
  390. // }else{
  391. // uni.$u.route('/shopping/paysuccess');
  392. // }
  393. console.log('gotoPayres',res.data);
  394. }).catch(err=>{
  395. this.paypass = '';
  396. this.checkPassShow = false;
  397. console.log('gotoPay',err);
  398. })
  399. },
  400. wxPay(){
  401. let that = this;
  402. uni.requestPayment({
  403. ... this.payResult,
  404. "provider": "wxpay",
  405. "orderInfo": {
  406. // "appid": "wx499********7c70e", // 微信开放平台 - 应用 - AppId,注意和微信小程序、公众号 AppId 可能不一致
  407. // "noncestr": "c5sEwbaNPiXAF3iv", // 随机字符串
  408. // "package": "Sign=WXPay", // 固定值
  409. // "partnerid": "148*****52", // 微信支付商户号
  410. // "prepayid": "wx202254********************fbe90000", // 统一下单订单号
  411. // "timestamp": 1597935292, // 时间戳(单位:秒)
  412. // "sign": "A842B45937F6EFF60DEC7A2EAA52D5A0" // 签名,这里用的 MD5/RSA 签名
  413. },
  414. success(res) {
  415. that.payQuery();
  416. },
  417. fail(e) {
  418. console.log('wxPayfail',e);
  419. }
  420. })
  421. },
  422. payQuery(){
  423. let that = this;
  424. let retryCount = 0;
  425. let maxRetryCount = 5; // 设置最大重试次数
  426. let interval = 2000; // 设置间隔时间为2秒
  427. let timeout = 10000; // 设置超时时间为10秒
  428. let timer;
  429. uni.showLoading({
  430. title:'支付结果查询中'
  431. })
  432. timer = setInterval(() => {
  433. retryCount++;
  434. if (retryCount > maxRetryCount || retryCount * interval > timeout) {
  435. clearInterval(timer);
  436. uni.hideLoading();
  437. console.log("支付查询超时或达到最大重试次数");
  438. // 在这里添加超时或达到最大重试次数的处理逻辑
  439. this.reloadList()
  440. } else {
  441. console.log("第" + retryCount + "次查询");
  442. // 调用查询支付状态的方法
  443. // 如果支付状态为成功,则清除定时器并处理成功的逻辑
  444. // 如果支付状态为失败,则清除定时器并处理失败的逻辑
  445. this.$u.api.payQuery({orderId:this.orderId}).then(res=>{
  446. // 0-未支付 1-已支付 2-支付中 3-支付失败 4-支付退款
  447. let payStatus = res.data.payStatus;
  448. if(payStatus===1){
  449. uni.$u.route('/center/paysuccess');
  450. }else if(payStatus===0||payStatus===2){
  451. this.payQuery()
  452. }else if(payStatus===3){
  453. uni.toast('支付失败')
  454. }
  455. clearInterval(timer);
  456. }).catch(err=>{
  457. console.log('payQuery',err);
  458. }).finally(()=>{
  459. uni.hideLoading()
  460. })
  461. }
  462. }, interval);
  463. },
  464. getPerformerNotice(){
  465. this.$u.api.performerNotice({performId:this.orderDetails.performId}).then(res=>{
  466. // console.log('getPerformerNotice',res.data);
  467. this.formerNotice = res.data.performNotice;
  468. }).catch(err=>{
  469. console.log('getPerformerNotice',err);
  470. })
  471. },
  472. }
  473. }
  474. </script>
  475. <style>
  476. page{
  477. background: linear-gradient(180deg, #ED0000 0%, #F9FBFD 50%,#F9FBFD 100%);
  478. background-repeat: no-repeat;
  479. }
  480. </style>
  481. <style lang="scss" scoped>
  482. .status-content{
  483. text-align: center;
  484. padding-top: 30rpx;
  485. margin-bottom: 52rpx;
  486. .text{
  487. font-size: 32rpx;
  488. font-weight: 400;
  489. color: #FFFFFF;
  490. margin-bottom: 52rpx;
  491. }
  492. .btn-wrap{
  493. margin-bottom: 40rpx;
  494. .btn{
  495. height: 64rpx;
  496. line-height: 64rpx;
  497. padding: 0 28rpx;
  498. border-radius: 8rpx;
  499. border: 2rpx solid #FFFFFF;
  500. font-size: 24rpx;
  501. font-weight: 500;
  502. color: #FFFFFF;
  503. &.cancel{
  504. border-color: #F9B4B4;
  505. color: #F9B4B4;
  506. }
  507. &:not(:last-of-type){
  508. margin-right: 100rpx;
  509. }
  510. }
  511. }
  512. }
  513. .base-info{
  514. background: #FFFFFF;
  515. box-shadow: 0rpx 2rpx 12rpx 0rpx rgba(221,221,221,0.5);
  516. border-radius: 20rpx;
  517. overflow: hidden;
  518. margin-bottom: 24rpx;
  519. .top{
  520. padding: 36rpx 24rpx;
  521. background: #F9FAFD;
  522. font-size: 24rpx;
  523. font-weight: 400;
  524. color: #7F7F7F;
  525. }
  526. .info{
  527. padding: 28rpx 20rpx 30rpx 24rpx;
  528. .img{
  529. width: 180rpx;
  530. height: 160rpx;
  531. }
  532. .text{
  533. font-size: 24rpx;
  534. font-weight: 400;
  535. color: #7F7F7F;
  536. padding-left: 26rpx;
  537. flex: 1;
  538. .name{
  539. font-size: 28rpx;
  540. font-weight: bold;
  541. color: #363636;
  542. margin-bottom: 20rpx;
  543. }
  544. .time{
  545. margin-bottom: 20rpx;
  546. }
  547. .position{
  548. margin-bottom: 20rpx;
  549. }
  550. .status{
  551. font-size: 24rpx;
  552. font-weight: 400;
  553. color: #EE0606;
  554. }
  555. }
  556. }
  557. }
  558. .box{
  559. margin-bottom: 24rpx;
  560. background: #FFFFFF;
  561. box-shadow: 0rpx 0rpx 20rpx 2rpx rgba(221,221,221,0.5);
  562. border-radius: 20rpx;
  563. padding: 36rpx 24rpx;
  564. .title{
  565. font-size: 28rpx;
  566. font-weight: bold;
  567. color: #2D2D2D;
  568. padding-bottom: 20rpx;
  569. margin-bottom: 24rpx;
  570. border-bottom: 1px solid #F4F4F4;
  571. .btn{
  572. height: 40rpx;
  573. line-height: 40rpx;
  574. padding: 0 20rpx;
  575. border-radius: 8rpx;
  576. border: 2rpx solid #606060;
  577. font-size: 24rpx;
  578. font-weight: 400;
  579. color: #606060;
  580. cursor: pointer;
  581. }
  582. }
  583. }
  584. .order-info{
  585. .order-info-item{
  586. font-size: 30rpx;
  587. font-weight: 400;
  588. color: #333333;
  589. padding: 10rpx 0;
  590. // &:not(:last-child){
  591. // border-bottom: 0.5px solid #eee;
  592. // }
  593. .til{
  594. font-size: 24rpx;
  595. font-weight: 400;
  596. color: #999999;
  597. margin-right: 40rpx;
  598. }
  599. .copy-btn{
  600. margin-left: 32rpx;
  601. height: 30rpx;
  602. line-height: 30rpx;
  603. padding: 0 14rpx;
  604. border-radius: 8rpx;
  605. font-size: 20rpx;
  606. font-weight: 400;
  607. color: #999999;
  608. background: #EDEDED;
  609. }
  610. }
  611. }
  612. .tips{
  613. .tips-item{
  614. font-size: 24rpx;
  615. font-weight: 400;
  616. color: #7F7F7F;
  617. line-height: 36rpx;
  618. margin-bottom: 20rpx;
  619. }
  620. }
  621. .qr-wrap{
  622. .qr-content{
  623. text-align: center;
  624. font-size: 24rpx;
  625. font-weight: 400;
  626. color: #7F7F7F;
  627. }
  628. .img-wrap{
  629. position: relative;
  630. }
  631. .ayQrcode,.img{
  632. width: 180px;
  633. height: 180px;
  634. display: block;
  635. margin: 0 auto 20rpx;
  636. }
  637. .refund-ico{
  638. width: 200rpx;
  639. height: 152rpx;
  640. position: absolute;
  641. bottom: -10rpx;
  642. right: 60rpx;
  643. }
  644. }
  645. .order-num{
  646. position: relative;
  647. margin: 30rpx auto 0;
  648. font-size: 24rpx;
  649. font-weight: 400;
  650. color: #363636;
  651. border: 1px solid #363636;
  652. padding: 5rpx 20rpx;
  653. border-radius: 8rpx;
  654. width: fit-content;
  655. &.del-line{
  656. color: #BCBCBC;
  657. border: 1px solid #BCBCBC;
  658. }
  659. &.del-line::after{
  660. content: '';
  661. width: 110%;
  662. height: 1px;
  663. background-color: #BCBCBC;
  664. position: absolute;
  665. top: 50%;
  666. left: -5%;
  667. }
  668. }
  669. .viewers-list{
  670. .item{
  671. font-size: 24rpx;
  672. color: #999;
  673. margin-bottom: 10px;
  674. .qrbtn{
  675. color: #EE0606;
  676. }
  677. }
  678. }
  679. .singleQR-wrap{
  680. padding: 0 24rpx 50rpx;
  681. box-sizing: border-box;
  682. min-width: 80vw;
  683. .title{
  684. text-align: center;
  685. height: 94rpx;
  686. line-height: 94rpx;
  687. font-size: 28rpx;
  688. font-weight: bold;
  689. color: #2D2D2D;
  690. border-bottom: 2rpx solid #F4F4F4;
  691. margin-bottom: 24rpx;
  692. }
  693. .single-info{
  694. margin-bottom: 24rpx;
  695. .item{
  696. font-size: 24rpx;
  697. font-weight: 400;
  698. color: #363636;
  699. margin-bottom: 10rpx;
  700. }
  701. }
  702. .singleQrcode{
  703. width: 160px;
  704. height: 160px;
  705. margin: 24rpx auto 54rpx;
  706. }
  707. }
  708. </style>