index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752
  1. <template>
  2. <view class="content" :class="{ blueBg: actionInd!=1,greenBg:actionInd==1}">
  3. <view class="coupon_transfer" >
  4. <view class="user">
  5. <view class="imgbox"><image class="img" :src="userinfo.avatar" mode=" scaleToFill"></image></view>
  6. <view class="niceName">{{ userinfo.nickname }}</view>
  7. </view>
  8. <view class="erwema">
  9. <view class="qrbox">
  10. <view class="payMoney" v-if="actionInd == 1">收款码</view>
  11. <view class="payMoney" v-if="actionInd == 0">付款码</view>
  12. <tki-qrcodes
  13. :cid="cid"
  14. ref="qrcode"
  15. :val="val"
  16. :size="size"
  17. :unit="unit"
  18. :background="background"
  19. :foreground="foreground"
  20. :pdground="pdground"
  21. :icon="icon"
  22. :iconSize="iconSize"
  23. :lv="lv"
  24. :onval="onval"
  25. :loadMake="loadMake"
  26. :usingComponents="usingComponents"
  27. @result="qrR"
  28. ></tki-qrcodes>
  29. <!-- <view class="setMoney" @click="openApp">
  30. 设置金额
  31. </view> -->
  32. <view class="setType flex" v-if="actionInd == 0" @click="showChooseType">
  33. <image :src="showType[showPayType].img" mode="" class="type-logo"></image>
  34. <view class="type-wrapper">
  35. <view class="type-tit">{{showType[showPayType].tit}}</view>
  36. <view class="type-info">使用{{showType[showPayType].tit}}支付</view>
  37. </view>
  38. <view class="sele-wrap">
  39. <image src="../../static/img/back.png" mode="" class="selecte-ic"></image>
  40. </view>
  41. </view>
  42. </view>
  43. </view>
  44. </view>
  45. <view class="bottomTab flex">
  46. <view class="item1" @click="clickItem(0)" :class="{ action: actionInd == 0 }">
  47. <view><image class="img" src="../../static/icon/pay2.png" mode=" widthFix"></image></view>
  48. <view class="text">付款码</view>
  49. </view>
  50. <view class="item1" @click="clickItem(1)" :class="{ action: actionInd == 1 }">
  51. <view><image class="img" src="../../static/icon/pay1.png" mode=" widthFix"></image></view>
  52. <view class="text">收款码</view>
  53. </view>
  54. <view class="item1" @click="clickItem(2)" :class="{ action: actionInd == 2 }">
  55. <view><image class="img" src="../../static/icon/pay3.png" mode=" widthFix"></image></view>
  56. <view class="text">扫一扫</view>
  57. </view>
  58. <view class="item1" @click="openList" :class="{ action: actionInd == 3 }">
  59. <view><image class="img" src="../../static/icon/pay4.png" mode=" widthFix"></image></view>
  60. <view class="text">记录</view>
  61. </view>
  62. </view>
  63. <uniPopup ref="popup1" type="dialog">
  64. <uni-popup-dialog
  65. mode="input"
  66. type="input"
  67. title="支付"
  68. placeholder="请输入支付金额"
  69. :duration="2000"
  70. :before-close="true"
  71. @close="close"
  72. @confirm="confirm"
  73. ></uni-popup-dialog>
  74. </uniPopup>
  75. <uniPopup ref="popup2" type="message"><uni-popup-message type="success" message="支付成功" :duration="2000"></uni-popup-message></uniPopup>
  76. <uniPopup ref="popupPay" type="bottom">
  77. <view class="popup-box">
  78. <view class="popup-pay">
  79. <view class="paybox-top flex">
  80. <view class="type">选择支付方式</view>
  81. <view class="image" @click="close"><image src="../../static/img/x.png" mode="aspectFill"></image></view>
  82. </view>
  83. <view class="paybox-main flex" @click="changePayType(0)">
  84. <view class="zftype flex">
  85. <image src="../../static/img/yue.png" mode="aspectFill"></image>
  86. <view class="zf">余额支付</view>
  87. </view>
  88. <label class="radio" >
  89. <radio style="transform:scale(0.7)" class="rad" value="" :checked="payType == 0" color="#5dbc7c"></radio>
  90. </label>
  91. </view>
  92. <view class="paybox-main flex" @click="changePayType(2)">
  93. <view class="zftype flex">
  94. <image src="../../static/icon/jf.png" mode="aspectFill"></image>
  95. <view class="zf">积分支付</view>
  96. </view>
  97. <label class="radio1" ><radio style="transform:scale(0.7)" value="" :checked="payType == 2" color="#5dbc7c"></radio></label>
  98. </view>
  99. <view class="paybox-main flex" @click="changePayType(1)">
  100. <view class="zftype flex">
  101. <image src="../../static/icon/xfq.png" mode="aspectFill"></image>
  102. <view class="zf">消费券支付</view>
  103. </view>
  104. <label class="radio1" ><radio style="transform:scale(0.7)" value="" :checked="payType == 1" color="#5dbc7c"></radio></label>
  105. </view>
  106. <view class="paybtn" @click="qrchange">
  107. 确定切换
  108. </view>
  109. </view>
  110. </view>
  111. </uniPopup>
  112. </view>
  113. </template>
  114. <script>
  115. import tkiQrcodes from '@/components/tki-qrcode/tki-qrcode.vue';
  116. import uniPopup from '@/components/uni-popup/uni-popup.vue';
  117. import uniPopupDialog from '@/components/uni-popup/uni-popup-dialog.vue';
  118. import uniPopupMessage from '@/components/uni-popup/uni-popup-message.vue';
  119. import { getUserInfo } from '@/api/login.js';
  120. import { receivedCollectionCode, receivedPaymentCode, receivedCodeState, receivedPaymentCreate, receivedLst, collectionLst, collectionSetTip } from '@/api/received.js';
  121. // #ifdef H5
  122. import { mapState } from 'vuex';
  123. import { weixindata } from '@/utils/wxAuthorized';
  124. // #endif
  125. import Voice from '@/utils/QS-baiduyy.js';
  126. export default {
  127. components: { tkiQrcodes, uniPopup, uniPopupDialog, uniPopupMessage },
  128. // #ifdef H5
  129. computed: {
  130. ...mapState(['weichatObj'])
  131. },
  132. // #endif
  133. data() {
  134. return {
  135. showPayType: 0,
  136. payType: 0,//付款码type 0-余额 1-消费券 2-积分
  137. url: '',
  138. uid: '',
  139. qrsize: 80, // 二维码大小
  140. cid: 'tki-qrcode-canvas', //canvasId,页面存在多个二维码组件时需设置不同的ID
  141. size: 500, //生成的二维码大小
  142. unit: 'upx', //大小单位尺寸
  143. // show: true,//默认使用组件中的image标签显示二维码
  144. val: '', //要生成的内容
  145. background: '#ffffff', //二维码背景色
  146. foreground: '#333333', //二维码前景色
  147. pdground: '#333333', //二维码角标色
  148. icon: '', //二维码图标URL(必须是本地图片,网络图需要先下载至本地)
  149. iconSize: 40, //二维码图标大小
  150. lv: 3, //容错级别
  151. onval: true, //监听val值变化自动重新生成二维码
  152. loadMake: false, //组件初始化完成后自动生成二维码,val需要有值
  153. usingComponents: false, //是否使用了自定义组件模式(主要是为了修复非自定义组件模式时 v-if 无法生成二维码的问题)
  154. showLoading: false, //是否显示loading
  155. loadingText: '二维码生成中', //loading文字
  156. src: '', // 二维码生成后的图片地址或base64
  157. ratio: 1, //页面比例用于计算
  158. ctxSrc: '', //要显示的图片
  159. loading: true, //是否载入图片中
  160. canHeight: '',
  161. canWeidth: '',
  162. userinfo: {}, //用户信息
  163. actionInd: 1, //默认展示收款码
  164. setTimeOutPay: null, //付款倒计时
  165. getMoneyList: null, //收款记录倒计时倒计时
  166. showSqr: true,
  167. code: '', //保存扫码code
  168. indexNum: 0, //默认没有商品
  169. showType: [
  170. {
  171. type: 0,
  172. tit: '余额',
  173. img: '../../static/img/yue.png'
  174. },
  175. {
  176. type: 1,
  177. tit: '消费券',
  178. img: '../../static/icon/xfq.png'
  179. },
  180. {
  181. type: 2,
  182. tit: '积分',
  183. img: '../../static/icon/jf.png'
  184. }
  185. ]
  186. };
  187. },
  188. onLoad(option) {
  189. this.loadlist;
  190. this.userinfo = uni.getStorageSync('userInfo');
  191. // 加载用户数据
  192. this.getUserInfo();
  193. // #ifdef H5
  194. // 获取是否为微信内核浏览器
  195. this.showSqr = uni.getStorageSync('weichatBrowser') || false;
  196. weixindata();
  197. // #endif
  198. },
  199. onReady() {
  200. // Voice('成功收款100000000元')
  201. },
  202. onShow() {
  203. // 开启倒计时
  204. this.setTimePay();
  205. },
  206. onHide() {
  207. this.outInterval()
  208. },
  209. // 监听页面卸载
  210. onUnload() {
  211. // 关闭倒计时
  212. this.outInterval()
  213. },
  214. // 监听页面后退
  215. onBackPress() {
  216. // 关闭倒计时
  217. this.outInterval()
  218. },
  219. methods: {
  220. // 关闭倒计时
  221. outInterval(){
  222. clearInterval(this.setTimeOutPay);
  223. clearInterval(this.getMoneyList);
  224. },
  225. // 获取收款记录
  226. collectionLst() {
  227. collectionLst()
  228. .then(e => {
  229. console.log(e);
  230. // 循环处理播报语音
  231. e.data.data.forEach((d, ind) => {
  232. Voice({
  233. voiceSet: {
  234. tex: '满园春收款' + (+d.amount - d.service_charge) + '元'
  235. },
  236. audioSet: {
  237. volume: 1
  238. },
  239. lineUp: true // 加入语音队列
  240. });
  241. //清除记录
  242. collectionSetTip({ id: d.id });
  243. });
  244. })
  245. .catch(e => {});
  246. },
  247. // 获取用户信息
  248. getUserInfo() {
  249. let obj = this;
  250. getUserInfo({})
  251. .then(({ data }) => {
  252. obj.userinfo = data;
  253. // 加载收款码
  254. obj.receivedCollectionCode();
  255. // 调用循环
  256. // obj.setTimePay();
  257. // #ifdef H5
  258. uni.showModal({
  259. title: '提示',
  260. content: '打开支付提示成功!',
  261. showCancel: false,
  262. });
  263. // #endif
  264. })
  265. .catch(e => {
  266. console.log(e);
  267. });
  268. },
  269. /**
  270. * 点击取消按钮触发
  271. * @param {Object} done
  272. */
  273. close(done) {
  274. // TODO 做一些其他的事情,before-close 为true的情况下,手动执行 done 才会关闭对话框
  275. // ...
  276. done();
  277. },
  278. /**
  279. * 点击确认按钮触发
  280. * @param {Object} done
  281. * @param {Object} value
  282. */
  283. confirm(done, value) {
  284. // 输入框的值
  285. receivedPaymentCreate({
  286. code: this.code,
  287. amount: value,
  288. type:this.payType
  289. })
  290. .then(({ data }) => {
  291. uni.showModal({
  292. title: '提示',
  293. content: '成功',
  294. showCancel: false
  295. });
  296. })
  297. .catch(e => {
  298. uni.showModal({
  299. title: '提示',
  300. content: e.message,
  301. showCancel: false
  302. });
  303. console.log(e);
  304. });
  305. // TODO 做一些其他的事情,手动执行 done 才会关闭对话框
  306. // ...
  307. done();
  308. },
  309. // payVdeo(){
  310. // var mess = document.getElementById('ttsText').value;
  311. // var msg = new SpeechSynthesisUtterance(mess);
  312. // msg.volume = 100;
  313. // msg.rate = 1;
  314. // msg.pitch = 1.5;
  315. // console.log(msg);
  316. // window.speechSynthesis.speak(msg);
  317. // },
  318. // 开启循环倒计时
  319. setTimePay() {
  320. // 判断当前是否为付款码
  321. if (this.actionInd == 0) {
  322. this.setTimeOutPay = setInterval(() => {
  323. this.receivedCodeState();
  324. }, 5000);
  325. }
  326. // 获取首付款信息
  327. this.getMoneyList = setInterval(e => {
  328. this.collectionLst();
  329. }, 5000);
  330. },
  331. // 判断付款码是否可以使用
  332. receivedCodeState() {
  333. let obj = this;
  334. // 查询是否过期
  335. receivedCodeState({
  336. code: obj.val
  337. })
  338. .then(e => {
  339. // 无效
  340. if (e.msg == 'overdue') {
  341. obj.receivedPaymentCode();
  342. }
  343. // 已使用
  344. else if (e.msg == 'use') {
  345. uni.showModal({
  346. title: '提示',
  347. content: '已支付成功',
  348. showCancel: false
  349. });
  350. obj.receivedPaymentCode();
  351. }
  352. })
  353. .catch(e => {
  354. console.log(e);
  355. });
  356. },
  357. // 开启验证是否已经过期或使用付款成功
  358. // receivedCodeState(){
  359. // },
  360. // 跳转到记录页面
  361. openList() {
  362. clearInterval(this.setTimeOutPay);
  363. clearInterval(this.getMoneyList);
  364. // this.$refs.popup1.open();
  365. // uni.navigateTo({
  366. // url: '/pages/wallet/wallet'
  367. // });
  368. uni.navigateTo({
  369. url: './list'
  370. });
  371. },
  372. //点击首付款事件
  373. clickItem(item) {
  374. // 更新付款码
  375. if (item === 0) {
  376. this.receivedPaymentCode();
  377. this.outInterval();
  378. this.setTimePay();
  379. uni.setNavigationBarColor({
  380. backgroundColor:'#4b8fdb',
  381. frontColor:'#ffffff',
  382. success:(e) => {
  383. console.log(e);
  384. },
  385. fail:function (e) {
  386. console.log(e);
  387. }
  388. })
  389. }
  390. // 更新收款码
  391. if (item === 1) {
  392. clearInterval(this.setTimeOutPay);
  393. uni.setNavigationBarColor({
  394. backgroundColor:'#5DBC7C',
  395. frontColor:'#ffffff',
  396. success:(e) => {
  397. console.log(e);
  398. },
  399. fail:function (e) {
  400. console.log(e);
  401. }
  402. })
  403. this.receivedCollectionCode();
  404. }
  405. // 扫码收付款
  406. if (item === 2) {
  407. clearInterval(this.setTimeOutPay);
  408. this.ToChangeInto();
  409. return;
  410. }
  411. // 赋值
  412. this.actionInd = item;
  413. },
  414. // 扫码
  415. ToChangeInto() {
  416. let obj = this;
  417. // #ifdef H5
  418. this.weichatObj.scanQRCode({
  419. needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
  420. scanType: ['qrCode', 'barCode'], // 可以指定扫二维码还是一维码,默认二者都有
  421. success: function(res) {
  422. obj.code = res.resultStr;
  423. obj.$refs.popup1.open();
  424. }
  425. });
  426. // #endif
  427. // #ifndef H5
  428. uni.scanCode({
  429. onlyFromCamera: true,
  430. success: function(e) {
  431. let result = JSON.parse(e.result);
  432. uni.showModal({
  433. title: '扫描二维码',
  434. content: e.result
  435. });
  436. }
  437. });
  438. // #endif
  439. },
  440. // 扫码成功数据处理
  441. scanQR(e) {},
  442. // 获取付款码
  443. receivedPaymentCode() {
  444. receivedPaymentCode({
  445. type: this.payType
  446. })
  447. .then(e => {
  448. this.val = e.data.code;
  449. console.log(e);
  450. })
  451. .catch(e => {
  452. console.log(e);
  453. });
  454. },
  455. // 获取收款码
  456. receivedCollectionCode() {
  457. receivedCollectionCode()
  458. .then(e => {
  459. this.val = e.msg;
  460. console.log(e);
  461. })
  462. .catch(e => {
  463. console.log(e);
  464. });
  465. },
  466. // 創建二维码
  467. creatQrcode() {
  468. console.log(this.$refs.qrcode._makeCode);
  469. this.$refs.qrcode._makeCode();
  470. },
  471. // 保存二维码到图库
  472. saveQrcode() {
  473. this.$refs.qrcode._saveCode();
  474. },
  475. // 生成二维码后返回base64
  476. qrR(res) {
  477. this.src = res;
  478. },
  479. //清空二维码(清空二维码会触发result回调 返回值为空)
  480. clearQrcode(e) {
  481. this.$refs.qrcode._clearCode();
  482. this.val = '';
  483. },
  484. // 保存二维码
  485. upload() {
  486. this.$refs.qrcode._saveCode();
  487. },
  488. openApp() {
  489. let weixinObj = require('jweixin-module');
  490. },
  491. showChooseType() {
  492. this.$refs.popupPay.open()
  493. },
  494. changePayType(index) {
  495. this.payType = index
  496. },
  497. qrchange() {
  498. this.showPayType = this.payType
  499. this.$refs.popupPay.close()
  500. console.log(this.payType)
  501. this.clickItem(0)
  502. }
  503. }
  504. };
  505. </script>
  506. <style lang="scss">
  507. .content,
  508. page {
  509. // border-top: 2rpx solid #f2f3f5;
  510. background-color: $base-color;
  511. height: 100%;
  512. }
  513. // 共有底部高度
  514. $btHeight: 100rpx;
  515. .btHeight {
  516. height: $btHeight;
  517. }
  518. .greenBg{
  519. background-color: $base-color;
  520. }
  521. .blueBg{
  522. background-color: #4b8fdb;
  523. }
  524. .coupon_transfer {
  525. // background-color: #ffffff;
  526. padding: 20rpx 25rpx;
  527. padding-top: 50rpx;
  528. // padding-bottom: 130rpx;
  529. width: 100%;
  530. // margin-top: 25rpx;
  531. .user {
  532. margin-bottom: -125rpx;
  533. height: 200rpx;
  534. line-height: 1;
  535. .imgbox {
  536. margin: 0 auto;
  537. text-align: center;
  538. .img {
  539. width: 150rpx;
  540. height: 150rpx;
  541. border-radius: 999rpx;
  542. }
  543. }
  544. .niceName {
  545. text-align: center;
  546. font-size: $font-lg;
  547. margin-top: 15rpx;
  548. font-weight: bold;
  549. color: $font-color-dark;
  550. }
  551. }
  552. }
  553. .erwema {
  554. width: 686rpx;
  555. // height: 817rpx;
  556. height: 900rpx;
  557. background-color: #ffffff;
  558. padding-top: 100rpx;
  559. display: flex;
  560. justify-content: center;
  561. align-items: center;
  562. margin: 0rpx auto;
  563. .setType {
  564. height: 130rpx;
  565. justify-content: flex-start;
  566. .type-wrapper {
  567. text-align: left;
  568. flex-grow: 1;
  569. }
  570. .type-logo {
  571. width: 56rpx;
  572. height: 54rpx;
  573. flex-shrink: 0;
  574. margin-right: 10rpx;
  575. }
  576. .sele-wrap {
  577. width: 50rpx;
  578. height: 100%;
  579. flex-shrink: 0;
  580. display: flex;
  581. align-items: center;
  582. .selecte-ic {
  583. justify-items: flex-end;
  584. width: 13rpx;
  585. height: 36rpx;
  586. transform: rotate(-90deg);
  587. }
  588. }
  589. }
  590. .qrbox {
  591. width: 500rpx;
  592. text-align: center;
  593. font-weight: bold;
  594. .payMoney {
  595. font-size: 50rpx;
  596. // margin-top: 80rpx;
  597. color: $font-color-dark;
  598. font-weight: bold;
  599. }
  600. .setMoney {
  601. font-size: $font-base;
  602. color: $base-color;
  603. margin-top: 20rpx;
  604. }
  605. }
  606. }
  607. /deep/ .qrbox .img {
  608. margin-top: -500rpx !important;
  609. }
  610. /deep/ .tki-qrcode {
  611. // height: 500rpx;
  612. line-height: 0;
  613. margin-top: 10rpx;
  614. }
  615. .bottomTab {
  616. padding: 50rpx;
  617. padding-top: 20rpx;
  618. // position: fixed;
  619. // padding-bottom: 50rpx;
  620. // left: 0;
  621. // bottom: 0;
  622. width: 100%;
  623. .item1 {
  624. text-align: center;
  625. color: #ffffff;
  626. opacity: 0.7;
  627. flex-grow: 1;
  628. line-height: 1;
  629. .img {
  630. width: 80rpx;
  631. height: 80rpx;
  632. }
  633. .text {
  634. font-size: $font-lg;
  635. }
  636. &.action {
  637. opacity: 1;
  638. }
  639. }
  640. }
  641. .popup-box {
  642. position: relative;
  643. z-index: 100;
  644. width: 100%;
  645. height: auto;
  646. background: #ffffff;
  647. .popup-pay {
  648. position: relative;
  649. justify-content: space-between;
  650. // padding: 0rpx 25rpx 32rpx 25rpx;
  651. .paybox-top {
  652. padding-top: 38rpx;
  653. padding-left: 32rpx;
  654. width: 100%;
  655. .type {
  656. font-size: 28rpx;
  657. font-family: PingFang SC;
  658. font-weight: bold;
  659. color: #333333;
  660. }
  661. .image {
  662. padding-right: 24rpx;
  663. padding-bottom: 10rpx;
  664. image {
  665. width: 16rpx;
  666. height: 16rpx;
  667. }
  668. }
  669. }
  670. .paybox-main {
  671. padding-left: 40rpx;
  672. width: 100%;
  673. margin-top: 54rpx;
  674. margin-bottom: 54rpx;
  675. .zftype {
  676. padding-left: 5rpx;
  677. image {
  678. width: 38rpx;
  679. height: 40rpx;
  680. }
  681. .zf {
  682. padding-left: 18rpx;
  683. font-size: 28rpx;
  684. font-family: PingFang SC;
  685. font-weight: 400;
  686. color: #3f454b;
  687. }
  688. }
  689. }
  690. .paybtn {
  691. width: 750rpx;
  692. line-height: 93rpx;
  693. background: #75BA82;
  694. font-size: 32rpx;
  695. font-family: PingFang SC;
  696. font-weight: bold;
  697. color: #FFFFFF;
  698. text-align: center;
  699. }
  700. }
  701. .buttom {
  702. position: relative;
  703. z-index: 100;
  704. width: 100%;
  705. height: 113rpx;
  706. padding-top: 20rpx;
  707. align-items: center;
  708. .heji {
  709. height: 100%;
  710. width: 50%;
  711. padding-left: 23rpx;
  712. padding-top: 20rpx;
  713. font-size: 28rpx;
  714. font-family: PingFang SC;
  715. font-weight: 400;
  716. color: #3f454b;
  717. text {
  718. font-size: 24rpx;
  719. font-family: PingFang SC;
  720. font-weight: bold;
  721. color: #ff0000;
  722. .money {
  723. font-size: 36rpx;
  724. }
  725. }
  726. }
  727. .zhifu {
  728. width: 50%;
  729. height: 92rpx;
  730. background: #5dbc7c;
  731. text-align: center;
  732. line-height: 92rpx;
  733. font-size: 32rpx;
  734. font-family: PingFang SC;
  735. font-weight: bold;
  736. color: #ffffff;
  737. }
  738. }
  739. }
  740. </style>