order-payment.vue 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745
  1. <template>
  2. <view class="container cashier" :style="{ paddingTop: CustomBar + 'px' }">
  3. <header-payment
  4. :systeminfo="systeminfo"
  5. :navbar-data="nvabarData"
  6. :headerBtnPosi="headerBtnPosi"
  7. :isBackType="true"
  8. :path="'/pages/user/cart/cart'"
  9. ></header-payment>
  10. <template v-if="isPaySwitch">
  11. <view class="container-cash clearfix">
  12. <view class="pay-bring-title">线上支付功能正在维护中,请使用线下转账方式支付订单</view>
  13. <view class="container-wrapper">
  14. <view class="pay-content">
  15. <view class="pay-p"><text>待付金额</text></view>
  16. <view class="pay-money">
  17. <text class="pay-sm">¥</text> <text class="pay-bg">{{ showIndexOfMoney }}</text>
  18. <text class="pay-sm">{{ smallMoney }}</text>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="pay-bring-wrapper clearfix">
  23. <view class="pay-bring-content">
  24. <view class="text-v title">转账信息</view>
  25. <view class="text-v">开户行:中信银行(深圳泰然支行)</view>
  26. <view class="text-v">银行卡号:{{ bankNumber }}</view> <view class="text-v">户名:周仁声</view>
  27. <view class="text-v"
  28. >订单标识:{{ payOrderId }}
  29. <text class="clipboard" @click.stop="clipboard(payOrderId)">复制</text></view
  30. >
  31. <view class="text-v title">特别注意</view>
  32. <view class="text-v bg-color"
  33. >请在转账备注中填写上述订单标识,方便财务快速审核,提高发货速度</view
  34. >
  35. </view>
  36. </view>
  37. </view>
  38. </template>
  39. <template v-else>
  40. <view class="container-cash clearfix" v-if="invoiceStatus">
  41. <view class="pay-bring-title"> <text class="iconfont icon-tongzhi"></text> {{ payBringTitle }} </view>
  42. <view class="container-wrapper">
  43. <view class="pay-content">
  44. <view class="pay-p"><text>待付金额</text></view>
  45. <view class="pay-money">
  46. <text class="pay-sm">¥</text> <text class="pay-bg">{{ showIndexOfMoney }}</text>
  47. <text class="pay-sm">{{ smallMoney }}</text>
  48. </view>
  49. </view>
  50. </view>
  51. <view class="pay-bring-wrapper clearfix">
  52. <view class="pay-bring-content">
  53. <view class="text-v title"><text class="line"></text>转账信息</view>
  54. <view class="text-v">开户行:<text class="span">中信银行(深圳泰然支行)</text></view>
  55. <view class="text-v"
  56. >银行卡号:<text class="span">{{ bankNumber }}</text>
  57. </view>
  58. <view class="text-v">户名: <text class="span">周仁声</text></view>
  59. <!-- <view class="text-v">订单标识:{{ payOrderId }} <text class="clipboard" @click.stop="clipboard(payOrderId)">复制</text></view>
  60. <view class="text-v title">特别注意</view>
  61. <view class="text-v bg-color">请在转账备注中填写上述订单标识,方便财务快速审核,提高发货速度</view> -->
  62. </view>
  63. </view>
  64. </view>
  65. <view class="container-cash clearfix" v-else>
  66. <view class="container-wrapper">
  67. <view class="pay-content">
  68. <view class="pay-p"><text>待付金额</text></view>
  69. <view class="pay-money">
  70. <text class="pay-sm">¥</text> <text class="pay-bg">{{ showIndexOfMoney }}</text>
  71. <text class="pay-sm">{{ smallMoney }}</text>
  72. </view>
  73. </view>
  74. <view class="pay-check">
  75. <view class="pay-checked">
  76. <view
  77. class="pay-item"
  78. :class="{ current: tabCurrentIndex === 0 }"
  79. @click="tabClick(0)"
  80. v-if="isUnbindWxPay"
  81. >
  82. <view class="item-l">
  83. <view class="item-icon"><text class="iconfont icon-weixinzhifu"></text></view>
  84. <view class="item-texts"><text>微信支付</text></view>
  85. </view>
  86. </view>
  87. <view class="pay-item" :class="{ current: tabCurrentIndex === 1 }" @click="tabClick(1)">
  88. <view class="item-l">
  89. <view class="item-icon"><text class="iconfont icon-qiyewangyinzhifu"></text></view>
  90. <view class="item-text">
  91. <view class="txt-p">企业网银支付</view>
  92. <view class="txt-t">需要在电脑端汇款</view>
  93. </view>
  94. </view>
  95. </view>
  96. <view class="pay-item" :class="{ current: tabCurrentIndex === 2 }" @click="tabClick(2)">
  97. <view class="item-l">
  98. <view class="item-icon"><text class="iconfont icon-gerenwangyinzhifu"></text></view>
  99. <view class="item-text">
  100. <view class="txt-p">个人网银支付</view>
  101. <view class="txt-t">需要在电脑端汇款</view>
  102. </view>
  103. </view>
  104. </view>
  105. </view>
  106. </view>
  107. </view>
  108. <view class="pay-button">
  109. <view class="btn" @click.stop="goOrderCash" :style="{ background: btnColor }">{{
  110. buttonText
  111. }}</view>
  112. </view>
  113. <view class="pay-statustext">
  114. <view class="pay-statustext-inner">
  115. <view class="pay-icon"> <text class="iconfont icon-gantanhao-yuankuang"></text> </view>
  116. <view class="pay-text">
  117. <text>{{ payStatusText }}</text>
  118. </view>
  119. </view>
  120. </view>
  121. <view
  122. class="pay-bring clearfix"
  123. :style="{ paddingBottom: isIphoneX ? '68rpx' : '24rpx' }"
  124. @click.stop="showTips"
  125. v-if="isReceiptStatus"
  126. >
  127. <view class="pay-bring-line"><text class="line"></text></view>
  128. <view class="pay-bring-content" v-if="!isShowTip">
  129. <view class="text bg-color">查看转账信息</view> <view class="text">除了以上两种支付方式</view>
  130. <view class="text">您还可以通过线下转账的方式付款</view>
  131. </view>
  132. <view class="pay-bring-content" v-else>
  133. <view class="text-v title">转账信息</view>
  134. <view class="text-v">开户行:中信银行(深圳泰然支行)</view>
  135. <view class="text-v">银行卡号:{{ bankNumber }}</view> <view class="text-v">户名:周仁声</view>
  136. <view class="text-v"
  137. >订单标识:{{ payOrderId }}
  138. <text class="clipboard" @click.stop="clipboard(payOrderId)">复制</text></view
  139. >
  140. <view class="text-v title">特别注意</view>
  141. <view class="text-v bg-color"
  142. >请在转账备注中填写上述订单标识,方便财务快速审核,提高发货速度</view
  143. >
  144. </view>
  145. </view>
  146. </view>
  147. <view class="alert spec" :class="specClass" v-if="isHttpUrlShowTip">
  148. <!-- 选择支付弹窗说明 -->
  149. <view class="freight-alert" @tap="hideTips">
  150. <view class="content">
  151. <view class="title">
  152. <text>支付链接</text>
  153. <text class="iconfont icon-iconfontguanbi" @click.stop="hideTips"></text>
  154. </view>
  155. <view class="text-content">
  156. <view class="text"
  157. >请复制以下链接,并发送至电脑端,在浏览器访问该链接并选择银行尽快完成支付</view
  158. >
  159. <view class="text-p">{{ payHttpUrl }}</view> <view class="text-b">链接有效期为24小时</view>
  160. </view>
  161. <view class="text-button" @click.stop="clipboard(payHttpUrl)">复制链接</view>
  162. </view>
  163. </view>
  164. </view>
  165. </template>
  166. </view>
  167. </template>
  168. <script>
  169. import thorui from '@/components/clipboard/clipboard.thorui.js'
  170. import HeaderPayment from '@/components/cm-module/headerNavbar/header-payment'
  171. export default {
  172. components: {
  173. HeaderPayment
  174. },
  175. data() {
  176. return {
  177. orderID: '',
  178. payableAmount: 0,
  179. ableUserMoney: '',
  180. showIndexOfMoney: '0',
  181. smallMoney: '.00',
  182. emptyWrapperH: '',
  183. bankNumber: '6217 6803 0362 0897',
  184. payOrderId: '',
  185. nvabarData: {
  186. //顶部自定义导航
  187. haveBack: true,
  188. showCapsule: 1, // 是否显示左上角图标 1表示显示 0表示不显示,
  189. title: '选择支付方式', // 导航栏 中间的标题
  190. textLeft: this.$store.getters.isIphone
  191. },
  192. headerBtnPosi: this.setHeaderBtnPosi(), //获取设备顶部胶囊高度
  193. systeminfo: this.setSysteminfo(), //获取设备信息
  194. isIphoneX: this.$store.getters.isIphoneX,
  195. CustomBar: this.CustomBar, // 顶部导航栏高度
  196. tabCurrentIndex: 0,
  197. isShowTip: false,
  198. isReceiptStatus: false,
  199. buttonText: '使用微信支付',
  200. btnColor: '#09BB07',
  201. receiptStatus: '',
  202. invoiceStatus: false,
  203. isPaySwitch: false,
  204. optionType: '',
  205. onlinePayFlag: '',
  206. payBringTitle: '线上支付功能正在维护中,请使用线下转账方式支付订单',
  207. payStatusText:
  208. '使用微信和网银支付全部金额后,供应商会在24小时后发货(周末、节假日顺延)。若着急发货,可以选择使用线下转账进行付款。',
  209. pageType: '',
  210. payType: '',
  211. isHttpUrlShowTip: false,
  212. isUnbindWxPay: true
  213. }
  214. },
  215. onLoad(option) {
  216. this.initData(option)
  217. },
  218. filters: {
  219. NumFormat(value) {
  220. if (!value) return '0.00'
  221. /*原来用的是Number(value).toFixed(0),这样取整时有问题,例如0.51取整之后为1,感谢Nils指正*/
  222. /*后来改成了 Number(value)|0,但是输入超过十一位就为负数了,具体见评论 */
  223. var intPart = Number(value) - (Number(value) % 1) //获取整数部分(这里是windy93的方法)
  224. var intPartFormat = intPart.toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,') //将整数部分逢三一断
  225. var floatPart = '.00' //预定义小数部分
  226. var value2Array = value.toString().split('.')
  227. //=2表示数据有小数位
  228. if (value2Array.length == 2) {
  229. floatPart = value2Array[1].toString() //拿到小数部分
  230. if (floatPart.length == 1) {
  231. //补0,实际上用不着
  232. return intPartFormat + '.' + floatPart + '0'
  233. } else {
  234. return intPartFormat + '.' + floatPart
  235. }
  236. } else {
  237. return intPartFormat + floatPart
  238. }
  239. }
  240. },
  241. methods: {
  242. initData(e) {
  243. this.orderId = e.orderId
  244. this.payOrderId = '#' + e.orderId + '#'
  245. this.optionType = e.type
  246. console.log(this.optionType)
  247. this.invoiceStatus = true
  248. this.nvabarData.haveBack = true
  249. this.nvabarData.haveHome = true
  250. this.nvabarData.title = '收银台'
  251. this.initAbleUserMoney(e.money)
  252. },
  253. initAbleUserMoney(money) {
  254. //拆分金额并转千分位格式显示
  255. if (money == 0) {
  256. this.showIndexOfMoney = '0'
  257. this.smallMoney = '.00'
  258. } else {
  259. this.ableUserMoney = this.$api.FormatMoney(money)
  260. let i = this.ableUserMoney.toString().lastIndexOf('.')
  261. if (i == -1) {
  262. this.showIndexOfMoney = this.$api.FormatMoney(this.ableUserMoney)
  263. this.smallMoney = '.00'
  264. } else {
  265. this.smallMoney = this.ableUserMoney.toString().substring(i)
  266. this.showIndexOfMoney = this.$api.FormatMoney(this.ableUserMoney.toString().substring(0, i))
  267. if (this.smallMoney.length == 2) {
  268. //补0,实际上用不着
  269. this.smallMoney = this.smallMoney + '0'
  270. }
  271. }
  272. console.log(this.smallMoney)
  273. }
  274. },
  275. hanldNavigateBack() {
  276. //页面返回
  277. uni.navigateBack({
  278. delta: 1
  279. })
  280. },
  281. hideTips() {
  282. //隐藏弹窗
  283. this.isHttpUrlShowTip = false
  284. },
  285. showTips() {
  286. this.isShowTip = !this.isShowTip
  287. },
  288. clipboard(data) {
  289. thorui.getClipboardData(data, res => {
  290. if (res) {
  291. this.$util.msg('复制成功', 2000, true, 'success')
  292. setTimeout(() => {
  293. this.$api.navigateTo(`/pages/user/order/order-details?state=0&orderId=${this.orderId}`)
  294. }, 2000)
  295. } else {
  296. this.$util.msg('复制失败', 2000, true, 'none')
  297. }
  298. })
  299. },
  300. setHeaderBtnPosi() {
  301. // 获得胶囊按钮位置信息
  302. let headerBtnPosi = uni.getMenuButtonBoundingClientRect()
  303. return headerBtnPosi
  304. },
  305. setSysteminfo() {
  306. let systeminfo
  307. uni.getSystemInfo({
  308. // 获取设备信息
  309. success: res => {
  310. systeminfo = res
  311. }
  312. })
  313. return systeminfo
  314. }
  315. },
  316. onShow() {}
  317. }
  318. </script>
  319. <style lang="scss">
  320. page {
  321. height: auto !important;
  322. background-color: #ffffff;
  323. }
  324. .container-cash {
  325. width: 100%;
  326. .pay-bring-title {
  327. box-sizing: border-box;
  328. width: 100%;
  329. min-height: 90rpx;
  330. padding: 0 24rpx;
  331. line-height: 90rpx;
  332. text-align: left;
  333. font-size: $font-size-24;
  334. background: #fff3e2;
  335. color: #ff9723;
  336. padding-left: 84rpx;
  337. position: relative;
  338. .icon-tongzhi {
  339. width: 60rpx;
  340. line-height: 90rpx;
  341. text-align: center;
  342. display: block;
  343. position: absolute;
  344. left: 24rpx;
  345. top: 0;
  346. color: #ff9723;
  347. font-size: 36rpx;
  348. }
  349. }
  350. .container-wrapper {
  351. width: 100%;
  352. margin: 0 auto;
  353. .pay-content {
  354. width: 100%;
  355. height: 280rpx;
  356. background: url(https://static.caimei365.com/app/mini-hehe/icon/icon-user-bg@2x.png) no-repeat;
  357. background-size: cover;
  358. float: left;
  359. box-sizing: border-box;
  360. padding: 40rpx 84rpx;
  361. border-bottom: 10px solid #f7f7f7;
  362. .pay-p {
  363. font-size: $font-size-26;
  364. color: #ffffff;
  365. line-height: 66rpx;
  366. }
  367. .pay-money {
  368. color: #ffffff;
  369. line-height: 100rpx;
  370. font-weight: bold;
  371. .pay-sm {
  372. font-size: 42rpx;
  373. font-weight: normal;
  374. }
  375. .pay-bg {
  376. font-size: 64rpx;
  377. }
  378. }
  379. }
  380. .pay-check {
  381. width: 100%;
  382. height: auto;
  383. float: left;
  384. .check-title {
  385. width: 622rpx;
  386. height: 40rpx;
  387. line-height: 40rpx;
  388. padding: 0 20rpx;
  389. margin-top: 24rpx;
  390. .text {
  391. font-size: $font-size-28;
  392. color: $text-color;
  393. text-align: left;
  394. float: left;
  395. }
  396. .icon {
  397. width: 40rpx;
  398. height: 40rpx;
  399. border-radius: 50%;
  400. line-height: 40rpx;
  401. text-align: center;
  402. color: #ffffff;
  403. font-size: $font-size-24;
  404. background: radial-gradient(
  405. circle,
  406. rgba(225, 86, 22, 1) 0%,
  407. rgba(255, 170, 0, 1) 67%,
  408. rgba(249, 185, 156, 1) 100%
  409. );
  410. float: right;
  411. }
  412. }
  413. .pay-checked {
  414. width: 100%;
  415. height: auto;
  416. box-sizing: border-box;
  417. padding: 0 24rpx;
  418. .pay-item {
  419. width: 100%;
  420. height: 120rpx;
  421. border: 1px solid #f5f5f5;
  422. border-radius: 8rpx;
  423. padding: 20rpx;
  424. margin: 24rpx 0;
  425. display: flex;
  426. background-color: #ffffff;
  427. box-sizing: border-box;
  428. &.current {
  429. border-color: #c4761f;
  430. }
  431. .item-l {
  432. flex: 8;
  433. .item-icon {
  434. width: 76rpx;
  435. height: 76rpx;
  436. float: left;
  437. text-align: center;
  438. line-height: 76rpx;
  439. margin-right: 20rpx;
  440. .iconfont {
  441. font-size: 66rpx;
  442. }
  443. .icon-weixinzhifu {
  444. color: #09bb07;
  445. }
  446. .icon-gerenwangyinzhifu {
  447. color: #034582;
  448. }
  449. .icon-qiyewangyinzhifu {
  450. color: #004889;
  451. }
  452. }
  453. .item-texts {
  454. line-height: 76rpx;
  455. font-size: $font-size-26;
  456. color: $text-color;
  457. }
  458. .item-text {
  459. line-height: 38rpx;
  460. font-size: $font-size-26;
  461. .txt-p {
  462. color: $text-color;
  463. }
  464. .txt-t {
  465. color: #999999;
  466. }
  467. }
  468. }
  469. }
  470. }
  471. }
  472. }
  473. .pay-button {
  474. width: 100%;
  475. float: left;
  476. margin-top: 30rpx;
  477. .btn {
  478. width: 662rpx;
  479. height: 88rpx;
  480. border-radius: 44rpx;
  481. font-size: $font-size-28;
  482. line-height: 88rpx;
  483. color: #ffffff;
  484. margin: 0 auto;
  485. text-align: center;
  486. background: $btn-confirm;
  487. }
  488. }
  489. .pay-statustext {
  490. width: 100%;
  491. height: 120rpx;
  492. float: left;
  493. margin-top: 40rpx;
  494. .pay-statustext-inner {
  495. width: 662rpx;
  496. height: 100%;
  497. margin: 0 auto;
  498. .pay-icon {
  499. width: 62rpx;
  500. height: 100%;
  501. float: left;
  502. text-align: center;
  503. .iconfont {
  504. color: #ff457b;
  505. font-size: $font-size-36;
  506. line-height: 20rpx;
  507. }
  508. }
  509. .pay-text {
  510. width: 560rpx;
  511. height: 100%;
  512. float: left;
  513. line-height: 40rpx;
  514. font-size: $font-size-26;
  515. color: #ff457b;
  516. text-align: justify;
  517. }
  518. }
  519. }
  520. .pay-bring {
  521. width: 100%;
  522. min-height: 190rpx;
  523. padding: 24rpx 0;
  524. background-color: #ffffff;
  525. box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  526. position: fixed;
  527. bottom: 0;
  528. left: 0;
  529. border-radius: 30rpx 30rpx 0 0;
  530. display: flex;
  531. align-items: center;
  532. flex-direction: column;
  533. .pay-bring-line {
  534. display: flex;
  535. align-items: center;
  536. .line {
  537. display: inline-block;
  538. width: 48rpx;
  539. height: 2px;
  540. background-color: #707070;
  541. }
  542. }
  543. .pay-bring-content {
  544. width: 654rpx;
  545. height: auto;
  546. padding: 0 24rpx;
  547. .text {
  548. font-size: $font-size-24;
  549. color: #666;
  550. line-height: 44rpx;
  551. text-align: center;
  552. &.bg-color {
  553. color: #ff457b;
  554. line-height: 88rpx;
  555. }
  556. }
  557. .text-v {
  558. font-size: $font-size-28;
  559. color: #999;
  560. line-height: 70rpx;
  561. text-align: left;
  562. &.title {
  563. padding-left: 10rpx;
  564. font-size: $font-size-26;
  565. color: #666666;
  566. }
  567. &.bg-color {
  568. line-height: 44rpx;
  569. color: #ff457b;
  570. }
  571. .clipboard {
  572. width: 84rpx;
  573. height: 36rpx;
  574. background: linear-gradient(34deg, rgba(255, 41, 41, 1) 0%, rgba(255, 109, 27, 1) 100%);
  575. text-align: center;
  576. font-size: $font-size-24;
  577. color: #ffffff;
  578. border-radius: 4rpx;
  579. line-height: 36rpx;
  580. display: inline-block;
  581. margin-left: 10rpx;
  582. }
  583. }
  584. }
  585. }
  586. .pay-bring-wrapper {
  587. width: 100%;
  588. padding: 24rpx 0;
  589. background-color: #ffffff;
  590. display: flex;
  591. align-items: center;
  592. flex-direction: column;
  593. .pay-bring-content {
  594. width: 654rpx;
  595. height: auto;
  596. padding: 0 24rpx;
  597. .text {
  598. font-size: $font-size-24;
  599. color: #666;
  600. line-height: 44rpx;
  601. text-align: center;
  602. &.bg-color {
  603. color: #ff457b;
  604. line-height: 88rpx;
  605. }
  606. }
  607. .text-v {
  608. font-size: $font-size-28;
  609. color: #999;
  610. line-height: 70rpx;
  611. text-align: left;
  612. .span {
  613. color: #333333;
  614. }
  615. &.title {
  616. font-size: $font-size-28;
  617. color: #666666;
  618. position: relative;
  619. padding-left: 20rpx;
  620. font-weight: bold;
  621. .line {
  622. display: block;
  623. width: 6rpx;
  624. height: 22rpx;
  625. background-color: #ff457b;
  626. border-radius: 3rpx;
  627. position: absolute;
  628. left: 0;
  629. top: 26rpx;
  630. }
  631. }
  632. &.bg-color {
  633. line-height: 44rpx;
  634. color: #ff457b;
  635. }
  636. .clipboard {
  637. width: 84rpx;
  638. height: 36rpx;
  639. background: linear-gradient(34deg, rgba(255, 41, 41, 1) 0%, rgba(255, 109, 27, 1) 100%);
  640. text-align: center;
  641. font-size: $font-size-24;
  642. color: #ffffff;
  643. border-radius: 4rpx;
  644. line-height: 36rpx;
  645. display: inline-block;
  646. margin-left: 10rpx;
  647. }
  648. }
  649. }
  650. }
  651. }
  652. .freight-alert {
  653. width: 100%;
  654. height: 100%;
  655. background: rgba(0, 0, 0, 0.5);
  656. position: fixed;
  657. top: 0;
  658. left: 0;
  659. z-index: 8888;
  660. transition: all 0.4s;
  661. &.none {
  662. display: none;
  663. }
  664. &.show {
  665. display: block;
  666. }
  667. .content {
  668. width: 422rpx;
  669. height: 434rpx;
  670. position: absolute;
  671. background: $bg-color;
  672. left: 0;
  673. right: 0;
  674. bottom: 0;
  675. top: 0;
  676. margin: auto;
  677. padding: 20rpx 32rpx;
  678. border-radius: 12rpx;
  679. .title {
  680. width: 100%;
  681. height: 68rpx;
  682. line-height: 68rpx;
  683. font-size: $font-size-28;
  684. color: $text-color;
  685. text-align: center;
  686. position: relative;
  687. .icon-iconfontguanbi {
  688. width: 68rpx;
  689. height: 68rpx;
  690. text-align: center;
  691. line-height: 68rpx;
  692. position: absolute;
  693. right: 0;
  694. top: 0;
  695. font-size: $font-size-36;
  696. color: #999999;
  697. }
  698. }
  699. .text-content {
  700. width: 100%;
  701. height: auto;
  702. .text {
  703. padding: 20rpx 0 0 0;
  704. line-height: 44rpx;
  705. font-size: $font-size-26;
  706. color: #666666;
  707. text-align: justify;
  708. }
  709. .text-p {
  710. width: 100%;
  711. line-height: 44rpx;
  712. font-size: $font-size-26;
  713. color: $color-system;
  714. text-align: left;
  715. text-overflow: ellipsis;
  716. display: -webkit-box;
  717. word-break: break-all;
  718. -webkit-box-orient: vertical;
  719. -webkit-line-clamp: 1;
  720. overflow: hidden;
  721. }
  722. .text-b {
  723. line-height: 44rpx;
  724. font-size: $font-size-24;
  725. color: #999999;
  726. text-align: left;
  727. }
  728. }
  729. .text-button {
  730. width: 100%;
  731. height: 88rpx;
  732. line-height: 88rpx;
  733. background: $btn-confirm;
  734. font-size: $font-size-28;
  735. border-radius: 44rpx;
  736. color: #ffffff;
  737. text-align: center;
  738. margin-top: 20rpx;
  739. }
  740. }
  741. }
  742. </style>