detailsewm.vue 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440
  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>