member-pay.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713
  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.tabCurrentIndex = 3
  180. this.tabClick(this.tabCurrentIndex)
  181. this.payParams.vipRecordId = this.quickParams.vipRecordId = data.vipRecordId
  182. this.handelPayMsg = data
  183. this.PayOrderOnLineSwitch()
  184. this.GetUserClubBanks()
  185. console.log(this.handelPayMsg)
  186. },
  187. PayOrderOnLineSwitch() {
  188. // 线上支付开关
  189. this.PayService.PayOrderOnLineSwitch()
  190. .then(response => {
  191. if (response.data === 0) {
  192. this.isPaySwitch = true
  193. } else {
  194. this.isPaySwitch = false
  195. }
  196. })
  197. .catch(error => {
  198. console.log('线上支付开关异常')
  199. })
  200. },
  201. async GetUserClubBanks() {
  202. //获取列表
  203. try {
  204. const user = await this.$api.getStorage()
  205. const res = await this.UserService.userClubBanks({ userId:user.userId })
  206. this.cardsList = res.data
  207. this.defaultCards = this.cardsList[0]
  208. this.quickParams.userId = user.userId
  209. this.quickParams.quickPayBankNumber = this.defaultCards.quickPayBankNumber
  210. this.quickParams.quickPayMobile = this.defaultCards.quickPayMobile
  211. this.quickParams.quickPayBankExpireTime = this.defaultCards.quickPayBankExpireTime ? this.defaultCards.quickPayBankExpireTime : ''
  212. this.quickParams.quickPayUserName = this.defaultCards.quickPayUserName
  213. this.quickParams.idCard = this.defaultCards.idCard
  214. this.quickParams.cvvCode = this.defaultCards.cvvCode ? this.defaultCards.cvvCode : ''
  215. } catch (error) {
  216. console.log(error)
  217. }
  218. },
  219. handleAddCard(index) {
  220. //跳转添加卡号支付
  221. //quickPayFlag 2超级会员,vipRecordId :会员购买记录Id
  222. const data = {
  223. payData: {
  224. quickPayFlag: 2,
  225. vipRecordId: this.payParams.vipRecordId
  226. },
  227. payAmount: this.handelPayMsg.price
  228. }
  229. this.$api.navigateTo(`/pages/user/pay/card-comfirm?type=${index}&data=${JSON.stringify(data)}`)
  230. },
  231. buttonSubMit() {
  232. // 友盟埋点收集选择支付方式
  233. if (process.env.NODE_ENV != 'development') {
  234. this.$uma.trackEvent('Um_Event_userClubMemberChooseWechatPay', {
  235. Um_Key_PageName: '支付超级会员',
  236. Um_Key_SourcePage: '支付超级会员',
  237. Um_Key_PayName: `${this.buttonText}`,
  238. Um_Key_Month: `${this.handelPayMsg.duration}个月`
  239. })
  240. }
  241. if (this.isPaySwitch) {
  242. this.$util.msg('支付系统遇到点小问题,请稍后重试')
  243. return
  244. }
  245. switch (this.tabCurrentIndex) {
  246. case 0: // 微信小程序支付
  247. this.MiniWxPayFor()
  248. break
  249. case 1: // 生成企业网银链接
  250. this.handlePayOrderPayLink()
  251. break
  252. case 2: // 生成个人网银链接
  253. this.handlePayOrderPayLink()
  254. break
  255. case 3: // 快捷支付
  256. if(!this.quickParams.quickPayBankNumber){
  257. this.$util.msg('请先添加快捷支付银行卡', 2000)
  258. return
  259. }
  260. this.orderPayQuickPay()
  261. break
  262. }
  263. },
  264. async orderPayQuickPay() {
  265. //快捷支付
  266. try {
  267. const res = await this.PayService.orderPayQuickPay(this.quickParams)
  268. const data = {
  269. params: this.quickParams,
  270. payData: res.data,
  271. payAmount: this.handelPayMsg.price
  272. }
  273. this.$api.navigateTo(
  274. `/pages/user/pay/card-comfirm-sub?type=3&data=${JSON.stringify(data)}`
  275. )
  276. } catch (error) {
  277. this.$util.msg(error.msg, 2000)
  278. }
  279. },
  280. async handlePayOrderPayLink() {
  281. // 生成网银支付链接
  282. try {
  283. const linkParams = {
  284. vipRecordId: this.payParams.vipRecordId,
  285. payType: this.payType
  286. }
  287. const res = await this.PayService.PayOrderPayLink(linkParams)
  288. this.payHttpUrl = res.data
  289. this.isShowTip = true
  290. console.log('isShowTip',this.isShowTip)
  291. } catch (error) {
  292. console.log(error)
  293. }
  294. },
  295. async MiniWxPayFor() {
  296. // 使用微信支付
  297. this.payParams.code = await authorize.getCode('weixin')
  298. this.weChatMiniVipWxPay(this.payParams)
  299. },
  300. WxRequestPayment(data) {
  301. // 微信支付Api
  302. let self = this
  303. console.log('data', data)
  304. wx.requestPayment({
  305. timeStamp: data.timeStamp,
  306. nonceStr: data.nonceStr,
  307. package: data.package,
  308. signType: data.signType,
  309. paySign: data.paySign,
  310. success: function(res) {
  311. wx.reLaunch({ url: '/pages/tabBar/user/user' })
  312. },
  313. fail: function(res) {
  314. self.$util.msg('用户取消支付~')
  315. },
  316. complete: function(res) {}
  317. })
  318. },
  319. hideTips() {
  320. //隐藏弹窗
  321. this.isShowTip = false
  322. },
  323. clipboard(data) {
  324. thorui.getClipboardData(data, res => {
  325. if (res) {
  326. this.isShowTip = false
  327. this.$util.msg('复制成功', 2000, true, 'success')
  328. // // 友盟埋点收集复制网银链接
  329. // if(process.env.NODE_ENV != 'development'){
  330. // this.$uma.trackEvent('Um_Event_CopyUnionPay', {
  331. // Um_Key_PageName: '网银支付',
  332. // Um_Key_SourcePage: '线上支付',
  333. // Um_Key_PayName:`${this.buttonText}`,
  334. // Um_Key_PayOrderID:`${this.orderId}`
  335. // })
  336. // }
  337. } else {
  338. this.$util.msg('复制失败', 2000, true, 'none')
  339. }
  340. })
  341. }
  342. },
  343. onShow() {}
  344. }
  345. </script>
  346. <style lang="scss">
  347. page {
  348. height: auto !important;
  349. background-color: #ffffff;
  350. }
  351. .container-cash {
  352. width: 100%;
  353. margin-top: 40rpx;
  354. .container-wrapper {
  355. width: 100%;
  356. box-sizing: border-box;
  357. padding: 0 24rpx;
  358. .pay-content {
  359. width: 100%;
  360. height: 254rpx;
  361. padding: 92rpx 40rpx 16rpx 40rpx;
  362. box-sizing: border-box;
  363. background: url(https://static.caimei365.com/app/img/icon/icon-member-pay@2x.png) no-repeat;
  364. background-size: cover;
  365. float: left;
  366. position: relative;
  367. .pay-p {
  368. font-size: $font-size-26;
  369. color: #4e4539;
  370. line-height: 36rpx;
  371. }
  372. .pay-money {
  373. color: #4e4539;
  374. line-height: 84rpx;
  375. font-weight: bold;
  376. .pay-sm {
  377. font-size: $font-size-26;
  378. }
  379. .pay-bg {
  380. font-size: 50rpx;
  381. }
  382. }
  383. .pay-mouth {
  384. position: absolute;
  385. right: 40rpx;
  386. bottom: 16rpx;
  387. line-height: 36rpx;
  388. font-size: $font-size-26;
  389. color: #4e4539;
  390. }
  391. }
  392. .pay-check {
  393. width: 100%;
  394. height: auto;
  395. float: left;
  396. margin-top: 40rpx;
  397. .check-title {
  398. width: 622rpx;
  399. height: 40rpx;
  400. line-height: 40rpx;
  401. padding: 0 20rpx;
  402. margin-top: 24rpx;
  403. .text {
  404. font-size: $font-size-28;
  405. color: $text-color;
  406. text-align: left;
  407. float: left;
  408. }
  409. .icon {
  410. width: 40rpx;
  411. height: 40rpx;
  412. border-radius: 50%;
  413. line-height: 40rpx;
  414. text-align: center;
  415. color: #ffffff;
  416. font-size: $font-size-24;
  417. background: radial-gradient(
  418. circle,
  419. rgba(225, 86, 22, 1) 0%,
  420. rgba(255, 170, 0, 1) 67%,
  421. rgba(249, 185, 156, 1) 100%
  422. );
  423. float: right;
  424. }
  425. }
  426. .pay-checked {
  427. width: 100%;
  428. height: auto;
  429. .pay-card-main {
  430. width: 100%;
  431. height: auto;
  432. float: left;
  433. border-top: 12px solid #f7f7f7;
  434. border-bottom: 12px solid #f7f7f7;
  435. box-sizing: border-box;
  436. padding: 0 32rpx;
  437. .pay-item-cell {
  438. height: 100rpx;
  439. box-sizing: border-box;
  440. padding: 26rpx 0;
  441. background-color: #ffffff;
  442. border-bottom: 1px solid #e1e1e1;
  443. &.add {
  444. border-bottom: none;
  445. padding-left: 66rpx;
  446. }
  447. .item-icon {
  448. width: 48rpx;
  449. height: 48rpx;
  450. margin-right: 20rpx;
  451. float: left;
  452. image {
  453. width: 48rpx;
  454. height: 48rpx;
  455. display: block;
  456. }
  457. }
  458. .item-texts {
  459. line-height: 48rpx;
  460. font-size: $font-size-28;
  461. color: $text-color;
  462. float: left;
  463. &.add {
  464. font-weight: bold;
  465. }
  466. }
  467. .item-checked {
  468. width: 48rpx;
  469. height: 48rpx;
  470. float: right;
  471. text-align: center;
  472. line-height: 48rpx;
  473. font-size: $font-size-40;
  474. color: #ffffff;
  475. .icon-weixuanze {
  476. color: #b2b2b2;
  477. }
  478. .icon-yixuanze3 {
  479. color: #ff5b00;
  480. }
  481. .icon-xiayibu {
  482. color: #b2b2b2;
  483. }
  484. }
  485. }
  486. }
  487. .pay-item {
  488. width: 100%;
  489. height: auto;
  490. box-sizing: border-box;
  491. float: left;
  492. padding: 0 32rpx;
  493. .pay-item-cell {
  494. height: 100rpx;
  495. box-sizing: border-box;
  496. padding: 26rpx 0;
  497. background-color: #ffffff;
  498. border-bottom: 1px solid #e1e1e1;
  499. .item-icon {
  500. width: 48rpx;
  501. height: 48rpx;
  502. float: left;
  503. text-align: center;
  504. line-height: 48rpx;
  505. margin-right: 20rpx;
  506. .iconfont {
  507. font-size: 48rpx;
  508. }
  509. .icon-weixinzhifu {
  510. color: #0abc64;
  511. }
  512. .icon-gerenwangyinzhifu {
  513. color: #16afe8;
  514. }
  515. .icon-qiyewangyinzhifu {
  516. color: #007acc;
  517. }
  518. }
  519. .item-texts {
  520. line-height: 48rpx;
  521. font-size: $font-size-28;
  522. color: $text-color;
  523. float: left;
  524. &.add {
  525. font-weight: bold;
  526. }
  527. }
  528. .item-checked {
  529. width: 48rpx;
  530. height: 48rpx;
  531. float: right;
  532. text-align: center;
  533. line-height: 48rpx;
  534. font-size: $font-size-40;
  535. color: #ffffff;
  536. .icon-weixuanze {
  537. color: #b2b2b2;
  538. }
  539. .icon-yixuanze3 {
  540. color: #ff5b00;
  541. }
  542. .icon-xiayibu {
  543. color: #b2b2b2;
  544. }
  545. }
  546. }
  547. }
  548. }
  549. }
  550. }
  551. .pay-button {
  552. width: 600rpx;
  553. background-color: #ffffff;
  554. position: fixed;
  555. height: 88rpx;
  556. padding: 24rpx 75rpx 0 75rpx;
  557. bottom: 0;
  558. .btn {
  559. width: 100%;
  560. height: 88rpx;
  561. border-radius: 44rpx;
  562. font-size: $font-size-28;
  563. line-height: 88rpx;
  564. color: #ffffff;
  565. margin: 0 auto;
  566. text-align: center;
  567. background: $btn-confirm;
  568. }
  569. }
  570. .pay-bring-wrapper {
  571. width: 100%;
  572. padding: 24rpx 0;
  573. background-color: #ffffff;
  574. display: flex;
  575. align-items: center;
  576. flex-direction: column;
  577. .pay-bring-content {
  578. width: 654rpx;
  579. height: auto;
  580. padding: 0 24rpx;
  581. .text {
  582. font-size: $font-size-24;
  583. color: #666;
  584. line-height: 44rpx;
  585. text-align: center;
  586. &.bg-color {
  587. color: $color-system;
  588. line-height: 88rpx;
  589. }
  590. }
  591. .text-v {
  592. font-size: $font-size-28;
  593. color: #999;
  594. line-height: 70rpx;
  595. text-align: left;
  596. &.title {
  597. font-size: $font-size-28;
  598. color: #666666;
  599. }
  600. &.bg-color {
  601. line-height: 44rpx;
  602. color: $color-system;
  603. }
  604. .clipboard {
  605. width: 84rpx;
  606. height: 36rpx;
  607. background: linear-gradient(34deg, rgba(255, 41, 41, 1) 0%, rgba(255, 109, 27, 1) 100%);
  608. text-align: center;
  609. font-size: $font-size-24;
  610. color: #ffffff;
  611. border-radius: 4rpx;
  612. line-height: 36rpx;
  613. display: inline-block;
  614. margin-left: 10rpx;
  615. }
  616. }
  617. }
  618. }
  619. }
  620. .payun-alert {
  621. width: 100%;
  622. height: 100%;
  623. background: rgba(0, 0, 0, 0.5);
  624. position: fixed;
  625. top: 0;
  626. left: 0;
  627. z-index: 8888;
  628. transition: all 0.4s;
  629. &.none {
  630. display: none;
  631. }
  632. &.show {
  633. display: block;
  634. }
  635. .content {
  636. width: 422rpx;
  637. height: 434rpx;
  638. position: absolute;
  639. background: $bg-color;
  640. left: 0;
  641. right: 0;
  642. bottom: 0;
  643. top: 0;
  644. margin: auto;
  645. padding: 20rpx 32rpx;
  646. border-radius: 12rpx;
  647. .title {
  648. width: 100%;
  649. height: 68rpx;
  650. line-height: 68rpx;
  651. font-size: $font-size-28;
  652. color: $text-color;
  653. text-align: center;
  654. position: relative;
  655. .icon-iconfontguanbi {
  656. width: 68rpx;
  657. height: 68rpx;
  658. text-align: center;
  659. line-height: 68rpx;
  660. position: absolute;
  661. right: 0;
  662. top: 0;
  663. font-size: $font-size-36;
  664. color: #999999;
  665. }
  666. }
  667. .text-content {
  668. width: 100%;
  669. height: auto;
  670. .text {
  671. padding: 20rpx 0 0 0;
  672. line-height: 44rpx;
  673. font-size: $font-size-26;
  674. color: #666666;
  675. text-align: justify;
  676. }
  677. .text-p {
  678. width: 100%;
  679. line-height: 44rpx;
  680. font-size: $font-size-26;
  681. color: $color-system;
  682. text-align: left;
  683. text-overflow: ellipsis;
  684. display: -webkit-box;
  685. word-break: break-all;
  686. -webkit-box-orient: vertical;
  687. -webkit-line-clamp: 1;
  688. overflow: hidden;
  689. }
  690. .text-b {
  691. line-height: 44rpx;
  692. font-size: $font-size-24;
  693. color: #999999;
  694. text-align: left;
  695. }
  696. }
  697. .text-button {
  698. width: 100%;
  699. height: 88rpx;
  700. line-height: 88rpx;
  701. background: $btn-confirm;
  702. font-size: $font-size-28;
  703. border-radius: 44rpx;
  704. color: #ffffff;
  705. text-align: center;
  706. margin-top: 20rpx;
  707. }
  708. }
  709. }
  710. </style>