bookticket.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868
  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. const file = files[0];
  251. if (!/\.(xlsx|xls)$/i.test(file.name)) {
  252. uni.showToast({
  253. title: '请上传XLSX或XLS格式的文件',
  254. icon: 'none'
  255. });
  256. return false;
  257. }
  258. return true;
  259. },
  260. // 文件读取后的处理
  261. afterRead(files) {
  262. this.fileList = [files.file];
  263. const size = this.fileList[0].size/1024/1024;//M
  264. if(size>5){
  265. this.onOversize();
  266. return
  267. }
  268. uni.showLoading({
  269. title: '文件上传中...'
  270. });
  271. uni.uploadFile({
  272. url: this.$commonConfig.baseUrl+'/member/marketTeamApplyViewer/analysis',
  273. filePath: files.file.url,
  274. name: 'file',
  275. header: {
  276. 'Authorization': `Bearer ${this.vuex_user_info.accessToken}`
  277. },
  278. formData: {
  279. bucket: 'greattransition'
  280. },
  281. success: (res) => {
  282. if (res.statusCode === 200) {
  283. const data = JSON.parse(res.data);
  284. if (data.code === 200) {
  285. const newVisitors = data.data || [];
  286. const uniqueVisitors = newVisitors.filter(newVisitor => {
  287. return !this.visitors.some(existingVisitor =>
  288. existingVisitor.cardId === newVisitor.cardId
  289. );
  290. });
  291. this.visitors = [...this.visitors, ...uniqueVisitors];
  292. uni.showToast({
  293. title: '导入成功',
  294. icon: 'success'
  295. });
  296. } else {
  297. this.clearFile();
  298. uni.showToast({
  299. title: data.msg || '导入失败',
  300. icon: 'none'
  301. });
  302. }
  303. }
  304. },
  305. fail: () => {
  306. this.clearFile();
  307. uni.showToast({
  308. title: '导入失败',
  309. icon: 'none'
  310. });
  311. },
  312. complete: () => {
  313. uni.hideLoading();
  314. }
  315. });
  316. },
  317. // 文件大小超出限制
  318. onOversize() {
  319. uni.showToast({
  320. title: '文件大小不能超过5M',
  321. icon: 'none'
  322. });
  323. },
  324. // 清除已上传的文件
  325. clearFile() {
  326. this.fileList = [];
  327. this.fileUrl = '';
  328. },
  329. leftClick(e) {
  330. let pages = getCurrentPages();
  331. if (pages.length == 1) {
  332. uni.$u.route('/pages/index/index')
  333. } else {
  334. uni.navigateBack()
  335. };
  336. },
  337. getSettlement() {
  338. this.$u.api.getSettlement(this.pageData).then(res => {
  339. this.pageContent = res.data;
  340. }).catch(err => {
  341. console.log('getSettlement', err);
  342. })
  343. },
  344. confirmVisitor() {
  345. let that = this;
  346. if(this.needIdcardNumber&&this.needIdcardNumber!==this.selectedVisitor.length){
  347. uni.showToast({
  348. title:`身份证数量应该为${this.needIdcardNumber}张`,
  349. icon:'none'
  350. })
  351. return false
  352. }
  353. this.visitorShow = false;
  354. this.visitors = this.visitorList.filter(obj => that.selectedVisitor.includes(obj.id)).map(item => {
  355. return {
  356. name: item.name,
  357. mobile: item.mobile,
  358. cardId: item.cardId
  359. }
  360. });
  361. },
  362. delVisitor(visitor) {
  363. this.visitors = this.visitors.filter(obj => obj.cardId != visitor.cardId);
  364. },
  365. addVisitor() {
  366. uni.$u.route('/center/people', {
  367. type: 'addVisitor',
  368. fromPage: 'bookticket'
  369. });
  370. },
  371. editVisitor(item) {
  372. uni.$u.route('/center/people', {
  373. type: 'editVisitor',
  374. fromPage: 'bookticket',
  375. id: item.id,
  376. name: item.name,
  377. mobile: item.mobile,
  378. cardId: item.cardId,
  379. });
  380. },
  381. applyOrder(){
  382. if(!this.linkName||!this.linkPhone){
  383. uni.showToast({
  384. title:'请填写带队负责人信息',
  385. icon:'none'
  386. })
  387. return
  388. }
  389. if(!uni.$u.test.mobile(this.linkPhone)){
  390. uni.showToast({
  391. title:'请正确填写带队负责人电话',
  392. icon:'none'
  393. })
  394. return
  395. }
  396. this.cansubmit = false;
  397. let params = {
  398. theatreId:this.theatreId,
  399. theatreName:this.theatreName,
  400. auditoriumId:this.pageContent.auditoriumId,
  401. auditoriumName:this.pageContent.auditoriumName,
  402. performId:this.pageContent.performId,
  403. performName:this.pageContent.performName,
  404. seatTypeId:this.pageContent.seatTypeId,
  405. seatTypeName:this.pageContent.seatTypeName,
  406. goodsId:this.pageContent.goodsId,
  407. goodsName:this.pageContent.goodsName,
  408. performTimeId:this.pageContent.performTimeId,
  409. price:this.pageContent.salePrice,
  410. priceTotal:this.totalPrice,
  411. viewerList:this.visitors,
  412. linkName:this.linkName,
  413. linkPhone:this.linkPhone,
  414. }
  415. this.$u.api.teamApply(params).then(res => {
  416. uni.$u.route('/center/paysuccess')
  417. }).catch(err => {
  418. this.cansubmit = true;
  419. uni.$u.toast(err.msg);
  420. console.log('applyOrder', err);
  421. })
  422. },
  423. addVisitor(){
  424. if(!this.newVisitor.name){
  425. uni.$u.toast('请填写观影人姓名')
  426. return
  427. }
  428. if(!this.newVisitor.cardId){
  429. uni.$u.toast('请填写观影人身份证')
  430. return
  431. }
  432. if(this.pageContent.oneMany==1){
  433. if(this.visitors.some(visitor => visitor.cardId === this.newVisitor.cardId)){
  434. uni.$u.toast('相同身份证号的观影人已存在')
  435. return
  436. }
  437. }
  438. this.visitors.push(this.newVisitor);
  439. this.newVisitor = {name:'',cardId:''};
  440. },
  441. }
  442. }
  443. </script>
  444. <style>
  445. page {
  446. background: linear-gradient(180deg, #ED0000 0%, #F9FBFD 50%, #fff 100%);
  447. background-repeat: no-repeat;
  448. }
  449. </style>
  450. <style lang="scss" scoped>
  451. .base-info {
  452. border-radius: 30rpx;
  453. overflow: hidden;
  454. 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;
  455. background-size: 50% 100%;
  456. background-repeat: no-repeat;
  457. padding: 34rpx 36rpx;
  458. box-sizing: border-box;
  459. margin: 30rpx 0 40rpx;
  460. .up {
  461. margin-bottom: 36rpx;
  462. .img {
  463. display: block;
  464. width: 172rpx;
  465. height: 230rpx;
  466. border-radius: 20rpx;
  467. margin-right: 32rpx;
  468. }
  469. .text {
  470. font-size: 22rpx;
  471. font-weight: 400;
  472. color: #606060;
  473. line-height: 1;
  474. }
  475. .text-item {
  476. margin-bottom: 18rpx;
  477. }
  478. .name {
  479. font-size: 32rpx;
  480. font-weight: bold;
  481. color: #2D2D2D;
  482. }
  483. .addr {
  484. font-size: 24rpx;
  485. font-weight: 500;
  486. color: #2D2D2D;
  487. }
  488. }
  489. .down {
  490. position: relative;
  491. &:before {
  492. content: '';
  493. width: calc(100% + 26rpx);
  494. height: 1px;
  495. position: absolute;
  496. left: -13rpx;
  497. top: -2rpx;
  498. border-top: 4rpx dashed #F39FA0;
  499. }
  500. .num-wrap {
  501. padding-top: 36rpx;
  502. .title {
  503. font-size: 14px;
  504. color: #4E4E4E;
  505. }
  506. }
  507. }
  508. }
  509. .block-wrap {
  510. background: #FFFFFF;
  511. box-shadow: 0rpx 0rpx 20rpx 2rpx rgba(221, 221, 221, 0.5);
  512. border-radius: 20rpx;
  513. margin-bottom: 28rpx;
  514. padding: 32rpx 30rpx 34rpx;
  515. .block-title {
  516. position: relative;
  517. margin-bottom: 22rpx;
  518. font-size: 24rpx;
  519. font-weight: 500;
  520. color: #CACACA;
  521. .name {
  522. font-size: 32rpx;
  523. font-weight: bold;
  524. color: #2D2D2D;
  525. margin-right: 20rpx;
  526. }
  527. }
  528. .no-people {
  529. font-size: 28rpx;
  530. font-weight: 400;
  531. color: #7F7F7F;
  532. .right {
  533. margin-left: 20rpx;
  534. color: #1677FF;
  535. }
  536. }
  537. .peoples {
  538. font-size: 28rpx;
  539. font-weight: 400;
  540. color: #7F7F7F;
  541. // margin-bottom: 24rpx;
  542. .peoples-item {
  543. margin-bottom: 10rpx;
  544. }
  545. .serial{
  546. margin-left: 3px;
  547. min-width: 2em;
  548. }
  549. .name {
  550. min-width: 4em;
  551. margin-left: 20rpx;
  552. margin-right: 28rpx;
  553. font-size: 28rpx;
  554. font-weight: bold;
  555. color: #363636;
  556. }
  557. .people-id {
  558. font-size: 20rpx;
  559. font-weight: 400;
  560. color: #606060;
  561. }
  562. .right {
  563. font-size: 28rpx;
  564. font-weight: 400;
  565. color: #ED0303;
  566. }
  567. }
  568. }
  569. .people-list {
  570. margin-bottom: 20rpx;
  571. .btn-wrap{
  572. gap: 10px;
  573. }
  574. .btn {
  575. min-width: 185rpx;
  576. height: 60rpx;
  577. line-height: 60rpx;
  578. font-size: 24rpx;
  579. font-weight: 500;
  580. color: #2D2D2D;
  581. background-color: #F1F1F1;
  582. border: 1px solid #F1F1F1;
  583. border-radius: 8rpx;
  584. margin-bottom: 12rpx;
  585. .text {
  586. margin-left: 16rpx;
  587. }
  588. &.people {
  589. margin-right: 16rpx;
  590. text-align: center;
  591. background-color: #FFF2F2;
  592. border-color: #ED0303;
  593. }
  594. }
  595. .add-wrap{
  596. margin-bottom: 24rpx;
  597. .u-input{
  598. margin-bottom: 24rpx;
  599. }
  600. }
  601. }
  602. .visitors {
  603. .block-title{
  604. .tip{
  605. margin-left: 10px;
  606. font-size: 28rpx;
  607. font-weight: normal;
  608. color: #ef3642;
  609. }
  610. }
  611. margin-bottom: 20rpx;
  612. }
  613. .people-show-content {
  614. background: #FFFFFF;
  615. border-radius: 40rpx 40rpx 0rpx 0rpx;
  616. padding: 30rpx 40rpx;
  617. .title {
  618. position: relative;
  619. font-size: 32rpx;
  620. font-weight: 500;
  621. color: #606060;
  622. margin-bottom: 46rpx;
  623. text-align: center;
  624. .cancel {
  625. position: absolute;
  626. left: 0;
  627. top: 0;
  628. }
  629. }
  630. .add-btn {
  631. margin-bottom: 28rpx;
  632. background: #ffdee1;
  633. border-radius: 44rpx;
  634. padding: 26rpx;
  635. font-size: 24rpx;
  636. font-weight: 400;
  637. color: #ff1616;
  638. .img {
  639. width: 28rpx;
  640. height: 36rpx;
  641. margin-right: 36rpx;
  642. }
  643. }
  644. .list {
  645. /deep/ .u-radio-group {
  646. flex-wrap: wrap;
  647. }
  648. /deep/ .u-checkbox-group {
  649. flex-wrap: wrap;
  650. }
  651. overflow-y: auto;
  652. height: 40vh;
  653. .people {
  654. width: 100%;
  655. margin-bottom: 24rpx;
  656. }
  657. }
  658. .btn {}
  659. }
  660. .coupon {
  661. background: #FFFFFF;
  662. box-shadow: 0rpx 0rpx 16rpx 2rpx rgba(232, 232, 232, 0.5);
  663. border-radius: 16rpx;
  664. padding: 44rpx 36rpx;
  665. margin-bottom: 24rpx;
  666. .title {
  667. font-size: 28rpx;
  668. font-weight: bold;
  669. color: #2D2D2D;
  670. padding-bottom: 20rpx;
  671. margin-bottom: 26rpx;
  672. border-bottom-style: dashed;
  673. }
  674. .single-til {
  675. margin-bottom: 28rpx;
  676. .text {
  677. font-weight: 400;
  678. }
  679. }
  680. .no-coupon {
  681. height: 116rpx;
  682. line-height: 116rpx;
  683. text-align: center;
  684. background: #F9FAFD;
  685. border-radius: 8rpx;
  686. font-size: 24rpx;
  687. font-weight: 400;
  688. color: #C0C0C0;
  689. }
  690. }
  691. .notice {
  692. background: #FFFFFF;
  693. box-shadow: 0rpx 0rpx 16rpx 2rpx rgba(232, 232, 232, 0.5);
  694. border-radius: 16rpx;
  695. padding: 44rpx 36rpx;
  696. margin-bottom: 24rpx;
  697. .title {
  698. font-size: 28rpx;
  699. font-weight: bold;
  700. color: #2D2D2D;
  701. padding-bottom: 20rpx;
  702. margin-bottom: 26rpx;
  703. border-bottom-style: dashed;
  704. }
  705. .notice-item {
  706. font-size: 24rpx;
  707. font-weight: 400;
  708. color: #7F7F7F;
  709. line-height: 36rpx;
  710. margin-bottom: 8rpx;
  711. }
  712. }
  713. .page-bottom {
  714. position: relative;
  715. z-index: 1001;
  716. height: 98rpx;
  717. padding: 24rpx 20rpx 50rpx;
  718. .inner {
  719. position: fixed;
  720. background-color: #fff;
  721. height: 98rpx;
  722. left: 0;
  723. right: 0;
  724. bottom: 0;
  725. padding: 24rpx 20rpx 50rpx;
  726. box-shadow: 0rpx -4rpx 12rpx 0rpx rgba(215, 215, 215, 0.5);
  727. .total-price {
  728. font-size: 40rpx;
  729. font-weight: bold;
  730. color: #ED0000;
  731. }
  732. .btn {
  733. font-size: 28rpx;
  734. height: 80rpx;
  735. line-height: 80rpx;
  736. border-radius: 50rpx;
  737. padding: 0 50rpx;
  738. background-color: #eee;
  739. color: #333;
  740. text-align: center;
  741. &.active {
  742. background: linear-gradient(90deg, #FF7979 0%, #ED0000 100%);
  743. color: #fff;
  744. }
  745. }
  746. }
  747. }
  748. .purchaser {
  749. .item {
  750. margin-bottom: 10rpx;
  751. font-size: 26rpx;
  752. color: #333;
  753. }
  754. .un-auth {
  755. padding: 26rpx;
  756. background-color: #eee;
  757. color: #333;
  758. text-align: center;
  759. border-radius: 8rpx;
  760. }
  761. }
  762. .linkman{
  763. .item{
  764. margin-bottom: 10px;
  765. .til{
  766. width: 4em;
  767. text-align: right;
  768. font-size: 28rpx;
  769. }
  770. /deep/ .u-input{
  771. width: auto;
  772. flex: 1;
  773. }
  774. }
  775. }
  776. .upload-wrap {
  777. margin-top: 20rpx;
  778. .file-info {
  779. padding: 20rpx;
  780. background-color: #f8f8f8;
  781. border-radius: 8rpx;
  782. .left {
  783. .filename {
  784. margin: 0 10rpx;
  785. max-width: 400rpx;
  786. overflow: hidden;
  787. text-overflow: ellipsis;
  788. white-space: nowrap;
  789. }
  790. .filesize {
  791. color: #909399;
  792. font-size: 24rpx;
  793. }
  794. }
  795. }
  796. }
  797. .upload-btn {
  798. width: 100%;
  799. height: 100%;
  800. }
  801. .expand-btn {
  802. text-align: center;
  803. padding-top: 20rpx;
  804. font-size: 24rpx;
  805. color: #666;
  806. display: flex;
  807. align-items: center;
  808. justify-content: center;
  809. .u-icon {
  810. margin-left: 10rpx;
  811. }
  812. }
  813. </style>