bookticket.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794
  1. <template>
  2. <view class="pages">
  3. <view class="" :style="{height: navHeight+'px' }"></view>
  4. <view class="navbar-box">
  5. <u-navbar title="订单详情" :safeAreaInsetTop="true" @leftClick="leftClick" :titleStyle="{color:'#fff'}" leftIconColor="#fff" bgColor="transparent"></u-navbar>
  6. </view>
  7. <view class="page-wrap">
  8. <view class="base-info">
  9. <view class="up u-flex">
  10. <image class="img" :src="pageContent.performImg" alt="">
  11. <view class="text">
  12. <view class="name text-item">{{pageContent.performName}}-{{pageContent.goodsName}}</view>
  13. <view class="time text-item">日期 {{pageContent.timeDate}}({{pageContent.timeWeek}})</view>
  14. <view class="time text-item">场次 {{pageContent.performTimeStart}} - {{pageContent.performTimeEnd}}</view>
  15. <view class="num text-item">{{pageContent.goodsName}} / {{pageContent.seatTypeName}}</view>
  16. <view class=" text-item">{{pageContent.auditoriumName}}</view>
  17. <!-- <view class="position text-item">{{performInfo.name}}</view> -->
  18. <!-- <view class="addr u-flex u-row-between">
  19. <view class="u-line-1">地址:遵义市《伟大转折》演艺中心</view>
  20. <u-icon name="arrow-right" color="#2D2D2D" size="36rpx"></u-icon>
  21. </view> -->
  22. </view>
  23. </view>
  24. <view class="down">
  25. <view class="num-wrap u-flex u-row-between">
  26. <view class="title">选购数量</view>
  27. <view class="num">{{totalVisitor}}</view>
  28. </view>
  29. </view>
  30. </view>
  31. <view class="block-wrap purchaser">
  32. <view class="block-title u-flex">
  33. <view class="name">购票人信息</view>
  34. <!-- <text>用于入园身份验证</text> -->
  35. </view>
  36. <view class="" v-if="vuex_member_info.isAuth">
  37. <view class="item">姓名:{{pageContent.purchaser.name}}</view>
  38. <view class="item">手机号:{{pageContent.purchaser.mobile|hidePhoneNumber}}</view>
  39. <view class="item">身份证:{{pageContent.purchaser.idcard|maskID}}</view>
  40. </view>
  41. <view class="un-auth" v-else @click="$u.route('center/factorauth',{from:'bookticket'})">
  42. 请先<text style="color: #ED0000;">实名认证</text>
  43. </view>
  44. </view>
  45. <view class="block-wrap visitors">
  46. <view class="block-title u-flex">
  47. <view class="name">观影人信息</view>
  48. <!-- <text>用于入园身份验证</text> -->
  49. </view>
  50. <view class="people-list u-flex u-flex-wrap">
  51. <view class="people btn" v-if="visitors.length>0" v-for="(visitor,index) in visitors" :key="index">
  52. {{visitor.name}}
  53. </view>
  54. <view class="btn u-flex u-row-center" @click="visitorShow = true">
  55. <u-icon name="plus-circle" color="#2D2D2D" size="32rpx"></u-icon>
  56. <text class="text">新增/更换</text>
  57. </view>
  58. </view>
  59. <!-- <view class="no-people u-flex" v-if="!visitors.length>0">
  60. <text>游客</text>
  61. <text class="right" @click="visitorShow = true">点击选择游客</text>
  62. </view> -->
  63. <view class="peoples" v-if="visitors.length>0">
  64. <view class="peoples-item u-flex u-row-between" v-for="(visitor,index) in visitors" :key="index">
  65. <view class="left u-flex">
  66. <u-icon @click="delVisitor(visitor)" name="close-circle" color="#2D2D2D" size="32rpx"></u-icon>
  67. <text style="margin-left: 8rpx;">观影人{{ index + 1 }}</text>
  68. <text class="name">{{visitor.name}}</text>
  69. <!-- <text class="people-id">{{ visitor.idcard | maskID }}</text> -->
  70. </view>
  71. <view class="right" @click="editVisitor(visitor)">编辑</view>
  72. </view>
  73. </view>
  74. </view>
  75. <view class="coupon">
  76. <view class="title u-flex u-row-between u-border-bottom">
  77. <text>本单可享优惠</text>
  78. </view>
  79. <view class="single-til u-flex u-row-between">
  80. <view class="text">优惠券</view>
  81. <view class="more-text u-flex">
  82. <text>未使用</text>
  83. <u-icon name="arrow-right" color="#E6E6E6" size="24rpx"></u-icon>
  84. </view>
  85. </view>
  86. <view class="no-coupon">
  87. 您暂无可使用优惠券~
  88. </view>
  89. </view>
  90. <view class="notice">
  91. <view class="title u-flex u-row-between u-border-bottom">
  92. <text>购票须知</text>
  93. </view>
  94. <view class="notice-item parse-content">
  95. <u-parse :content="pageContent.ticketNotice"></u-parse>
  96. </view>
  97. <!-- <view class="notice-item">
  98. 1.由于设备故障等不可抗力因素,存在少量场次取消的情况,会
  99. 进行退票退款
  100. </view>
  101. <view class="notice-item">
  102. 2.由于影院系统不稳定等因素,存在出票失败的情况,会进行退款
  103. </view>
  104. <view class="notice-item">
  105. 3.取票码可以在“我的-订单页”中查看
  106. </view> -->
  107. </view>
  108. </view>
  109. <u-popup :show="visitorShow">
  110. <view class="people-show-content">
  111. <view class="title">
  112. <view class="cancel" @click="visitorShow=false">取消</view>
  113. 选择观影人
  114. </view>
  115. <view class="add-btn u-flex u-row-center" @click="addVisitor">
  116. <!-- <image class="img" :src="staticUrl+'/img/car.png'" ></image> -->
  117. 添加观影人信息
  118. </view>
  119. <view class="list">
  120. <u-checkbox-group
  121. v-model="selectedVisitor"
  122. iconPlacement="left">
  123. <view class="people u-flex u-row-between" v-for="(item,index) in visitorList" :key="index">
  124. <u-checkbox activeColor="#ED0303" :label="item.name" :name="item.id"></u-checkbox>
  125. <u-icon name="edit-pen-fill" color="#7F7F7F" size="32rpx" @click="editVisitor(item)"></u-icon>
  126. </view>
  127. </u-checkbox-group>
  128. </view>
  129. <view class="full-btn" @click="confirmVisitor">确定</view>
  130. </view>
  131. </u-popup>
  132. <view class="page-bottom">
  133. <view class="inner u-flex u-row-between">
  134. <view class="left u-flex">
  135. <text>应付金额:</text>
  136. <view class="total-price">
  137. {{totalPrice}}
  138. </view>
  139. </view>
  140. <view class="right">
  141. <view class="btn active" v-if="totalPrice>0&&cansubmit&&vuex_member_info.isAuth" @click="submitorder">立即支付</view>
  142. <view class="btn" v-else>立即支付</view>
  143. </view>
  144. </view>
  145. </view>
  146. </view>
  147. </template>
  148. <script>
  149. import { systemInfo } from "@/mixin.js";
  150. export default {
  151. mixins:[systemInfo],
  152. data() {
  153. return {
  154. performId:'',
  155. performInfo:{},
  156. pageData:{},//上个页面传过来的数据
  157. pageContent:{
  158. performName:'',
  159. goodsName:'',
  160. timeDate:'',
  161. timeWeek:'',
  162. seatTypeName:'',
  163. auditoriumName:'',
  164. performTimeEnd:'',
  165. performTimeStart:'',
  166. purchaser:{mobile:'',idcard:''},
  167. ticketNotice:'',
  168. viewerList:[],
  169. },//页面信息
  170. ticketNotice:'',
  171. cansubmit:true,
  172. staticUrl:this.$commonConfig.staticUrl,
  173. visitors:[],//确认的游客
  174. visitorShow:false,//游客弹层
  175. visitorList:[],//游客列表
  176. selectedVisitor:[],//选中的游客(id)
  177. params:{},//要提交的数据
  178. orderId:'',//订单提交获取
  179. payResult:{},//gotoPay结果
  180. paysuccess:false,//支付结果
  181. templateIdList:[],//微信小程序订阅消息
  182. }
  183. },
  184. computed: {
  185. totalPrice() {
  186. let that = this;
  187. return this.visitors.reduce((total, item) => {
  188. let price = null;
  189. price = Number(that.pageData.salePrice);
  190. total += price;
  191. return total;
  192. }, 0).toFixed(2);
  193. },
  194. totalVisitor() {
  195. let that = this;
  196. return this.visitors.reduce((total, item) => {
  197. total += 1;
  198. return total;
  199. },0);
  200. },
  201. },
  202. onShow() {
  203. this.getMemberAll();
  204. this.getSettlement();
  205. },
  206. onLoad(page) {
  207. console.log('page',page);
  208. this.pageData = page;
  209. this.performId = page.performId;
  210. this.pageData.performTimeId = page.performTimeId;
  211. this.pageData.seatTypeId = page.seatTypeId
  212. this.getSystemInfo();
  213. this.getSettlement();
  214. this.getTemplateIdList();//获取模板列表
  215. },
  216. methods: {
  217. leftClick(e){
  218. let pages = getCurrentPages();
  219. if(pages.length==1){
  220. uni.$u.route('/pages/index/index')
  221. }else{
  222. uni.navigateBack()
  223. };
  224. },
  225. getSettlement(){
  226. this.$u.api.getSettlement(this.pageData).then(res=>{
  227. // console.log('getSettlement',res.data);
  228. this.pageContent = res.data;
  229. }).catch(err=>{
  230. console.log('getSettlement',err);
  231. })
  232. },
  233. getMemberAll(){
  234. let that = this;
  235. // const userId = this.vuex_member_info.id;
  236. const userId = this.pageContent.viewerList[0]?.id;
  237. this.$u.api.selectMemberAll({userid:userId}).then(res=>{
  238. // console.log('getMemberAll',res.data);
  239. this.visitorList = res.data.list;
  240. // this.visitors = this.visitorList.filter(obj => obj.memberId==userId);
  241. this.visitors = this.visitorList.filter(obj => that.selectedVisitor.includes(obj.idcard));
  242. // console.log('this.visitorList',this.visitorList);
  243. // console.log('this.selectedVisitor',this.selectedVisitor);
  244. // console.log('this.visitors',this.visitors);
  245. }).catch(err=>{
  246. console.log('getMemberAll',err);
  247. })
  248. },
  249. confirmVisitor(){
  250. let that = this;
  251. // console.log('selectedVisitor',this.selectedVisitor);
  252. this.visitorShow = false;
  253. this.visitors = this.visitorList.filter(obj => that.selectedVisitor.includes(obj.id)).map(item=>{
  254. return {name:item.name,mobile:item.mobile,idcard:item.idcard}
  255. });
  256. // console.log('this.visitors',this.visitors);
  257. },
  258. delVisitor(visitor){
  259. // console.log('delVisitor',visitor);
  260. // console.log('this.visitors',this.visitors);
  261. this.visitors = this.visitors.filter(obj => obj.idcard!=visitor.idcard );
  262. },
  263. addVisitor(){
  264. uni.$u.route('/center/people', {
  265. type: 'addVisitor',
  266. fromPage:'bookticket'
  267. });
  268. },
  269. editVisitor(item){
  270. uni.$u.route('/center/people', {
  271. type: 'editVisitor',
  272. fromPage:'bookticket',
  273. id:item.id,
  274. name:item.name,
  275. mobile:item.mobile,
  276. idcard:item.idcard,
  277. });
  278. },
  279. getTemplateIdList(){
  280. this.$u.api.templateIdList({templateLabel:'order_pay'}).then(res=>{
  281. console.log('getTemplateIdList',res.data);
  282. this.templateIdList = res.data.list.map(item=>{
  283. return item.templateId
  284. });
  285. // if(this.templateIdList.length>0){
  286. // this.templateEven();
  287. // }
  288. }).catch(err=>{
  289. console.log('getTemplateIdList',err);
  290. })
  291. },
  292. submitorder(){
  293. let params = {
  294. performId:this.pageContent.performId,
  295. goodsList:[
  296. {
  297. goodsId:this.pageContent.goodsId,
  298. salePeice:this.pageContent.salePrice,
  299. saleNum:1
  300. }
  301. ],
  302. auditoriumId:this.pageContent.auditoriumId,
  303. performTimeId:this.pageContent.performTimeId,
  304. seatTypeId:this.pageContent.seatTypeId,
  305. purchaser: {
  306. name: this.pageContent.purchaser.name,
  307. mobile: this.pageContent.purchaser.mobile,
  308. idcard: this.pageContent.purchaser.idcard
  309. },
  310. viewerList:this.visitors
  311. }
  312. // #ifdef MP
  313. params['source'] = 1
  314. // #endif
  315. // #ifdef H5
  316. params['source'] = 4
  317. // #endif
  318. this.cansubmit = false;
  319. // console.log('pageData',this.pageData);
  320. // console.log('visitors',this.visitors);
  321. // console.log('params',params);
  322. this.$u.api.submitOrder(params).then(res=>{
  323. // console.log('submitOrder',res.data);
  324. this.orderId = res.data.orderId;
  325. // this.templateEven()
  326. this.setTemplate();
  327. }).catch(err=>{
  328. this.cansubmit = true;
  329. uni.$u.toast(err.msg);
  330. if(err.msg.includes('场次限购限购')){
  331. setTimeout(()=>{
  332. uni.$u.route('/center/order',{status:0});
  333. },2000)
  334. }
  335. console.log('submitOrder',err);
  336. })
  337. },
  338. // 订阅消息
  339. templateEven(){
  340. let that = this
  341. wx.showModal({
  342. title: '温馨提示',
  343. content: '为更好的促进与您的交流,服务号需要实时向您发送消息',
  344. confirmText:"同意",
  345. cancelText:"拒绝",
  346. success: function (res) {
  347. if (res.confirm) {
  348. //调用订阅消息
  349. console.log('用户点击确定');
  350. //调用订阅
  351. that.setTemplate();
  352. } else if (res.cancel) {
  353. console.log('用户点击取消');
  354. ///显示第二个弹说明一下
  355. wx.showModal({
  356. title: '温馨提示',
  357. content: '拒绝后您将无法获取实时的消息',
  358. confirmText:"知道了",
  359. showCancel:false,
  360. success: function (res) {
  361. that.gotoPay();
  362. ///点击知道了的后续操作
  363. ///如跳转首页面
  364. }
  365. });
  366. }
  367. }
  368. });
  369. },
  370. // 设置小程序订阅消息
  371. setTemplate() {
  372. let that = this;
  373. console.log('templateIdList',this.templateIdList);
  374. uni.requestSubscribeMessage({
  375. tmplIds: that.templateIdList,
  376. success (res) {
  377. // that.gotoPay();
  378. console.log("success:",res);
  379. },
  380. fail (res) {
  381. console.log("fail:",res);
  382. },
  383. complete (res) {
  384. that.gotoPay();
  385. console.log("complete:",res);
  386. }
  387. })
  388. },
  389. gotoPay(){
  390. this.$u.api.gotoPay({orderId:this.orderId,openid:''}).then(res=>{
  391. this.payResult = res.data.payInfo;
  392. this.payResult.package = res.data.payInfo.packageValue;
  393. this.wxPay()
  394. // if(this.params.paymentMode==1||this.params.paymentMode==4){
  395. // this.wxPay()
  396. // }else{
  397. // uni.$u.route('/shopping/paysuccess');
  398. // }
  399. console.log('gotoPayres',res.data);
  400. }).catch(err=>{
  401. this.cansubmit = true;
  402. // this.paypass = '';
  403. // this.checkPassShow = false;
  404. console.log('gotoPay',err);
  405. })
  406. },
  407. wxPay(){
  408. let that = this;
  409. uni.requestPayment({
  410. ... this.payResult,
  411. "provider": "wxpay",
  412. "orderInfo": {
  413. // "appid": "wx499********7c70e", // 微信开放平台 - 应用 - AppId,注意和微信小程序、公众号 AppId 可能不一致
  414. // "noncestr": "c5sEwbaNPiXAF3iv", // 随机字符串
  415. // "package": "Sign=WXPay", // 固定值
  416. // "partnerid": "148*****52", // 微信支付商户号
  417. // "prepayid": "wx202254********************fbe90000", // 统一下单订单号
  418. // "timestamp": 1597935292, // 时间戳(单位:秒)
  419. // "sign": "A842B45937F6EFF60DEC7A2EAA52D5A0" // 签名,这里用的 MD5/RSA 签名
  420. },
  421. success(res) {
  422. that.payQuery();
  423. },
  424. fail(e) {
  425. uni.$u.route('/center/order',{status:0});
  426. console.log('wxPayfail',e);
  427. },
  428. complete(){
  429. this.cansubmit = true;
  430. }
  431. })
  432. },
  433. payQuery(){
  434. let that = this;
  435. let retryCount = 0;
  436. let maxRetryCount = 5; // 设置最大重试次数
  437. let interval = 2000; // 设置间隔时间为2秒
  438. let timeout = 10000; // 设置超时时间为10秒
  439. let timer;
  440. uni.showLoading({
  441. title:'支付结果查询中'
  442. })
  443. timer = setInterval(() => {
  444. retryCount++;
  445. if (retryCount > maxRetryCount || retryCount * interval > timeout) {
  446. clearInterval(timer);
  447. uni.hideLoading();
  448. console.log("支付查询超时或达到最大重试次数");
  449. // 在这里添加超时或达到最大重试次数的处理逻辑
  450. uni.$u.route('/center/order');
  451. } else {
  452. console.log("第" + retryCount + "次查询");
  453. // 调用查询支付状态的方法
  454. // 如果支付状态为成功,则清除定时器并处理成功的逻辑
  455. // 如果支付状态为失败,则清除定时器并处理失败的逻辑
  456. this.$u.api.payQuery({orderId:this.orderId}).then(res=>{
  457. // 0-未支付 1-已支付 2-支付中 3-支付失败 4-支付退款
  458. let payStatus = res.data.payStatus;
  459. if(payStatus===1){
  460. uni.$u.route('/center/order',{status:3});
  461. // uni.$u.route('/center/paysuccess');
  462. }else if(payStatus===0||payStatus===2){
  463. this.payQuery()
  464. }else if(payStatus===3){
  465. uni.toast('支付失败')
  466. }
  467. clearInterval(timer);
  468. }).catch(err=>{
  469. console.log('payQuery',err);
  470. }).finally(()=>{
  471. uni.hideLoading()
  472. })
  473. }
  474. }, interval);
  475. },
  476. }
  477. }
  478. </script>
  479. <style>
  480. page{
  481. background: linear-gradient(180deg, #ED0000 0%, #F9FBFD 50%,#fff 100%);
  482. background-repeat: no-repeat;
  483. }
  484. </style>
  485. <style lang="scss" scoped>
  486. .base-info{
  487. border-radius: 30rpx;
  488. overflow: hidden;
  489. background: radial-gradient(circle at -26rpx 294rpx, transparent 8%, #fff 4%) left, radial-gradient(circle at calc( 100% + 26rpx ) 294rpx, transparent 8%, #fff 4%) right;
  490. background-size: 50% 100%;
  491. background-repeat: no-repeat;
  492. padding: 34rpx 36rpx;
  493. box-sizing: border-box;
  494. margin: 30rpx 0 40rpx;
  495. .up{
  496. margin-bottom: 36rpx;
  497. .img{
  498. display: block;
  499. width: 172rpx;
  500. height: 230rpx;
  501. border-radius: 20rpx;
  502. margin-right: 32rpx;
  503. }
  504. .text{
  505. font-size: 22rpx;
  506. font-weight: 400;
  507. color: #606060;
  508. line-height: 1;
  509. }
  510. .text-item{
  511. margin-bottom: 18rpx;
  512. }
  513. .name{
  514. font-size: 32rpx;
  515. font-weight: bold;
  516. color: #2D2D2D;
  517. }
  518. .addr{
  519. font-size: 24rpx;
  520. font-weight: 500;
  521. color: #2D2D2D;
  522. }
  523. }
  524. .down{
  525. position: relative;
  526. &:before{
  527. content: '';
  528. width: calc( 100% + 26rpx );
  529. height: 1px;
  530. position: absolute;
  531. left: -13rpx;
  532. top: -2rpx;
  533. border-top: 4rpx dashed #F39FA0;
  534. }
  535. .num-wrap{
  536. padding-top: 36rpx;
  537. .title{
  538. font-size: 14px;
  539. color: #4E4E4E;
  540. }
  541. }
  542. }
  543. }
  544. .block-wrap{
  545. background: #FFFFFF;
  546. box-shadow: 0rpx 0rpx 20rpx 2rpx rgba(221,221,221,0.5);
  547. border-radius: 20rpx;
  548. margin-bottom: 28rpx;
  549. padding: 32rpx 30rpx 34rpx;
  550. .block-title{
  551. // padding-left: 16rpx;
  552. position: relative;
  553. margin-bottom: 22rpx;
  554. font-size: 24rpx;
  555. font-weight: 500;
  556. color: #CACACA;
  557. // &:before{
  558. // content: '';
  559. // width: 6rpx;
  560. // height: 32rpx;
  561. // background: #1677FF;
  562. // border-radius: 4rpx;
  563. // position: absolute;
  564. // left: 0;
  565. // top: 50%;
  566. // margin-top: -16rpx;
  567. // }
  568. .name{
  569. font-size: 32rpx;
  570. font-weight: bold;
  571. color: #2D2D2D;
  572. margin-right: 20rpx;
  573. }
  574. }
  575. .no-people{
  576. font-size: 28rpx;
  577. font-weight: 400;
  578. color: #7F7F7F;
  579. .right{
  580. margin-left: 20rpx;
  581. color: #1677FF;
  582. }
  583. }
  584. .peoples{
  585. font-size: 28rpx;
  586. font-weight: 400;
  587. color: #7F7F7F;
  588. margin-bottom: 24rpx;
  589. .peoples-item{
  590. margin-bottom: 10rpx;
  591. }
  592. .name{
  593. margin-left: 20rpx;
  594. margin-right: 28rpx;
  595. font-size: 28rpx;
  596. font-weight: bold;
  597. color: #363636;
  598. }
  599. .people-id{
  600. font-size: 20rpx;
  601. font-weight: 400;
  602. color: #606060;
  603. }
  604. .right{
  605. font-size: 28rpx;
  606. font-weight: 400;
  607. color: #ED0303;
  608. }
  609. }
  610. }
  611. .people-list{
  612. margin-bottom: 20rpx;
  613. .btn{
  614. width: 185rpx;
  615. height: 60rpx;
  616. line-height: 60rpx;
  617. font-size: 24rpx;
  618. font-weight: 500;
  619. color: #2D2D2D;
  620. background-color: #F1F1F1;
  621. border: 1px solid #F1F1F1;
  622. border-radius: 8rpx;
  623. margin-bottom: 12rpx;
  624. .text{
  625. margin-left: 16rpx;
  626. }
  627. &.people{
  628. margin-right: 16rpx;
  629. text-align: center;
  630. background-color: #FFF2F2;
  631. border-color: #ED0303;
  632. }
  633. }
  634. }
  635. .visitors{
  636. margin-bottom: 20rpx;
  637. }
  638. .people-show-content{
  639. background: #FFFFFF;
  640. border-radius: 40rpx 40rpx 0rpx 0rpx;
  641. padding: 30rpx 40rpx;
  642. .title{
  643. position: relative;
  644. font-size: 32rpx;
  645. font-weight: 500;
  646. color: #606060;
  647. margin-bottom: 46rpx;
  648. text-align: center;
  649. .cancel{
  650. position: absolute;
  651. left: 0;
  652. top: 0;
  653. }
  654. }
  655. .add-btn{
  656. margin-bottom: 28rpx;
  657. background: #ffdee1;
  658. border-radius: 44rpx;
  659. padding: 26rpx;
  660. font-size: 24rpx;
  661. font-weight: 400;
  662. color: #ff1616;
  663. .img{
  664. width: 28rpx;
  665. height: 36rpx;
  666. margin-right: 36rpx;
  667. }
  668. }
  669. .list{
  670. /deep/ .u-radio-group{
  671. flex-wrap: wrap;
  672. }
  673. /deep/ .u-checkbox-group{
  674. flex-wrap: wrap;
  675. }
  676. overflow-y: auto;
  677. height: 40vh;
  678. .people{
  679. width: 100%;
  680. margin-bottom: 24rpx;
  681. }
  682. }
  683. .btn{}
  684. }
  685. .coupon{
  686. background: #FFFFFF;
  687. box-shadow: 0rpx 0rpx 16rpx 2rpx rgba(232,232,232,0.5);
  688. border-radius: 16rpx;
  689. padding: 44rpx 36rpx;
  690. margin-bottom: 24rpx;
  691. .title{
  692. font-size: 28rpx;
  693. font-weight: bold;
  694. color: #2D2D2D;
  695. padding-bottom: 20rpx;
  696. margin-bottom: 26rpx;
  697. border-bottom-style:dashed;
  698. }
  699. .single-til{
  700. margin-bottom: 28rpx;
  701. .text{
  702. font-weight: 400;
  703. }
  704. }
  705. .no-coupon{
  706. height: 116rpx;
  707. line-height: 116rpx;
  708. text-align: center;
  709. background: #F9FAFD;
  710. border-radius: 8rpx;
  711. font-size: 24rpx;
  712. font-weight: 400;
  713. color: #C0C0C0;
  714. }
  715. }
  716. .notice{
  717. background: #FFFFFF;
  718. box-shadow: 0rpx 0rpx 16rpx 2rpx rgba(232,232,232,0.5);
  719. border-radius: 16rpx;
  720. padding: 44rpx 36rpx;
  721. margin-bottom: 24rpx;
  722. .title{
  723. font-size: 28rpx;
  724. font-weight: bold;
  725. color: #2D2D2D;
  726. padding-bottom: 20rpx;
  727. margin-bottom: 26rpx;
  728. border-bottom-style:dashed;
  729. }
  730. .notice-item{
  731. font-size: 24rpx;
  732. font-weight: 400;
  733. color: #7F7F7F;
  734. line-height: 36rpx;
  735. margin-bottom: 8rpx;
  736. }
  737. }
  738. .page-bottom{
  739. position: relative;
  740. z-index: 1001;
  741. height: 98rpx;
  742. padding: 24rpx 20rpx 50rpx;
  743. .inner{
  744. position: fixed;
  745. background-color: #fff;
  746. height: 98rpx;
  747. left: 0;
  748. right: 0;
  749. bottom: 0;
  750. padding: 24rpx 20rpx 50rpx;
  751. box-shadow: 0rpx -4rpx 12rpx 0rpx rgba(215,215,215,0.5);
  752. .total-price{
  753. font-size: 40rpx;
  754. font-weight: bold;
  755. color: #ED0000;
  756. }
  757. .btn{
  758. font-size: 28rpx;
  759. height: 80rpx;
  760. line-height: 80rpx;
  761. border-radius: 50rpx;
  762. padding: 0 50rpx;
  763. background-color: #eee;
  764. color: #333;
  765. text-align: center;
  766. &.active{
  767. background: linear-gradient(90deg, #FF7979 0%, #ED0000 100%);
  768. color: #fff;
  769. }
  770. }
  771. }
  772. }
  773. .purchaser{
  774. .item{
  775. margin-bottom: 10rpx;
  776. font-size: 26rpx;
  777. color: #333;
  778. }
  779. .un-auth{
  780. padding: 26rpx;
  781. background-color: #eee;
  782. color: #333;
  783. text-align: center;
  784. border-radius: 8rpx;
  785. }
  786. }
  787. </style>