inquiryPay.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752
  1. <template>
  2. <view class="content">
  3. <view class="cont">
  4. <view class="other-info">
  5. <view class="title">付款详情</view>
  6. <view class="item">
  7. <view class="left">
  8. <text class="label">订单号:</text>
  9. </view>
  10. <view class="right">
  11. <text class="text" v-if="order!=null">{{order.orderSn}}</text>
  12. </view>
  13. </view>
  14. <view class="item">
  15. <view class="left">
  16. <text class="label">订单类型:</text>
  17. </view>
  18. <view class="right">
  19. <text class="text" >
  20. <text >{{$getDictLabelName(inquiryTypeOptions,order.inquiryType)}}</text>
  21. <text >-{{$getDictLabelName(orderTypeOptions,order.orderType)}}</text>
  22. </text>
  23. </view>
  24. </view>
  25. <view class="item">
  26. <view class="left">
  27. <text class="label">订单金额:</text>
  28. </view>
  29. <view class="right">
  30. <text class="text">{{order.money.toFixed(2)}}</text>
  31. </view>
  32. </view>
  33. <view class="item" v-if="order!=null&&(order.userCouponId==null||order.userCouponId==0)" @click.stop="openCoupon()">
  34. <view class="left">
  35. <text class="label">优惠券:</text>
  36. </view>
  37. <view class="right">
  38. <text class="text">{{couponText}}</text>
  39. <image v-if="userCouponId!=0" @click.stop="delCoupon()" class="ic-close" src="/static/images/close.png"></image>
  40. <image class="ic-back" src="/static/images/arrow_gray.png"></image>
  41. </view>
  42. </view>
  43. <view class="item" v-if="order.userCouponId==null||order.userCouponId==0">
  44. <view class="left">
  45. <text class="label">优惠金额:</text>
  46. </view>
  47. <view class="right">
  48. <text class="text">{{discountMoney.toFixed(2)}}</text>
  49. </view>
  50. </view>
  51. <view class="item">
  52. <view class="left">
  53. <text class="label">支付金额:</text>
  54. </view>
  55. <view class="right">
  56. <text class="text">{{payMoney.toFixed(2)}}</text>
  57. </view>
  58. </view>
  59. <uni-popup ref="popCoupon" type="bottom" borderRadius="10rpx 10rpx 0px 0px">
  60. <view class="coupon">
  61. <view class="coupon-box" v-if="coupons.length>0" >
  62. <view @click="couponSelect(item)" class="coupon-item" v-for="(item) in coupons">
  63. <view class="left" >
  64. <image v-if="item.status==0" src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/004bcf24fc7641dea9f3247fa8d59ea2.png" mode="widthFix"></image>
  65. <image v-if="item.status!=0" src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/3ce37842579c48e2b8e50e547adbfeb6.png" mode="widthFix"></image>
  66. <view style="z-index: 999;">
  67. ¥<span class="num">{{item.price.toFixed(2)}}</span>
  68. </view>
  69. <view class="pic-num" >满{{item.minPrice.toFixed(2)}}元可用</view>
  70. </view>
  71. <view class="right">
  72. <view class="title">
  73. {{item.title}}
  74. </view>
  75. <view class="btns">
  76. <view v-if="item.status==0||item.status==2" >{{item.limitTime}} 到期</view>
  77. <view v-if="item.status==1">使用时间 {{item.useTime}}</view>
  78. <view class="bnt gray" v-if="item.status==1" >已使用</view>
  79. <view class="bnt gray" v-if="item.status==2" >已过期</view>
  80. <view class="btn" v-if="item.status==0" >使用</view>
  81. </view>
  82. </view>
  83. </view>
  84. </view>
  85. <view class="empty" v-if="coupons.length==0">
  86. <image src="https://cos.his.cdwjyyh.com/fs/20240423/cf4a86b913a04341bb44e34bb4d37aa2.png"></image>
  87. </view>
  88. </view>
  89. </uni-popup>
  90. </view>
  91. </view>
  92. <view class="btn-box">
  93. <view class="btn" @click="payOrder()">支付{{payMoney.toFixed(2)}}元</view>
  94. </view>
  95. <uni-popup ref="popTip" type="dialog">
  96. <uni-popup-dialog cancelText="支付失败" confirmText="支付成功" mode="base" content="是否已支付成功?" title="提示" :duration="2000" :before-close="true" @close="confirmTip" @confirm="confirmTip"></uni-popup-dialog>
  97. </uni-popup>
  98. <uni-popup ref="popPayType" type="bottom" borderRadius="10rpx 10rpx 0px 0px">
  99. <view class="pay-box">
  100. <view class="title">请选择支付方式</view>
  101. <view class="pay-list">
  102. <view class="pay-item alipay" @click="doAlipay()">
  103. <image src="/static/images/alipay.png"></image>
  104. <view class="name">支付宝支付</view>
  105. </view>
  106. <view class="pay-item wx" @click="doWxPay()">
  107. <image src="/static/images/wx.png"></image>
  108. <view class="name" >微信支付</view>
  109. </view>
  110. <view class="pay-item wx" @click="doWxPay1()">
  111. <image src="/static/images/wx.png"></image>
  112. <view class="name" >微信支付备用</view>
  113. </view>
  114. </view>
  115. </view>
  116. </uni-popup>
  117. </view>
  118. </template>
  119. <script>
  120. import {getMyEnableCouponList} from '@/api/user.js'
  121. import {getDictByKey} from '@/api/common.js'
  122. import {pay,getInquiryOrderById,compute,zfbPayment,wxPayment} from '@/api/inquiryOrder.js'
  123. //const tzCashier=uni.requireNativePlugin("TZBank-Cashier");
  124. export default {
  125. data() {
  126. return {
  127. order:null,
  128. orderId:null,
  129. orderTypeOptions:[],
  130. inquiryTypeOptions:[],
  131. couponText:"请选择优惠券",
  132. userCouponId:0,
  133. coupons:[],
  134. couponShow:false,
  135. payMoney:0,
  136. discountMoney:0,
  137. tzCashier:null,
  138. userInfo:null
  139. }
  140. },
  141. onLoad(options) {
  142. this.tzCashier=uni.requireNativePlugin("TZBank-Cashier");
  143. this.orderId=options.orderId;
  144. this.userInfo=JSON.parse(uni.getStorageSync("userInfo"));
  145. this.getDictByKey("sys_inquiry_order_type");
  146. this.getDictByKey("sys_inquiry_type");
  147. this.getInquiryOrderById();
  148. this.getMyEnableCouponList();
  149. },
  150. onShow() {
  151. },
  152. //发送给朋友
  153. onShareAppMessage(res) {
  154. var that=this;
  155. if(this.$isLogin()){
  156. return {
  157. title: "订单支付",
  158. path: '/pages_order/inquiryPay?orderId='+that.orderId,
  159. imageUrl: 'https://hos-1309931967.cos.ap-chongqing.myqcloud.com/fs/20230106/6b459adfb1004c1a96219bcdf07e337c.png' //分享图标,路径可以是本地文件路径、代码包文件路径或者网络图片路径.支持PNG及JPG。显示图片长宽比是 5:4
  160. }
  161. }
  162. },
  163. methods: {
  164. closeTip(){
  165. this.$refs.popTip.close()
  166. },
  167. confirmTip() {
  168. uni.showLoading({title:"请稍侯...",mask:true});
  169. setTimeout(()=>{
  170. uni.hideLoading();
  171. this.getInquiryOrder();
  172. },2000);
  173. },
  174. getInquiryOrder(){
  175. var data = {orderId:this.orderId};
  176. var that=this;
  177. uni.showLoading();
  178. getInquiryOrderById(data).then(res => {
  179. this.$refs.popTip.close();
  180. if(res.code==200){
  181. this.order=res.data;
  182. if(res.data.status==1){ //1:代付款 2:已支付
  183. uni.showToast({title: '未支付成功',icon: 'none'});
  184. }
  185. else if(res.data.status==2){ //1:代付款 2:已支付
  186. this.$refs.popTip.close();
  187. //获取渠道标识
  188. // #ifdef APP-PLUS
  189. if(plus.runtime.channel=="baidu"){
  190. let bdCmdType=uni.getStorageSync("bdCmdType");
  191. if(bdCmdType!=null && parseInt(bdCmdType)<=2){
  192. //this.$registerIdCode("orders",2,res.data.payMoney.toString()); //已下单
  193. }
  194. }
  195. // #endif
  196. uni.redirectTo({
  197. url:"./inquiryOrderPaySuccess?orderId="+this.order.orderId
  198. })
  199. }
  200. }else{
  201. uni.showToast({
  202. icon:'none',
  203. title: res.msg,
  204. });
  205. }
  206. },
  207. rej => {}
  208. );
  209. },
  210. couponSelect(item){
  211. this.$refs.popCoupon.close()
  212. //计算金额
  213. this.userCouponId=item.id;
  214. console.log(item)
  215. this.couponText=item.price+"元优惠券"
  216. this.compute()
  217. },
  218. openCoupon(){
  219. this.$refs.popCoupon.open("bottom")
  220. },
  221. delCoupon(){
  222. this.userCouponId=0;
  223. this.couponText="请选择优惠券"
  224. this.compute()
  225. },
  226. compute(){
  227. var data={
  228. orderId:this.orderId,
  229. userCouponId:this.userCouponId
  230. }
  231. console.log(data)
  232. compute(data).then(
  233. res => {
  234. if(res.code==200){
  235. this.payMoney=res.data.payMoney;
  236. this.discountMoney=res.data.discountMoney;
  237. }
  238. else{
  239. this.userCouponId=0;
  240. this.couponText="请选择优惠券"
  241. uni.showToast({
  242. icon:'none',
  243. title: res.msg,
  244. });
  245. }
  246. },
  247. err => {
  248. }
  249. );
  250. },
  251. getMyEnableCouponList(){
  252. var data={couponType:3,orderId:this.orderId}
  253. getMyEnableCouponList(data).then(
  254. res => {
  255. if(res.code==200){
  256. this.coupons=res.data;
  257. }
  258. },
  259. err => {
  260. }
  261. );
  262. },
  263. getDictByKey(key){
  264. var data={key:key}
  265. getDictByKey(data).then(
  266. res => {
  267. if(res.code==200){
  268. if(key=="sys_inquiry_order_type"){
  269. this.orderTypeOptions=res.data;
  270. }
  271. if(key=="sys_inquiry_type"){
  272. this.inquiryTypeOptions=res.data;
  273. }
  274. }
  275. },
  276. err => {
  277. }
  278. );
  279. },
  280. getInquiryOrderById(){
  281. var data = {orderId:this.orderId};
  282. var that=this;
  283. uni.showLoading();
  284. getInquiryOrderById(data).then(
  285. res => {
  286. if(res.code==200){
  287. uni.hideLoading();
  288. that.order=res.data;
  289. this.compute();
  290. }else{
  291. uni.showToast({
  292. icon:'none',
  293. title: res.msg,
  294. });
  295. }
  296. },
  297. rej => {}
  298. );
  299. },
  300. doAlipay(){
  301. var that=this;
  302. var data = {orderId:this.order.orderId};
  303. // #ifdef APP-PLUS
  304. uni.showLoading();
  305. zfbPayment(data).then(res => {
  306. that.$refs.popPayType.close();
  307. that.$refs.popTip.open();
  308. uni.hideLoading();
  309. if(res.code==200){
  310. if(res.type=="tz"){
  311. const match = res.data.body.url.match(/[\?&]businessCstNo=([^&]+)/);
  312. const businessCstNo = match ? match[1] : null;
  313. this.tzCashier.pay({
  314. env:0,
  315. wxMiniProgramType:0,
  316. wxAppId:'wx703c4bd07bbd1695',
  317. wxUniversalLink:"https://yjf.runtzh.com/",
  318. orderFlowNo:res.data.body.orderFlowNo,
  319. businessCstNo:businessCstNo,
  320. platMerCstNo:res.data.body.platMerCstNo
  321. },(res)=>{
  322. console.log("qxj 支付成功:"+JSON.stringify(res));
  323. });
  324. }
  325. else if(res.type=='hf'){
  326. if (uni.getSystemInfoSync().platform == 'android') {
  327. var alipayScheme ='alipays://platformapi/startApp?&saId=10000007&qrcode=' + res.data.qr_code;
  328. }else{
  329. var alipayScheme ='alipay://platformapi/startApp?&saId=10000007&qrcode=' + res.data.qr_code;
  330. }
  331. console.log(alipayScheme)
  332. // 在uni-app中使用plus.runtime.openURL打开URL
  333. plus.runtime.openURL(alipayScheme, function(error) {
  334. // console.error('打开支付宝失败: ' + error.message);
  335. // 处理打开支付宝失败的情况,比如提示用户或者跳转到其他支付方式
  336. });
  337. }
  338. }
  339. else{
  340. uni.showToast({
  341. title:res.msg,
  342. icon:'none'
  343. })
  344. }
  345. },
  346. rej => {}
  347. );
  348. // #endif
  349. },
  350. doWxPay(){
  351. var that=this;
  352. var data = {orderId:this.order.orderId};
  353. plus.share.getServices(function(res){
  354. var sweixin = null;
  355. for(var i=0;i<res.length;i++){
  356. var t = res[i];
  357. if(t.id == 'weixin'){
  358. sweixin = t;
  359. }
  360. }
  361. if(sweixin){
  362. that.$refs.popPayType.close()
  363. that.$refs.popTip.open()
  364. //唤起微信跳转小程序
  365. sweixin.launchMiniProgram({
  366. id:"gh_feb7753a310b",//gh_7a6a32e5ef61 御君方互医
  367. path:'pages_order/inquiryPayment?orderId='+that.orderId+"&payMethod=app",
  368. type:0
  369. },function(){
  370. console.log("微信唤起成功");
  371. return true;
  372. },function(e){
  373. console.log("微信唤起失败",e);
  374. uni.showToast({
  375. title:'微信唤起失败,请检查是否有微信应用',
  376. icon:'none'
  377. })
  378. return false;
  379. })
  380. }else{
  381. uni.showToast({
  382. title:'微信唤起失败,请检查是否有微信应用',
  383. icon:'none',
  384. duration:3000
  385. })
  386. return false;
  387. }
  388. },function(res){
  389. console.log(JSON.stringify(res));
  390. });
  391. },
  392. doWxPay1(){
  393. var that=this;
  394. var data = {orderId:this.order.orderId};
  395. uni.showLoading();
  396. wxPayment(data).then(res => {
  397. uni.hideLoading();
  398. that.$refs.popPayType.close();
  399. that.$refs.popTip.open();
  400. console.log("qxj res",res);
  401. if(res.code==200){
  402. if(res.type=="tz"){
  403. console.log("qxj body",res.data.body);
  404. let businessCstNo=this.userInfo.userId;
  405. if(!!res.data.body.url){
  406. const match = res.data.body.url.match(/[\?&]businessCstNo=([^&]+)/);
  407. businessCstNo = match ? match[1] : null;
  408. }
  409. console.log("qxj tzCashier:"+this.tzCashier+" businessCstNo:"+businessCstNo);
  410. this.tzCashier.pay({
  411. env:0,
  412. wxMiniProgramType:0,
  413. wxAppId:"wx703c4bd07bbd1695",
  414. wxUniversalLink:"https://yjf.runtzh.com/",
  415. orderFlowNo:res.data.body.orderFlowNo,
  416. businessCstNo:businessCstNo,
  417. platMerCstNo:res.data.body.platMerCstNo
  418. },(res)=>{
  419. uni.$emit('closePrivilege', {});
  420. that.showPayTips=true;
  421. });
  422. }
  423. else if(res.type=='hf'){
  424. uni.$emit('closePrivilege', {});
  425. that.showPayTips=true;
  426. }
  427. }
  428. else{
  429. uni.hideLoading();
  430. uni.showToast({title:res.msg,icon:'none'})
  431. }
  432. },
  433. rej => {}
  434. );
  435. },
  436. payOrder(){
  437. var data = {
  438. orderId:this.order.orderId,
  439. userCouponId:this.userCouponId
  440. };
  441. var that=this;
  442. uni.showLoading();
  443. pay(data).then(
  444. res => {
  445. if(res.code==200){
  446. console.log(res)
  447. this.$refs.popPayType.open("bottom")
  448. }else{
  449. uni.showToast({
  450. icon:'none',
  451. title: res.msg,
  452. });
  453. }
  454. },
  455. rej => {}
  456. );
  457. }
  458. }
  459. }
  460. </script>
  461. <style scoped lang="scss">
  462. page{
  463. background: #f6f6f6;
  464. }
  465. .content{
  466. position: relative;
  467. height: 100%;
  468. .cont{
  469. position: relative;
  470. padding: 0rpx 20rpx 160rpx;
  471. width: 100%;
  472. display: flex;
  473. flex-direction: column;
  474. }
  475. .other-info{
  476. margin-top: 20upx;
  477. background-color: #fff;
  478. border-radius: 20upx;
  479. overflow: hidden;
  480. padding: 0 30upx;
  481. .title{
  482. height: 80upx;
  483. line-height: 80upx;
  484. font-size: 30upx;
  485. color: #000;
  486. font-weight: bold;
  487. border-bottom: 2upx solid #eeeeee;
  488. }
  489. .item{
  490. height: 80upx;
  491. display: flex;
  492. align-items: center;
  493. justify-content: space-between;
  494. &:last-child{
  495. border-bottom: none;
  496. }
  497. .left{
  498. flex: 1;
  499. display: flex;
  500. align-items: center;
  501. .label{
  502. min-width: 140rpx;
  503. font-size: 28upx;
  504. color: #000;
  505. }
  506. .text{
  507. font-size: 28upx;
  508. color: #1b1b1b;
  509. }
  510. }
  511. .right{
  512. display: flex;
  513. align-items: center;
  514. justify-content: flex-end;
  515. .text{
  516. font-size: 28upx;
  517. color: #1b1b1b;
  518. }
  519. .ic-close{
  520. margin-left: 10rpx;
  521. width: 30rpx;
  522. height:30rpx;
  523. }
  524. .ic-back{
  525. margin-left: 10rpx;
  526. width: 15rpx;
  527. height:30rpx;
  528. }
  529. }
  530. .item-btn{
  531. max-width: 200rpx;
  532. padding: 0rpx 15rpx;
  533. height: 48upx;
  534. border-radius: 24upx;
  535. line-height: 48upx;
  536. font-size: 24upx;
  537. color: #000;
  538. border: 1upx solid #d8d8d8;
  539. display: flex;
  540. align-items: center;
  541. justify-content: center;
  542. }
  543. }
  544. }
  545. .btn-box{
  546. height: 140upx;
  547. width: 100%;
  548. padding: 0rpx 30upx;
  549. position: absolute;
  550. bottom: 0;
  551. left: 0;
  552. box-sizing: border-box;
  553. background-color: #ffffff;
  554. display: flex;
  555. align-items: center;
  556. justify-content: center;
  557. .btn{
  558. width: 100%;
  559. height: 88upx;
  560. line-height: 88upx;
  561. text-align: center;
  562. font-size: 34upx;
  563. font-family: PingFang SC;
  564. font-weight: 400;
  565. color: #FFFFFF;
  566. background: #FF5030;
  567. border-radius: 10upx;
  568. }
  569. }
  570. }
  571. .coupon{
  572. border-radius: 30rpx 30rpx 0rpx 0rpx;
  573. background-color: #FFFFFF;
  574. height: 100%;
  575. .empty{
  576. display: flex;
  577. align-items: center;
  578. justify-content: center;
  579. height: 650rpx;
  580. width: 100%;
  581. image{
  582. width: 280rpx;
  583. height: 200rpx;
  584. }
  585. }
  586. }
  587. .coupon-box{
  588. overflow-y: auto;
  589. padding: 80rpx 20rpx 80rpx;
  590. height: 650rpx;
  591. width: 100%;
  592. display: flex;
  593. flex-direction: column;
  594. align-items: flex-start;
  595. justify-content: flex-start;
  596. box-sizing: border-box;
  597. .coupon-item{
  598. width: 100%;
  599. display: flex;
  600. align-items: center;
  601. justify-content: flex-start;
  602. margin-bottom: 16rpx;
  603. height:170rpx;
  604. &:last-child{
  605. margin-bottom: 0rpx;
  606. }
  607. .left{
  608. color: #fff;
  609. font-size: 36rpx;
  610. font-weight: bold;
  611. text-align: center;
  612. display: flex;
  613. flex-direction: column;
  614. align-items: center;
  615. justify-content: center;
  616. position: relative;
  617. width: 230rpx;
  618. image{
  619. position: absolute;
  620. width: 230rpx;
  621. height:170rpx;
  622. color: #fff;
  623. }
  624. .num{
  625. font-size: 40rpx;
  626. }
  627. .pic-num{
  628. font-size: 20rpx;
  629. z-index: 99;
  630. }
  631. }
  632. .right{
  633. display: flex;
  634. flex-direction: column;
  635. align-items: flex-start;
  636. justify-content: flex-start;
  637. height:170rpx;
  638. width: calc(100% - 230rpx);
  639. padding: 0 17rpx 0 24rpx;
  640. background-color: #fff;
  641. box-sizing: border-box;
  642. .title{
  643. width: 100%;
  644. font-size: 0.3 * 100rpx;
  645. color: #282828;
  646. height: 0.93 * 100rpx;
  647. line-height: 0.93 * 100rpx;
  648. border-bottom: 1px solid #f0f0f0;
  649. }
  650. .btns{
  651. display: flex;
  652. align-items: center;
  653. justify-content: space-between;
  654. width: 100%;
  655. font-size: 0.2 * 100rpx;
  656. color: #999;
  657. height: 0.76 * 100rpx;
  658. .btn{
  659. width: 1.36 * 100rpx;
  660. height: 0.44 * 100rpx;
  661. border-radius: 0.22 * 100rpx;
  662. font-size: 0.22 * 100rpx;
  663. color: #fff;
  664. text-align: center;
  665. line-height: 0.44 * 100rpx;
  666. background-color: #FF5030;
  667. .gray{
  668. background-color: #ccc;
  669. }
  670. }
  671. }
  672. }
  673. }
  674. }
  675. .pay-box{
  676. border-radius: 30rpx 30rpx 0rpx 0rpx;
  677. padding: 10rpx;
  678. height: 350rpx;
  679. background-color: #fff;
  680. width: 100%;
  681. display:flex;
  682. flex-direction: column;
  683. text-align: center;
  684. justify-content: flex-start;
  685. .title{
  686. padding-top:50rpx;
  687. font-size: 36rpx;
  688. font-weight: bold;
  689. color: #111;
  690. }
  691. .pay-list{
  692. margin-top: 50rpx;
  693. display:flex;
  694. text-align: center;
  695. justify-content: center;
  696. .pay-item{
  697. margin: 5rpx;
  698. padding: 20rpx 0rpx;
  699. border-radius: 60rpx;
  700. background-color: green;
  701. flex: 1;
  702. display:flex;
  703. text-align: center;
  704. justify-content: center;
  705. image{
  706. width:40rpx;
  707. height:40rpx;
  708. }
  709. .name{
  710. margin-left: 10rpx;
  711. font-size: 28rpx;
  712. font-weight: bold;
  713. color: #fff;
  714. }
  715. }
  716. .wx{
  717. background-color: #09ba08;
  718. }
  719. .alipay{
  720. background-color: #04a9ed;
  721. }
  722. }
  723. }
  724. </style>