detailsewm.vue 28 KB

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