orderDetail.vue 20 KB

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