order-payment.vue 19 KB

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