detailsewm.vue 25 KB

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