sign.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719
  1. <template>
  2. <view class="content">
  3. <view class="team" v-if="!is_over">
  4. <image class="top-image" :src="list.img"></image>
  5. <!-- <view class="box">
  6. <jyf-parser :html="description" ref="article"></jyf-parser>
  7. </view> -->
  8. <view class="top-title canten">报名</view>
  9. <view class="sign-tip">完成信息填写,即可参加红十字会救护员培训</view>
  10. <view class="form-box" v-if="type == 0">
  11. <view class="label">
  12. 姓名
  13. <text>*</text>
  14. </view>
  15. <input type="text" v-model="name" placeholder="请填写姓名" />
  16. <view class="label">
  17. 性别
  18. <text>*</text>
  19. </view>
  20. <picker @change="bindPickerSex" :value="sex" :range="array" class="box-right">
  21. <view class="placeholder" v-if="sex === ''">请输入您的性别</view>
  22. <text>{{ sex }}</text>
  23. </picker>
  24. <view class="label">
  25. 身份证
  26. <text>*</text>
  27. </view>
  28. <input type="text" v-model="card_id" placeholder="请填写身份证号" />
  29. <view class="label">
  30. 联系方式
  31. <text>*</text>
  32. </view>
  33. <input type="number" v-model="phone" placeholder="请输入联系方式" />
  34. <view class="label">工作单位(选填)</view>
  35. <input type="text" v-model="work" placeholder="请输入工作单位" />
  36. <view class="label">
  37. 地址
  38. <text>*</text>
  39. </view>
  40. <input type="text" v-model="addr" placeholder="请输入联系地址" />
  41. <view class="upload-box">
  42. <view class="label">
  43. 照片
  44. <text>*</text>
  45. </view>
  46. <view class="upload-right">
  47. <image :src="image" mode="" class="upload-img" @click.stop="imgsub" v-if="image"></image>
  48. <image src="../../static/images/upload.png" class="upload-img" mode="" v-if="!image" @click.stop="imgsub"></image>
  49. </view>
  50. </view>
  51. </view>
  52. <view class="form-box" v-if="type == 1">
  53. <view class="label">
  54. 企业名称
  55. <text>*</text>
  56. </view>
  57. <input type="text" v-model="company" placeholder="请填写企业名称" />
  58. <view class="label">
  59. 企业地址
  60. <text>*</text>
  61. </view>
  62. <input type="text" v-model="address" placeholder="请填写企业地址" />
  63. <view class="label">
  64. 负责人姓名
  65. <text>*</text>
  66. </view>
  67. <input type="text" v-model="companyName" placeholder="请填写负责人姓名" />
  68. <view class="label">
  69. 性别
  70. <text>*</text>
  71. </view>
  72. <picker @change="bindPickerSex" :value="sex" :range="array" class="box-right">
  73. <view class="placeholder" v-if="sex === ''">请输入负责人的性别</view>
  74. <text>{{ sex }}</text>
  75. </picker>
  76. <view class="label">
  77. 身份证
  78. <text>*</text>
  79. </view>
  80. <input type="text" v-model="card_id" placeholder="请填写负责人的身份证号" />
  81. <view class="label">
  82. 联系方式
  83. <text>*</text>
  84. </view>
  85. <input type="number" v-model="companyphone" placeholder="请输入联系方式" />
  86. <view class="label">
  87. 参加培训人数
  88. <text>*</text>
  89. </view>
  90. <input type="number" v-model="num" placeholder="请输入参加培训人数" />
  91. <view class="upload-box">
  92. <view class="label">
  93. 照片
  94. <text>*</text>
  95. </view>
  96. <view class="upload-right">
  97. <image :src="image" mode="" class="upload-img" @click.stop="imgsub" v-if="image"></image>
  98. <image src="../../static/images/upload.png" class="upload-img" mode="" v-if="!image" @click.stop="imgsub"></image>
  99. </view>
  100. </view>
  101. </view>
  102. <view class="top-title">报名</view>
  103. <view class="text-box">
  104. <view class="text">请参训学员在培训当天携带身份证复印件1张,一寸证件照2张。</view>
  105. <view class="text">报名咨询电话:027-60229380</view>
  106. </view>
  107. <view class="submit" @click="submit">立即报名</view>
  108. </view>
  109. <view class="certificates" v-if="is_over">
  110. <canvas v-if="showcanvas" id="qrShareBox" canvas-id="qrShareBox" class="tki-qrcode-canvas" />
  111. <image class="imgbox" v-else :src="img" mode=" aspectFill"></image>
  112. </view>
  113. </view>
  114. </template>
  115. <script>
  116. import { get_training, sign_training, detail_training } from '@/api/train.js';
  117. import jyfParser from '@/components/jyf-parser/jyf-parser';
  118. import { weixindata, weixinlocation } from '@/utils/wxAuthorized.js';
  119. import { userinfo } from '@/api/user.js';
  120. import { mapState, mapMutations } from 'vuex';
  121. import { upload } from '@/api/ask.js';
  122. export default {
  123. components: {
  124. jyfParser
  125. },
  126. data() {
  127. return {
  128. array: ['男', '女'],
  129. is_over: 1,
  130. type: '', //0是个人报名,1是团体报名
  131. id: '',
  132. description: '',
  133. list: '',
  134. //个人
  135. name: '',
  136. phone: '',
  137. addr: '',
  138. work: '',
  139. //团队
  140. company: '',
  141. address: '',
  142. companyName: '',
  143. companyphone: '',
  144. num: '',
  145. people: '鄂州市红十字会',
  146. signDate: '',
  147. loading: true, //是否载入图片中
  148. size: 180,
  149. ratio: 1, //页面比例用于计算
  150. canHeight: '',
  151. canWeidth: '',
  152. url: '',
  153. img: '',
  154. showcanvas: true,
  155. uid: '',
  156. sex: '',
  157. card_id: '',
  158. image: '',
  159. cardId: '',
  160. no:'',
  161. tname: '',
  162. timage: '',
  163. tsex: '',
  164. };
  165. },
  166. onLoad(option) {
  167. this.type = option.type;
  168. this.id = option.id;
  169. if (option.uid) {
  170. this.uid = option.uid;
  171. } else {
  172. this.uid = this.userInfo.uid;
  173. }
  174. this.IndexShare();
  175. this.loadData();
  176. detail_training({
  177. id:this.id,
  178. }).then(({data}) => {
  179. console.log(999,data)
  180. this.tname = data.name
  181. this.signDate = data.add_time
  182. this.is_over = data.is_over
  183. this.cardId = data.card_id
  184. this.no = data.no
  185. if (data.sex == 0){
  186. this.tsex = '男'
  187. }else if (data.sex == 1){
  188. this.tsex == '女'
  189. }
  190. this.timage = data.img
  191. console.log(3,data.add_time)
  192. let obj = this;
  193. let name = obj.name
  194. let signDate = getRecTime(obj.signDate,'yyyy-MM-dd')
  195. function getRecTime(timestamp, fmt) {
  196. let d = new Date(timestamp * 1000)
  197. // f = fmt || 'yyyy/MM/dd',
  198. let f = fmt || 'yyyy.MM.dd'
  199. let o = {
  200. 'M+': d.getMonth() + 1, //月份
  201. 'd+': d.getDate(), //日
  202. 'h+': d.getHours(), //小时
  203. 'm+': d.getMinutes(), //分
  204. 's+': d.getSeconds(), //秒
  205. 'q+': Math.floor((d.getMonth() + 3) / 3), //季度
  206. 'S': d.getMilliseconds() //毫秒
  207. };
  208. if (/(y+)/.test(f)) {
  209. f = f.replace(RegExp.$1, (d.getFullYear() + '').substr(4 - RegExp.$1.length));
  210. }
  211. for (let k in o) {
  212. if (new RegExp('(' + k + ')').test(f)) {
  213. f = f.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)));
  214. }
  215. }
  216. return f;
  217. console.log(f)
  218. }
  219. let m = getRecTime(signDate)
  220. let query = uni.createSelectorQuery();
  221. // this.loadData();
  222. // 获取页面比例
  223. query
  224. .select('.certificates')
  225. .fields({
  226. size: true
  227. },
  228. e => {
  229. console.log('获取页面比例',e)
  230. // 保存比例
  231. this.ratio = e.width / 750;
  232. }
  233. )
  234. .exec();
  235. // 获取画布宽高信息
  236. query
  237. .select('#qrShareBox')
  238. .fields({
  239. size: true
  240. },
  241. e => {
  242. console.log('获取画布宽高信息',e)
  243. obj.canHeight = e.height;
  244. obj.canWeidth = e.width;
  245. }
  246. )
  247. .exec();
  248. let ctxBg1 = '/index/static/img/graduation.jpg'
  249. let ctxBg = '/index/static/img/graduationB.jpg'; //画布背景
  250. let context = uni.createCanvasContext('qrShareBox');
  251. // 插入背景图片
  252. context.drawImage(ctxBg1, 0, 0, obj.canWeidth , 500*obj.ratio);
  253. context.drawImage(obj.timage, 60 * obj.ratio, 205 * obj.ratio,150*obj.ratio , 200*obj.ratio);
  254. context.drawImage(ctxBg, 0, 640*obj.ratio, obj.canWeidth , 500*obj.ratio);
  255. // // 插入文字
  256. context.setFontSize(22 * obj.ratio);
  257. context.setTextAlign('center')
  258. context.fillText(obj.tname,400 * obj.ratio,205 * obj.ratio)
  259. context.setTextAlign('left')
  260. context.fillText(obj.tsex,570 * obj.ratio,205 * obj.ratio)
  261. context.fillText(obj.cardId,375 * obj.ratio,280 * obj.ratio)
  262. context.fillText(obj.no,415 * obj.ratio,345 * obj.ratio)
  263. context.fillText(signDate,365 * obj.ratio,410 * obj.ratio)
  264. context.fillText("三 年",560 * obj.ratio,410 * obj.ratio)
  265. context.draw(false,(e) => {
  266. uni.canvasToTempFilePath({
  267. x: 0,
  268. y: 0,
  269. width: obj.canWeidth,
  270. height: obj.canHeight,
  271. destWidth: obj.canWeidth,
  272. destHeight: obj.canHeight,
  273. canvasId: 'qrShareBox',
  274. success: function(res) {
  275. console.log(res)
  276. // uni.showModal({
  277. // title:'zhi1'
  278. // })
  279. // 在H5平台下,tempFilePath 为 base64
  280. // console.log(res.tempFilePath)
  281. obj.showcanvas = false;
  282. obj.img = res.tempFilePath
  283. }
  284. })
  285. })
  286. })
  287. },
  288. onReady() {},
  289. computed: {
  290. ...mapState('user', ['hasLogin', 'userInfo'])
  291. },
  292. methods: {
  293. ...mapMutations('user', ['setUserInfo']),
  294. // 分享
  295. IndexShare() {
  296. let obj = this;
  297. let item = {
  298. link: 'http://ez.igxys.com/index/#/pages/train/sign?type=' + obj.type + '&id=' + obj.id + '&uid=' + obj.userInfo.uid, // 分享链接
  299. imgUrl: 'http://ez.igxys.com/index/static/img/002.png',
  300. desc: '结业证书',
  301. title: '鄂州市红十字会'
  302. };
  303. console.log('分享加', item);
  304. weixindata(item);
  305. },
  306. async loadData() {
  307. let obj = this;
  308. console.log('当前is_over', obj.is_over);
  309. if (obj.is_over == 1) {
  310. let uid = obj.userInfo.uid;
  311. console.log(9090, uid);
  312. }
  313. get_training({
  314. id: obj.id
  315. // uid:uid
  316. }).then(({ data }) => {
  317. obj.list = data;
  318. console.log(9988, data);
  319. if (obj.list.content != null) {
  320. obj.description = obj.list.content.replace(/<img/g, "<img style='max-width:100%;height:auto;'");
  321. }
  322. });
  323. },
  324. imgsub() {
  325. console.log('imgsub');
  326. upload({
  327. filename: ''
  328. }).then(data => {
  329. this.image = data[0].url;
  330. });
  331. },
  332. // 选择性别
  333. bindPickerSex: function(e) {
  334. console.log(this.array[e.target.value]);
  335. this.sex = this.array[e.target.value];
  336. this.index = e.target.value + 1;
  337. },
  338. submit() {
  339. let obj = this;
  340. let data = {};
  341. if (obj.type == 0) {
  342. if (!obj.name) {
  343. obj.$api.msg('请填写姓名!');
  344. return;
  345. }
  346. if (!obj.sex){
  347. obj.$api.msg('请选择性别!');
  348. return;
  349. }
  350. if (!obj.card_id){
  351. obj.$api.msg('请输入身份证号!');
  352. return;
  353. }
  354. 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])$)$/;
  355. if (!reg1.test(obj.card_id)) {
  356. obj.$api.msg('请填写正确的身份证信息');
  357. return;
  358. }
  359. if (!obj.phone) {
  360. obj.$api.msg('请输入联系方式!');
  361. return;
  362. }
  363. if (!obj.addr) {
  364. obj.$api.msg('请输入联系地址!');
  365. return;
  366. }
  367. if (!obj.image){
  368. obj.$api.msg('请上传照片!');
  369. return;
  370. }
  371. if( obj.sex == '男'){
  372. obj.sex = 0
  373. }else {
  374. obj.sex = 1
  375. }
  376. data = {
  377. name: obj.name,
  378. work: obj.addr,
  379. phone: obj.phone,
  380. card_id: obj.card_id,
  381. img: obj.image,
  382. sex: obj.sex,
  383. tid: obj.id,
  384. type: 0
  385. };
  386. }
  387. if (obj.type == 1) {
  388. if (!obj.company) {
  389. obj.$api.msg('请填写企业名称!');
  390. return;
  391. }
  392. if (!obj.address) {
  393. obj.$api.msg('请填写企业地址!');
  394. return;
  395. }
  396. if (!obj.companyName) {
  397. obj.$api.msg('请填写负责人姓名!');
  398. return;
  399. }
  400. if (!obj.sex){
  401. obj.$api.msg('请选择负责人性别!');
  402. return;
  403. }
  404. if (!obj.card_id){
  405. obj.$api.msg('请输入负责人身份证号!');
  406. return;
  407. }
  408. 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])$)$/;
  409. if (!reg1.test(obj.card_id)) {
  410. obj.$api.msg('请填写正确的身份证信息');
  411. return;
  412. }
  413. if (!obj.companyphone) {
  414. obj.$api.msg('请输入联系方式!');
  415. return;
  416. }
  417. if (!obj.num) {
  418. obj.$api.msg('请输入参加培训人数!');
  419. return;
  420. }
  421. if (!obj.image){
  422. obj.$api.msg('请上传照片!');
  423. return;
  424. }
  425. data = {
  426. company: obj.company,
  427. address: obj.address,
  428. name: obj.companyName,
  429. phone: obj.companyphone,
  430. num: obj.num,
  431. card_id: obj.card_id,
  432. img: obj.image,
  433. sex: obj.sex,
  434. tid: obj.id,
  435. type: 1
  436. };
  437. }
  438. sign_training(data)
  439. .then(function(e) {
  440. console.log(data.type);
  441. let type = data.type;
  442. uni.setStorageSync('type', type);
  443. obj.$api.msg(e.msg);
  444. setTimeout(function() {
  445. uni.navigateTo({
  446. url: '/pages/train/index'
  447. });
  448. }, 1000);
  449. })
  450. .catch(e => {
  451. obj.$api.msg(e.message);
  452. setTimeout(function() {
  453. uni.navigateTo({
  454. url: '/pages/train/index'
  455. });
  456. }, 1000);
  457. });
  458. },
  459. getRecTime(timestamp, fmt) {
  460. let d = new Date(timestamp * 1000),
  461. // f = fmt || 'yyyy/MM/dd',
  462. f = fmt || 'yyyy.MM.dd hh:mm:ss',
  463. o = {
  464. 'M+': d.getMonth() + 1, //月份
  465. 'd+': d.getDate(), //日
  466. 'h+': d.getHours(), //小时
  467. 'm+': d.getMinutes(), //分
  468. 's+': d.getSeconds(), //秒
  469. 'q+': Math.floor((d.getMonth() + 3) / 3), //季度
  470. S: d.getMilliseconds() //毫秒
  471. };
  472. if (/(y+)/.test(f)) {
  473. f = f.replace(RegExp.$1, (d.getFullYear() + '').substr(4 - RegExp.$1.length));
  474. }
  475. for (let k in o) {
  476. if (new RegExp('(' + k + ')').test(f)) {
  477. f = f.replace(RegExp.$1, RegExp.$1.length === 1 ? o[k] : ('00' + o[k]).substr(('' + o[k]).length));
  478. }
  479. }
  480. return f;
  481. console.log(f);
  482. }
  483. }
  484. };
  485. </script>
  486. <style lang="scss">
  487. page {
  488. background: #ffffff;
  489. width: 100%;
  490. height: 100%;
  491. .content {
  492. height: 100%;
  493. }
  494. }
  495. .box {
  496. padding: 0rpx 25rpx;
  497. width: 100%;
  498. }
  499. .top-image {
  500. width: 100%;
  501. height: 300rpx;
  502. }
  503. .top-title {
  504. width: 100%;
  505. text-align: center;
  506. padding: 25rpx 0rpx;
  507. font-size: 34rpx;
  508. border-bottom: 1rpx dashed #b5b5b5;
  509. }
  510. .canten {
  511. text-align: center !important;
  512. }
  513. .addr {
  514. color: #222222;
  515. font-size: 28rpx;
  516. padding: 25rpx 35rpx;
  517. }
  518. .text-box {
  519. padding: 25rpx 25rpx;
  520. padding-bottom: 0rpx !important;
  521. }
  522. .text {
  523. color: #222222;
  524. font-size: 28rpx;
  525. padding-bottom: 15rpx;
  526. }
  527. .weixin-icon {
  528. width: 100%;
  529. text-align: center;
  530. padding-top: 45rpx;
  531. image {
  532. width: 248rpx;
  533. height: 248rpx;
  534. }
  535. }
  536. .tip {
  537. color: #222222;
  538. font-size: 28rpx;
  539. width: 100%;
  540. text-align: center;
  541. padding-bottom: 50rpx;
  542. }
  543. .sign-tip {
  544. padding: 25rpx 0rpx;
  545. text-align: center;
  546. color: #222222;
  547. font-size: 28rpx;
  548. }
  549. .form-box {
  550. padding: 0rpx 35rpx;
  551. .label {
  552. font-size: 34rpx;
  553. padding: 25rpx 0rpx;
  554. text {
  555. color: #e62129;
  556. padding-left: 5rpx;
  557. }
  558. }
  559. input {
  560. font-size: 28rpx;
  561. color: #222222;
  562. border: 2rpx solid #979797;
  563. padding: 0rpx 15rpx;
  564. border-radius: 15rpx;
  565. height: 80rpx;
  566. }
  567. }
  568. .submit {
  569. width: 70%;
  570. margin: 0rpx auto;
  571. margin-top: 80rpx;
  572. margin-bottom: 80rpx;
  573. padding: 25rpx 0;
  574. text-align: center;
  575. background-color: #e62129;
  576. color: #ffffff;
  577. font-size: 32rpx;
  578. border-radius: 10rpx;
  579. }
  580. .grey {
  581. background-color: #9b9b9b !important;
  582. }
  583. .certificates {
  584. // padding: 24rpx;
  585. width: 100%;
  586. height: 100vh;
  587. }
  588. .tki-qrcode-canvas {
  589. // width: 700rpx;
  590. // height: 1245rpx;
  591. width: 750rpx;
  592. // padding: 32rpx;
  593. height: 1350rpx;
  594. margin: 0 auto;
  595. }
  596. .bgimg {
  597. width: 100%;
  598. height: 100%;
  599. image {
  600. width: 100%;
  601. height: 100%;
  602. }
  603. }
  604. .box-mian {
  605. width: 100%;
  606. height: 100%;
  607. position: absolute;
  608. padding: 380rpx 94rpx 200rpx 94rpx;
  609. color: #333;
  610. left: 0;
  611. top: 0;
  612. display: flex;
  613. flex-direction: column;
  614. justify-content: center;
  615. // align-items: center;
  616. .name {
  617. display: flex;
  618. font-size: 32rpx;
  619. .name-left {
  620. text-align: center;
  621. // padding: 0 24rpx;
  622. width: 150rpx;
  623. border-bottom: 2rpx solid #333;
  624. }
  625. }
  626. .info {
  627. margin-top: 68rpx;
  628. text-indent: 64rpx;
  629. line-height: 58rpx;
  630. }
  631. .signName {
  632. margin-top: 32rpx;
  633. display: flex;
  634. .signName-left {
  635. line-height: 34rpx;
  636. .signName-1 {
  637. }
  638. .signName-2 {
  639. font-size: 28rpx;
  640. }
  641. }
  642. .signName-right {
  643. text-align: left;
  644. // width: 100%;
  645. padding: 0 12rpx;
  646. margin-left: 12rpx;
  647. // width: 288rpx;
  648. border-bottom: 2rpx solid #333;
  649. // margin-bottom: 12rpx;
  650. .list-input {
  651. width: 100%;
  652. padding: 0 12rpx;
  653. height: 70rpx;
  654. font-size: 32rpx;
  655. text-align: left;
  656. }
  657. .signDate {
  658. display: flex;
  659. align-items: center;
  660. }
  661. }
  662. }
  663. .signDate {
  664. margin-top: 22rpx;
  665. display: flex;
  666. .signName-left {
  667. line-height: 34rpx;
  668. .signName-1 {
  669. }
  670. .signName-2 {
  671. font-size: 28rpx;
  672. }
  673. }
  674. .signName-right {
  675. text-align: left;
  676. padding-left: 12rpx;
  677. margin-left: 12rpx;
  678. width: 288rpx;
  679. border-bottom: 2rpx solid #333;
  680. .list-input {
  681. height: 70rpx;
  682. font-size: 32rpx;
  683. text-align: left;
  684. }
  685. // margin-bottom: 12rpx;
  686. }
  687. }
  688. // background-color: pink;
  689. }
  690. .imgbox {
  691. height: 1350rpx;
  692. width: 750rpx;
  693. }
  694. .upload-right {
  695. flex: 1;
  696. display: flex;
  697. align-items: center;
  698. justify-content: center;
  699. .upload-img {
  700. width: 160rpx;
  701. height: 160rpx;
  702. margin-top: 24rpx;
  703. }
  704. }
  705. .box-right{
  706. font-size: 28rpx;
  707. color: #222222;
  708. border: 2rpx solid #979797;
  709. padding: 0rpx 15rpx;
  710. border-radius: 15rpx;
  711. height: 80rpx;
  712. line-height: 80rpx;
  713. }
  714. </style>