order-payment.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704
  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-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>
  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. case 2:
  274. this.$api.navigateTo(`/pages/user/order/order-pay?type=2&orderID=${this.orderID}`)
  275. break;
  276. }
  277. }
  278. },
  279. tabClick(index) {//tab切换
  280. this.tabCurrentIndex = index;
  281. switch(index){
  282. case 0:
  283. this.btnColor="#09BB07"
  284. this.buttonText='使用微信支付';
  285. break;
  286. case 1:
  287. this.btnColor="#034582"
  288. this.buttonText='使用企业网银支付';
  289. break;
  290. case 2:
  291. this.btnColor="#034582"
  292. this.buttonText='使用个人网银支付';
  293. break;
  294. }
  295. },
  296. hanldNavigateBack(){//页面返回
  297. uni.navigateBack({
  298. delta: 1
  299. });
  300. },
  301. showTips(){
  302. this.isShowTip=!this.isShowTip
  303. },
  304. clipboard(data) {
  305. thorui.getClipboardData(data, (res) => {
  306. if (res) {
  307. this.$util.msg("复制成功",2000,true,'success');
  308. } else {
  309. this.$util.msg("复制失败",2000,true,'none');
  310. }
  311. })
  312. },
  313. },
  314. onShow() {
  315. }
  316. }
  317. </script>
  318. <style lang="scss">
  319. page{
  320. height: auto !important;
  321. background-color: #FFFFFF;
  322. }
  323. .container-cash{
  324. width: 100%;
  325. .pay-bring-title{
  326. box-sizing: border-box;
  327. width: 100%;
  328. min-height: 96rpx;
  329. padding: 20rpx 24rpx;
  330. line-height: 48rpx;
  331. text-align: left;
  332. font-size: $font-size-24;
  333. background:rgba(255,234,221,1);
  334. color: $color-system;
  335. }
  336. .container-wrapper{
  337. width:662rpx;
  338. margin: 0 auto;
  339. .pay-title{
  340. font-size: $font-size-32;
  341. line-height: 44rpx;
  342. text-align: center;
  343. color: #2A86FF;
  344. margin: 40rpx 0 0 0;
  345. width: 100%;
  346. float: left;
  347. }
  348. .pay-content{
  349. width: 574rpx;
  350. height: 136rpx;
  351. padding: 52rpx 44rpx;
  352. background: url(https://img.caimei365.com/group1/M00/03/BD/Cmis218ekFyAHoAzAALhR3oBpDI049.png) no-repeat;
  353. background-size: cover;
  354. float: left;
  355. margin-top: 40rpx;
  356. .pay-p{
  357. font-size: $font-size-26;
  358. color: #FFFFFF;
  359. line-height: 36rpx;
  360. }
  361. .pay-money{
  362. color: #FFFFFF;
  363. line-height: 84rpx;
  364. font-weight: bold;
  365. .pay-sm{
  366. font-size: $font-size-26;
  367. }
  368. .pay-bg{
  369. font-size: 50rpx;
  370. }
  371. }
  372. }
  373. .pay-check{
  374. width: 100%;
  375. height: auto;
  376. float: left;
  377. .check-title{
  378. width: 622rpx;
  379. height: 40rpx;
  380. line-height: 40rpx;
  381. padding: 0 20rpx;
  382. margin-top: 24rpx;
  383. .text{
  384. font-size: $font-size-28;
  385. color: $text-color;
  386. text-align: left;
  387. float: left;
  388. }
  389. .icon{
  390. width: 40rpx;
  391. height: 40rpx;
  392. border-radius: 50%;
  393. line-height: 40rpx;
  394. text-align: center;
  395. color: #FFFFFF;
  396. font-size: $font-size-24;
  397. background: radial-gradient(circle,rgba(225,86,22,1) 0%,rgba(255,170,0,1) 67%,rgba(249,185,156,1) 100%);
  398. float: right;
  399. }
  400. }
  401. .pay-checked{
  402. width: 100%;
  403. height: auto;
  404. .pay-item{
  405. width: 618rpx;
  406. height: 96rpx;
  407. border: 2px solid #F5F5F5;
  408. border-radius: 30rpx;
  409. padding: 20rpx;
  410. margin: 24rpx 0;
  411. display: flex;
  412. background-color: #FFFFFF;
  413. &.current{
  414. border-color:$color-system;
  415. .item-r{
  416. .icon-duigou{
  417. color: $color-system;
  418. }
  419. }
  420. }
  421. .item-l{
  422. flex: 8;
  423. .item-icon{
  424. width: 96rpx;
  425. height: 96rpx;
  426. float: left;
  427. text-align: center;
  428. line-height: 96rpx;
  429. margin-right: 20rpx;
  430. .iconfont{
  431. font-size:88rpx;
  432. }
  433. .icon-weixinzhifu{
  434. color: #09BB07;
  435. }
  436. .icon-gerenwangyinzhifu{
  437. color: #034582;
  438. }
  439. .icon-qiyewangyinzhifu{
  440. color: #004889;
  441. }
  442. }
  443. .item-texts{
  444. line-height: 96rpx;
  445. font-size:$font-size-26;
  446. color: $text-color;
  447. }
  448. .item-text{
  449. line-height: 48rpx;
  450. font-size:$font-size-26;
  451. .txt-p{
  452. color: $text-color;
  453. }
  454. .txt-t{
  455. color: #999999;
  456. }
  457. }
  458. }
  459. .item-r{
  460. flex: 2;
  461. text-align: center;
  462. line-height: 96rpx;
  463. .icon-duigou{
  464. font-size: 60rpx;
  465. color: #FFFFFF;
  466. }
  467. }
  468. }
  469. }
  470. }
  471. }
  472. .pay-button{
  473. width: 100%;
  474. float: left;
  475. margin-top:30rpx;
  476. .btn{
  477. width: 662rpx;
  478. height: 88rpx;
  479. border-radius: 44rpx;
  480. font-size: $font-size-28;
  481. line-height: 88rpx;
  482. color: #FFFFFF;
  483. margin: 0 auto;
  484. text-align: center;
  485. background:$btn-confirm;
  486. }
  487. }
  488. .pay-statustext{
  489. width: 100%;
  490. height: 120rpx;
  491. float: left;
  492. margin-top:40rpx;
  493. .pay-statustext-inner{
  494. width: 662rpx;
  495. height: 100%;
  496. margin: 0 auto;
  497. .pay-icon{
  498. width: 62rpx;
  499. height: 100%;
  500. float: left;
  501. text-align: center;
  502. .iconfont{
  503. color: #FF2A2A;
  504. font-size:$font-size-36;
  505. line-height: 20rpx;
  506. }
  507. }
  508. .pay-text{
  509. width: 560rpx;
  510. height: 100%;
  511. float: left;
  512. line-height: 40rpx;
  513. font-size: $font-size-26;
  514. color: #FF2A2A;
  515. text-align: justify;
  516. }
  517. }
  518. }
  519. .pay-bring{
  520. width: 100%;
  521. min-height: 190rpx;
  522. padding: 24rpx 0;
  523. background-color: #FFFFFF;
  524. box-shadow:0px 3px 6px rgba(0,0,0,0.16);
  525. position: fixed;
  526. bottom: 0;
  527. left: 0;
  528. border-radius: 30rpx 30rpx 0 0;
  529. display: flex;
  530. align-items: center;
  531. flex-direction: column;
  532. .pay-bring-line{
  533. display: flex;
  534. align-items: center;
  535. .line{
  536. display: inline-block;
  537. width: 48rpx;
  538. height: 2px;
  539. background-color: #707070;
  540. }
  541. }
  542. .pay-bring-content{
  543. width: 654rpx;
  544. height: auto;
  545. padding: 0 24rpx;
  546. .text{
  547. font-size: $font-size-24;
  548. color: #666;
  549. line-height: 44rpx;
  550. text-align: center;
  551. &.bg-color{
  552. color: $color-system;
  553. line-height: 88rpx;
  554. }
  555. }
  556. .text-v{
  557. font-size: $font-size-28;
  558. color: #999;
  559. line-height: 70rpx;
  560. text-align: left;
  561. &.title{
  562. font-size: $font-size-26;
  563. color: #666666;
  564. }
  565. &.bg-color{
  566. line-height: 44rpx;
  567. color: $color-system;
  568. }
  569. .clipboard{
  570. width: 84rpx;
  571. height: 36rpx;
  572. background:linear-gradient(34deg,rgba(255,41,41,1) 0%,rgba(255,109,27,1) 100%);
  573. text-align: center;
  574. font-size: $font-size-24;
  575. color: #FFFFFF;
  576. border-radius: 4rpx;
  577. line-height: 36rpx;
  578. display: inline-block;
  579. margin-left: 10rpx;
  580. }
  581. }
  582. }
  583. }
  584. .pay-bring-wrapper{
  585. width: 100%;
  586. padding: 24rpx 0;
  587. background-color: #FFFFFF;
  588. display: flex;
  589. align-items: center;
  590. flex-direction: column;
  591. .pay-bring-content{
  592. width: 654rpx;
  593. height: auto;
  594. padding: 0 24rpx;
  595. .text{
  596. font-size: $font-size-24;
  597. color: #666;
  598. line-height: 44rpx;
  599. text-align: center;
  600. &.bg-color{
  601. color: $color-system;
  602. line-height: 88rpx;
  603. }
  604. }
  605. .text-v{
  606. font-size: $font-size-28;
  607. color: #999;
  608. line-height: 70rpx;
  609. text-align: left;
  610. &.title{
  611. font-size: $font-size-28;
  612. color: #666666;
  613. }
  614. &.bg-color{
  615. line-height: 44rpx;
  616. color: $color-system;
  617. }
  618. .clipboard{
  619. width: 84rpx;
  620. height: 36rpx;
  621. background:linear-gradient(34deg,rgba(255,41,41,1) 0%,rgba(255,109,27,1) 100%);
  622. text-align: center;
  623. font-size: $font-size-24;
  624. color: #FFFFFF;
  625. border-radius: 4rpx;
  626. line-height: 36rpx;
  627. display: inline-block;
  628. margin-left: 10rpx;
  629. }
  630. }
  631. }
  632. }
  633. }
  634. .freight-alert{
  635. width: 100%;
  636. height: 100%;
  637. background: rgba(0,0,0,.5);
  638. position: fixed;
  639. top: 0;
  640. left: 0;
  641. z-index: 8888;
  642. transition: all 0.4s;
  643. &.none{
  644. display: none;
  645. }
  646. &.show{
  647. display: block;
  648. }
  649. .content{
  650. width: 422rpx;
  651. height:434rpx;
  652. position: absolute;
  653. background: $bg-color;
  654. left: 0;
  655. right: 0;
  656. bottom: 0;
  657. top: 0;
  658. margin: auto;
  659. padding: 20rpx 32rpx;
  660. border-radius: 12rpx;
  661. .title{
  662. width: 100%;
  663. height: 68rpx;
  664. line-height: 68rpx;
  665. font-size: $font-size-28;
  666. color: $text-color;
  667. text-align: center;
  668. position: relative;
  669. .icon-iconfontguanbi{
  670. width: 68rpx;
  671. height: 68rpx;
  672. text-align: center;
  673. line-height: 68rpx;
  674. position: absolute;
  675. right: 0;
  676. top: 0;
  677. font-size: $font-size-36;
  678. color: #999999;
  679. }
  680. }
  681. .text-content{
  682. width: 100%;
  683. height: auto;
  684. .text{
  685. padding: 20rpx 0;
  686. line-height: 44rpx;
  687. font-size: $font-size-26;
  688. color:#666666;
  689. text-align: justify;
  690. }
  691. .text-p{
  692. line-height: 44rpx;
  693. font-size: $font-size-26;
  694. color:$color-system;
  695. text-align: left;
  696. }
  697. }
  698. }
  699. }
  700. </style>