index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748
  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">
  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" @click="changePayType(0)">
  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">
  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" @click="changePayType(2)"><radio style="transform:scale(0.7)" value="" :checked="payType == 2" color="#5dbc7c"></radio></label>
  98. </view>
  99. <view class="paybox-main flex">
  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" @click="changePayType(1)"><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. clearInterval(this.setTimeOutPay);
  208. clearInterval(this.getMoneyList);
  209. },
  210. // 监听页面卸载
  211. onUnload() {
  212. // 关闭倒计时
  213. clearInterval(this.setTimeOutPay);
  214. clearInterval(this.getMoneyList);
  215. },
  216. // 监听页面后退
  217. onBackPress() {
  218. // 关闭倒计时
  219. clearInterval(this.setTimeOutPay);
  220. clearInterval(this.getMoneyList);
  221. },
  222. methods: {
  223. // 获取收款记录
  224. collectionLst() {
  225. collectionLst()
  226. .then(e => {
  227. console.log(e);
  228. // 循环处理播报语音
  229. e.data.data.forEach((d, ind) => {
  230. Voice({
  231. voiceSet: {
  232. tex: '满园春收款' + (+d.amount - d.service_charge) + '元'
  233. },
  234. audioSet: {
  235. volume: 1
  236. },
  237. lineUp: true // 加入语音队列
  238. });
  239. //清除记录
  240. collectionSetTip({ id: d.id });
  241. });
  242. })
  243. .catch(e => {});
  244. },
  245. // 获取用户信息
  246. getUserInfo() {
  247. let obj = this;
  248. getUserInfo({})
  249. .then(({ data }) => {
  250. obj.userinfo = data;
  251. // 加载收款码
  252. obj.receivedCollectionCode();
  253. // 调用循环
  254. // obj.setTimePay();
  255. // #ifdef H5
  256. uni.showModal({
  257. title: '提示',
  258. content: '打开支付提示成功!',
  259. showCancel: false,
  260. });
  261. // #endif
  262. })
  263. .catch(e => {
  264. console.log(e);
  265. });
  266. },
  267. /**
  268. * 点击取消按钮触发
  269. * @param {Object} done
  270. */
  271. close(done) {
  272. // TODO 做一些其他的事情,before-close 为true的情况下,手动执行 done 才会关闭对话框
  273. // ...
  274. done();
  275. },
  276. /**
  277. * 点击确认按钮触发
  278. * @param {Object} done
  279. * @param {Object} value
  280. */
  281. confirm(done, value) {
  282. // 输入框的值
  283. receivedPaymentCreate({
  284. code: this.code,
  285. amount: value
  286. })
  287. .then(({ data }) => {
  288. uni.showModal({
  289. title: '提示',
  290. content: '成功',
  291. showCancel: false
  292. });
  293. })
  294. .catch(e => {
  295. uni.showModal({
  296. title: '提示',
  297. content: e.message,
  298. showCancel: false
  299. });
  300. console.log(e);
  301. });
  302. // TODO 做一些其他的事情,手动执行 done 才会关闭对话框
  303. // ...
  304. done();
  305. },
  306. // payVdeo(){
  307. // var mess = document.getElementById('ttsText').value;
  308. // var msg = new SpeechSynthesisUtterance(mess);
  309. // msg.volume = 100;
  310. // msg.rate = 1;
  311. // msg.pitch = 1.5;
  312. // console.log(msg);
  313. // window.speechSynthesis.speak(msg);
  314. // },
  315. // 开启循环倒计时
  316. setTimePay() {
  317. // 判断当前是否为付款码
  318. if (this.actionInd == 0) {
  319. this.setTimeOutPay = setInterval(() => {
  320. this.receivedCodeState();
  321. }, 5000);
  322. }
  323. // 获取首付款信息
  324. this.getMoneyList = setInterval(e => {
  325. this.collectionLst();
  326. }, 5000);
  327. },
  328. // 判断付款码是否可以使用
  329. receivedCodeState() {
  330. let obj = this;
  331. // 查询是否过期
  332. receivedCodeState({
  333. code: obj.val
  334. })
  335. .then(e => {
  336. // 无效
  337. if (e.msg == 'overdue') {
  338. obj.receivedPaymentCode();
  339. }
  340. // 已使用
  341. else if (e.msg == 'use') {
  342. uni.showModal({
  343. title: '提示',
  344. content: '已支付成功',
  345. showCancel: false
  346. });
  347. obj.receivedPaymentCode();
  348. }
  349. })
  350. .catch(e => {
  351. console.log(e);
  352. });
  353. },
  354. // 开启验证是否已经过期或使用付款成功
  355. // receivedCodeState(){
  356. // },
  357. // 跳转到记录页面
  358. openList() {
  359. clearInterval(this.setTimeOutPay);
  360. clearInterval(this.getMoneyList);
  361. // this.$refs.popup1.open();
  362. // uni.navigateTo({
  363. // url: '/pages/wallet/wallet'
  364. // });
  365. uni.navigateTo({
  366. url: './list'
  367. });
  368. },
  369. //点击首付款事件
  370. clickItem(item) {
  371. // 更新付款码
  372. if (item === 0) {
  373. this.receivedPaymentCode();
  374. this.setTimePay();
  375. uni.setNavigationBarColor({
  376. backgroundColor:'#4b8fdb',
  377. frontColor:'#ffffff',
  378. success:(e) => {
  379. console.log(e);
  380. },
  381. fail:function (e) {
  382. console.log(e);
  383. }
  384. })
  385. }
  386. // 更新收款码
  387. if (item === 1) {
  388. clearInterval(this.setTimeOutPay);
  389. uni.setNavigationBarColor({
  390. backgroundColor:'#5DBC7C',
  391. frontColor:'#ffffff',
  392. success:(e) => {
  393. console.log(e);
  394. },
  395. fail:function (e) {
  396. console.log(e);
  397. }
  398. })
  399. this.receivedCollectionCode();
  400. }
  401. // 扫码收付款
  402. if (item === 2) {
  403. clearInterval(this.setTimeOutPay);
  404. this.ToChangeInto();
  405. return;
  406. }
  407. // 赋值
  408. this.actionInd = item;
  409. },
  410. // 扫码
  411. ToChangeInto() {
  412. let obj = this;
  413. // #ifdef H5
  414. this.weichatObj.scanQRCode({
  415. needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
  416. scanType: ['qrCode', 'barCode'], // 可以指定扫二维码还是一维码,默认二者都有
  417. success: function(res) {
  418. obj.code = res.resultStr;
  419. obj.$refs.popup1.open();
  420. }
  421. });
  422. // #endif
  423. // #ifndef H5
  424. uni.scanCode({
  425. onlyFromCamera: true,
  426. success: function(e) {
  427. let result = JSON.parse(e.result);
  428. uni.showModal({
  429. title: '扫描二维码',
  430. content: e.result
  431. });
  432. }
  433. });
  434. // #endif
  435. },
  436. // 扫码成功数据处理
  437. scanQR(e) {},
  438. // 获取付款码
  439. receivedPaymentCode() {
  440. receivedPaymentCode({
  441. type: this.payType
  442. })
  443. .then(e => {
  444. this.val = e.data.code;
  445. console.log(e);
  446. })
  447. .catch(e => {
  448. console.log(e);
  449. });
  450. },
  451. // 获取收款码
  452. receivedCollectionCode() {
  453. receivedCollectionCode()
  454. .then(e => {
  455. this.val = e.msg;
  456. console.log(e);
  457. })
  458. .catch(e => {
  459. console.log(e);
  460. });
  461. },
  462. // 創建二维码
  463. creatQrcode() {
  464. console.log(this.$refs.qrcode._makeCode);
  465. this.$refs.qrcode._makeCode();
  466. },
  467. // 保存二维码到图库
  468. saveQrcode() {
  469. this.$refs.qrcode._saveCode();
  470. },
  471. // 生成二维码后返回base64
  472. qrR(res) {
  473. this.src = res;
  474. },
  475. //清空二维码(清空二维码会触发result回调 返回值为空)
  476. clearQrcode(e) {
  477. this.$refs.qrcode._clearCode();
  478. this.val = '';
  479. },
  480. // 保存二维码
  481. upload() {
  482. this.$refs.qrcode._saveCode();
  483. },
  484. openApp() {
  485. let weixinObj = require('jweixin-module');
  486. },
  487. showChooseType() {
  488. this.$refs.popupPay.open()
  489. },
  490. changePayType(index) {
  491. this.payType = index
  492. },
  493. qrchange() {
  494. this.showPayType = this.payType
  495. this.$refs.popupPay.close()
  496. console.log(this.payType)
  497. this.clickItem(0)
  498. }
  499. }
  500. };
  501. </script>
  502. <style lang="scss">
  503. .content,
  504. page {
  505. // border-top: 2rpx solid #f2f3f5;
  506. background-color: $base-color;
  507. height: 100%;
  508. }
  509. // 共有底部高度
  510. $btHeight: 100rpx;
  511. .btHeight {
  512. height: $btHeight;
  513. }
  514. .greenBg{
  515. background-color: $base-color;
  516. }
  517. .blueBg{
  518. background-color: #4b8fdb;
  519. }
  520. .coupon_transfer {
  521. // background-color: #ffffff;
  522. padding: 20rpx 25rpx;
  523. padding-top: 50rpx;
  524. // padding-bottom: 130rpx;
  525. width: 100%;
  526. // margin-top: 25rpx;
  527. .user {
  528. margin-bottom: -125rpx;
  529. height: 200rpx;
  530. line-height: 1;
  531. .imgbox {
  532. margin: 0 auto;
  533. text-align: center;
  534. .img {
  535. width: 150rpx;
  536. height: 150rpx;
  537. border-radius: 999rpx;
  538. }
  539. }
  540. .niceName {
  541. text-align: center;
  542. font-size: $font-lg;
  543. margin-top: 15rpx;
  544. font-weight: bold;
  545. color: $font-color-dark;
  546. }
  547. }
  548. }
  549. .erwema {
  550. width: 686rpx;
  551. // height: 817rpx;
  552. height: 900rpx;
  553. background-color: #ffffff;
  554. padding-top: 100rpx;
  555. display: flex;
  556. justify-content: center;
  557. align-items: center;
  558. margin: 0rpx auto;
  559. .setType {
  560. height: 130rpx;
  561. justify-content: flex-start;
  562. .type-wrapper {
  563. text-align: left;
  564. flex-grow: 1;
  565. }
  566. .type-logo {
  567. width: 56rpx;
  568. height: 54rpx;
  569. flex-shrink: 0;
  570. margin-right: 10rpx;
  571. }
  572. .sele-wrap {
  573. width: 50rpx;
  574. height: 100%;
  575. flex-shrink: 0;
  576. display: flex;
  577. align-items: center;
  578. .selecte-ic {
  579. justify-items: flex-end;
  580. width: 13rpx;
  581. height: 36rpx;
  582. transform: rotate(-90deg);
  583. }
  584. }
  585. }
  586. .qrbox {
  587. width: 500rpx;
  588. text-align: center;
  589. font-weight: bold;
  590. .payMoney {
  591. font-size: 50rpx;
  592. // margin-top: 80rpx;
  593. color: $font-color-dark;
  594. font-weight: bold;
  595. }
  596. .setMoney {
  597. font-size: $font-base;
  598. color: $base-color;
  599. margin-top: 20rpx;
  600. }
  601. }
  602. }
  603. /deep/ .qrbox .img {
  604. margin-top: -500rpx !important;
  605. }
  606. /deep/ .tki-qrcode {
  607. // height: 500rpx;
  608. line-height: 0;
  609. margin-top: 10rpx;
  610. }
  611. .bottomTab {
  612. padding: 50rpx;
  613. padding-top: 20rpx;
  614. // position: fixed;
  615. // padding-bottom: 50rpx;
  616. // left: 0;
  617. // bottom: 0;
  618. width: 100%;
  619. .item1 {
  620. text-align: center;
  621. color: #ffffff;
  622. opacity: 0.7;
  623. flex-grow: 1;
  624. line-height: 1;
  625. .img {
  626. width: 80rpx;
  627. height: 80rpx;
  628. }
  629. .text {
  630. font-size: $font-lg;
  631. }
  632. &.action {
  633. opacity: 1;
  634. }
  635. }
  636. }
  637. .popup-box {
  638. position: relative;
  639. z-index: 100;
  640. width: 100%;
  641. height: auto;
  642. background: #ffffff;
  643. .popup-pay {
  644. position: relative;
  645. justify-content: space-between;
  646. // padding: 0rpx 25rpx 32rpx 25rpx;
  647. .paybox-top {
  648. padding-top: 38rpx;
  649. padding-left: 32rpx;
  650. width: 100%;
  651. .type {
  652. font-size: 28rpx;
  653. font-family: PingFang SC;
  654. font-weight: bold;
  655. color: #333333;
  656. }
  657. .image {
  658. padding-right: 24rpx;
  659. padding-bottom: 10rpx;
  660. image {
  661. width: 16rpx;
  662. height: 16rpx;
  663. }
  664. }
  665. }
  666. .paybox-main {
  667. padding-left: 40rpx;
  668. width: 100%;
  669. margin-top: 54rpx;
  670. margin-bottom: 54rpx;
  671. .zftype {
  672. padding-left: 5rpx;
  673. image {
  674. width: 38rpx;
  675. height: 40rpx;
  676. }
  677. .zf {
  678. padding-left: 18rpx;
  679. font-size: 28rpx;
  680. font-family: PingFang SC;
  681. font-weight: 400;
  682. color: #3f454b;
  683. }
  684. }
  685. }
  686. .paybtn {
  687. width: 750rpx;
  688. line-height: 93rpx;
  689. background: #75BA82;
  690. font-size: 32rpx;
  691. font-family: PingFang SC;
  692. font-weight: bold;
  693. color: #FFFFFF;
  694. text-align: center;
  695. }
  696. }
  697. .buttom {
  698. position: relative;
  699. z-index: 100;
  700. width: 100%;
  701. height: 113rpx;
  702. padding-top: 20rpx;
  703. align-items: center;
  704. .heji {
  705. height: 100%;
  706. width: 50%;
  707. padding-left: 23rpx;
  708. padding-top: 20rpx;
  709. font-size: 28rpx;
  710. font-family: PingFang SC;
  711. font-weight: 400;
  712. color: #3f454b;
  713. text {
  714. font-size: 24rpx;
  715. font-family: PingFang SC;
  716. font-weight: bold;
  717. color: #ff0000;
  718. .money {
  719. font-size: 36rpx;
  720. }
  721. }
  722. }
  723. .zhifu {
  724. width: 50%;
  725. height: 92rpx;
  726. background: #5dbc7c;
  727. text-align: center;
  728. line-height: 92rpx;
  729. font-size: 32rpx;
  730. font-family: PingFang SC;
  731. font-weight: bold;
  732. color: #ffffff;
  733. }
  734. }
  735. }
  736. </style>