order-payment.vue 20 KB

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