bookticket.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789
  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">
  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. },
  205. onLoad(page) {
  206. console.log('page',page);
  207. this.pageData = page;
  208. this.performId = page.performId;
  209. this.pageData.performTimeId = page.performTimeId;
  210. this.pageData.seatTypeId = page.seatTypeId
  211. this.getSystemInfo();
  212. this.getSettlement();
  213. this.getTemplateIdList();//获取模板列表
  214. },
  215. methods: {
  216. leftClick(e){
  217. let pages = getCurrentPages();
  218. if(pages.length==1){
  219. uni.$u.route('/pages/index/index')
  220. }else{
  221. uni.navigateBack()
  222. };
  223. },
  224. getSettlement(){
  225. this.$u.api.getSettlement(this.pageData).then(res=>{
  226. // console.log('getSettlement',res.data);
  227. this.pageContent = res.data;
  228. }).catch(err=>{
  229. console.log('getSettlement',err);
  230. })
  231. },
  232. getMemberAll(){
  233. let that = this;
  234. // const userId = this.vuex_member_info.id;
  235. const userId = this.pageContent.viewerList[0]?.id;
  236. this.$u.api.selectMemberAll({userid:userId}).then(res=>{
  237. // console.log('getMemberAll',res.data);
  238. this.visitorList = res.data.list;
  239. // this.visitors = this.visitorList.filter(obj => obj.memberId==userId);
  240. this.visitors = this.visitorList.filter(obj => that.selectedVisitor.includes(obj.idcard));
  241. // console.log('this.visitorList',this.visitorList);
  242. // console.log('this.selectedVisitor',this.selectedVisitor);
  243. // console.log('this.visitors',this.visitors);
  244. }).catch(err=>{
  245. console.log('getMemberAll',err);
  246. })
  247. },
  248. confirmVisitor(){
  249. let that = this;
  250. // console.log('selectedVisitor',this.selectedVisitor);
  251. this.visitorShow = false;
  252. this.visitors = this.visitorList.filter(obj => that.selectedVisitor.includes(obj.id)).map(item=>{
  253. return {name:item.name,mobile:item.mobile,idcard:item.idcard}
  254. });
  255. // console.log('this.visitors',this.visitors);
  256. },
  257. delVisitor(visitor){
  258. // console.log('delVisitor',visitor);
  259. // console.log('this.visitors',this.visitors);
  260. this.visitors = this.visitors.filter(obj => obj.idcard!=visitor.idcard );
  261. },
  262. addVisitor(){
  263. uni.$u.route('/center/people', {
  264. type: 'addVisitor',
  265. fromPage:'bookticket'
  266. });
  267. },
  268. editVisitor(item){
  269. uni.$u.route('/center/people', {
  270. type: 'editVisitor',
  271. fromPage:'bookticket',
  272. id:item.id,
  273. name:item.name,
  274. mobile:item.mobile,
  275. idcard:item.idcard,
  276. });
  277. },
  278. getTemplateIdList(){
  279. this.$u.api.templateIdList({templateLabel:'order_pay'}).then(res=>{
  280. console.log('getTemplateIdList',res.data);
  281. this.templateIdList = res.data.list.map(item=>{
  282. return item.templateId
  283. });
  284. // if(this.templateIdList.length>0){
  285. // this.templateEven();
  286. // }
  287. }).catch(err=>{
  288. console.log('getTemplateIdList',err);
  289. })
  290. },
  291. submitorder(){
  292. let params = {
  293. performId:this.pageContent.performId,
  294. goodsList:[
  295. {
  296. goodsId:this.pageContent.goodsId,
  297. salePeice:this.pageContent.salePrice,
  298. saleNum:1
  299. }
  300. ],
  301. auditoriumId:this.pageContent.auditoriumId,
  302. performTimeId:this.pageContent.performTimeId,
  303. seatTypeId:this.pageContent.seatTypeId,
  304. purchaser: {
  305. name: this.pageContent.purchaser.name,
  306. mobile: this.pageContent.purchaser.mobile,
  307. idcard: this.pageContent.purchaser.idcard
  308. },
  309. viewerList:this.visitors
  310. }
  311. // #ifdef MP
  312. params['source'] = 1
  313. // #endif
  314. // #ifdef H5
  315. params['source'] = 4
  316. // #endif
  317. this.cansubmit = false;
  318. // console.log('pageData',this.pageData);
  319. // console.log('visitors',this.visitors);
  320. // console.log('params',params);
  321. this.$u.api.submitOrder(params).then(res=>{
  322. // console.log('submitOrder',res.data);
  323. this.orderId = res.data.orderId;
  324. // this.templateEven()
  325. this.setTemplate();
  326. }).catch(err=>{
  327. this.cansubmit = true;
  328. uni.$u.toast(err.msg);
  329. if(err.msg.includes('场次限购限购')){
  330. setTimeout(()=>{
  331. uni.$u.route('/center/order',{status:0});
  332. },2000)
  333. }
  334. console.log('submitOrder',err);
  335. })
  336. },
  337. // 订阅消息
  338. templateEven(){
  339. let that = this
  340. wx.showModal({
  341. title: '温馨提示',
  342. content: '为更好的促进与您的交流,服务号需要实时向您发送消息',
  343. confirmText:"同意",
  344. cancelText:"拒绝",
  345. success: function (res) {
  346. if (res.confirm) {
  347. //调用订阅消息
  348. console.log('用户点击确定');
  349. //调用订阅
  350. that.setTemplate();
  351. } else if (res.cancel) {
  352. console.log('用户点击取消');
  353. ///显示第二个弹说明一下
  354. wx.showModal({
  355. title: '温馨提示',
  356. content: '拒绝后您将无法获取实时的消息',
  357. confirmText:"知道了",
  358. showCancel:false,
  359. success: function (res) {
  360. that.gotoPay();
  361. ///点击知道了的后续操作
  362. ///如跳转首页面
  363. }
  364. });
  365. }
  366. }
  367. });
  368. },
  369. // 设置小程序订阅消息
  370. setTemplate() {
  371. let that = this;
  372. console.log('templateIdList',this.templateIdList);
  373. uni.requestSubscribeMessage({
  374. tmplIds: that.templateIdList,
  375. success (res) {
  376. // that.gotoPay();
  377. console.log("success:",res);
  378. },
  379. fail (res) {
  380. console.log("fail:",res);
  381. },
  382. complete (res) {
  383. that.gotoPay();
  384. console.log("complete:",res);
  385. }
  386. })
  387. },
  388. gotoPay(){
  389. this.$u.api.gotoPay({orderId:this.orderId,openid:''}).then(res=>{
  390. this.payResult = res.data.payInfo;
  391. this.payResult.package = res.data.payInfo.packageValue;
  392. this.wxPay()
  393. // if(this.params.paymentMode==1||this.params.paymentMode==4){
  394. // this.wxPay()
  395. // }else{
  396. // uni.$u.route('/shopping/paysuccess');
  397. // }
  398. console.log('gotoPayres',res.data);
  399. }).catch(err=>{
  400. this.cansubmit = true;
  401. // this.paypass = '';
  402. // this.checkPassShow = false;
  403. console.log('gotoPay',err);
  404. })
  405. },
  406. wxPay(){
  407. let that = this;
  408. uni.requestPayment({
  409. ... this.payResult,
  410. "provider": "wxpay",
  411. "orderInfo": {
  412. // "appid": "wx499********7c70e", // 微信开放平台 - 应用 - AppId,注意和微信小程序、公众号 AppId 可能不一致
  413. // "noncestr": "c5sEwbaNPiXAF3iv", // 随机字符串
  414. // "package": "Sign=WXPay", // 固定值
  415. // "partnerid": "148*****52", // 微信支付商户号
  416. // "prepayid": "wx202254********************fbe90000", // 统一下单订单号
  417. // "timestamp": 1597935292, // 时间戳(单位:秒)
  418. // "sign": "A842B45937F6EFF60DEC7A2EAA52D5A0" // 签名,这里用的 MD5/RSA 签名
  419. },
  420. success(res) {
  421. that.payQuery();
  422. },
  423. fail(e) {
  424. uni.$u.route('/center/order',{status:0});
  425. console.log('wxPayfail',e);
  426. },
  427. complete(){
  428. this.cansubmit = true;
  429. }
  430. })
  431. },
  432. payQuery(){
  433. let that = this;
  434. let retryCount = 0;
  435. let maxRetryCount = 5; // 设置最大重试次数
  436. let interval = 2000; // 设置间隔时间为2秒
  437. let timeout = 10000; // 设置超时时间为10秒
  438. let timer;
  439. uni.showLoading({
  440. title:'支付结果查询中'
  441. })
  442. timer = setInterval(() => {
  443. retryCount++;
  444. if (retryCount > maxRetryCount || retryCount * interval > timeout) {
  445. clearInterval(timer);
  446. uni.hideLoading();
  447. console.log("支付查询超时或达到最大重试次数");
  448. // 在这里添加超时或达到最大重试次数的处理逻辑
  449. uni.$u.route('/center/order');
  450. } else {
  451. console.log("第" + retryCount + "次查询");
  452. // 调用查询支付状态的方法
  453. // 如果支付状态为成功,则清除定时器并处理成功的逻辑
  454. // 如果支付状态为失败,则清除定时器并处理失败的逻辑
  455. this.$u.api.payQuery({orderId:this.orderId}).then(res=>{
  456. // 0-未支付 1-已支付 2-支付中 3-支付失败 4-支付退款
  457. let payStatus = res.data.payStatus;
  458. if(payStatus===1){
  459. uni.$u.route('/center/order',{status:3});
  460. // uni.$u.route('/center/paysuccess');
  461. }else if(payStatus===0||payStatus===2){
  462. this.payQuery()
  463. }else if(payStatus===3){
  464. uni.toast('支付失败')
  465. }
  466. clearInterval(timer);
  467. }).catch(err=>{
  468. console.log('payQuery',err);
  469. }).finally(()=>{
  470. uni.hideLoading()
  471. })
  472. }
  473. }, interval);
  474. },
  475. }
  476. }
  477. </script>
  478. <style>
  479. page{
  480. background: linear-gradient(180deg, #ED0000 0%, #F9FBFD 50%,#fff 100%);
  481. background-repeat: no-repeat;
  482. }
  483. </style>
  484. <style lang="scss" scoped>
  485. .base-info{
  486. border-radius: 30rpx;
  487. overflow: hidden;
  488. 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;
  489. background-size: 50% 100%;
  490. background-repeat: no-repeat;
  491. padding: 34rpx 36rpx;
  492. box-sizing: border-box;
  493. margin: 30rpx 0 40rpx;
  494. .up{
  495. margin-bottom: 36rpx;
  496. .img{
  497. display: block;
  498. width: 172rpx;
  499. height: 230rpx;
  500. border-radius: 20rpx;
  501. margin-right: 32rpx;
  502. }
  503. .text{
  504. font-size: 22rpx;
  505. font-weight: 400;
  506. color: #606060;
  507. line-height: 1;
  508. }
  509. .text-item{
  510. margin-bottom: 18rpx;
  511. }
  512. .name{
  513. font-size: 32rpx;
  514. font-weight: bold;
  515. color: #2D2D2D;
  516. }
  517. .addr{
  518. font-size: 24rpx;
  519. font-weight: 500;
  520. color: #2D2D2D;
  521. }
  522. }
  523. .down{
  524. position: relative;
  525. &:before{
  526. content: '';
  527. width: calc( 100% + 26rpx );
  528. height: 1px;
  529. position: absolute;
  530. left: -13rpx;
  531. top: -2rpx;
  532. border-top: 4rpx dashed #F39FA0;
  533. }
  534. .num-wrap{
  535. padding-top: 36rpx;
  536. }
  537. }
  538. }
  539. .block-wrap{
  540. background: #FFFFFF;
  541. box-shadow: 0rpx 0rpx 20rpx 2rpx rgba(221,221,221,0.5);
  542. border-radius: 20rpx;
  543. margin-bottom: 28rpx;
  544. padding: 32rpx 30rpx 34rpx;
  545. .block-title{
  546. // padding-left: 16rpx;
  547. position: relative;
  548. margin-bottom: 22rpx;
  549. font-size: 24rpx;
  550. font-weight: 500;
  551. color: #CACACA;
  552. // &:before{
  553. // content: '';
  554. // width: 6rpx;
  555. // height: 32rpx;
  556. // background: #1677FF;
  557. // border-radius: 4rpx;
  558. // position: absolute;
  559. // left: 0;
  560. // top: 50%;
  561. // margin-top: -16rpx;
  562. // }
  563. .name{
  564. font-size: 32rpx;
  565. font-weight: bold;
  566. color: #2D2D2D;
  567. margin-right: 20rpx;
  568. }
  569. }
  570. .no-people{
  571. font-size: 28rpx;
  572. font-weight: 400;
  573. color: #7F7F7F;
  574. .right{
  575. margin-left: 20rpx;
  576. color: #1677FF;
  577. }
  578. }
  579. .peoples{
  580. font-size: 28rpx;
  581. font-weight: 400;
  582. color: #7F7F7F;
  583. margin-bottom: 24rpx;
  584. .peoples-item{
  585. margin-bottom: 10rpx;
  586. }
  587. .name{
  588. margin-left: 20rpx;
  589. margin-right: 28rpx;
  590. font-size: 28rpx;
  591. font-weight: bold;
  592. color: #363636;
  593. }
  594. .people-id{
  595. font-size: 20rpx;
  596. font-weight: 400;
  597. color: #606060;
  598. }
  599. .right{
  600. font-size: 28rpx;
  601. font-weight: 400;
  602. color: #ED0303;
  603. }
  604. }
  605. }
  606. .people-list{
  607. margin-bottom: 20rpx;
  608. .btn{
  609. width: 185rpx;
  610. height: 60rpx;
  611. line-height: 60rpx;
  612. font-size: 24rpx;
  613. font-weight: 500;
  614. color: #2D2D2D;
  615. background-color: #F1F1F1;
  616. border: 1px solid #F1F1F1;
  617. border-radius: 8rpx;
  618. margin-bottom: 12rpx;
  619. .text{
  620. margin-left: 16rpx;
  621. }
  622. &.people{
  623. margin-right: 16rpx;
  624. text-align: center;
  625. background-color: #FFF2F2;
  626. border-color: #ED0303;
  627. }
  628. }
  629. }
  630. .visitors{
  631. margin-bottom: 20rpx;
  632. }
  633. .people-show-content{
  634. background: #FFFFFF;
  635. border-radius: 40rpx 40rpx 0rpx 0rpx;
  636. padding: 30rpx 40rpx;
  637. .title{
  638. position: relative;
  639. font-size: 32rpx;
  640. font-weight: 500;
  641. color: #606060;
  642. margin-bottom: 46rpx;
  643. text-align: center;
  644. .cancel{
  645. position: absolute;
  646. left: 0;
  647. top: 0;
  648. }
  649. }
  650. .add-btn{
  651. margin-bottom: 28rpx;
  652. background: #ffdee1;
  653. border-radius: 44rpx;
  654. padding: 26rpx;
  655. font-size: 24rpx;
  656. font-weight: 400;
  657. color: #ff1616;
  658. .img{
  659. width: 28rpx;
  660. height: 36rpx;
  661. margin-right: 36rpx;
  662. }
  663. }
  664. .list{
  665. /deep/ .u-radio-group{
  666. flex-wrap: wrap;
  667. }
  668. /deep/ .u-checkbox-group{
  669. flex-wrap: wrap;
  670. }
  671. overflow-y: auto;
  672. height: 40vh;
  673. .people{
  674. width: 100%;
  675. margin-bottom: 24rpx;
  676. }
  677. }
  678. .btn{}
  679. }
  680. .coupon{
  681. background: #FFFFFF;
  682. box-shadow: 0rpx 0rpx 16rpx 2rpx rgba(232,232,232,0.5);
  683. border-radius: 16rpx;
  684. padding: 44rpx 36rpx;
  685. margin-bottom: 24rpx;
  686. .title{
  687. font-size: 28rpx;
  688. font-weight: bold;
  689. color: #2D2D2D;
  690. padding-bottom: 20rpx;
  691. margin-bottom: 26rpx;
  692. border-bottom-style:dashed;
  693. }
  694. .single-til{
  695. margin-bottom: 28rpx;
  696. .text{
  697. font-weight: 400;
  698. }
  699. }
  700. .no-coupon{
  701. height: 116rpx;
  702. line-height: 116rpx;
  703. text-align: center;
  704. background: #F9FAFD;
  705. border-radius: 8rpx;
  706. font-size: 24rpx;
  707. font-weight: 400;
  708. color: #C0C0C0;
  709. }
  710. }
  711. .notice{
  712. background: #FFFFFF;
  713. box-shadow: 0rpx 0rpx 16rpx 2rpx rgba(232,232,232,0.5);
  714. border-radius: 16rpx;
  715. padding: 44rpx 36rpx;
  716. margin-bottom: 24rpx;
  717. .title{
  718. font-size: 28rpx;
  719. font-weight: bold;
  720. color: #2D2D2D;
  721. padding-bottom: 20rpx;
  722. margin-bottom: 26rpx;
  723. border-bottom-style:dashed;
  724. }
  725. .notice-item{
  726. font-size: 24rpx;
  727. font-weight: 400;
  728. color: #7F7F7F;
  729. line-height: 36rpx;
  730. margin-bottom: 8rpx;
  731. }
  732. }
  733. .page-bottom{
  734. position: relative;
  735. z-index: 1001;
  736. height: 98rpx;
  737. padding: 24rpx 20rpx 50rpx;
  738. .inner{
  739. position: fixed;
  740. background-color: #fff;
  741. height: 98rpx;
  742. left: 0;
  743. right: 0;
  744. bottom: 0;
  745. padding: 24rpx 20rpx 50rpx;
  746. box-shadow: 0rpx -4rpx 12rpx 0rpx rgba(215,215,215,0.5);
  747. .total-price{
  748. font-size: 40rpx;
  749. font-weight: bold;
  750. color: #ED0000;
  751. }
  752. .btn{
  753. font-size: 28rpx;
  754. height: 80rpx;
  755. line-height: 80rpx;
  756. border-radius: 50rpx;
  757. padding: 0 50rpx;
  758. background-color: #eee;
  759. color: #333;
  760. text-align: center;
  761. &.active{
  762. background: linear-gradient(90deg, #FF7979 0%, #ED0000 100%);
  763. color: #fff;
  764. }
  765. }
  766. }
  767. }
  768. .purchaser{
  769. .item{
  770. margin-bottom: 10rpx;
  771. font-size: 26rpx;
  772. color: #333;
  773. }
  774. .un-auth{
  775. padding: 26rpx;
  776. background-color: #eee;
  777. color: #333;
  778. text-align: center;
  779. border-radius: 8rpx;
  780. }
  781. }
  782. </style>