detailsewm.vue 28 KB

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