bookticket.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890
  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'}"
  6. leftIconColor="#fff" bgColor="transparent"></u-navbar>
  7. </view>
  8. <view class="page-wrap">
  9. <view class="base-info">
  10. <view class="up u-flex">
  11. <image class="img" :src="pageContent.performImg" mode="aspectFill" alt="" />
  12. <view class="text">
  13. <view class="name text-item">{{pageContent.performName}}-{{pageContent.goodsName}}</view>
  14. <view class="time text-item">日期 {{pageContent.timeDate}}({{pageContent.timeWeek}})</view>
  15. <view class="time text-item">场次 {{pageContent.performTimeStart}} -
  16. {{pageContent.performTimeEnd}}</view>
  17. <view class="num text-item">{{pageContent.goodsName}} / {{pageContent.seatTypeName}}</view>
  18. <view class=" text-item">{{pageContent.auditoriumName}}</view>
  19. </view>
  20. </view>
  21. <view class="down">
  22. <view class="num-wrap u-flex u-row-between">
  23. <view class="title">选购数量</view>
  24. <view class="num">{{totalVisitor}}</view>
  25. </view>
  26. </view>
  27. </view>
  28. <view class="block-wrap linkman">
  29. <view class="block-title u-flex">
  30. <view class="name">带队负责人</view>
  31. </view>
  32. <view class="">
  33. <view class="item u-flex">
  34. <view class="til">姓名: </view>
  35. <u--input placeholder="请输入负责人姓名" border="surround" maxlength="12" v-model="linkName"></u--input>
  36. </view>
  37. <view class="item u-flex">
  38. <view class="til">手机号:</view>
  39. <u--input placeholder="请输入负责人手机号" border="surround" maxlength="11" v-model="linkPhone"></u--input>
  40. </view>
  41. </view>
  42. </view>
  43. <view class="block-wrap visitors">
  44. <view class="block-title u-flex">
  45. <view class="name">观影人信息
  46. <text class="tip" v-if="pageContent.touristMin">最少{{pageContent.touristMin}}个观影人</text>
  47. <text class="tip" v-if="pageContent.touristMax">最多{{pageContent.touristMax}}个观影人</text>
  48. </view>
  49. </view>
  50. <view class="people-list">
  51. <view class="add-wrap" >
  52. <!-- v-if="!fileList.length" -->
  53. <u--input placeholder="请输入观影人姓名" border="surround" v-model="newVisitor.name"></u--input>
  54. <u--input placeholder="请输入观影人身份证" border="surround" v-model="newVisitor.cardId"></u--input>
  55. </view>
  56. <view class="btn-wrap u-flex">
  57. <view class="btn u-flex u-row-center" @click="addVisitor">
  58. <u-icon name="plus-circle" color="#2D2D2D" size="32rpx"></u-icon>
  59. <text class="text">新增观影人</text>
  60. </view>
  61. <view class="btn u-flex u-row-center">
  62. <!-- :fileList="fileList" -->
  63. <u-upload
  64. @afterRead="afterRead"
  65. :maxSize="5 * 1024 * 1024"
  66. @oversize="onOversize"
  67. accept=".xlsx,.xls"
  68. :maxCount="1"
  69. @select="onSelect"
  70. >
  71. <view class="upload-btn u-flex u-row-center">
  72. <u-icon name="plus-circle" color="#2D2D2D" size="32rpx"></u-icon>
  73. <text class="text">导入观影人(限制5M)</text>
  74. </view>
  75. </u-upload>
  76. </view>
  77. </view>
  78. </view>
  79. <view class="peoples" v-if="visitors.length>0">
  80. <view class="peoples-item u-flex u-row-between" v-for="(visitor,index) in displayVisitors" :key="index">
  81. <view class="left u-flex">
  82. <u-icon @click="delVisitor(visitor)" name="close-circle" color="#2D2D2D"
  83. size="32rpx"></u-icon>
  84. <text class="serial">{{ index + 1 }}</text>
  85. <text class="name">{{visitor.name}}</text>
  86. <text class="cardId">{{visitor.cardId}}</text>
  87. </view>
  88. </view>
  89. <view class="expand-btn" v-if="visitors.length > 5" @click="showAllVisitors = !showAllVisitors">
  90. {{ showAllVisitors ? '收起' : '展开查看更多' }}
  91. <u-icon :name="showAllVisitors ? 'arrow-up' : 'arrow-down'" size="24rpx" color="#666"></u-icon>
  92. </view>
  93. </view>
  94. </view>
  95. <view class="notice">
  96. <view class="title u-flex u-row-between u-border-bottom">
  97. <text>购票须知</text>
  98. </view>
  99. <view class="notice-item parse-content">
  100. <u-parse :content="pageContent.ticketNotice"></u-parse>
  101. </view>
  102. </view>
  103. </view>
  104. <u-popup :show="visitorShow">
  105. <view class="people-show-content">
  106. <view class="title">
  107. <view class="cancel" @click="visitorShow=false">取消</view>
  108. 选择观影人
  109. </view>
  110. <view class="add-btn u-flex u-row-center" @click="addVisitor">
  111. 添加观影人信息
  112. </view>
  113. <view class="list">
  114. <u-checkbox-group v-model="selectedVisitor" iconPlacement="left">
  115. <view class="people u-flex u-row-between" v-for="(item,index) in visitorList" :key="index">
  116. <u-checkbox activeColor="#ED0303" :label="item.name" :name="item.id"></u-checkbox>
  117. <u-icon name="edit-pen-fill" color="#7F7F7F" size="32rpx"
  118. @click="editVisitor(item)"></u-icon>
  119. </view>
  120. </u-checkbox-group>
  121. </view>
  122. <view class="full-btn" @click="confirmVisitor">确定</view>
  123. </view>
  124. </u-popup>
  125. <view class="page-bottom">
  126. <view class="inner u-flex u-row-between">
  127. <view class="left u-flex">
  128. <text>应付金额:</text>
  129. <view class="total-price">
  130. {{totalPrice}}
  131. </view>
  132. </view>
  133. <view class="right">
  134. <view class="btn active" v-if="totalPrice>0&&cansubmit"
  135. @click="applyOrder">提交报名</view>
  136. <view class="btn" v-else>提交报名</view>
  137. </view>
  138. </view>
  139. </view>
  140. </view>
  141. </template>
  142. <script>
  143. import {
  144. systemInfo
  145. } from "@/mixin.js";
  146. // #ifdef H5
  147. import wxH5 from "weixin-jsapi";
  148. // #endif
  149. export default {
  150. mixins: [systemInfo],
  151. data() {
  152. return {
  153. theatreId:'',
  154. theatreName:'',
  155. performId: '',
  156. performInfo: {},
  157. pageData: {}, //上个页面传过来的数据
  158. pageContent: {
  159. performName: '',
  160. goodsName: '',
  161. timeDate: '',
  162. timeWeek: '',
  163. seatTypeName: '',
  164. auditoriumName: '',
  165. performTimeEnd: '',
  166. performTimeStart: '',
  167. purchaser: {
  168. mobile: '',
  169. cardId: ''
  170. },
  171. ticketNotice: '',
  172. viewerList: [],
  173. }, //页面信息
  174. ticketNotice: '',
  175. cansubmit: true,
  176. staticUrl: this.$commonConfig.staticUrl,
  177. visitors: [], //确认的游客
  178. visitorShow: false, //游客弹层
  179. visitorList: [], //游客列表
  180. selectedVisitor: [], //选中的游客(id)
  181. params: {}, //要提交的数据
  182. orderId: '', //订单提交获取
  183. payResult: {}, //gotoPay结果
  184. paysuccess: false, //支付结果
  185. templateIdList: [], //微信小程序订阅消息
  186. newVisitor:{
  187. name:'',
  188. cardId:''
  189. },
  190. linkName:'',
  191. linkPhone:'',
  192. fileList: [], // 上传的文件列表
  193. fileUrl: '', // 上传的文件URL
  194. showAllVisitors: false, // 是否显示所有观影人
  195. }
  196. },
  197. computed: {
  198. totalPrice() {
  199. let that = this;
  200. if(that.pageContent.priceType===1){
  201. if(this.visitors.length>0){
  202. return that.pageContent.salePrice
  203. }else{
  204. return 0
  205. }
  206. }else{
  207. return this.visitors.reduce((total, item) => {
  208. let price = null;
  209. price = Number(that.pageData.salePrice);
  210. total += price;
  211. return total;
  212. }, 0).toFixed(2);
  213. }
  214. },
  215. totalVisitor() {
  216. let that = this;
  217. return this.visitors.reduce((total, item) => {
  218. total += 1;
  219. return total;
  220. }, 0);
  221. },
  222. needIdcardNumber(){
  223. if(this.pageContent.oneMany===1&&this.pageContent.personnelNum!==0){
  224. return this.pageContent.personnelNum
  225. }else if(this.pageContent.oneMany===1&&this.pageContent.personnelNum===0){
  226. return null
  227. }else if(this.pageContent.oneMany===2){
  228. return 1
  229. }
  230. },
  231. displayVisitors() {
  232. return this.showAllVisitors ? this.visitors : this.visitors.slice(0, 5);
  233. }
  234. },
  235. onShow() {
  236. },
  237. onLoad(page) {
  238. this.pageData = page;
  239. this.performId = page.performId;
  240. this.pageData.performTimeId = page.performTimeId;
  241. this.pageData.seatTypeId = page.seatTypeId;
  242. this.theatreId = page.theatreId;
  243. this.theatreName = page.theatreName;
  244. this.getSystemInfo();
  245. this.getSettlement();
  246. },
  247. methods: {
  248. // 文件选择回调
  249. onSelect(files) {
  250. let file;
  251. if(Array.isArray(files)){
  252. file = files[0]
  253. }else{
  254. file = files.file
  255. }
  256. console.log('file',file.name)
  257. if (!/\.(xlsx|xls)$/i.test(file.name)) {
  258. uni.showToast({
  259. title: '请上传XLSX或XLS格式的文件',
  260. icon: 'none'
  261. });
  262. return false;
  263. }
  264. return true;
  265. },
  266. // 文件读取后的处理
  267. afterRead(files) {
  268. let file;
  269. if(Array.isArray(files)){
  270. file = files[0]
  271. }else{
  272. file = files.file
  273. }
  274. // console.log('file',file.name)
  275. if (!/\.(xlsx|xls)$/i.test(file.name)) {
  276. uni.showToast({
  277. title: '请上传XLSX或XLS格式的文件',
  278. icon: 'none'
  279. });
  280. return false;
  281. }
  282. this.fileList = [files.file];
  283. const size = this.fileList[0].size/1024/1024;//M
  284. if(size>5){
  285. this.onOversize();
  286. return
  287. }
  288. uni.showLoading({
  289. title: '文件上传中...'
  290. });
  291. uni.uploadFile({
  292. url: this.$commonConfig.baseUrl+'/member/marketTeamApplyViewer/analysis',
  293. filePath: files.file.url,
  294. name: 'file',
  295. header: {
  296. 'Authorization': `Bearer ${this.vuex_user_info.accessToken}`
  297. },
  298. formData: {
  299. bucket: 'greattransition'
  300. },
  301. success: (res) => {
  302. if (res.statusCode === 200) {
  303. const data = JSON.parse(res.data);
  304. if (data.code === 200) {
  305. const newVisitors = data.data || [];
  306. const uniqueVisitors = newVisitors.filter(newVisitor => {
  307. return !this.visitors.some(existingVisitor =>
  308. existingVisitor.cardId === newVisitor.cardId
  309. );
  310. });
  311. this.visitors = [...this.visitors, ...uniqueVisitors];
  312. uni.showToast({
  313. title: '导入成功',
  314. icon: 'success'
  315. });
  316. } else {
  317. this.clearFile();
  318. uni.showToast({
  319. title: data.msg || '导入失败',
  320. icon: 'none'
  321. });
  322. }
  323. }
  324. },
  325. fail: () => {
  326. this.clearFile();
  327. uni.showToast({
  328. title: '导入失败',
  329. icon: 'none'
  330. });
  331. },
  332. complete: () => {
  333. uni.hideLoading();
  334. }
  335. });
  336. },
  337. // 文件大小超出限制
  338. onOversize() {
  339. uni.showToast({
  340. title: '文件大小不能超过5M',
  341. icon: 'none'
  342. });
  343. },
  344. // 清除已上传的文件
  345. clearFile() {
  346. this.fileList = [];
  347. this.fileUrl = '';
  348. },
  349. leftClick(e) {
  350. let pages = getCurrentPages();
  351. if (pages.length == 1) {
  352. uni.$u.route('/pages/index/index')
  353. } else {
  354. uni.navigateBack()
  355. };
  356. },
  357. getSettlement() {
  358. this.$u.api.getSettlement(this.pageData).then(res => {
  359. this.pageContent = res.data;
  360. }).catch(err => {
  361. console.log('getSettlement', err);
  362. })
  363. },
  364. confirmVisitor() {
  365. let that = this;
  366. if(this.needIdcardNumber&&this.needIdcardNumber!==this.selectedVisitor.length){
  367. uni.showToast({
  368. title:`身份证数量应该为${this.needIdcardNumber}张`,
  369. icon:'none'
  370. })
  371. return false
  372. }
  373. this.visitorShow = false;
  374. this.visitors = this.visitorList.filter(obj => that.selectedVisitor.includes(obj.id)).map(item => {
  375. return {
  376. name: item.name,
  377. mobile: item.mobile,
  378. cardId: item.cardId
  379. }
  380. });
  381. },
  382. delVisitor(visitor) {
  383. this.visitors = this.visitors.filter(obj => obj.cardId != visitor.cardId);
  384. },
  385. addVisitor() {
  386. uni.$u.route('/center/people', {
  387. type: 'addVisitor',
  388. fromPage: 'bookticket'
  389. });
  390. },
  391. editVisitor(item) {
  392. uni.$u.route('/center/people', {
  393. type: 'editVisitor',
  394. fromPage: 'bookticket',
  395. id: item.id,
  396. name: item.name,
  397. mobile: item.mobile,
  398. cardId: item.cardId,
  399. });
  400. },
  401. applyOrder(){
  402. if(!this.linkName||!this.linkPhone){
  403. uni.showToast({
  404. title:'请填写带队负责人信息',
  405. icon:'none'
  406. })
  407. return
  408. }
  409. if(!uni.$u.test.mobile(this.linkPhone)){
  410. uni.showToast({
  411. title:'请正确填写带队负责人电话',
  412. icon:'none'
  413. })
  414. return
  415. }
  416. this.cansubmit = false;
  417. let params = {
  418. theatreId:this.theatreId,
  419. theatreName:this.theatreName,
  420. auditoriumId:this.pageContent.auditoriumId,
  421. auditoriumName:this.pageContent.auditoriumName,
  422. performId:this.pageContent.performId,
  423. performName:this.pageContent.performName,
  424. seatTypeId:this.pageContent.seatTypeId,
  425. seatTypeName:this.pageContent.seatTypeName,
  426. goodsId:this.pageContent.goodsId,
  427. goodsName:this.pageContent.goodsName,
  428. performTimeId:this.pageContent.performTimeId,
  429. price:this.pageContent.salePrice,
  430. priceTotal:this.totalPrice,
  431. viewerList:this.visitors,
  432. linkName:this.linkName,
  433. linkPhone:this.linkPhone,
  434. }
  435. this.$u.api.teamApply(params).then(res => {
  436. uni.$u.route('/center/paysuccess')
  437. }).catch(err => {
  438. this.cansubmit = true;
  439. uni.$u.toast(err.msg);
  440. console.log('applyOrder', err);
  441. })
  442. },
  443. addVisitor(){
  444. if(!this.newVisitor.name){
  445. uni.$u.toast('请填写观影人姓名')
  446. return
  447. }
  448. if(!this.newVisitor.cardId){
  449. uni.$u.toast('请填写观影人身份证')
  450. return
  451. }
  452. if(this.pageContent.oneMany==1){
  453. if(this.visitors.some(visitor => visitor.cardId === this.newVisitor.cardId)){
  454. uni.$u.toast('相同身份证号的观影人已存在')
  455. return
  456. }
  457. }
  458. this.visitors.push(this.newVisitor);
  459. this.newVisitor = {name:'',cardId:''};
  460. },
  461. }
  462. }
  463. </script>
  464. <style>
  465. page {
  466. background: linear-gradient(180deg, #ED0000 0%, #F9FBFD 50%, #fff 100%);
  467. background-repeat: no-repeat;
  468. }
  469. </style>
  470. <style lang="scss" scoped>
  471. .base-info {
  472. border-radius: 30rpx;
  473. overflow: hidden;
  474. 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;
  475. background-size: 50% 100%;
  476. background-repeat: no-repeat;
  477. padding: 34rpx 36rpx;
  478. box-sizing: border-box;
  479. margin: 30rpx 0 40rpx;
  480. .up {
  481. margin-bottom: 36rpx;
  482. .img {
  483. display: block;
  484. width: 172rpx;
  485. height: 230rpx;
  486. border-radius: 20rpx;
  487. margin-right: 32rpx;
  488. }
  489. .text {
  490. font-size: 22rpx;
  491. font-weight: 400;
  492. color: #606060;
  493. line-height: 1;
  494. }
  495. .text-item {
  496. margin-bottom: 18rpx;
  497. }
  498. .name {
  499. font-size: 32rpx;
  500. font-weight: bold;
  501. color: #2D2D2D;
  502. }
  503. .addr {
  504. font-size: 24rpx;
  505. font-weight: 500;
  506. color: #2D2D2D;
  507. }
  508. }
  509. .down {
  510. position: relative;
  511. &:before {
  512. content: '';
  513. width: calc(100% + 26rpx);
  514. height: 1px;
  515. position: absolute;
  516. left: -13rpx;
  517. top: -2rpx;
  518. border-top: 4rpx dashed #F39FA0;
  519. }
  520. .num-wrap {
  521. padding-top: 36rpx;
  522. .title {
  523. font-size: 14px;
  524. color: #4E4E4E;
  525. }
  526. }
  527. }
  528. }
  529. .block-wrap {
  530. background: #FFFFFF;
  531. box-shadow: 0rpx 0rpx 20rpx 2rpx rgba(221, 221, 221, 0.5);
  532. border-radius: 20rpx;
  533. margin-bottom: 28rpx;
  534. padding: 32rpx 30rpx 34rpx;
  535. .block-title {
  536. position: relative;
  537. margin-bottom: 22rpx;
  538. font-size: 24rpx;
  539. font-weight: 500;
  540. color: #CACACA;
  541. .name {
  542. font-size: 32rpx;
  543. font-weight: bold;
  544. color: #2D2D2D;
  545. margin-right: 20rpx;
  546. }
  547. }
  548. .no-people {
  549. font-size: 28rpx;
  550. font-weight: 400;
  551. color: #7F7F7F;
  552. .right {
  553. margin-left: 20rpx;
  554. color: #1677FF;
  555. }
  556. }
  557. .peoples {
  558. font-size: 28rpx;
  559. font-weight: 400;
  560. color: #7F7F7F;
  561. // margin-bottom: 24rpx;
  562. .peoples-item {
  563. margin-bottom: 10rpx;
  564. }
  565. .serial{
  566. margin-left: 3px;
  567. min-width: 2em;
  568. }
  569. .name {
  570. min-width: 4em;
  571. margin-left: 20rpx;
  572. margin-right: 28rpx;
  573. font-size: 28rpx;
  574. font-weight: bold;
  575. color: #363636;
  576. }
  577. .people-id {
  578. font-size: 20rpx;
  579. font-weight: 400;
  580. color: #606060;
  581. }
  582. .right {
  583. font-size: 28rpx;
  584. font-weight: 400;
  585. color: #ED0303;
  586. }
  587. }
  588. }
  589. .people-list {
  590. margin-bottom: 20rpx;
  591. .btn-wrap{
  592. gap: 10px;
  593. }
  594. .btn {
  595. min-width: 185rpx;
  596. height: 60rpx;
  597. line-height: 60rpx;
  598. font-size: 24rpx;
  599. font-weight: 500;
  600. color: #2D2D2D;
  601. background-color: #F1F1F1;
  602. border: 1px solid #F1F1F1;
  603. border-radius: 8rpx;
  604. margin-bottom: 12rpx;
  605. .text {
  606. margin-left: 16rpx;
  607. }
  608. &.people {
  609. margin-right: 16rpx;
  610. text-align: center;
  611. background-color: #FFF2F2;
  612. border-color: #ED0303;
  613. }
  614. }
  615. .add-wrap{
  616. margin-bottom: 24rpx;
  617. .u-input{
  618. margin-bottom: 24rpx;
  619. }
  620. }
  621. }
  622. .visitors {
  623. .block-title{
  624. .tip{
  625. margin-left: 10px;
  626. font-size: 28rpx;
  627. font-weight: normal;
  628. color: #ef3642;
  629. }
  630. }
  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. .linkman{
  783. .item{
  784. margin-bottom: 10px;
  785. .til{
  786. width: 4em;
  787. text-align: right;
  788. font-size: 28rpx;
  789. }
  790. /deep/ .u-input{
  791. width: auto;
  792. flex: 1;
  793. }
  794. }
  795. }
  796. .upload-wrap {
  797. margin-top: 20rpx;
  798. .file-info {
  799. padding: 20rpx;
  800. background-color: #f8f8f8;
  801. border-radius: 8rpx;
  802. .left {
  803. .filename {
  804. margin: 0 10rpx;
  805. max-width: 400rpx;
  806. overflow: hidden;
  807. text-overflow: ellipsis;
  808. white-space: nowrap;
  809. }
  810. .filesize {
  811. color: #909399;
  812. font-size: 24rpx;
  813. }
  814. }
  815. }
  816. }
  817. .upload-btn {
  818. width: 100%;
  819. height: 100%;
  820. }
  821. .expand-btn {
  822. text-align: center;
  823. padding-top: 20rpx;
  824. font-size: 24rpx;
  825. color: #666;
  826. display: flex;
  827. align-items: center;
  828. justify-content: center;
  829. .u-icon {
  830. margin-left: 10rpx;
  831. }
  832. }
  833. </style>