applicationForm.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748
  1. <template>
  2. <view class="content">
  3. <!-- <view class="top">
  4. <image src="../../static/img/application.png" mode=""></image>
  5. </view>
  6. <view class="info-box">
  7. 遗体捐献是服务医疗事业,造福人类的高尚行为,是"人道、博爱、奉献"精神的崇高体现。
  8. 我已了解遗体捐献的基本常识和有关政策法规。我自愿登记成为武汉遗体捐献志愿者,身故后请执行人和所有亲属尊重我的决定。
  9. </view> -->
  10. <view class="red-box" style="color: #FF6E6E;">申请登记</view>
  11. <view class="jg" style="background:#FF6E6E; opacity: 0.26;"></view>
  12. <view class="box">
  13. <view class="box-1">
  14. <view class="box-left">
  15. 姓名
  16. <text class="imp"></text>
  17. </view>
  18. <input type="text" value="" class="list-input" v-model="name" placeholder="请输入您的姓名" />
  19. </view>
  20. <view class="box-1">
  21. <view class="box-left">性别:</view>
  22. <picker @change="bindPickerSex" :value="index" :range="array" class="box-right">
  23. <text :class="{'action': !sex}">{{ sex || '请输入您的性别' }}</text>
  24. </picker>
  25. </view>
  26. <view class="box-1">
  27. <view class="box-left">出生年月:</view>
  28. <picker mode="date" :value="birthday" fields="month" :start="startDate" :end="endDate" @change="bindDateChange" class="box-right">
  29. <view :class="{'action': !birthday}">{{ birthday || '请输入您的生日' }}</view>
  30. </picker>
  31. </view>
  32. <view class="box-1">
  33. <view class="box-left">文化程度:</view>
  34. <picker @change="bindPickerEdu" :value="index" :range="chooseEdu" class="box-right">
  35. <text :class="{'action': !education}">{{ education || '请输入您的文化程度' }}</text>
  36. </picker>
  37. </view>
  38. <view class="box-1">
  39. <view class="box-left">职业:</view>
  40. <input type="text" value="" class="list-input" v-model="occupation" placeholder="请输入您的职业"/>
  41. </view>
  42. <view class="box-1">
  43. <view class="box-left">身份证号码:</view>
  44. <input type="text" value="" class="list-input" v-model="card" placeholder="请输入您的身份证号"/>
  45. </view>
  46. <view class="box-1">
  47. <view class="box-left">申请日期:</view>
  48. <picker mode="date" :value="add_time" fields="day" :start="startDate" :end="endDate" @change="fillingDateChange" class="box-right">
  49. <view :class="{'action': !sex}">{{ add_time || '请输入申请日期'}}</view>
  50. </picker>
  51. </view>
  52. <view class="check-box">
  53. <!-- <view class="info">( 请在选项□内打√ )</view> -->
  54. <radio-group @change="radioChange">
  55. <label class="check-main" v-for="(item, index) in items" :key="item.value">
  56. <view><radio :value="item.value" :checked="index === current" color="#f3392c" style="transform:scale(0.7)" /></view>
  57. <view class="check-text">{{ item.value }}</view>
  58. </label>
  59. </radio-group>
  60. </view>
  61. <!-- <view class="box-2">
  62. 我指定11:
  63. <view class="line">
  64. <input type="text" class="list-input" v-model="zd_name" />
  65. </view>
  66. 为我的遗体捐献执行人全权负责本人的遗体捐赠事宜:
  67. </view> -->
  68. <!-- <view class="box-1">
  69. <view class="box-left">移动电话:</view>
  70. <input type="text" class="list-input" v-model="phone" />
  71. </view>
  72. <view class="box-1">
  73. <view class="box-left">固定电话:</view>
  74. <input type="text" class="list-input" v-model="tel" />
  75. </view>
  76. <view class="check-box" style="padding-left: 44rpx;">
  77. <view class="info-1">
  78. <view class="info-2">我指定</view>
  79. <input type="text" class="list-input" v-model="zd_name" />
  80. <view class="info-2">为我的遗体</view>
  81. </view>
  82. <view class="info-3">捐献执行人全权负责本人的遗体捐献事宜。</view>
  83. </view>
  84. <view class="box-1">
  85. <view class="box-left">捐献执行人:</view>
  86. <input type="text" class="list-input" v-model="exexutor" />
  87. </view>
  88. <view class="box-1">
  89. <view class="box-left">居住地址:</view>
  90. <input type="text" class="list-input" v-model="address" />
  91. </view>
  92. <view class="box-1">
  93. <view class="box-left">身份证号码:</view>
  94. <input type="text" class="list-input" v-model="sfz" />
  95. </view>
  96. <view class="box-1">
  97. <view class="box-left">与捐献志愿者关系:</view>
  98. <input type="text" class="list-input" v-model="relation" />
  99. </view>
  100. <view class="box-1">
  101. <view class="box-left">捐献执行人移动电话:</view>
  102. <input type="text" class="list-input" v-model="n_phone" />
  103. </view>
  104. <view class="box-1">
  105. <view class="box-left">捐献执行人固定电话:</view>
  106. <input type="text" class="list-input" v-model="n_tel" />
  107. </view> -->
  108. <!-- <view class="box-1"><view class="box-left">我保证填写的以上信息准确真实,如发生变更或个人意愿发生变化时,及时告知登记机构。</view></view> -->
  109. </view>
  110. <view class="buttom" :class="{ action: loding }" @click="!loding ? join() : ''">提交申请</view>
  111. </view>
  112. </template>
  113. <script>
  114. import { joinSecc } from '@/api/index.js';
  115. import { upload } from '@/api/ask.js';
  116. export default {
  117. data() {
  118. const currentDate = this.getDate({
  119. format: true
  120. });
  121. return {
  122. loding: false, //是否提交中
  123. array: ['男', '女'],
  124. chooseEdu: ['博士后', '博士', '硕士', '本科', '专科', '其他'],
  125. chooseVol: ['是', '否'],
  126. chooseExp: ['是', '否'],
  127. items: [
  128. {
  129. value: '我自愿捐献全部遗体(含器官组织)'
  130. },
  131. {
  132. value: '或只捐献眼角膜'
  133. }
  134. ],
  135. current: '',
  136. index: 0,
  137. mz: '',
  138. cardimg: '', //证件照
  139. checklist: [],
  140. name: '',
  141. sex: '',
  142. birthday: '',
  143. card: '',
  144. occupation: '',
  145. education: '',
  146. add_time: '',
  147. remark: '',
  148. phone: '',
  149. tel: '',
  150. zd_name: '',
  151. address: '',
  152. exexutor: '',
  153. sfz: '',
  154. relation: '',
  155. n_phone: '',
  156. n_tel: ''
  157. };
  158. },
  159. computed: {
  160. startDate() {
  161. return this.getDate('start');
  162. },
  163. endDate() {
  164. return this.getDate('end');
  165. }
  166. },
  167. methods: {
  168. async join() {
  169. let obj = this;
  170. if (obj.name == '') {
  171. obj.$api.msg('请输入您的姓名');
  172. return;
  173. }
  174. if (obj.sex == '') {
  175. obj.$api.msg('请输入您的性别');
  176. return;
  177. }
  178. if (obj.birthday == '') {
  179. obj.$api.msg('请填写您的生日');
  180. return;
  181. }
  182. // const reg = /^(\+?0?86-?)?1[\d]\d{9}$/;
  183. // if (!reg.test(obj.phone)) {
  184. // obj.$api.msg('请填写正确的手机号码');
  185. // return;
  186. // }
  187. // if (obj.address == '') {
  188. // obj.$api.msg('请填写您的地址');
  189. // return;
  190. // }
  191. // /^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$)|(^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[Xx])$)$/
  192. // if (obj.work == '') {
  193. // obj.$api.msg('请填写您的工作单位');
  194. // return;
  195. // }
  196. let reg1 = /^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$)|(^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[Xx])$)$/;
  197. if (!reg1.test(obj.card)) {
  198. obj.$api.msg('请填写正确的身份证信息');
  199. return;
  200. }
  201. if (obj.occupation == '') {
  202. obj.$api.msg('请填写您的职业');
  203. return;
  204. }
  205. if (obj.education == '') {
  206. obj.$api.msg('请选择您的文化程度');
  207. return;
  208. }
  209. if (obj.current !== 0 && obj.current !== 1) {
  210. obj.$api.msg('请在选项中打√');
  211. return;
  212. }
  213. // const reg = /^(\+?0?86-?)?1[\d]\d{9}$/;
  214. // if (!reg.test(obj.phone)) {
  215. // obj.$api.msg('请填写正确的手机号码');
  216. // return;
  217. // }
  218. // if (obj.zd_name == '') {
  219. // obj.$api.msg('请在空格内填写遗体捐献执行人姓名');
  220. // return;
  221. // }
  222. // if (obj.exexutor == '') {
  223. // obj.$api.msg('请填写捐献执行人姓名');
  224. // return;
  225. // }
  226. // if (obj.address == '') {
  227. // obj.$api.msg('请填写居住地址');
  228. // return;
  229. // }
  230. // let reg2 = /^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$)|(^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[Xx])$)$/;
  231. // if (!reg2.test(obj.sfz)) {
  232. // obj.$api.msg('请填写执行人正确身份证信息');
  233. // return;
  234. // }
  235. // if (obj.relation == '') {
  236. // obj.$api.msg('请填写与捐献志愿者关系');
  237. // return;
  238. // }
  239. // const reg7 = /^(\+?0?86-?)?1[\d]\d{9}$/;
  240. // if (!reg7.test(obj.n_phone)) {
  241. // obj.$api.msg('请填写执行人正确的手机号码');
  242. // return;
  243. // }
  244. if (obj.add_time == '') {
  245. obj.$api.msg('请填写申请日期');
  246. return;
  247. }
  248. // if (obj.cardimg == '') {
  249. // obj.$api.msg('请上传您的证件');
  250. // return
  251. // }
  252. // if (obj.education == '') {
  253. // obj.$api.msg('请填写您的教育程度');
  254. // return;
  255. // }
  256. // if (obj.is_vol == '') {
  257. // obj.$api.msg('请填写您的是否受过志愿服务');
  258. // return;
  259. // }
  260. // if (obj.is_experience == '') {
  261. // obj.$api.msg('请填写您的有无服务经验');
  262. // return;
  263. // }
  264. obj.loding = true;
  265. joinSecc({
  266. name: obj.name,
  267. sex: obj.sex,
  268. education: obj.education,
  269. birthday: obj.birthday,
  270. card: obj.card,
  271. occupation: obj.occupation,
  272. add_time: obj.add_time,
  273. remark: obj.remark,
  274. // phone: obj.phone,
  275. // tel: obj.tel,
  276. // zd_name: obj.zd_name,
  277. // address: obj.address,
  278. // exexutor: obj.exexutor,
  279. // sfz: obj.sfz,
  280. // relation: obj.relation,
  281. // n_phone: obj.n_phone,
  282. // n_tel: obj.n_tel
  283. })
  284. .then(e => {
  285. obj.name = '';
  286. obj.sex = '';
  287. obj.education = '';
  288. obj.birthday = '';
  289. obj.card = '';
  290. obj.occupation = '';
  291. obj.add_time = '';
  292. obj.phone = '';
  293. obj.tel = '';
  294. obj.zd_name = '';
  295. obj.address = '';
  296. obj.exexutor = '';
  297. obj.sfz = '';
  298. obj.relation = '';
  299. obj.n_phone = '';
  300. obj.n_tel = '';
  301. uni.navigateTo({
  302. url: '../joinSuc/joinNow'
  303. });
  304. })
  305. .catch(function(e) {
  306. console.log('出错了');
  307. console.log(e);
  308. });
  309. },
  310. imgsub() {
  311. console.log('imgsub');
  312. upload({
  313. filename: ''
  314. }).then(data => {
  315. this.cardimg = data[0].url;
  316. });
  317. },
  318. // 选择性别
  319. bindPickerSex: function(e) {
  320. this.sex = this.array[e.target.value];
  321. this.index = e.target.value + 1;
  322. },
  323. // 选择教育程度
  324. bindPickerEdu: function(e) {
  325. this.education = this.chooseEdu[e.target.value];
  326. // console.log('选择选择教育程度',this.education)
  327. this.index = e.target.value + 1;
  328. },
  329. // 选择日期
  330. bindDateChange: function(e) {
  331. this.birthday = e.target.value;
  332. },
  333. //选择填写日期
  334. fillingDateChange: function(e) {
  335. this.add_time = e.target.value;
  336. },
  337. // 是否参加志愿活动
  338. bindPickerVol: function(e) {
  339. this.is_vol = this.chooseVol[e.target.value];
  340. this.index = e.target.value + 1;
  341. },
  342. // 有无服务经验
  343. bindPickerExp: function(e) {
  344. console.log('有无服务经验', e.target.value);
  345. this.is_experience = this.chooseExp[e.target.value];
  346. this.index = e.target.value + 1;
  347. },
  348. // 选择捐献
  349. radioChange: function(evt) {
  350. // console.log('选择捐献',evt)
  351. for (let i = 0; i < this.items.length; i++) {
  352. if (this.items[i].value === evt.target.value) {
  353. this.remark = evt.target.value;
  354. console.log('this.remark', this.remark);
  355. this.current = i;
  356. console.log('this.current', this.current);
  357. break;
  358. }
  359. }
  360. },
  361. getDate(type) {
  362. const date = new Date();
  363. let year = date.getFullYear();
  364. let month = date.getMonth() + 1;
  365. let day = date.getDate();
  366. if (type === 'start') {
  367. year = year - 60;
  368. } else if (type === 'end') {
  369. year = year + 2;
  370. }
  371. month = month > 9 ? month : '0' + month;
  372. day = day > 9 ? day : '0' + day;
  373. return `${year}-${month}-${day}`;
  374. },
  375. // 选择可提供时间
  376. // this.quantum = item.detail.value.join(',');
  377. checktime1(e) {
  378. // var items = this.timeList,
  379. // let quantum = [];
  380. this.quantum = e.detail.value.join(',');
  381. console.log(this.quantum);
  382. },
  383. checktime2(e) {
  384. // var items = this.timeList,
  385. let values = e.detail.value;
  386. // let quantum = [];
  387. console.log(values);
  388. },
  389. checktime3(e) {
  390. // var items = this.timeList,
  391. let values = e.detail.value;
  392. // let quantum = [];
  393. console.log(values);
  394. },
  395. //选择有兴趣参与的工作
  396. checkjob(item) {
  397. this.taste = item.detail.value.join(',');
  398. },
  399. // 选择专长checkspeciality
  400. checkspeciality(item) {
  401. this.speciali = item.detail.value.join(',');
  402. }
  403. }
  404. };
  405. </script>
  406. <style lang="scss">
  407. page {
  408. // background-color: #d4311f;
  409. height: 100%;
  410. }
  411. .content {
  412. padding-top: 16rpx;
  413. // background-color: #d4311f;
  414. .top {
  415. width: 100%;
  416. height: 188rpx;
  417. image {
  418. width: 100%;
  419. height: 188rpx;
  420. }
  421. }
  422. .info-box {
  423. text-indent: 64rpx;
  424. margin: 12rpx 0 54rpx;
  425. padding: 0 32rpx 20rpx;
  426. // border: 3rpx solid #009100;
  427. width: 100%;
  428. display: flex;
  429. flex-direction: column;
  430. border-radius: 25rpx;
  431. color: #e63931;
  432. }
  433. .buttom {
  434. // width: 660rpx;
  435. // height: 100rpx;
  436. // background: linear-gradient(0deg, #c90f1b, #f14d33);
  437. // // background: $motif-color;
  438. // border-radius: 50rpx;
  439. // margin: 50rpx auto;
  440. // font-size: 36rpx;
  441. // font-weight: 400;
  442. // color: #ffffff;
  443. // line-height: 100rpx;
  444. // text-align: center;
  445. width: 750rpx;
  446. height: 100rpx;
  447. background: #F0433C;
  448. position: fixed;
  449. bottom: 0;
  450. font-size: 34rpx;
  451. font-family: PingFang SC;
  452. font-weight: 500;
  453. color: #fff;
  454. line-height: 100rpx;
  455. text-align: center;
  456. &.action {
  457. background: #999999;
  458. }
  459. }
  460. .box {
  461. // margin-top: 44rpx;
  462. width: 690rpx;
  463. margin: 20rpx auto 0;
  464. background-color: #ffffff;
  465. border-radius: 10rpx;
  466. padding: 28rpx 20rpx 84rpx 20rpx;
  467. position: relative;
  468. .red-box {
  469. width: 405rpx;
  470. line-height: 66rpx;
  471. text-align: center;
  472. background: linear-gradient(0deg, #c90f1b, #f14d33);
  473. // background: $motif-color;
  474. border-radius: 10rpx;
  475. font-size: 30rpx;
  476. font-weight: 500;
  477. color: #E80000;
  478. // position: relative;
  479. position: absolute;
  480. top: -36rpx;
  481. left: 50%;
  482. transform: translateX(-50%);
  483. z-index: 1;
  484. }
  485. .box-check {
  486. font-size: 28rpx;
  487. font-weight: 500;
  488. color: #666666;
  489. line-height: 100rpx;
  490. }
  491. .imp {
  492. color: red;
  493. margin-left: 5rpx;
  494. }
  495. .check-box {
  496. margin: 44rpx 0rpx;
  497. padding: 25rpx 25rpx;
  498. // border: 3rpx solid #e9b2af;
  499. width: 100%;
  500. display: flex;
  501. flex-direction: column;
  502. border-radius: 25rpx;
  503. color: #ff4500;
  504. .info {
  505. margin-bottom: 32rpx;
  506. }
  507. .info-3 {
  508. margin-top: 12rpx;
  509. line-height: 46rpx;
  510. }
  511. .info-1 {
  512. display: flex;
  513. align-items: center;
  514. input {
  515. height: 56rpx;
  516. width: 400rpx;
  517. line-height: 56rpx;
  518. // margin-top: 32rpx;
  519. width: 300rpx;
  520. // height: 88rpx;
  521. }
  522. .list-input {
  523. padding-left: 24rpx;
  524. display: flex;
  525. align-items: center;
  526. width: 280rpx;
  527. font-size: 36rpx;
  528. // flex: 1;
  529. color: #ff9797;
  530. // border-bottom: 1rpx solid #f3afad;
  531. text-align: center;
  532. padding-right: 24rpx;
  533. .input-placeholder {
  534. width: 400rpx;
  535. height: 70rpx;
  536. color: #ff9797;
  537. }
  538. }
  539. }
  540. .check-main {
  541. display: flex;
  542. // justify-content: space-between;
  543. width: 100%;
  544. .check-text {
  545. margin-right: 12rpx;
  546. color: #000;
  547. }
  548. .checkbox,
  549. .uni-checkbox-input,
  550. .uni-checkbox-input-checked {
  551. border: 1px solid #ff4500;
  552. background: #ff4500;
  553. color: #fff !important;
  554. }
  555. }
  556. }
  557. .box-2 {
  558. display: flex;
  559. // flex-direction: column;
  560. align-items: center;
  561. width: 100%;
  562. margin-top: 32rpx;
  563. color: #ff9797;
  564. .box-left {
  565. padding-left: 2rpx;
  566. // width: 190rpx;
  567. text-align: left;
  568. color: #ff4500;
  569. }
  570. .line {
  571. width: 200rpx;
  572. border-bottom: 1rpx solid #ff9797;
  573. }
  574. }
  575. .box-1 {
  576. display: flex;
  577. // flex-direction: column;
  578. align-items: center;
  579. justify-content: space-between;
  580. width: 100%;
  581. // margin-top: 32rpx;
  582. // height: 133rpx;
  583. border-bottom: solid 1px #f0f0f0;
  584. height: 99rpx;
  585. .box-left {
  586. font-size: 28rpx;
  587. width: 200rpx;
  588. // display: inline-block;
  589. padding-left: 2rpx;
  590. // width: 100%;
  591. text-align: left;
  592. color: #000;
  593. line-height: 99rpx;
  594. }
  595. input {
  596. margin-right: 36rpx;
  597. display: block;
  598. // width: 460rpx;
  599. height: 99rpx;
  600. line-height: 99rpx;
  601. margin-top: 32rpx;
  602. // height: 88rpx;
  603. font-size: 28rpx;
  604. font-family: PingFang SC;
  605. font-weight: 500;
  606. color: #000;
  607. // line-height: 100px;
  608. }
  609. .list-input {
  610. // padding-left: 24rpx;
  611. // margin: 12rpx 0 ;
  612. // line-height: 66rpx;
  613. display: flex;
  614. align-items: center;
  615. width: 100%;
  616. font-size: 28rpx;
  617. flex: 1;
  618. // color: #FF9797;
  619. // border: 1rpx solid #f3afad;
  620. // border-radius: 22rpx;
  621. text-align: left;
  622. padding-left: 25rpx;
  623. height: 99rpx;
  624. line-height: 99rpx;
  625. margin-top: 0 !important;
  626. .input-placeholder {
  627. height: 99rpx;
  628. color: #999;
  629. }
  630. }
  631. .box-right {
  632. width: 460rpx;
  633. display: flex;
  634. align-items: center;
  635. padding-left: 24rpx;
  636. height: 66rpx;
  637. line-height: 66rpx;
  638. // border: 1rpx solid #f3afad;
  639. border-radius: 22rpx;
  640. // margin: 32rpx 36rpx 0 36rpx;
  641. margin-right: 36rpx;
  642. margin-left: 32rpx;
  643. // width: 96%;
  644. font-size: 28rpx;
  645. // color: #FF9797;
  646. text-align: left;
  647. // line-height: 1;
  648. .action {
  649. color: #999;
  650. }
  651. }
  652. }
  653. .upload-box {
  654. width: 100%;
  655. height: 247rpx;
  656. background: #ffffff;
  657. // border: 1px solid #E63931;
  658. border-radius: 27rpx;
  659. display: flex;
  660. flex-direction: column;
  661. padding: 30rpx 40rpx 30rpx 0;
  662. margin: 0 auto 30rpx;
  663. .upload-left {
  664. font-weight: 400;
  665. color: #e63931;
  666. }
  667. .upload-right {
  668. flex: 1;
  669. display: flex;
  670. align-items: center;
  671. justify-content: center;
  672. .upload-img {
  673. width: 103rpx;
  674. height: 103rpx;
  675. margin-top: 24rpx;
  676. }
  677. }
  678. }
  679. }
  680. }
  681. .red-box {
  682. text-align: center;
  683. font-size: 38rpx;
  684. font-family: PingFang SC;
  685. font-weight: bold;
  686. color: #FFFFFF;
  687. padding-top: 50rpx;
  688. }
  689. .jg {
  690. width: 215rpx;
  691. height: 17rpx;
  692. margin: -15rpx auto 34rpx;
  693. background: #FFFFFF;
  694. opacity: 0.26;
  695. }
  696. </style>