detailsewm.vue 29 KB

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