halllist.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813
  1. <template>
  2. <view class="center">
  3. <view class="content-money">
  4. <view class="status_bar"><!-- 这里是状态栏 --></view>
  5. <view class="money-box">
  6. <view class="goback-box" @click="toBack">
  7. <image class="goback" src="../../static/img/fanhui.png" mode=""></image>
  8. </view>
  9. <view class="header">CBB利润前置抢货区</view>
  10. <!-- #ifndef APP-PLUS -->
  11. <image class="money_bg" src="http://yiqugo.oss-cn-hangzhou.aliyuncs.com/87a32202304061420101468.png">
  12. </image>
  13. <!-- #endif -->
  14. <!-- #ifdef APP-PLUS -->
  15. <image class="money_bg" src="../../static/img/hinfo-bg1.png"></image>
  16. <!-- #endif -->
  17. </image>
  18. </view>
  19. </view>
  20. <swiper class="hallist-bg" autoplay="true" duration="400" interval="5000">
  21. <swiper-item v-for="(item, index) in images" :key="index" class="carousel-item">
  22. <image :src="item" />
  23. </swiper-item>
  24. </swiper>
  25. <!-- <view class="message flex">
  26. <image class="message-left" src="../../static/img/hinco.png" mode=""></image>
  27. <u-notice-bar style="width: 100%;" mode="vertical" type="none" :volume-icon="false" :more-icon="true"
  28. :list="text" @click="goDetails" @getMore="navTo('/pages/index/message?type = 1')"></u-notice-bar>
  29. </view> -->
  30. <view class="navbar">
  31. <view class="navbar-item" @click="navTo('/pages/money/qudou')">
  32. <view class="navbar-font">
  33. <image class="navbar-image" src="../../static/img/been.png" mode=""></image>
  34. <view class="font">趣豆</view>
  35. </view>
  36. <view class="navbar-num">{{ userInfo.integral || '0.00' }}</view>
  37. </view>
  38. <view class="vvv"></view>
  39. <view class="navbar-item">
  40. <view class="navbar-font" @click="navTo('/pages/user/mygs')">
  41. <image class="navbar-image" src="../../static/money/m03.png" mode=""></image>
  42. <view class="font">我的收益</view>
  43. </view>
  44. <view class="navbar-num">{{ userInfo.profit > 0 ? userInfo.profit : '0' }}</view>
  45. </view>
  46. <view class="vvv"></view>
  47. <view class="navbar-item">
  48. <view class="navbar-font" @click="navTo('/pages/user/myAppointment')">
  49. <image class="navbar-image" src="../../static/money/m04.png" mode=""></image>
  50. <view class="font">易趣卷</view>
  51. </view>
  52. <view class="navbar-num">{{ userInfo.anticipate }}</view>
  53. </view>
  54. </view>
  55. <view class="main" v-for="(item, index) in list" :key="index">
  56. <view class="mtitle-english">{{ item.show }}</view>
  57. <view class="mmain flex">
  58. <view class="mmain-info">
  59. <view class="mmain-title">
  60. <image class="mmaint-left" :src="item.time_image" mode=""></image>
  61. <view class="mmaint-font">{{ item.nickname }}</view>
  62. <view class="mmaint-time">{{ item.radd_time }}开售</view>
  63. </view>
  64. <view class="mmain-time" style="margin-top: 28rpx;">预约时间:{{ item.add_time }}-{{ item.end_time }}
  65. </view>
  66. <view class="mmain-time">入场时间:{{ item.radd_time | ahead }}-{{ item.rend_time }}</view>
  67. <view class="mmain-time flex">
  68. <view class="mmain-font">距预约结束:</view>
  69. <view class="lyy-b-jz flex" v-if="item.daotime == 1" style="font-size: 30rpx; color: #d13737;">
  70. 已结束</view>
  71. <view class="lyy-b-jz flex" v-else>
  72. <uni-countdowns color="#FFFFFF" splitor-color="#FECD57" background-color="#FECD57"
  73. border-color="#FECD57" :show-day="false" :hour="item.hours" :minute="item.minutes"
  74. :second="item.seconds" :index="index" @timeover="isTime"></uni-countdowns>
  75. </view>
  76. </view>
  77. </view>
  78. <view class="mmain-image">
  79. <image :src="item.image" mode=""></image>
  80. </view>
  81. </view>
  82. <view class="bottom" @click="open(item)">
  83. <view class="bottom-font" v-if="item.str == '预约'">立即{{ item.str }}</view>
  84. <view class="bottom-font" v-else>{{ item.daotime == 1 ? '立即进入' : '您已预约' }}</view>
  85. <image class="bottom-image" src="../../static/img/jt.png" mode=""></image>
  86. </view>
  87. </view>
  88. <uni-popup ref="popup" type="center">
  89. <view class="popup">
  90. <view class="popup-title">预约需要{{ price }}易趣卷是否立即预约?</view>
  91. <view class="btn-box">
  92. <view class="btn-left" @click="close()">取消</view>
  93. <view class="btn-right" @click="appointment()">确定</view>
  94. </view>
  95. </view>
  96. </uni-popup>
  97. <uni-popup ref="rule" :mask-click="false">
  98. <view class="regulation">
  99. <view class="regulation_close" @click="$refs.rule.close()">
  100. <image src="../../static/icon/guanbi@2x.png" mode=""></image>
  101. </view>
  102. <view class="regulation_name">会员须知及寄售协议</view>
  103. <view class="regulation_main">
  104. <scroll-view scroll-y="true" class="scroll-view">
  105. <view class="html" v-html="hyxy"></view>
  106. </scroll-view>
  107. </view>
  108. <view class="regulation_btn" @click="xyqd()">已阅读并同意</view>
  109. </view>
  110. </uni-popup>
  111. </view>
  112. </template>
  113. <script>
  114. import uniCountdowns from '@/components/uni-countdown/uni-countdowns.vue';
  115. import {
  116. pay_list
  117. } from '../../api/wallet.js';
  118. import {
  119. article
  120. } from '@/api/user.js';
  121. import {
  122. getUserInfo,
  123. rate,
  124. details
  125. } from '@/api/user.js';
  126. import {
  127. mapState,
  128. mapMutations
  129. } from 'vuex';
  130. import {
  131. auction_list,
  132. subscribe,
  133. advance
  134. } from '@/api/hall.js';
  135. import {
  136. timeComputed
  137. } from '@/utils/rocessor.js';
  138. export default {
  139. components: {
  140. uniCountdowns
  141. },
  142. data() {
  143. return {
  144. hyxy: '',
  145. images: [], //轮播图
  146. name: '', //馆名字
  147. peoplename: '', //馆长名字
  148. price: '', //预约的价格
  149. id: '', //预约会场id
  150. oid: '', //馆id
  151. page: 1,
  152. limit: 10,
  153. loadingType: 'more',
  154. // text: [],
  155. article: [],
  156. list: [],
  157. aliData: {},
  158. bankData: {},
  159. wx: {},
  160. sm: 0,
  161. sbly: ''
  162. };
  163. },
  164. filters: {
  165. ahead(provider) {
  166. let time = provider.split(':');
  167. console.log(time);
  168. if (time[1] * 1 - 6 < 0) {
  169. time[1] = time[1] * 1 + 54;
  170. if (time[0] * 1 == 0) {
  171. time[0] = '23';
  172. } else {
  173. time[0] = time[0] * 1 - 1;
  174. }
  175. } else {
  176. time[1] = time[1] * 1 - 6;
  177. if (time[1] < 10) {
  178. time[1] = '0' + time[1];
  179. }
  180. }
  181. return time[0] + ':' + time[1] + ':' + time[2];
  182. }
  183. },
  184. onLoad(option) {
  185. this.oid = option.id;
  186. this.name = option.name;
  187. this.peoplename = option.peoplename;
  188. this.gethyxy();
  189. this.isSm();
  190. pay_list({}).then(({
  191. data
  192. }) => {
  193. this.wx = data.wx;
  194. this.aliData = data.zfb;
  195. this.bankData = data.bank;
  196. });
  197. },
  198. onShow() {
  199. this.list = [];
  200. this.page = 1;
  201. this.limit = 10;
  202. this.loadingType = 'more';
  203. this.loadData();
  204. },
  205. computed: {
  206. ...mapState('user', ['userInfo', 'orderInfo', 'hasLogin'])
  207. },
  208. methods: {
  209. ...mapMutations('user', ['setUserInfo', 'setOrderInfo']),
  210. gethyxy() {
  211. details({}, 2).then(({
  212. data
  213. }) => {
  214. data.content = data.content.replace(/nowrap/gi, 'wrap');
  215. this.hyxy = data.content;
  216. });
  217. },
  218. isSm() {
  219. rate({}).then(e => {
  220. this.sm = e.data.is_auth;
  221. if (e.data.is_auth == 3) {
  222. this.sbly = e.data.off;
  223. }
  224. });
  225. },
  226. loadData() {
  227. const obj = this;
  228. if (obj.loadingType == 'nomore' || obj.loadingType == 'loading') {
  229. return;
  230. }
  231. obj.loadingType = 'loading';
  232. auction_list({
  233. page: obj.page,
  234. limit: obj.limit,
  235. auction_gu_id: obj.oid
  236. }).then(({
  237. data
  238. }) => {
  239. obj.images = data.slider_image;
  240. console.log(data);
  241. data.data.forEach(e => {
  242. let now_time = timeComputed(e.time);
  243. console.log(e.time, now_time);
  244. e.hours = now_time.hours;
  245. e.minutes = now_time.minutes;
  246. e.seconds = now_time.seconds;
  247. if (now_time.hours < 0 || now_time.minutes < 0 || now_time.seconds < 0) {
  248. e.daotime = 1;
  249. } else {
  250. e.daotime = 0;
  251. }
  252. let jcsj = e.radd_time.split(':');
  253. if (jcsj[0] * 1 >= 8 && jcsj[0] * 1 < 12) {
  254. e.time_image = '../../static/img/morningicon.png';
  255. e.show = 'MORNING SHOWS';
  256. } else if (jcsj[0] * 1 >= 12 && jcsj[0] * 1 < 18) {
  257. e.show = 'AFTERNOON SHOWS';
  258. e.time_image = '../../static/img/afternoonicon.png';
  259. } else {
  260. e.time_image = '../../static/img/eveningicon.png';
  261. e.show = 'EVENING SHOWS';
  262. }
  263. });
  264. obj.list = obj.list.concat(data.data);
  265. if (data.data.length == obj.limit) {
  266. obj.loadingType = 'more';
  267. obj.page++;
  268. } else {
  269. obj.loadingType = 'nomore';
  270. }
  271. });
  272. },
  273. open(item) {
  274. if (this.sm == 0) {
  275. uni.showModal({
  276. title: '提示',
  277. content: '您未实名认证无法参与,是否前去实名认证?',
  278. success: function(res) {
  279. if (res.confirm) {
  280. uni.navigateTo({
  281. url: '/pages/user/approve'
  282. });
  283. } else if (res.cancel) {
  284. console.log('用户点击取消');
  285. }
  286. }
  287. });
  288. return;
  289. }
  290. if (this.sm == 1) {
  291. return this.$api.msg('实名认证正在审核中请耐心等待');
  292. }
  293. if (this.sm == 3) {
  294. uni.showModal({
  295. title: '提示',
  296. content: '申请失败,原因' + this.sbly + '是否重新申请',
  297. success: function(res) {
  298. if (res.confirm) {
  299. uni.navigateTo({
  300. url: '/pages/user/approve'
  301. });
  302. } else if (res.cancel) {
  303. console.log('用户点击取消');
  304. }
  305. }
  306. });
  307. return;
  308. }
  309. if (this.wx == '' && this.aliData == '' && this.bankData == '') {
  310. uni.showModal({
  311. title: '提示',
  312. content: '您未填写收款信息无法参与,是否前去填写收款信息?',
  313. success: function(res) {
  314. if (res.confirm) {
  315. uni.navigateTo({
  316. url: '/pages/collection/collection'
  317. });
  318. } else if (res.cancel) {
  319. console.log('用户点击取消');
  320. }
  321. }
  322. });
  323. return;
  324. }
  325. // 场次是否已经预约sta=1未预约
  326. if (item.sta != 1) {
  327. this.id = item.id;
  328. advance({
  329. id: item.id
  330. })
  331. .then(e => {
  332. console.log(e, 'success');
  333. this.nav();
  334. })
  335. .catch(e => {
  336. console.log(e, 'fail');
  337. });
  338. } else {
  339. this.price = item.anticipate;
  340. this.id = item.id;
  341. // this.$refs.popup.open();
  342. this.$refs.rule.open();
  343. }
  344. },
  345. xyqd() {
  346. this.$refs.rule.close();
  347. this.$refs.popup.open();
  348. },
  349. goDetails(e) {
  350. console.log(e, '123456');
  351. uni.navigateTo({
  352. url: '/pages/index/messageInfo?id=' + this.article[e].id
  353. });
  354. },
  355. close() {
  356. this.price = '';
  357. this.id = '';
  358. this.$refs.popup.close();
  359. },
  360. nav() {
  361. uni.navigateTo({
  362. url: '/pages/hall/hallinfo?id=' + this.id + '&name=' + this.name + '&peoplename=' + this
  363. .peoplename
  364. });
  365. },
  366. navTo(url) {
  367. uni.navigateTo({
  368. url
  369. });
  370. },
  371. toBack() {
  372. uni.navigateBack({});
  373. },
  374. appointment() {
  375. subscribe({
  376. id: this.id
  377. })
  378. .then(({
  379. data
  380. }) => {
  381. this.$api.msg('预约成功');
  382. console.log(data);
  383. this.price = '';
  384. this.$refs.popup.close();
  385. this.page = 1;
  386. this.limit = 10;
  387. this.loadingType = 'more';
  388. this.list = [];
  389. this.loadData();
  390. this.updata();
  391. })
  392. .catch(e => {
  393. this.price = '';
  394. this.$refs.popup.close();
  395. console.log(e);
  396. });
  397. },
  398. updata() {
  399. getUserInfo({})
  400. .then(({
  401. data
  402. }) => {
  403. this.setUserInfo(data);
  404. })
  405. .catch(e => {
  406. console.log(e);
  407. });
  408. },
  409. isTime(index) {
  410. console.log(index, '123');
  411. this.list[index].daotime = 1;
  412. }
  413. }
  414. };
  415. </script>
  416. <style lang="less">
  417. page,
  418. .center {
  419. height: auto;
  420. min-height: 100%;
  421. background: #f2f5f4;
  422. }
  423. .status_bar {
  424. height: var(--status-bar-height);
  425. width: 100%;
  426. }
  427. .money-box {
  428. color: #ffffff;
  429. text-align: center;
  430. position: relative;
  431. .header {
  432. position: absolute;
  433. left: 0;
  434. top: 0;
  435. width: 100%;
  436. height: 80rpx;
  437. font-size: 32rpx;
  438. font-weight: 700;
  439. z-index: 99;
  440. display: flex;
  441. justify-content: center;
  442. align-items: center;
  443. }
  444. .goback-box {
  445. position: absolute;
  446. left: 18rpx;
  447. top: 0;
  448. height: 80rpx;
  449. display: flex;
  450. align-items: center;
  451. }
  452. .goback {
  453. z-index: 100;
  454. width: 34rpx;
  455. height: 34rpx;
  456. }
  457. .money_bg {
  458. width: 100%;
  459. height: 382rpx;
  460. display: block;
  461. }
  462. }
  463. .shingle-mmain {
  464. position: relative;
  465. z-index: 2;
  466. margin: -90rpx auto 0;
  467. width: 690rpx;
  468. height: 176rpx;
  469. background: #ffffff;
  470. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  471. border-radius: 20rpx;
  472. background-color: #ffffff;
  473. .smmain-item {
  474. width: 33%;
  475. display: flex;
  476. flex-direction: column;
  477. align-items: center;
  478. .red {
  479. color: #fd3b39 !important;
  480. }
  481. .smitem-top {
  482. font-size: 30rpx;
  483. font-family: PingFang SC;
  484. font-weight: bolder;
  485. color: #0c1732;
  486. }
  487. .smitem-bottom {
  488. margin-top: 10rpx;
  489. font-size: 30rpx;
  490. font-family: PingFang SC;
  491. font-weight: 500;
  492. color: #0c1732;
  493. }
  494. .people {
  495. justify-content: center;
  496. .peopleitem {
  497. width: 24rpx;
  498. height: 34rpx;
  499. image {
  500. width: 100%;
  501. height: 100%;
  502. }
  503. }
  504. }
  505. }
  506. .shu {
  507. width: 2rpx;
  508. height: 70rpx;
  509. background: #dcdcdc;
  510. }
  511. }
  512. .main {
  513. margin: 30rpx auto 0;
  514. padding: 50rpx 50rpx 36rpx 50rpx;
  515. width: 690rpx;
  516. background: #ffffff;
  517. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  518. border-radius: 20rpx;
  519. .mtitle-english {
  520. font-size: 30rpx;
  521. font-family: PingFang SC;
  522. font-weight: bold;
  523. color: #9ea6ba;
  524. }
  525. .mmain {
  526. margin-top: 24rpx;
  527. .mmain-info {
  528. .mmain-title {
  529. display: flex;
  530. justify-content: flex-start;
  531. align-items: center;
  532. .mmaint-left {
  533. width: 52rpx;
  534. height: 40rpx;
  535. }
  536. .mmaint-font {
  537. margin-left: 10rpx;
  538. font-size: 32rpx;
  539. font-family: PingFang SC;
  540. font-weight: bold;
  541. color: #0c1732;
  542. }
  543. .mmaint-time {
  544. margin-left: 20rpx;
  545. font-size: 28rpx;
  546. font-family: PingFang SC;
  547. font-weight: 500;
  548. color: #0c1732;
  549. }
  550. }
  551. .mmain-time {
  552. justify-content: flex-start;
  553. margin-top: 10rpx;
  554. font-size: 26rpx;
  555. font-family: PingFang SC;
  556. font-weight: 500;
  557. color: #0c1732;
  558. .lyy-b-jz {
  559. margin-left: 10rpx;
  560. }
  561. }
  562. }
  563. .mmain-image {
  564. padding-top: 14rpx;
  565. width: 182rpx;
  566. height: 182rpx;
  567. image {
  568. width: 100%;
  569. height: 100%;
  570. }
  571. }
  572. }
  573. .bottom {
  574. margin-top: 32rpx;
  575. width: 380rpx;
  576. height: 64rpx;
  577. background: #d13737;
  578. border-radius: 20rpx;
  579. display: flex;
  580. justify-content: center;
  581. align-items: center;
  582. .bottom-font {
  583. font-size: 28rpx;
  584. font-family: PingFang SC;
  585. font-weight: bold;
  586. color: #ffffff;
  587. }
  588. .bottom-image {
  589. margin-left: 12rpx;
  590. width: 24rpx;
  591. height: 22rpx;
  592. }
  593. }
  594. }
  595. .popup {
  596. width: 582rpx;
  597. background: #ffffff;
  598. border-radius: 20rpx;
  599. padding: 118rpx 20rpx 30rpx;
  600. .popup-title {
  601. text-align: center;
  602. font-size: 42rpx;
  603. font-family: PingFang SC;
  604. font-weight: 500;
  605. color: #0c1732;
  606. }
  607. .btn-box {
  608. padding-top: 90rpx;
  609. display: flex;
  610. align-items: center;
  611. justify-content: space-between;
  612. .btn-left {
  613. width: 248rpx;
  614. height: 78rpx;
  615. border: 2rpx solid #dc262b;
  616. border-radius: 10rpx;
  617. font-size: 34rpx;
  618. font-family: PingFang SC;
  619. font-weight: 500;
  620. color: #dc262b;
  621. text-align: center;
  622. line-height: 78rpx;
  623. }
  624. .btn-right {
  625. width: 248rpx;
  626. height: 78rpx;
  627. background: #dc262b;
  628. border-radius: 10rpx;
  629. font-size: 34rpx;
  630. font-family: PingFang SC;
  631. font-weight: 500;
  632. color: #ffffff;
  633. text-align: center;
  634. line-height: 78rpx;
  635. }
  636. }
  637. }
  638. .message {
  639. justify-content: space-around;
  640. margin: 20rpx auto 0;
  641. padding: 16rpx 40rpx 16rpx 50rpx;
  642. width: 690rpx;
  643. background: #ffffff;
  644. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  645. border-radius: 20rpx;
  646. .message-left {
  647. width: 52rpx;
  648. height: 52rpx;
  649. flex-shrink: 0;
  650. }
  651. .message-font {
  652. margin: 0 40rpx;
  653. font-size: 28rpx;
  654. font-family: PingFang SC;
  655. font-weight: 500;
  656. color: #0c1732;
  657. }
  658. .message-right {
  659. width: 18rpx;
  660. height: 30rpx;
  661. }
  662. }
  663. .hallist-bg {
  664. position: relative;
  665. z-index: 10;
  666. margin: -280rpx auto 0;
  667. width: 702rpx;
  668. height: 300rpx;
  669. border-radius: 14rpx;
  670. image {
  671. width: 100%;
  672. height: 100%;
  673. }
  674. }
  675. .navbar {
  676. display: flex;
  677. align-items: center;
  678. justify-content: space-around;
  679. width: 700rpx;
  680. background: #ffffff;
  681. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  682. border-radius: 20rpx;
  683. margin: 40rpx auto 0;
  684. padding: 40rpx 0 50rpx;
  685. .vvv {
  686. width: 2rpx;
  687. height: 74rpx;
  688. background: #dcdcdc;
  689. }
  690. .navbar-item {
  691. display: flex;
  692. flex-direction: column;
  693. align-items: center;
  694. .navbar-font {
  695. margin-bottom: 10rpx;
  696. display: flex;
  697. justify-content: center;
  698. align-items: center;
  699. image {
  700. margin-right: 10rpx;
  701. width: 40rpx;
  702. height: 40rpx;
  703. }
  704. .font {
  705. font-size: 30rpx;
  706. font-weight: bold;
  707. color: #0c1732;
  708. }
  709. }
  710. .navbar-num {
  711. font-size: 34rpx;
  712. font-weight: bold;
  713. color: #0c1732;
  714. }
  715. }
  716. }
  717. .regulation {
  718. width: 650rpx;
  719. padding: 30rpx;
  720. background: #ffffff;
  721. border-radius: 20rpx;
  722. position: relative;
  723. .regulation_close {
  724. position: absolute;
  725. width: 44rpx;
  726. height: 44rpx;
  727. top: 30rpx;
  728. right: 30rpx;
  729. image {
  730. width: 100%;
  731. height: 100%;
  732. }
  733. }
  734. .regulation_name {
  735. padding: 40rpx 0;
  736. text-align: center;
  737. font-size: 30rpx;
  738. font-weight: bold;
  739. }
  740. .scroll-view {
  741. height: 735rpx;
  742. }
  743. .regulation_btn {
  744. margin: 20rpx auto 0;
  745. width: 496rpx;
  746. height: 78rpx;
  747. background: #dc262b;
  748. border-radius: 10rpx;
  749. font-size: 34rpx;
  750. font-family: PingFang SC;
  751. font-weight: 500;
  752. color: #ffffff;
  753. text-align: center;
  754. line-height: 78rpx;
  755. }
  756. }
  757. </style>