detailsewm.vue 23 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234
  1. <template>
  2. <view class="page">
  3. <c-nav-bar1 title="订单详情" bgColor="transparent"></c-nav-bar1>
  4. <view class="bg"></view>
  5. <view class="content" :style="{'height':(h-mt)+'px','top':(mt+20)+'px'}">
  6. <view class="head">
  7. <text class="status disabled" v-if="getalllist.orderStatus=='0'">待支付</text>
  8. <text class="status disabled" v-if="getalllist.orderStatus=='-1'">已取消</text>
  9. <text class="status s2" v-if="getalllist.orderStatus=='4'">待使用</text>
  10. <text class="status s3" v-if="getalllist.orderStatus=='-3'">已退款</text>
  11. <text class="status s3" v-if="getalllist.orderStatus=='3'">已使用</text>
  12. </view>
  13. <view class="ticketInfonmb">
  14. <view class="taocan">
  15. <view class="taocan1" v-if="getalllist.productImg">
  16. <u--image :src="getalllist.productImg.split(',')[0]" width="168rpx" height="168rpx"></u--image>
  17. </view>
  18. <view class="taocan2">
  19. <view class="taoxxq1">
  20. {{getalllist.productName}}
  21. </view>
  22. <view class="taoxxq2">
  23. 周一至周日 · 需提前预约
  24. </view>
  25. <view class="taoxxq3">
  26. <view class="jiage1">
  27. <span>¥</span> {{getalllist.realityPay}}
  28. </view>
  29. </view>
  30. </view>
  31. </view>
  32. </view>
  33. <!-- 订单信息 -->
  34. <view class="basicInfo">
  35. <view class="chaoji">
  36. 套餐明细
  37. </view>
  38. <view class="taocanmx">
  39. <view class="taocanlistmx" v-for="(item,index) in JSON.parse(getalllist.productsDetail)"
  40. :key="index">
  41. <view class="taocanlistmx1">
  42. *{{item.name}}
  43. </view>
  44. <view class="taocanlistmx2">
  45. ({{item.number}}份)
  46. </view>
  47. <view class="taocanlistmx3">
  48. ¥{{item.price}}
  49. </view>
  50. </view>
  51. </view>
  52. </view>
  53. <view class="basicInfo" style="margin-bottom: 50rpx;">
  54. <view class="chaoji" style="margin: 0 0 40rpx 0;">
  55. 订单信息
  56. </view>
  57. <view class="dingdanxinxi">
  58. <view class="dingdanxinxi1">
  59. <view class="dingdanxinxi2">
  60. 订单编号
  61. </view>
  62. <view class="dingdanxinxi3">
  63. {{getalllist.orderCode}}
  64. </view>
  65. </view>
  66. <view class="dingdanxinxi1">
  67. <view class="dingdanxinxi2">
  68. 付款时间
  69. </view>
  70. <view class="dingdanxinxi3">
  71. {{getalllist.paymentTime}}
  72. </view>
  73. </view>
  74. <view class="dingdanxinxi1" v-if="getalllist.orderStatus==3">
  75. <view class="dingdanxinxi2">
  76. 核销时间
  77. </view>
  78. <view class="dingdanxinxi3">
  79. {{getalllist.writeOffTime}}
  80. </view>
  81. </view>
  82. <view class="dingdanxinxi1">
  83. <view class="dingdanxinxi2">
  84. 订单总价
  85. </view>
  86. <view class="dingdanxinxi3">
  87. ¥{{getalllist.realityPay}}
  88. </view>
  89. </view>
  90. <view class="dingdanxinxi1">
  91. <view class="dingdanxinxi2">
  92. 实际付款
  93. </view>
  94. <view class="dingdanxinxi3">
  95. ¥{{getalllist.realityPay}}
  96. </view>
  97. </view>
  98. <view class="dingdanxinxi1">
  99. <view class="dingdanxinxi2">
  100. 联系方式
  101. </view>
  102. <view class="dingdanxinxi3">
  103. {{getalllist.guestPhone}}
  104. </view>
  105. </view>
  106. </view>
  107. </view>
  108. </view>
  109. <view class="btns" v-if="getalllist.orderStatus==4">
  110. <view class="hexiao" @click="hexiaonima">确认核销 </view>
  111. </view>
  112. <u-toast ref="uToast"></u-toast>
  113. <!-- 取消弹框 -->
  114. <u-modal :show="showAgree" :title="title" :content='content' showCancelButton="true" confirmText='确定'
  115. confirmColor='#007A69' @confirm="confirm" @cancel='cancel'></u-modal>
  116. </view>
  117. </template>
  118. <script>
  119. export default {
  120. data() {
  121. return {
  122. titles: '订单详情',
  123. h: uni.getSystemInfoSync().windowHeight,
  124. mt: uni.getSystemInfoSync().statusBarHeight + 44,
  125. value: 1,
  126. status: 1,
  127. id: '',
  128. getalllist: {},
  129. bedData: {},
  130. arriveTime: '',
  131. arriveTimes: '',
  132. leaveTime: '',
  133. leaveTimes: '',
  134. count: '',
  135. orderId: '',
  136. price: '',
  137. form: {
  138. initiator: 2,
  139. orderCode: '',
  140. status: ''
  141. },
  142. num: 0,
  143. title: '温馨提示',
  144. content: '您确定要取消吗?确定取消将不可撤回,再次预订可能因为没有房间,影响后续行程!',
  145. showAgree: false,
  146. checkInTimeStart: '',
  147. checkOutTime: '',
  148. FormData: {
  149. arriveDate: "", // 到达时间(yyyy-MM-dd)
  150. leaveDate: "", //离开时间(yyyy-MM-dd)
  151. limit: 10, //每页显示记录数
  152. page: 1, //当前页码
  153. name: "",
  154. islandId: '', //岛屿id
  155. priceSort: '', //价格排序: 1有高高低, 0由低到高
  156. featureLabels: '', // 特色服务(逗号分割):字典FeatureLabels
  157. category: '', // 酒店类别(逗号分割): 字典HotelCategory
  158. },
  159. departWeek: '',
  160. departWeeks: '',
  161. weeks: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
  162. checkInRooms: 0,
  163. hexiaodata: {},
  164. }
  165. },
  166. onLoad(option) {
  167. this.hexiaodata = JSON.parse(option.list);
  168. let postdata = {
  169. merchantCategory: 4,
  170. orderCode: JSON.parse(option.list).orderCode,
  171. };
  172. this.$api.get('/api/merchant/food/queryOrderDetail', postdata).then(res => {
  173. if (res.data.code == 500) {
  174. uni.showToast({
  175. title: res.data.msg,
  176. icon: 'none',
  177. duration: 1500
  178. })
  179. setTimeout(() => {
  180. uni.navigateBack({
  181. delta: 1
  182. });
  183. }, 1500)
  184. } else {
  185. this.getalllist = res.data.data;
  186. }
  187. })
  188. },
  189. methods: {
  190. hexiaonima() {
  191. this.$api.post('/api/merchant/food/scenic/merchant/order/verifyOrderQrCode?writeOffCode', this.hexiaodata)
  192. .then(res => {
  193. if (res.data.code == 0) {
  194. this.$showToast('核销成功');
  195. uni.setStorageSync('list', {
  196. totalPrice: this.getalllist.realityPay
  197. });
  198. setTimeout(() => {
  199. uni.navigateTo({
  200. url: '/pagesHouse/Mine/ordersList/outcome'
  201. })
  202. }, 1500)
  203. // uni.navigateBack({
  204. // delta: 1
  205. // });
  206. } else {
  207. this.$showToast(res.data.msg)
  208. }
  209. })
  210. },
  211. }
  212. }
  213. </script>
  214. <style lang="scss" scoped>
  215. .dingdanxinxi {
  216. .dingdanxinxi1 {
  217. display: flex;
  218. .dingdanxinxi2 {
  219. width: 140rpx;
  220. height: 60rpx;
  221. font-family: PingFangSC, PingFang SC;
  222. font-weight: 400;
  223. font-size: 28rpx;
  224. color: #808080;
  225. line-height: 60rpx;
  226. text-align: justify;
  227. font-style: normal;
  228. }
  229. .dingdanxinxi3 {
  230. flex-grow: 1;
  231. height: 60rpx;
  232. font-family: PingFangSC, PingFang SC;
  233. font-weight: 400;
  234. font-size: 28rpx;
  235. color: #333333;
  236. line-height: 60rpx;
  237. text-align: justify;
  238. font-style: normal;
  239. }
  240. }
  241. }
  242. .chaoji {
  243. width: 100%;
  244. height: 40rpx;
  245. font-family: PingFang-SC, PingFang-SC;
  246. font-weight: bold;
  247. font-size: 40rpx;
  248. color: #1C1E41;
  249. line-height: 40rpx;
  250. text-align: left;
  251. font-style: normal;
  252. margin: 40rpx 0 0 0;
  253. }
  254. .goumai {
  255. position: fixed;
  256. bottom: 0rpx;
  257. left: 30rpx;
  258. background: #fff;
  259. width: 690rpx;
  260. height: 140rpx;
  261. margin: 0 auto;
  262. display: flex;
  263. align-items: center;
  264. justify-content: space-between;
  265. .goumai2 {
  266. width: 220rpx;
  267. height: 88rpx;
  268. background: #007A69;
  269. border-radius: 44px;
  270. font-family: PingFang-SC, PingFang-SC;
  271. font-weight: bold;
  272. font-size: 32rpx;
  273. color: #FFFFFF;
  274. line-height: 88rpx;
  275. text-align: center;
  276. font-style: normal;
  277. }
  278. .goumai1 {
  279. flex-grow: 1;
  280. height: 140rpx;
  281. display: flex;
  282. align-items: center;
  283. .zongji1 {
  284. height: 140rpx;
  285. font-family: PingFangSC, PingFang SC;
  286. font-weight: 400;
  287. font-size: 24rpx;
  288. color: #666666;
  289. line-height: 140rpx;
  290. text-align: left;
  291. font-style: normal;
  292. }
  293. .zongji2 {
  294. height: 140rpx;
  295. font-family: PingFangSC, PingFang SC;
  296. font-weight: 400;
  297. font-size: 24rpx;
  298. color: #FF4141;
  299. line-height: 140rpx;
  300. text-align: left;
  301. font-style: normal;
  302. }
  303. .zongji3 {
  304. height: 140rpx;
  305. font-family: DINAlternate, DINAlternate;
  306. font-weight: bold;
  307. font-size: 48rpx;
  308. color: #FF4141;
  309. line-height: 140rpx;
  310. text-align: left;
  311. font-style: normal;
  312. padding: 0 8rpx;
  313. }
  314. .zongji4 {}
  315. }
  316. }
  317. .canyu {
  318. width: 100%;
  319. height: 190rpx;
  320. display: flex;
  321. margin: 40rpx 0 40rpx 0;
  322. .canyu1 {
  323. width: 190rpx;
  324. height: 190rpx;
  325. }
  326. .canyu2 {
  327. flex-grow: 1;
  328. height: 190rpx;
  329. .papdang1 {
  330. width: 100%;
  331. height: 95rpx;
  332. display: flex;
  333. .haixian2 {
  334. width: 56rpx;
  335. height: 95rpx;
  336. display: flex;
  337. justify-content: center;
  338. align-items: center;
  339. }
  340. .haixian1 {
  341. flex-grow: 1;
  342. height: 95rpx;
  343. .xhpd1 {
  344. width: 100%;
  345. height: 47.5rpx;
  346. font-family: PingFang-SC, PingFang-SC;
  347. font-weight: bold;
  348. font-size: 32rpx;
  349. color: #111111;
  350. line-height: 47.5rpx;
  351. text-align: left;
  352. font-style: normal;
  353. padding-left: 20rpx;
  354. }
  355. .xhpd2 {
  356. width: 100%;
  357. height: 47.5rpx;
  358. display: flex;
  359. align-items: center;
  360. padding-left: 20rpx;
  361. .xhpd2new {
  362. height: 47.5rpx;
  363. font-family: PingFangSC, PingFang SC;
  364. font-weight: 400;
  365. font-size: 24rpx;
  366. color: #777777;
  367. line-height: 47.5rpx;
  368. text-align: left;
  369. font-style: normal;
  370. padding-right: 20rpx;
  371. }
  372. }
  373. }
  374. }
  375. .papdang2 {
  376. display: flex;
  377. padding-left: 20rpx;
  378. .yingyez1 {
  379. width: 78rpx;
  380. height: 47.5rpx;
  381. font-family: PingFangSC, PingFang SC;
  382. font-weight: 400;
  383. font-size: 26rpx;
  384. color: #333333;
  385. line-height: 47.5rpx;
  386. text-align: justify;
  387. font-style: normal;
  388. padding-right: 10rpx;
  389. }
  390. .yingyez2 {
  391. flex-grow: 1;
  392. height: 47.5rpx;
  393. font-family: PingFangSC, PingFang SC;
  394. font-weight: 400;
  395. font-size: 26rpx;
  396. color: #333333;
  397. line-height: 47.5rpx;
  398. text-align: left;
  399. font-style: normal;
  400. }
  401. }
  402. .papdang3 {
  403. padding-left: 20rpx;
  404. height: 47.5rpx;
  405. display: flex;
  406. align-items: center;
  407. .dizhinew1 {
  408. width: 30rpx;
  409. height: 47.5rpx;
  410. display: flex;
  411. align-items: center;
  412. justify-content: center;
  413. }
  414. .dizhinew2 {
  415. flex-grow: 1;
  416. height: 47.5rpx;
  417. font-family: PingFangSC, PingFang SC;
  418. font-weight: 400;
  419. font-size: 26rpx;
  420. color: #333333;
  421. line-height: 47.5rpx;
  422. text-align: justify;
  423. font-style: normal;
  424. }
  425. }
  426. }
  427. }
  428. .yyyue1new {
  429. width: 100%;
  430. min-height: 55rpx;
  431. font-family: PingFangSC, PingFang SC;
  432. font-weight: 400;
  433. font-size: 26rpx;
  434. color: #111111;
  435. line-height: 45rpx;
  436. text-align: left;
  437. font-style: normal;
  438. }
  439. .xuzhinew {
  440. width: 100%;
  441. min-height: 130rpx;
  442. display: flex;
  443. margin: 30rpx 0;
  444. .xuzhi1new {
  445. width: 260rpx;
  446. height: 55rpx;
  447. font-family: PingFangSC, PingFang SC;
  448. font-weight: 400;
  449. font-size: 26rpx;
  450. color: #666666;
  451. line-height: 45rpx;
  452. text-align: left;
  453. font-style: normal;
  454. }
  455. .xuzhi2new {
  456. flex-grow: 1;
  457. }
  458. }
  459. .taocanlistnewmx1 {
  460. width: 460rpx;
  461. height: 50rpx;
  462. font-family: PingFangSC, PingFang SC;
  463. font-weight: 400;
  464. font-size: 26rpx;
  465. color: #111111;
  466. line-height: 50rpx;
  467. text-align: left;
  468. font-style: normal;
  469. }
  470. .wuyiyi {
  471. width: 750rpx;
  472. height: 20rpx;
  473. background: #F5F8FA;
  474. }
  475. .taocanmx {
  476. margin: 30rpx 0;
  477. .taocanlistmx {
  478. display: flex;
  479. .taocanlistmx1 {
  480. width: 460rpx;
  481. height: 50rpx;
  482. font-family: PingFangSC, PingFang SC;
  483. font-weight: 400;
  484. font-size: 26rpx;
  485. color: #111111;
  486. line-height: 50rpx;
  487. text-align: left;
  488. font-style: normal;
  489. }
  490. .taocanlistmx2 {
  491. width: 150rpx;
  492. height: 50rpx;
  493. font-family: PingFangSC, PingFang SC;
  494. font-weight: 400;
  495. font-size: 26rpx;
  496. color: #999999;
  497. line-height: 50rpx;
  498. text-align: center;
  499. font-style: normal;
  500. }
  501. .taocanlistmx3 {
  502. width: 80rpx;
  503. height: 50rpx;
  504. font-family: PingFangSC, PingFang SC;
  505. font-weight: 400;
  506. font-size: 26rpx;
  507. color: #111111;
  508. line-height: 50rpx;
  509. text-align: right;
  510. font-style: normal;
  511. }
  512. }
  513. }
  514. .yyyue1 {
  515. width: 100%;
  516. height: 55rpx;
  517. font-family: PingFangSC, PingFang SC;
  518. font-weight: 400;
  519. font-size: 26rpx;
  520. color: #111111;
  521. line-height: 55rpx;
  522. text-align: left;
  523. font-style: normal;
  524. }
  525. .xuzhi {
  526. width: 100%;
  527. min-height: 130rpx;
  528. display: flex;
  529. .xuzhi1 {
  530. width: 90rpx;
  531. height: 55rpx;
  532. font-family: PingFangSC, PingFang SC;
  533. font-weight: 400;
  534. font-size: 26rpx;
  535. color: #666666;
  536. line-height: 55rpx;
  537. text-align: left;
  538. font-style: normal;
  539. }
  540. .xuzhi2 {
  541. flex-grow: 1;
  542. }
  543. }
  544. .basicInfo {
  545. width: 678rpx;
  546. margin: 0 auto 20rpx;
  547. background: #fff;
  548. border-radius: 20rpx;
  549. padding: 20rpx;
  550. .chaoji {
  551. width: 100%;
  552. height: 40rpx;
  553. font-family: PingFang-SC, PingFang-SC;
  554. font-weight: bold;
  555. font-size: 40rpx;
  556. color: #1C1E41;
  557. line-height: 40rpx;
  558. text-align: left;
  559. font-style: normal;
  560. margin: 20rpx 0 40rpx 0;
  561. }
  562. .xianzhi {
  563. width: 100%;
  564. display: flex;
  565. border-bottom: 1px solid #e6e6e6;
  566. .xianzhi1 {
  567. width: 140rpx;
  568. height: 80rpx;
  569. font-family: PingFangSC, PingFang SC;
  570. font-weight: 400;
  571. font-size: 26rpx;
  572. color: #666666;
  573. line-height: 80rpx;
  574. text-align: left;
  575. font-style: normal;
  576. }
  577. .xianzhi2 {
  578. flex-grow: 1;
  579. height: 80rpx;
  580. font-family: PingFangSC, PingFang SC;
  581. font-weight: 400;
  582. font-size: 26rpx;
  583. color: #111111;
  584. line-height: 80rpx;
  585. text-align: left;
  586. font-style: normal;
  587. }
  588. }
  589. }
  590. .daoqi {
  591. height: 30rpx;
  592. font-family: PingFang-SC, PingFang-SC;
  593. font-weight: bold;
  594. font-size: 30rpx;
  595. color: #111111;
  596. line-height: 30rpx;
  597. text-align: center;
  598. font-style: normal;
  599. }
  600. .erweima {
  601. width: 100%;
  602. height: 340rpx;
  603. display: flex;
  604. align-items: center;
  605. justify-content: center;
  606. }
  607. .pjm {
  608. display: flex;
  609. .pjm1 {
  610. height: 32rpx;
  611. font-family: PingFang-SC, PingFang-SC;
  612. font-weight: bold;
  613. font-size: 32rpx;
  614. color: #111111;
  615. line-height: 32rpx;
  616. text-align: center;
  617. font-style: normal;
  618. }
  619. .pjm2 {
  620. height: 32rpx;
  621. font-family: PingFangSC, PingFang SC;
  622. font-weight: 400;
  623. font-size: 24rpx;
  624. color: #AAAAAA;
  625. line-height: 32rpx;
  626. text-align: left;
  627. font-style: normal;
  628. padding-left: 20rpx;
  629. }
  630. }
  631. .ticketInfonmb {
  632. box-sizing: border-box;
  633. width: 96%;
  634. margin: 0 auto 20rpx;
  635. padding: 10rpx 24rpx;
  636. border-radius: 20rpx;
  637. position: relative;
  638. background-color: #fff;
  639. z-index: 2;
  640. }
  641. .taocan {
  642. width: 690rpx;
  643. height: 226rpx;
  644. border-radius: 20px;
  645. background: #fff;
  646. display: flex;
  647. align-items: center;
  648. .taocan1 {
  649. width: 168rpx;
  650. height: 168rpx;
  651. //margin-left: 20rpx;
  652. }
  653. .taocan2 {
  654. flex-grow: 1;
  655. height: 168rpx;
  656. .taoxxq1 {
  657. height: 52rpx;
  658. font-family: PingFang-SC, PingFang-SC;
  659. font-weight: bold;
  660. font-size: 32rpx;
  661. color: #111111;
  662. line-height: 52rpx;
  663. text-align: left;
  664. font-style: normal;
  665. padding-left: 20rpx;
  666. }
  667. .taoxxq2 {
  668. height: 50rpx;
  669. font-family: PingFangSC, PingFang SC;
  670. font-weight: 400;
  671. font-size: 24rpx;
  672. color: #777777;
  673. line-height: 50rpx;
  674. text-align: left;
  675. font-style: normal;
  676. padding-left: 20rpx;
  677. }
  678. .taoxxq3 {
  679. height: 66rpx;
  680. display: flex;
  681. justify-content: space-between;
  682. align-items: center;
  683. .jiage1 {
  684. flex-grow: 1;
  685. height: 66rpx;
  686. font-family: PingFangSC, PingFang SC;
  687. font-weight: 500;
  688. font-size: 40rpx;
  689. color: #FF3E3E;
  690. line-height: 66rpx;
  691. text-align: left;
  692. font-style: normal;
  693. span {
  694. width: 24rpx;
  695. height: 66rpx;
  696. font-family: PingFangSC, PingFang SC;
  697. font-weight: 400;
  698. font-size: 24rpx;
  699. color: #FF3E3E;
  700. line-height: 66rpx;
  701. text-align: left;
  702. font-style: normal;
  703. padding-left: 20rpx;
  704. }
  705. }
  706. .right {
  707. width: 190rpx;
  708. height: 66rpx;
  709. display: flex;
  710. align-items: center;
  711. .icon {
  712. width: 44rpx;
  713. height: 44rpx;
  714. vertical-align: middle;
  715. }
  716. .number {
  717. font-size: 36rpx;
  718. vertical-align: middle;
  719. margin: 0 30rpx;
  720. }
  721. }
  722. }
  723. }
  724. }
  725. .bottom-list {
  726. display: flex;
  727. margin: 37rpx auto;
  728. justify-content: center;
  729. .image {
  730. width: 36rpx;
  731. height: 36rpx;
  732. margin: 0 8rpx;
  733. image {
  734. width: 100%;
  735. height: 100%;
  736. }
  737. }
  738. .text {
  739. font-size: 26rpx;
  740. color: #999999;
  741. font-weight: Regular;
  742. }
  743. }
  744. .minus,
  745. .plus {
  746. display: flex;
  747. align-items: center;
  748. // width: 44rpx;
  749. // height: 44rpx;
  750. // line-height: 44rpx;
  751. padding: 10rpx 10rpx;
  752. // padding-left: 8rpx;
  753. border: 1px solid #999;
  754. border-radius: 6rpx;
  755. text-align: center;
  756. }
  757. .page {
  758. box-sizing: border-box;
  759. background-color: #F5F8FA;
  760. overflow: hidden;
  761. .content {
  762. position: relative;
  763. z-index: 3;
  764. padding-bottom: 160rpx;
  765. overflow-y: auto;
  766. .hand-title {
  767. position: absolute;
  768. left: 20rpx;
  769. top: 100rpx;
  770. font-size: 24rpx;
  771. color: #fff;
  772. }
  773. }
  774. }
  775. .bg {
  776. height: 100%;
  777. position: fixed;
  778. // top: 44px;
  779. z-index: 1;
  780. width: 100%;
  781. background-image: linear-gradient(to bottom, #007A69, #F5F8FA, #F5F8FA);
  782. }
  783. .ticketInfo-demo {
  784. // border-bottom: 2rpx solid #EFEFEF;
  785. margin-top: 40rpx;
  786. .demo-layout {
  787. display: flex;
  788. align-items: center;
  789. text-align: center;
  790. margin: 0 80rpx;
  791. }
  792. }
  793. .two-center-two {
  794. box-sizing: border-box;
  795. .tit {
  796. font-size: 32rpx;
  797. color: #333333;
  798. margin: 20rpx 0;
  799. }
  800. .df-one {
  801. font-size: 32rpx;
  802. color: #333333;
  803. font-weight: bold;
  804. // .bg-purple-dark {
  805. // margin-left: 140rpx;
  806. // }
  807. // .demo-layout {
  808. // margin-left: 30rpx;
  809. // }
  810. }
  811. .df-two {
  812. border-bottom: 2rpx solid #EFEFEF;
  813. .bg-purple {
  814. // margin-right: 100rpx;
  815. width: 182rpx;
  816. margin-left: -13rpx;
  817. }
  818. .bg-purple-dark {
  819. // margin-left: 50rpx;
  820. }
  821. .bg-purple,
  822. .bg-purple-dark {
  823. font-size: 26rpx;
  824. color: #777777;
  825. font-weight: Regular;
  826. text-align: center;
  827. text {
  828. margin: 0 8rpx;
  829. }
  830. }
  831. .bg-purple-light {
  832. font-size: 24rpx;
  833. color: #666666;
  834. border: 1rpx solid #666666;
  835. text-align: center;
  836. border-radius: 50rpx;
  837. }
  838. }
  839. }
  840. .prices-content {
  841. margin: 24rpx 0;
  842. .txt1 {
  843. font-size: 32rpx;
  844. color: #111111;
  845. font-weight: bold;
  846. }
  847. .txt2 {
  848. margin: 12rpx 0;
  849. font-size: 26rpx;
  850. color: #777777;
  851. font-weight: Regular;
  852. }
  853. }
  854. .orderInfo {
  855. box-sizing: border-box;
  856. background-color: #fff;
  857. border-radius: 16rpx;
  858. width: 96%;
  859. margin: 0 auto 20rpx;
  860. .tit {
  861. font-size: 32rpx;
  862. color: #333;
  863. padding-left: 30rpx;
  864. padding-top: 40rpx;
  865. font-weight: 600;
  866. margin-bottom: 20rpx;
  867. }
  868. .txt {
  869. font-size: 28rpx;
  870. color: #666;
  871. width: 115rpx;
  872. }
  873. .icon {
  874. font-size: 28rpx;
  875. color: #666;
  876. }
  877. .val {
  878. font-size: 28rpx;
  879. color: #666;
  880. margin: 0 20rpx 0 30rpx;
  881. }
  882. .nums {
  883. display: flex;
  884. justify-content: space-between;
  885. border-bottom: 1rpx solid #f0f2f5;
  886. padding: 0 24rpx;
  887. .input {
  888. margin: 0 30rpx;
  889. font-size: 28rpx;
  890. }
  891. text {
  892. margin: 20rpx 0;
  893. &:nth-child(1) {
  894. font-size: 28rpx;
  895. color: #333;
  896. font-weight: 400;
  897. }
  898. &:nth-child(3) {
  899. font-size: 36rpx;
  900. color: #FF4141;
  901. margin-right: 40rpx;
  902. }
  903. &.icon {
  904. display: inline-block;
  905. width: 100rpx;
  906. flex: 1;
  907. text-align: right;
  908. padding-top: 12rpx;
  909. }
  910. }
  911. // .minus,
  912. // .plus {
  913. // width: 44rpx;
  914. // height: 44rpx;
  915. // line-height: 44rpx;
  916. // padding: 11rpx 9rpx;
  917. // border: 1px solid #999;
  918. // border-radius: 6rpx;
  919. // }
  920. .plus {
  921. background-color: #0EBFFE;
  922. border-color: #0EBFFE;
  923. }
  924. }
  925. }
  926. .ticketInfo {
  927. box-sizing: border-box;
  928. width: 96%;
  929. margin: 0 auto 20rpx;
  930. padding: 44rpx 24rpx;
  931. border-radius: 20rpx;
  932. position: relative;
  933. background-color: #fff;
  934. z-index: 2;
  935. .ticketInfo-hander {
  936. display: flex;
  937. .image {
  938. width: 130rpx;
  939. height: 136rpx;
  940. border-radius: 12rpx;
  941. margin-right: 20rpx;
  942. image {
  943. width: 100%;
  944. height: 100%;
  945. }
  946. }
  947. }
  948. .name {
  949. font-size: 32rpx;
  950. color: #333;
  951. font-weight: bold;
  952. width: 100%;
  953. }
  954. .date {
  955. // padding: 20rpx 0 32rpx;
  956. padding-top: 40rpx;
  957. text {
  958. font-size: 26rpx;
  959. &:nth-child(1) {
  960. color: #808080;
  961. }
  962. &:nth-child(2) {
  963. color: #FF7D01;
  964. margin-left: 30rpx;
  965. }
  966. }
  967. }
  968. .topHead {
  969. width: 96%;
  970. margin: 0 auto;
  971. background-color: #F5F8FA;
  972. padding: 28rpx 0 28rpx 84rpx;
  973. border-radius: 16rpx;
  974. position: relative;
  975. text {
  976. position: absolute;
  977. left: 0;
  978. top: 0;
  979. z-index: 1;
  980. border-radius: 16rpx 0 0 16rpx;
  981. width: 48rpx;
  982. color: #fff;
  983. font-size: 20rpx;
  984. background-color: #484F61;
  985. text-align: center;
  986. height: 100%;
  987. padding: 15rpx 10rpx 0;
  988. }
  989. .p {
  990. font-size: 28rpx;
  991. color: #333;
  992. &:nth-of-type(1) {
  993. font-weight: 600;
  994. margin-bottom: 16rpx;
  995. }
  996. }
  997. }
  998. .code {
  999. margin-top: 40rpx;
  1000. text-align: center;
  1001. position: relative;
  1002. .cover,
  1003. .sx {
  1004. position: absolute;
  1005. background-color: rgba(255, 255, 255, 0.5);
  1006. width: 340rpx;
  1007. height: 340rpx;
  1008. top: 66rpx;
  1009. left: 50%;
  1010. transform: translate(-50%, 0);
  1011. }
  1012. .sx {
  1013. width: 120rpx;
  1014. height: 120rpx;
  1015. top: 150rpx;
  1016. background: transparent;
  1017. }
  1018. .txt {
  1019. font-size: 28rpx;
  1020. }
  1021. image {
  1022. width: 340rpx;
  1023. height: 340rpx;
  1024. margin: 30rpx 0;
  1025. }
  1026. }
  1027. }
  1028. .head {
  1029. box-sizing: border-box;
  1030. padding: 34rpx 24rpx 30rpx;
  1031. display: flex;
  1032. position: relative;
  1033. z-index: 2;
  1034. text {
  1035. color: #fff;
  1036. &:nth-child(1),
  1037. &:nth-child(3) {
  1038. font-size: 44rpx;
  1039. }
  1040. &:nth-child(2) {
  1041. flex: 1;
  1042. text-align: right;
  1043. width: 100px;
  1044. font-size: 36rpx;
  1045. }
  1046. }
  1047. }
  1048. .btns {
  1049. box-sizing: border-box;
  1050. width: 100%;
  1051. position: fixed;
  1052. bottom: 0;
  1053. z-index: 4;
  1054. left: 0;
  1055. display: flex;
  1056. padding: 32rpx 32rpx 50rpx;
  1057. background-color: #fff;
  1058. gap: 0 20rpx;
  1059. box-shadow: 0 -8rpx 16rpx rgba(0, 0, 0, 0.06);
  1060. .hexiao {
  1061. width: 690rpx;
  1062. height: 88rpx;
  1063. background: #007A69;
  1064. border-radius: 44rpx;
  1065. font-family: PingFang-SC, PingFang-SC;
  1066. font-weight: bold;
  1067. font-size: 32rpx;
  1068. color: #FFFFFF;
  1069. line-height: 88rpx;
  1070. text-align: center;
  1071. font-style: normal;
  1072. }
  1073. }
  1074. </style>