order-payment.vue 19 KB

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