member-pay.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708
  1. <template>
  2. <view class="container cashier">
  3. <view class="container-cash clearfix">
  4. <view class="container-wrapper">
  5. <view class="pay-content">
  6. <view class="pay-p"><text>待付金额</text></view>
  7. <view class="pay-money">
  8. <text class="pay-sm">¥</text> <text class="pay-bg">{{ handelPayMsg.price | NumFormat }}</text>
  9. </view>
  10. <view class="pay-mouth">套餐:{{ handelPayMsg.duration }}个月</view>
  11. </view>
  12. <view class="pay-check">
  13. <view class="pay-checked">
  14. <view class="pay-card-main" v-if="cardsList.length > 0">
  15. <view class="pay-item-cell" @click="tabClick(3)">
  16. <view class="item-icon">
  17. <image
  18. :src="
  19. 'https://static.caimei365.com/app/img/pay/icon_' +
  20. defaultCards.bankCode +
  21. '_@2x.png'
  22. "
  23. ></image>
  24. </view>
  25. <view class="item-texts"
  26. >{{ defaultCards.bankName }}(
  27. {{ defaultCards.quickPayBankNumber | bankNumeberFilter }} )</view
  28. >
  29. <view class="item-checked">
  30. <text
  31. class="iconfont"
  32. :class="[tabCurrentIndex === 3 ? 'icon-yixuanze3' : 'icon-weixuanze']"
  33. ></text>
  34. </view>
  35. </view>
  36. <view class="pay-item-cell add" @click="hanldeShowPopup(1)">
  37. <view class="item-texts add"><text>查看全部银行卡 / 添加新卡支付</text></view>
  38. <view class="item-checked"> <text class="iconfont icon-xiayibu"></text> </view>
  39. </view>
  40. </view>
  41. <view class="pay-item" @click="handleAddCard(2)" v-else>
  42. <view class="pay-item-cell">
  43. <view class="item-texts add"><text>添加银行卡快捷付款</text></view>
  44. <view class="item-checked"> <text class="iconfont icon-xiayibu"></text> </view>
  45. </view>
  46. </view>
  47. <view class="pay-item" @click="tabClick(0)">
  48. <view class="pay-item-cell">
  49. <view class="item-icon"><text class="iconfont icon-weixinzhifu"></text></view>
  50. <view class="item-texts"><text>微信支付</text></view>
  51. <view class="item-checked">
  52. <text
  53. class="iconfont"
  54. :class="[tabCurrentIndex === 0 ? 'icon-yixuanze3' : 'icon-weixuanze']"
  55. ></text>
  56. </view>
  57. </view>
  58. </view>
  59. <view class="pay-item" @click="tabClick(1)">
  60. <view class="pay-item-cell">
  61. <view class="item-icon"><text class="iconfont icon-qiyewangyinzhifu"></text></view>
  62. <view class="item-texts"><text>企业网银支付</text></view>
  63. <view class="item-checked">
  64. <text
  65. class="iconfont"
  66. :class="[tabCurrentIndex === 1 ? 'icon-yixuanze3' : 'icon-weixuanze']"
  67. ></text>
  68. </view>
  69. </view>
  70. </view>
  71. <view class="pay-item" @click="tabClick(2)">
  72. <view class="pay-item-cell">
  73. <view class="item-icon"><text class="iconfont icon-gerenwangyinzhifu"></text></view>
  74. <view class="item-texts"><text>个人网银支付</text></view>
  75. <view class="item-checked">
  76. <text
  77. class="iconfont"
  78. :class="[tabCurrentIndex === 2 ? 'icon-yixuanze3' : 'icon-weixuanze']"
  79. ></text>
  80. </view>
  81. </view>
  82. </view>
  83. </view>
  84. </view>
  85. </view>
  86. <view class="pay-button" :style="{ paddingBottom: isIphoneX ? '68rpx' : '24rpx' }">
  87. <view class="btn" @click.stop="buttonSubMit" :style="{ background: btnColor }">{{ buttonText }}</view>
  88. </view>
  89. </view>
  90. <!-- 选择快捷支付银行 -->
  91. <cm-cards :show="popupShow1" :list="cardsList" @handleChoiceaCards="handleChoiceaCards" v-if="popupShow1"></cm-cards>
  92. <!-- 网银链接说明弹窗 -->
  93. <view class="alert spec" :class="specClass" v-if="isShowTip">
  94. <view class="payun-alert" @tap="hideTips">
  95. <view class="content">
  96. <view class="title">
  97. <text>支付链接</text> <text class="iconfont icon-iconfontguanbi" @click.stop="hideTips"></text>
  98. </view>
  99. <view class="text-content">
  100. <view class="text"
  101. >请复制以下链接,并发送至电脑端,在浏览器访问该链接并选择银行尽快完成支付</view
  102. >
  103. <view class="text-p">{{ payHttpUrl }}</view> <view class="text-b">链接有效期为72小时</view>
  104. </view>
  105. <view class="text-button" @click.stop="clipboard(payHttpUrl)">复制链接</view>
  106. </view>
  107. </view>
  108. </view>
  109. </view>
  110. </template>
  111. <script>
  112. import authorize from '@/common/config/authorize.js'
  113. const thorui = require('@/components/clipboard/clipboard.thorui.js')
  114. import payMixins from '@/mixins/payMixins.js'
  115. import cardMixins from '../pay/mixins/cardMixins.js'
  116. import cmCards from '../pay/components/cm-cards-popup'
  117. export default {
  118. mixins: [payMixins, cardMixins],
  119. components: {
  120. cmCards
  121. },
  122. data() {
  123. return {
  124. isIphoneX: this.$store.state.isIphoneX,
  125. CustomBar: this.CustomBar, // 顶部导航栏高度
  126. isShowTip: false,
  127. handelPayMsg: {},
  128. payType: 0,
  129. isPaySwitch: true,
  130. payParams: {
  131. payType: 'XCX',
  132. code: 0,
  133. vipRecordId: 0
  134. },
  135. payHttpUrl: 'https://www.caimei365.com',
  136. popupShow1: false,
  137. quickParams: {
  138. userId: 0, //机构UserId
  139. quickPayBankNumber: '', //快捷支付用户银行卡号/信用卡号
  140. quickPayMobile: '', //快捷支付银行卡绑定手机号
  141. quickPayBankExpireTime: '', //快捷支付信用卡过期时间,只包含年月,格式yy-MM
  142. quickPayUserName: '', //快捷支付用户姓名
  143. idCard: '', //身份证号
  144. cvvCode: '', //信用卡安全码
  145. quickPayFlag: 2,
  146. vipRecordId: 0,
  147. },
  148. }
  149. },
  150. onLoad(option) {
  151. this.initGetStotage(option)
  152. },
  153. filters: {
  154. NumFormat(value) {
  155. if (!value) return '0.00'
  156. /*原来用的是Number(value).toFixed(0),这样取整时有问题,例如0.51取整之后为1,感谢Nils指正*/
  157. /*后来改成了 Number(value)|0,但是输入超过十一位就为负数了,具体见评论 */
  158. var intPart = Number(value) - (Number(value) % 1) //获取整数部分(这里是windy93的方法)
  159. var intPartFormat = intPart.toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,') //将整数部分逢三一断
  160. var floatPart = '.00' //预定义小数部分
  161. var value2Array = value.toString().split('.')
  162. //=2表示数据有小数位
  163. if (value2Array.length == 2) {
  164. floatPart = value2Array[1].toString() //拿到小数部分
  165. if (floatPart.length == 1) {
  166. //补0,实际上用不着
  167. return intPartFormat + '.' + floatPart + '0'
  168. } else {
  169. return intPartFormat + '.' + floatPart
  170. }
  171. } else {
  172. return intPartFormat + floatPart
  173. }
  174. }
  175. },
  176. methods: {
  177. async initGetStotage(option) {
  178. let data = JSON.parse(option.data)
  179. this.payParams.vipRecordId = this.quickParams.vipRecordId = data.vipRecordId
  180. this.handelPayMsg = data
  181. this.PayOrderOnLineSwitch()
  182. this.GetUserClubBanks()
  183. console.log(this.handelPayMsg)
  184. },
  185. PayOrderOnLineSwitch() {
  186. // 线上支付开关
  187. this.PayService.PayOrderOnLineSwitch()
  188. .then(response => {
  189. if (response.data === 0) {
  190. this.isPaySwitch = true
  191. } else {
  192. this.isPaySwitch = false
  193. }
  194. })
  195. .catch(error => {
  196. console.log('线上支付开关异常')
  197. })
  198. },
  199. async GetUserClubBanks() {
  200. //获取列表
  201. try {
  202. const user = await this.$api.getStorage()
  203. const res = await this.UserService.userClubBanks({ userId:user.userId })
  204. this.cardsList = res.data
  205. this.defaultCards = this.cardsList[0]
  206. this.quickParams.userId = user.userId
  207. this.quickParams.quickPayBankNumber = this.defaultCards.quickPayBankNumber
  208. this.quickParams.quickPayMobile = this.defaultCards.quickPayMobile
  209. this.quickParams.quickPayBankExpireTime = this.defaultCards.quickPayBankExpireTime ? this.defaultCards.quickPayBankExpireTime : ''
  210. this.quickParams.quickPayUserName = this.defaultCards.quickPayUserName
  211. this.quickParams.idCard = this.defaultCards.idCard
  212. this.quickParams.cvvCode = this.defaultCards.cvvCode ? this.defaultCards.cvvCode : ''
  213. } catch (error) {
  214. console.log(error)
  215. }
  216. },
  217. handleAddCard(index) {
  218. //跳转添加卡号支付
  219. //quickPayFlag 2超级会员,vipRecordId :会员购买记录Id
  220. const data = {
  221. payData: {
  222. quickPayFlag: 2,
  223. vipRecordId: this.payParams.vipRecordId
  224. },
  225. payAmount: this.handelPayMsg.price
  226. }
  227. this.$api.navigateTo(`/pages/user/pay/card-comfirm?type=${index}&data=${JSON.stringify(data)}`)
  228. },
  229. buttonSubMit() {
  230. // 友盟埋点收集选择支付方式
  231. if (process.env.NODE_ENV != 'development') {
  232. this.$uma.trackEvent('Um_Event_userClubMemberChooseWechatPay', {
  233. Um_Key_PageName: '支付超级会员',
  234. Um_Key_SourcePage: '支付超级会员',
  235. Um_Key_PayName: `${this.buttonText}`,
  236. Um_Key_Month: `${this.handelPayMsg.duration}个月`
  237. })
  238. }
  239. if (this.isPaySwitch) {
  240. this.$util.msg('支付系统遇到点小问题,请稍后重试')
  241. return
  242. }
  243. switch (this.tabCurrentIndex) {
  244. case 0: // 微信小程序支付
  245. this.MiniWxPayFor()
  246. break
  247. case 1: // 生成企业网银链接
  248. this.handlePayOrderPayLink()
  249. break
  250. case 2: // 生成个人网银链接
  251. this.handlePayOrderPayLink()
  252. break
  253. case 3: // 快捷支付
  254. this.orderPayQuickPay()
  255. break
  256. }
  257. },
  258. async orderPayQuickPay() {
  259. //快捷支付
  260. try {
  261. const res = await this.PayService.orderPayQuickPay(this.quickParams)
  262. console.log('res', res.data)
  263. const data = {
  264. params: this.quickParams,
  265. payData: res.data,
  266. payAmount: this.handelPayMsg.price
  267. }
  268. this.$api.navigateTo(
  269. `/pages/user/pay/card-comfirm-sub?type=3&data=${JSON.stringify(data)}`
  270. )
  271. } catch (error) {
  272. this.$util.msg(error.msg, 2000)
  273. }
  274. },
  275. async handlePayOrderPayLink() {
  276. // 生成网银支付链接
  277. try {
  278. const linkParams = {
  279. vipRecordId: this.payParams.vipRecordId,
  280. payType: this.payType
  281. }
  282. const res = await this.PayService.PayOrderPayLink(linkParams)
  283. this.payHttpUrl = res.data
  284. this.isShowTip = true
  285. console.log('isShowTip',this.isShowTip)
  286. } catch (error) {
  287. console.log(error)
  288. }
  289. },
  290. async MiniWxPayFor() {
  291. // 使用微信支付
  292. this.payParams.code = await authorize.getCode('weixin')
  293. this.weChatMiniVipWxPay(this.payParams)
  294. },
  295. WxRequestPayment(data) {
  296. // 微信支付Api
  297. let self = this
  298. console.log('data', data)
  299. wx.requestPayment({
  300. timeStamp: data.timeStamp,
  301. nonceStr: data.nonceStr,
  302. package: data.package,
  303. signType: data.signType,
  304. paySign: data.paySign,
  305. success: function(res) {
  306. wx.reLaunch({ url: '/pages/tabBar/user/user' })
  307. },
  308. fail: function(res) {
  309. self.$util.msg('用户取消支付~')
  310. },
  311. complete: function(res) {}
  312. })
  313. },
  314. hideTips() {
  315. //隐藏弹窗
  316. this.isShowTip = false
  317. },
  318. clipboard(data) {
  319. thorui.getClipboardData(data, res => {
  320. if (res) {
  321. this.isShowTip = false
  322. this.$util.msg('复制成功', 2000, true, 'success')
  323. // // 友盟埋点收集复制网银链接
  324. // if(process.env.NODE_ENV != 'development'){
  325. // this.$uma.trackEvent('Um_Event_CopyUnionPay', {
  326. // Um_Key_PageName: '网银支付',
  327. // Um_Key_SourcePage: '线上支付',
  328. // Um_Key_PayName:`${this.buttonText}`,
  329. // Um_Key_PayOrderID:`${this.orderId}`
  330. // })
  331. // }
  332. } else {
  333. this.$util.msg('复制失败', 2000, true, 'none')
  334. }
  335. })
  336. }
  337. },
  338. onShow() {}
  339. }
  340. </script>
  341. <style lang="scss">
  342. page {
  343. height: auto !important;
  344. background-color: #ffffff;
  345. }
  346. .container-cash {
  347. width: 100%;
  348. margin-top: 40rpx;
  349. .container-wrapper {
  350. width: 100%;
  351. box-sizing: border-box;
  352. padding: 0 24rpx;
  353. .pay-content {
  354. width: 100%;
  355. height: 254rpx;
  356. padding: 92rpx 40rpx 16rpx 40rpx;
  357. box-sizing: border-box;
  358. background: url(https://static.caimei365.com/app/img/icon/icon-member-pay@2x.png) no-repeat;
  359. background-size: cover;
  360. float: left;
  361. position: relative;
  362. .pay-p {
  363. font-size: $font-size-26;
  364. color: #4e4539;
  365. line-height: 36rpx;
  366. }
  367. .pay-money {
  368. color: #4e4539;
  369. line-height: 84rpx;
  370. font-weight: bold;
  371. .pay-sm {
  372. font-size: $font-size-26;
  373. }
  374. .pay-bg {
  375. font-size: 50rpx;
  376. }
  377. }
  378. .pay-mouth {
  379. position: absolute;
  380. right: 40rpx;
  381. bottom: 16rpx;
  382. line-height: 36rpx;
  383. font-size: $font-size-26;
  384. color: #4e4539;
  385. }
  386. }
  387. .pay-check {
  388. width: 100%;
  389. height: auto;
  390. float: left;
  391. margin-top: 40rpx;
  392. .check-title {
  393. width: 622rpx;
  394. height: 40rpx;
  395. line-height: 40rpx;
  396. padding: 0 20rpx;
  397. margin-top: 24rpx;
  398. .text {
  399. font-size: $font-size-28;
  400. color: $text-color;
  401. text-align: left;
  402. float: left;
  403. }
  404. .icon {
  405. width: 40rpx;
  406. height: 40rpx;
  407. border-radius: 50%;
  408. line-height: 40rpx;
  409. text-align: center;
  410. color: #ffffff;
  411. font-size: $font-size-24;
  412. background: radial-gradient(
  413. circle,
  414. rgba(225, 86, 22, 1) 0%,
  415. rgba(255, 170, 0, 1) 67%,
  416. rgba(249, 185, 156, 1) 100%
  417. );
  418. float: right;
  419. }
  420. }
  421. .pay-checked {
  422. width: 100%;
  423. height: auto;
  424. .pay-card-main {
  425. width: 100%;
  426. height: auto;
  427. float: left;
  428. border-top: 12px solid #f7f7f7;
  429. border-bottom: 12px solid #f7f7f7;
  430. box-sizing: border-box;
  431. padding: 0 32rpx;
  432. .pay-item-cell {
  433. height: 100rpx;
  434. box-sizing: border-box;
  435. padding: 26rpx 0;
  436. background-color: #ffffff;
  437. border-bottom: 1px solid #e1e1e1;
  438. &.add {
  439. border-bottom: none;
  440. padding-left: 66rpx;
  441. }
  442. .item-icon {
  443. width: 48rpx;
  444. height: 48rpx;
  445. margin-right: 20rpx;
  446. float: left;
  447. image {
  448. width: 48rpx;
  449. height: 48rpx;
  450. display: block;
  451. }
  452. }
  453. .item-texts {
  454. line-height: 48rpx;
  455. font-size: $font-size-28;
  456. color: $text-color;
  457. float: left;
  458. &.add {
  459. font-weight: bold;
  460. }
  461. }
  462. .item-checked {
  463. width: 48rpx;
  464. height: 48rpx;
  465. float: right;
  466. text-align: center;
  467. line-height: 48rpx;
  468. font-size: $font-size-40;
  469. color: #ffffff;
  470. .icon-weixuanze {
  471. color: #b2b2b2;
  472. }
  473. .icon-yixuanze3 {
  474. color: #ff5b00;
  475. }
  476. .icon-xiayibu {
  477. color: #b2b2b2;
  478. }
  479. }
  480. }
  481. }
  482. .pay-item {
  483. width: 100%;
  484. height: auto;
  485. box-sizing: border-box;
  486. float: left;
  487. padding: 0 32rpx;
  488. .pay-item-cell {
  489. height: 100rpx;
  490. box-sizing: border-box;
  491. padding: 26rpx 0;
  492. background-color: #ffffff;
  493. border-bottom: 1px solid #e1e1e1;
  494. .item-icon {
  495. width: 48rpx;
  496. height: 48rpx;
  497. float: left;
  498. text-align: center;
  499. line-height: 48rpx;
  500. margin-right: 20rpx;
  501. .iconfont {
  502. font-size: 48rpx;
  503. }
  504. .icon-weixinzhifu {
  505. color: #0abc64;
  506. }
  507. .icon-gerenwangyinzhifu {
  508. color: #16afe8;
  509. }
  510. .icon-qiyewangyinzhifu {
  511. color: #007acc;
  512. }
  513. }
  514. .item-texts {
  515. line-height: 48rpx;
  516. font-size: $font-size-28;
  517. color: $text-color;
  518. float: left;
  519. &.add {
  520. font-weight: bold;
  521. }
  522. }
  523. .item-checked {
  524. width: 48rpx;
  525. height: 48rpx;
  526. float: right;
  527. text-align: center;
  528. line-height: 48rpx;
  529. font-size: $font-size-40;
  530. color: #ffffff;
  531. .icon-weixuanze {
  532. color: #b2b2b2;
  533. }
  534. .icon-yixuanze3 {
  535. color: #ff5b00;
  536. }
  537. .icon-xiayibu {
  538. color: #b2b2b2;
  539. }
  540. }
  541. }
  542. }
  543. }
  544. }
  545. }
  546. .pay-button {
  547. width: 600rpx;
  548. background-color: #ffffff;
  549. position: fixed;
  550. height: 88rpx;
  551. padding: 24rpx 75rpx 0 75rpx;
  552. bottom: 0;
  553. .btn {
  554. width: 100%;
  555. height: 88rpx;
  556. border-radius: 44rpx;
  557. font-size: $font-size-28;
  558. line-height: 88rpx;
  559. color: #ffffff;
  560. margin: 0 auto;
  561. text-align: center;
  562. background: $btn-confirm;
  563. }
  564. }
  565. .pay-bring-wrapper {
  566. width: 100%;
  567. padding: 24rpx 0;
  568. background-color: #ffffff;
  569. display: flex;
  570. align-items: center;
  571. flex-direction: column;
  572. .pay-bring-content {
  573. width: 654rpx;
  574. height: auto;
  575. padding: 0 24rpx;
  576. .text {
  577. font-size: $font-size-24;
  578. color: #666;
  579. line-height: 44rpx;
  580. text-align: center;
  581. &.bg-color {
  582. color: $color-system;
  583. line-height: 88rpx;
  584. }
  585. }
  586. .text-v {
  587. font-size: $font-size-28;
  588. color: #999;
  589. line-height: 70rpx;
  590. text-align: left;
  591. &.title {
  592. font-size: $font-size-28;
  593. color: #666666;
  594. }
  595. &.bg-color {
  596. line-height: 44rpx;
  597. color: $color-system;
  598. }
  599. .clipboard {
  600. width: 84rpx;
  601. height: 36rpx;
  602. background: linear-gradient(34deg, rgba(255, 41, 41, 1) 0%, rgba(255, 109, 27, 1) 100%);
  603. text-align: center;
  604. font-size: $font-size-24;
  605. color: #ffffff;
  606. border-radius: 4rpx;
  607. line-height: 36rpx;
  608. display: inline-block;
  609. margin-left: 10rpx;
  610. }
  611. }
  612. }
  613. }
  614. }
  615. .payun-alert {
  616. width: 100%;
  617. height: 100%;
  618. background: rgba(0, 0, 0, 0.5);
  619. position: fixed;
  620. top: 0;
  621. left: 0;
  622. z-index: 8888;
  623. transition: all 0.4s;
  624. &.none {
  625. display: none;
  626. }
  627. &.show {
  628. display: block;
  629. }
  630. .content {
  631. width: 422rpx;
  632. height: 434rpx;
  633. position: absolute;
  634. background: $bg-color;
  635. left: 0;
  636. right: 0;
  637. bottom: 0;
  638. top: 0;
  639. margin: auto;
  640. padding: 20rpx 32rpx;
  641. border-radius: 12rpx;
  642. .title {
  643. width: 100%;
  644. height: 68rpx;
  645. line-height: 68rpx;
  646. font-size: $font-size-28;
  647. color: $text-color;
  648. text-align: center;
  649. position: relative;
  650. .icon-iconfontguanbi {
  651. width: 68rpx;
  652. height: 68rpx;
  653. text-align: center;
  654. line-height: 68rpx;
  655. position: absolute;
  656. right: 0;
  657. top: 0;
  658. font-size: $font-size-36;
  659. color: #999999;
  660. }
  661. }
  662. .text-content {
  663. width: 100%;
  664. height: auto;
  665. .text {
  666. padding: 20rpx 0 0 0;
  667. line-height: 44rpx;
  668. font-size: $font-size-26;
  669. color: #666666;
  670. text-align: justify;
  671. }
  672. .text-p {
  673. width: 100%;
  674. line-height: 44rpx;
  675. font-size: $font-size-26;
  676. color: $color-system;
  677. text-align: left;
  678. text-overflow: ellipsis;
  679. display: -webkit-box;
  680. word-break: break-all;
  681. -webkit-box-orient: vertical;
  682. -webkit-line-clamp: 1;
  683. overflow: hidden;
  684. }
  685. .text-b {
  686. line-height: 44rpx;
  687. font-size: $font-size-24;
  688. color: #999999;
  689. text-align: left;
  690. }
  691. }
  692. .text-button {
  693. width: 100%;
  694. height: 88rpx;
  695. line-height: 88rpx;
  696. background: $btn-confirm;
  697. font-size: $font-size-28;
  698. border-radius: 44rpx;
  699. color: #ffffff;
  700. text-align: center;
  701. margin-top: 20rpx;
  702. }
  703. }
  704. }
  705. </style>