orderDetail.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845
  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" v-if="info.payAmount != 0">
  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' && info.payAmount != 0
  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() && info.payAmount != 0
  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 == "HAVE_PAID") {
  260. return "已付款";
  261. } else if (val == "WAIT_USE") {
  262. return "待使用";
  263. }
  264. },
  265. filterPay(val) {
  266. if (val == "wx.unifiedOrder") {
  267. return "微信支付";
  268. } else if (val == "trade.create") {
  269. return "支付宝支付";
  270. } else if (val == "uac.miniOrder") {
  271. return "云闪付支付";
  272. } else if (val == "wx.miniPreOrder") {
  273. return "银联支付"
  274. } else {
  275. return "-";
  276. }
  277. },
  278. isRefund() {
  279. if (!this.info.goodsList[0].verifyModel) {
  280. //没核销
  281. return true;
  282. } else if (
  283. this.info.goodsList[0].verifyModel &&
  284. new Date().getTime() <
  285. this.info.goodsList[0].verifyModel.checkTime + 1000 * 60 * 60 * 48
  286. ) {
  287. // 已核销 并且没超过48小时
  288. return true;
  289. } else {
  290. return false;
  291. }
  292. },
  293. finish() {
  294. this.isNotTime = true;
  295. console.log(222222, this.isNotTime);
  296. this.payDetails(this.info.orderNo);
  297. },
  298. refundDetail() {
  299. uni.navigateTo({
  300. url: `/my/order/refundDetail?id=${this.info.orderNo}`,
  301. });
  302. },
  303. checkCode() {
  304. this.codeData = "";
  305. this.$nextTick(() => {
  306. this.show = true;
  307. this.loading = true;
  308. // let that = this;
  309. // uni.getScreenBrightness({
  310. // success(res) {
  311. // // 获取用户手机亮度 保存起来
  312. // that.oldBright = res.value
  313. // setTimeout(()=>{
  314. // uni.setScreenBrightness({
  315. // value:1
  316. // })
  317. // },200)
  318. // }
  319. // })
  320. qrCode(this.info.goodsList[0].id).then((res) => {
  321. this.loading = false;
  322. if (res.state == "Success") {
  323. this.codeData = res.content;
  324. }
  325. });
  326. });
  327. },
  328. close() {
  329. this.show = false;
  330. // uni.setScreenBrightness({
  331. // value:this.oldBright
  332. // })
  333. },
  334. apply() {
  335. let that = this;
  336. uni.navigateTo({
  337. url: "./refund",
  338. success: function (res) {
  339. // 通过eventChannel向被打开页面传送数据
  340. res.eventChannel.emit("orderInfo", that.info);
  341. },
  342. });
  343. },
  344. // 获取订单详情
  345. payDetails(orderNo) {
  346. payDetails(orderNo).then((res) => {
  347. this.info = res.content;
  348. this.$forceUpdate()
  349. if(this.info.payAmount > 0){
  350. queryPayOrder(this.info.orderNo)
  351. }
  352. this.info.extend = JSON.parse(this.info.goodsList[0].extend);
  353. // 查询报名的人数信息
  354. // getOrderDetail()
  355. getActivityOrdersByOrderNo({
  356. orderNo: orderNo,
  357. }).then(({ content }) => {
  358. const { list, dataCollectVo } = content;
  359. try {
  360. this.signupDetail = list.map(e => e.signupDetail);
  361. // 报名信息
  362. this.signupDetailList = this.signupDetail.map(e => {
  363. const list = JSON.parse(e);
  364. console.log('list', list);
  365. return list.map(e => {
  366. // 判断是否为附件
  367. let type = e.hasOwnProperty('uploadType') && !!e.uploadType ? true : false;
  368. return {
  369. name: e.dataName,
  370. value: e.content,
  371. isImg: type
  372. }
  373. })
  374. })
  375. console.log('报名信息', this.signupDetail);
  376. // 表单模板数据
  377. this.dataCollectVo = dataCollectVo.data;
  378. this.$forceUpdate()
  379. } catch (error) {
  380. uni.showToast({
  381. title: "获取报名信息失败。",
  382. icon: "error",
  383. });
  384. }
  385. })
  386. // 如果跳转过支付页面则定时获取订单更新的信息
  387. if (this.isJumped) {
  388. this.isJumped = false;
  389. const that = this;
  390. let checkTime = 0;
  391. uni.showLoading({
  392. title: "支付中",
  393. });
  394. let checkOrder = setInterval(() => {
  395. queryPayOrder(that.info.orderNo)
  396. .then((res1) => {
  397. // 支付成功
  398. if (res1.content.status == "TRADE_SUCCESS") {
  399. that.payDetails(that.info.orderNo);
  400. uni.showToast({
  401. title: "支付成功!",
  402. icon: "none",
  403. });
  404. clearInterval(checkOrder)
  405. uni.hideLoading();
  406. that.btnLoading = false;
  407. } else {
  408. checkTime++;
  409. }
  410. if (checkTime > 5) {
  411. clearInterval(checkOrder)
  412. that.btnLoading = false;
  413. uni.showToast({
  414. title: "订单查询失败",
  415. icon: "none",
  416. });
  417. uni.hideLoading();
  418. }
  419. }).catch(() => {
  420. if(checkOrder){
  421. clearInterval(checkOrder)
  422. checkOrder = null
  423. }
  424. that.btnLoading = false;
  425. uni.showToast({
  426. title: "订单查询失败",
  427. icon: "none",
  428. });
  429. uni.hideLoading();
  430. });
  431. }, 1000);
  432. }
  433. });
  434. },
  435. toMap() {
  436. uni.openLocation({
  437. latitude: 26.4401,
  438. longitude: 106.664,
  439. name: "印象贵大文创店",
  440. address: "贵州大学西校区西一区体育场楼下",
  441. });
  442. },
  443. // 支付
  444. pay() {
  445. if (this.btnLoading) return;
  446. this.btnLoading = true;
  447. uni.showLoading({
  448. title: "支付中",
  449. });
  450. let that = this;
  451. let miniPayRequest = this.info.payment.miniPayRequest;
  452. miniPayRequest = JSON.parse(miniPayRequest);
  453. let query = encodeURIComponent(JSON.stringify({
  454. sign: miniPayRequest.sign,
  455. prepayid: miniPayRequest.prepayid,
  456. }))
  457. // 打开银联小程序
  458. uni.navigateToMiniProgram({
  459. appId: miniPayRequest.miniuser,
  460. path: `${miniPayRequest.minipath}?appPayRequest=${query}`,
  461. success: (res) => {
  462. // 打开成功
  463. this.isJumped = true;
  464. },
  465. fail: (err) => {
  466. // console.log(err);
  467. uni.hideLoading();
  468. uni.showToast({
  469. title: "取消支付",
  470. icon: "none",
  471. });
  472. that.btnLoading = false
  473. },
  474. });
  475. },
  476. // 取消退款申请
  477. cancelReply() {
  478. if (this.btnLoading) return;
  479. this.btnLoading = true;
  480. uni.showLoading({
  481. title: "取消中",
  482. });
  483. unRefund({ id: this.info.goodsList[0].id }).then((res) => {
  484. this.btnLoading = false;
  485. uni.hideLoading();
  486. if (res.state == "Success") {
  487. this.payDetails(this.info.orderNo);
  488. uni.showToast({
  489. title: "取消成功",
  490. icon: "success",
  491. });
  492. }
  493. });
  494. },
  495. },
  496. onReady() { },
  497. onLoad(options) {
  498. this.info.orderNo = options.id;
  499. },
  500. onShow() {
  501. this.payDetails(this.info.orderNo);
  502. },
  503. created() {
  504. // this.info = JSON.parse(uni.getStorageSync('order'))
  505. },
  506. };
  507. </script>
  508. <style lang="scss">
  509. .order-detail {
  510. background: #f9f9f9;
  511. min-height: 100vh;
  512. // padding-bottom: 100rpx;
  513. .status-box {
  514. padding: 24rpx 24rpx 4rpx;
  515. display: flex;
  516. justify-content: space-between;
  517. .text-box {
  518. color: #181818;
  519. .status {
  520. font-weight: bold;
  521. font-size: 32rpx;
  522. display: flex;
  523. .u-count-down__text {
  524. color: #ff4d3a !important;
  525. }
  526. }
  527. .notice {
  528. font-size: 24rpx;
  529. margin-top: 20rpx;
  530. }
  531. }
  532. }
  533. .progress {
  534. .progress-title {
  535. font-weight: 600;
  536. font-size: 32rpx;
  537. color: #181818;
  538. }
  539. .progress-desc {
  540. font-weight: 300;
  541. font-size: 24rpx;
  542. color: #aaaaaa;
  543. margin-top: 15rpx;
  544. }
  545. }
  546. .shop-box {
  547. width: 690rpx;
  548. // margin: 0 30rpx;
  549. // padding: 24rpx 24rpx 30rpx;
  550. background: #fff;
  551. border-radius: 16rpx;
  552. margin-top: -30rpx;
  553. box-sizing: border-box;
  554. .shop-name {
  555. font-weight: 600;
  556. font-size: 32rpx;
  557. color: #181818;
  558. width: 100%;
  559. white-space: nowrap;
  560. overflow: hidden;
  561. text-overflow: ellipsis;
  562. }
  563. .address {
  564. font-weight: 300;
  565. font-size: 24rpx;
  566. color: #aaaaaa;
  567. margin-top: 20rpx;
  568. width: 100%;
  569. white-space: nowrap;
  570. overflow: hidden;
  571. text-overflow: ellipsis;
  572. }
  573. }
  574. .black {
  575. color: #222222 !important;
  576. }
  577. .red {
  578. color: red !important;
  579. }
  580. .fs28 {
  581. font-size: 28rpx !important;
  582. font-weight: bold;
  583. }
  584. .code-box {
  585. display: flex;
  586. align-items: center;
  587. justify-content: space-between;
  588. .left {
  589. .title {
  590. font-weight: 500;
  591. font-size: 28rpx;
  592. color: #222222;
  593. }
  594. .codeNum {
  595. font-weight: 300;
  596. font-size: 24rpx;
  597. color: #aaaaaa;
  598. margin-top: 15rpx;
  599. }
  600. }
  601. .code-btn {
  602. display: flex;
  603. align-items: center;
  604. font-weight: 300;
  605. font-size: 24rpx;
  606. color: #aaaaaa;
  607. .jiantou {
  608. width: 24rpx;
  609. height: 24rpx;
  610. }
  611. }
  612. }
  613. .input-box {
  614. margin: 20rpx 30rpx;
  615. padding: 28rpx 24rpx;
  616. background: #ffffff;
  617. border-radius: 16rpx 16rpx 16rpx 16rpx;
  618. display: flex;
  619. align-items: center;
  620. justify-content: space-between;
  621. .label {
  622. color: #222;
  623. font-size: 28rpx;
  624. }
  625. .value {
  626. font-size: 28rpx;
  627. color: #aaaaaa;
  628. }
  629. }
  630. .input-box-address {
  631. margin: 20rpx 30rpx;
  632. padding: 28rpx 24rpx;
  633. background: #ffffff;
  634. border-radius: 16rpx 16rpx 16rpx 16rpx;
  635. // display: flex;
  636. // align-items: center;
  637. // justify-content: space-between;
  638. .value {
  639. color: #222;
  640. font-size: 28rpx;
  641. }
  642. .label {
  643. font-size: 28rpx;
  644. margin: 10rpx 0;
  645. color: #aaaaaa;
  646. }
  647. }
  648. .content {
  649. margin: 20rpx 30rpx;
  650. padding: 28rpx 24rpx;
  651. border-radius: 16rpx;
  652. background: #fff;
  653. .title {
  654. font-weight: 600;
  655. font-size: 28rpx;
  656. color: #222222;
  657. }
  658. .item {
  659. display: flex;
  660. align-items: center;
  661. justify-content: space-between;
  662. margin-top: 28rpx;
  663. .label {
  664. color: #222222;
  665. font-size: 28rpx;
  666. }
  667. .value {
  668. color: #999999;
  669. font-size: 28rpx;
  670. }
  671. }
  672. }
  673. .pay-btn {
  674. position: fixed;
  675. bottom: 30px;
  676. left: 4%;
  677. background: $uni-color-primary;
  678. width: 688rpx;
  679. height: 80rpx;
  680. line-height: 80rpx;
  681. border-radius: 46rpx;
  682. color: #fff;
  683. margin-top: 50rpx;
  684. }
  685. .refund-box {
  686. .refund-msg {
  687. font-weight: 300;
  688. font-size: 24rpx;
  689. color: #222222;
  690. margin-top: 15rpx;
  691. line-height: 40rpx;
  692. }
  693. }
  694. .apply-box {
  695. position: relative;
  696. .label {
  697. font-weight: 600;
  698. font-size: 28rpx;
  699. color: #222222;
  700. }
  701. .value {
  702. color: #999999;
  703. font-size: 24rpx;
  704. margin-top: 15rpx;
  705. }
  706. .jiantou {
  707. position: absolute;
  708. top: 50%;
  709. right: 24rpx;
  710. transform: translateY(-50%);
  711. width: 24rpx;
  712. height: 24rpx;
  713. }
  714. }
  715. .info {
  716. .order-info {
  717. display: flex;
  718. .icon {
  719. width: 164rpx;
  720. height: 164rpx;
  721. border-radius: 16rpx;
  722. flex-shrink: 0;
  723. }
  724. .shop-info {
  725. display: flex;
  726. flex-direction: column;
  727. justify-content: space-between;
  728. padding-left: 24rpx;
  729. flex: 1;
  730. box-sizing: border-box;
  731. .title {
  732. color: #181818;
  733. font-size: 28rpx;
  734. width: 450rpx;
  735. white-space: nowrap;
  736. overflow: hidden;
  737. text-overflow: ellipsis;
  738. }
  739. .price-box {
  740. display: flex;
  741. align-items: center;
  742. justify-content: space-between;
  743. .price {
  744. color: #181818;
  745. font-size: 32rpx;
  746. font-weight: bold;
  747. }
  748. }
  749. .start-time,
  750. .goods-desc {
  751. font-size: 24rpx;
  752. color: #aaaaaa;
  753. width: 560rpx;
  754. white-space: nowrap;
  755. overflow: hidden;
  756. text-overflow: ellipsis;
  757. }
  758. }
  759. }
  760. }
  761. .wrap {
  762. display: flex;
  763. justify-content: center;
  764. align-items: center;
  765. height: 100vh;
  766. overflow: hidden;
  767. }
  768. }
  769. </style>