orderdetails.vue 22 KB

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