order-payment.vue 20 KB

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