detailsewm.vue 22 KB

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