accountRecharge.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913
  1. <template>
  2. <view>
  3. <u-navbar title="账户充值" title-color="#101010">
  4. <view slot="right" class="slot" v-if="false" @click="gotoUrl('/pages/returnBalance/returnBalance')" >
  5. 退余额
  6. </view>
  7. </u-navbar>
  8. <view class="main">
  9. <view class="headline">
  10. <view class="title-left">
  11. <view class="icon">
  12. <image class="icon1" src="@/assets/img/PEokWS2@1x.png" mode=""></image>
  13. </view>
  14. <view class="text">
  15. 账户充值
  16. </view>
  17. </view>
  18. <view class="title-right" @click="gotoUrl('/pages/recharge/rechargeRecord')" >
  19. <view class="icon">
  20. <image class="icon2" src="@/assets/img/riLine-time-line.svg" mode=""></image>
  21. </view>
  22. <view class="text">
  23. 充值记录
  24. </view>
  25. </view>
  26. </view>
  27. <view class="content">
  28. <!-- 可用余额 -->
  29. <!-- 租户信息 -->
  30. <view class="infos" >
  31. <view class="item">
  32. <view class="item-title">
  33. 承租方
  34. </view>
  35. <view class="item-value">
  36. {{personInfo.name}}
  37. </view>
  38. </view>
  39. <view class="item" v-if="false">
  40. <view class="item-title">
  41. 户号
  42. </view>
  43. <view class="item-value">
  44. 00880088
  45. </view>
  46. </view>
  47. <view class="item" v-if="false">
  48. <view class="item-title">
  49. 联系人
  50. </view>
  51. <view class="item-value">
  52. {{personInfo.contacts}}
  53. </view>
  54. </view>
  55. <view class="item" v-if="false">
  56. <view class="item-title">
  57. 物业方
  58. </view>
  59. <view class="item-value">
  60. {{companyInfo.propertyManagement}}
  61. </view>
  62. </view>
  63. </view>
  64. <view class="balance">
  65. <!-- -->
  66. <view class="balance-img">
  67. <img src="@/assets/img/Group 911.png" class="Group911"></img>
  68. </view>
  69. <view class="balanceMain">
  70. <view class="balanceFlex2" :style="'border-color:'+averageColor"></view>
  71. <svg width="282" height="282" :style="'transform: rotate('+averageLevel+'deg);'"
  72. class="Group909"
  73. viewBox="0 0 282 282" fill="none" xmlns="http://www.w3.org/2000/svg">
  74. <path d="M157 141C157 149.837 149.837 157 141 157C132.163 157 125 149.837 125 141C141 0 141 0 141 0C141 0 141 0 157 141Z" fill="#DFDAD4"/>
  75. <path d="M141 157C132.163 157 125 149.837 125 141C141 0 141 7.08465e-05 141 7.08465e-05C141 7.08465e-05 141 96.5001 141 157Z" fill="#CAC3BA"/>
  76. <g filter="url(#filter0_d_2522_561)">
  77. <circle cx="141" cy="142" r="7" fill="#ACABA8"/>
  78. </g>
  79. <defs>
  80. <filter id="filter0_d_2522_561" x="128" y="129" width="26" height="26" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
  81. <feFlood flood-opacity="0" result="BackgroundImageFix"/>
  82. <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
  83. <feMorphology radius="2" operator="dilate" in="SourceAlpha" result="effect1_dropShadow_2522_561"/>
  84. <feOffset/>
  85. <feGaussianBlur stdDeviation="2"/>
  86. <feComposite in2="hardAlpha" operator="out"/>
  87. <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0"/>
  88. <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2522_561"/>
  89. <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2522_561" result="shape"/>
  90. </filter>
  91. </defs>
  92. </svg>
  93. </view>
  94. <view class="balanceMain">
  95. <view class="balanceFlex">
  96. <view class="balance-right balance">
  97. {{personInfo.balance}}
  98. </view>
  99. <view class="balance-left">
  100. 可用余额(元)
  101. </view>
  102. </view>
  103. </view>
  104. </view>
  105. <!-- 缴费金额 -->
  106. <view class="payment-amount">
  107. <view class="title">
  108. 充值金额
  109. <view class="hint" v-if="personInfo.balance>0">
  110. 有余额,可提前充值
  111. </view>
  112. <!-- 提示 无余额 已欠费 -->
  113. <view class="hint hint2" v-if="personInfo.balance==0" >
  114. 已扣完,请尽快缴费
  115. </view>
  116. <view class="hint hint2" v-if="personInfo.balance<0" >
  117. 有欠费,请尽快充值
  118. </view>
  119. </view>
  120. <view class="amount-options">
  121. <view v-for="(item,i) in amountList" :key="i"
  122. class="options-item " :class="{
  123. chosen:selectNum==item
  124. }" @click="otherNum=item,selectNum=item" >
  125. {{item}}元
  126. </view>
  127. </view>
  128. </view>
  129. <!-- 输入金额 -->
  130. <view class="input-amount">
  131. <view class="symbol">
  132. </view>
  133. <input class="input" @input="ckInput" @focus="focus" type="text" v-model="otherNum" placeholder="点击输入充值金额">
  134. </view>
  135. <!-- 支付方式 -->
  136. <view class="payment-way">
  137. <view class="title">
  138. 支付方式
  139. </view>
  140. <view class="way">
  141. <radio-group @change="radioChange">
  142. <view class="way-item" v-if="companyInfo.paymentMethod.indexOf('2')>-1" >
  143. <view class="way-name">
  144. <view class="icon">
  145. <image class="img" src="@/assets/img/riFill-wechat-pay-fill fTAsMwS.svg" mode="">
  146. </image>
  147. </view>
  148. <view class="text">
  149. 微信支付
  150. </view>
  151. </view>
  152. <view class="way-radio">
  153. <label class="radio">
  154. <radio value="0" name="selectType" :checked="submitType === '0'" /><text></text>
  155. </label>
  156. </view>
  157. </view>
  158. <view class="way-item" v-if="companyInfo.paymentMethod.indexOf('1')>-1" >
  159. <view class="way-name">
  160. <view class="icon">
  161. <image class="img2" src="@/assets/img/antOutline-alipay-circle bQiHn7m.svg" mode="">
  162. </image>
  163. </view>
  164. <view class="text">
  165. 支付宝
  166. </view>
  167. </view>
  168. <view class="way-radio">
  169. <label class="radio">
  170. <radio value="1" name="selectType" :checked="submitType === '1'" /><text></text>
  171. </label>
  172. </view>
  173. </view>
  174. <view class="way-item" v-if="companyInfo.paymentMethod.indexOf('3')>-1" >
  175. <view class="way-name">
  176. <view class="icon">
  177. <image class="img3"
  178. src="@/assets/img/riFill-exchange-cny-fill@1x.png" mode=""></image>
  179. </view>
  180. <view class="text">
  181. 对公转账
  182. </view>
  183. </view>
  184. <view class="way-radio" >
  185. <label class="radio">
  186. <radio value="2" name="selectType" /><text></text>
  187. </label>
  188. </view>
  189. </view>
  190. </radio-group>
  191. <!-- 对公转账弹窗 -->
  192. <u-modal v-model="show" :show-cancel-button="true"
  193. @confirm="copyUrl()"
  194. :show-title="false" confirm-text="复制"
  195. cancel-text="关闭">
  196. <view class="modal-content">
  197. <view class="title-icon">
  198. <image class="img" src="@/assets/img/modalIcon.svg" mode=""></image>
  199. </view>
  200. <view class="title">
  201. 对公转账信息
  202. </view>
  203. <view class="infos-group">
  204. <view class="item" >
  205. <view class="item-title">
  206. 收款户名
  207. </view>
  208. <view class="item-value">
  209. {{transferAccountsInfo.accountName}}
  210. </view>
  211. </view>
  212. <view class="item" >
  213. <view class="item-title">
  214. 开户银行
  215. </view>
  216. <view class="item-value">
  217. {{transferAccountsInfo.bankName}}
  218. </view>
  219. </view>
  220. <view class="item" >
  221. <view class="item-title">
  222. 收款账户
  223. </view>
  224. <view class="item-value">
  225. {{transferAccountsInfo.accountNo}}
  226. </view>
  227. </view>
  228. <view class="item" >
  229. <view class="item-title">
  230. 联系电话
  231. </view>
  232. <view class="item-value">
  233. {{transferAccountsInfo.telephone}}
  234. </view>
  235. </view>
  236. </view>
  237. </view>
  238. </u-modal>
  239. </view>
  240. </view>
  241. <!-- 按钮 -->
  242. <button class="btn" @click="submit">{{submitType==2?'查看对公转账信息':'立即支付'}}</button>
  243. </view>
  244. </view>
  245. <u-divider nonetext="没有找到相关内容"
  246. border-color="#CFD2D5">已经到底了</u-divider>
  247. <img id="qrcode" style="display: none;">
  248. <u-modal v-model="showModel" :show-cancel-button="true" @confirm="homePage"
  249. confirm-text="刷新余额" title="扫码支付">
  250. <view style="
  251. text-align: center;
  252. ">
  253. <img id="qrcode2" :src="qrCodeImg">
  254. </view>
  255. <view style="
  256. text-align: center;
  257. ">请使用支付宝扫码</view>
  258. </u-modal>
  259. </view>
  260. </template>
  261. <script>
  262. import * as API from '@/apis/pagejs/wxPay.js'
  263. import * as API_index from '@/apis/pagejs/index.js'
  264. import * as API_weixin from '@/apis/weixin.js'
  265. import * as Pay from '@/apis/weixin.js'
  266. import QRCode from 'qrcodejs2'
  267. import {
  268. newDate,
  269. convertCanvasToImage,
  270. } from '@/apis/utils'
  271. import {
  272. wxPayJs
  273. } from '@/apis/utils/wxpay'
  274. export default {
  275. data() {
  276. return{
  277. amountList:[
  278. 100,200,500,1000,2000,5000
  279. ],
  280. show: false,
  281. showModel: false,
  282. qrCodeImg: "",
  283. submitType:"0",
  284. submitForm:{
  285. companyId: '',
  286. amount: '',
  287. },
  288. personInfo:{
  289. balance:0,
  290. },
  291. companyInfo:{
  292. paymentMethod:''
  293. },
  294. selectNum:'100',
  295. otherNum:'',
  296. transferAccountsInfo:{},
  297. averageLevel:0,
  298. averageColor:"#55bb81",
  299. }
  300. },
  301. onLoad() {
  302. //this.submitForm.companyId=this.carhelp.getPersonInfoPlus().companyInfo.id
  303. },
  304. onShow(){
  305. this.homePage()
  306. this.availableDuration()
  307. },
  308. methods: {
  309. copyUrl(){
  310. var transferAccountsInfo=this.transferAccountsInfo
  311. var textToCopy = `收款户名${transferAccountsInfo.accountName}\n开户银行${transferAccountsInfo.bankName}\n收款账户${transferAccountsInfo.accountNo}\n联系电话${transferAccountsInfo.telephone}`;
  312. uni.setClipboardData({
  313. data: textToCopy,
  314. success: function () {
  315. uni.showToast({
  316. title: "复制成功!",
  317. icon: "none"
  318. })
  319. }
  320. });
  321. },
  322. availableDuration(){
  323. API_index.availableDuration({
  324. }).then((response) => {
  325. var sz=['#C0331D','#e84325','#ef7830',
  326. '#4faf78', '#55bb81']
  327. var balance=response.data.balance;
  328. var averageAmount=response.data.averageAmount;
  329. if(averageAmount==0&&balance>0){
  330. this.averageLevel=130;
  331. this.averageColor=sz[sz.length-1]
  332. }else if(averageAmount==0){
  333. this.averageColor=sz[0]
  334. this.averageLevel=-130;
  335. } else if(balance==0){
  336. this.averageLevel=-130;
  337. this.averageColor=sz[0]
  338. }else{
  339. var day=balance/averageAmount
  340. console.log(day)
  341. if(day<1){
  342. this.averageLevel=-130;
  343. this.averageColor=sz[0]
  344. }else if(day==1){
  345. this.averageLevel=-90;
  346. this.averageColor=sz[1]
  347. }else if(day<7){
  348. this.averageColor=sz[2]
  349. var sday=day-1
  350. var kd=45-(sday)/6*45
  351. this.averageLevel=(-45-kd);
  352. }else if(day<=15){
  353. this.averageColor=sz[3]
  354. var sday=day-7
  355. var kd=45-(sday)/8*45
  356. this.averageLevel=(0-kd);
  357. }else{
  358. this.averageLevel=130;
  359. this.averageColor=sz[sz.length-1]
  360. }
  361. }
  362. console.log(this.averageLevel)
  363. }).catch(error => {
  364. //uni.hideLoading();
  365. uni.showToast({
  366. title: error,
  367. icon: "none"
  368. })
  369. })
  370. },
  371. homePage(){
  372. // uni.showLoading({
  373. // title: "加载中",
  374. // mask: true,
  375. // })
  376. API_index.homePage({
  377. }).then((response) => {
  378. //uni.hideLoading();
  379. this.submitForm.companyId=response.data.companyInfo.id;
  380. //this.carhelp.getPersonInfoPlus().companyInfo.id
  381. this.personInfo=response.data.tenantInfo;
  382. this.companyInfo=response.data.companyInfo;
  383. if(this.companyInfo.transferAccountsInfo){
  384. this.transferAccountsInfo=JSON.parse(this.companyInfo.transferAccountsInfo)
  385. }
  386. var sz=this.companyInfo.paymentMethod.split(',');
  387. if(sz.length==1){
  388. this.submitType=sz[0]
  389. }
  390. }).catch(error => {
  391. //uni.hideLoading();
  392. uni.showToast({
  393. title: error,
  394. icon: "none"
  395. })
  396. })
  397. },
  398. radioChange: function(evt) {
  399. this.submitType=evt.detail.value
  400. },
  401. ckInput(e){
  402. var text=e.detail.value
  403. if(text.indexOf('.')>0){
  404. var k =text.split(".")[1]
  405. if(k.length>=3){
  406. this.$nextTick(()=>{
  407. text=parseFloat(text).toFixed(2);
  408. this.otherNum= text
  409. })
  410. }
  411. }
  412. var t =Number(text);
  413. if(t<1){
  414. this.$nextTick(()=>{
  415. this.otherNum='';
  416. })
  417. }
  418. if(t>5000){
  419. this.$nextTick(()=>{
  420. this.otherNum=5000;
  421. })
  422. }
  423. },
  424. focus(){
  425. console.log(0)
  426. uni.pageScrollTo({
  427. scrollTop:999999,
  428. duration:0
  429. })
  430. },
  431. open() {
  432. this.show = true;
  433. },
  434. submit() {
  435. if (this.submitType == 2) {
  436. this.show = true;
  437. }else{
  438. if(!this.otherNum){
  439. this.otherNum=this.selectNum;
  440. }
  441. this.submitForm.amount=this.otherNum
  442. if(!this.otherNum){
  443. uni.showToast({
  444. title: "请输入缴费金额"
  445. })
  446. return
  447. }
  448. if (this.submitType == 0) {
  449. this.wxpy()
  450. }
  451. if (this.submitType == 1) {
  452. this.alpy()
  453. }
  454. }
  455. },
  456. alpy() {
  457. uni.showLoading({
  458. title: "加载中",
  459. mask: true,
  460. })
  461. var listcanvas = document.getElementsByTagName('canvas')
  462. if (listcanvas.length > 0) {
  463. document.getElementById("qrcode").removeChild(document.getElementsByTagName('canvas')[0]);
  464. }
  465. Pay.alpay(this.submitForm).then((response) => {
  466. let qrcode = new QRCode('qrcode', {
  467. width: 200,
  468. height: 200,
  469. text: response.data.qr_code,
  470. correctLevel: QRCode.CorrectLevel.M,
  471. })
  472. this.outOrderNo = response.data.outOrderNo;
  473. var canvas = document.getElementsByTagName('canvas')[0];
  474. this.qrCodeImg = convertCanvasToImage(canvas);
  475. uni.hideLoading()
  476. this.showModel = true
  477. }).catch(error => {
  478. uni.showToast({
  479. title: error
  480. })
  481. })
  482. },
  483. wxpy() {
  484. Pay.wxpay(this.submitForm).then((response) => {
  485. if (!response.result) {
  486. uni.showToast({
  487. title: response.message
  488. })
  489. return
  490. }
  491. var data = response.data
  492. uni.hideLoading()
  493. //("Pay+"+new Date().getTime())
  494. wxPayJs(data);
  495. }).catch(error => {
  496. uni.showToast({
  497. title: error
  498. })
  499. })
  500. },
  501. }
  502. }
  503. </script>
  504. <style lang="scss" scoped>
  505. page {
  506. padding-bottom: 50px;
  507. }
  508. .slot {
  509. margin-right: 24rpx;
  510. color: rgba(16, 16, 16, 1);
  511. }
  512. .main {
  513. margin: 24rpx;
  514. overflow: hidden;
  515. .headline {
  516. background: linear-gradient(90deg, rgba(120, 175, 247, 1) 0%, rgba(39, 116, 226, 1) 100%);
  517. color: #fff;
  518. display: flex;
  519. justify-content: space-between;
  520. align-items: center;
  521. padding: 24rpx;
  522. border-radius: 8px;
  523. .title-left {
  524. display: flex;
  525. align-items: center;
  526. font-size: 36rpx;
  527. .icon1 {
  528. width: 56rpx;
  529. height: 56rpx;
  530. margin-right: 8rpx;
  531. vertical-align: middle;
  532. }
  533. }
  534. .title-right {
  535. display: flex;
  536. font-size: 32rpx;
  537. line-height: 32rpx;
  538. .icon2 {
  539. width: 32rpx;
  540. height: 32rpx;
  541. margin-right: 8rpx;
  542. }
  543. }
  544. }
  545. .content {
  546. border-radius: 8px 8px 0 0;
  547. margin-top: -8rpx;
  548. z-index: 999;
  549. background-color: #fff;
  550. padding: 40rpx 32rpx;
  551. // 可用余额
  552. .balance {
  553. .balance-img{
  554. padding:0 40rpx;
  555. .Group911{
  556. width: 100%;
  557. }
  558. }
  559. .balanceMain{
  560. display: flex;
  561. height: 0;
  562. justify-content: space-around;
  563. .Group909{
  564. //width: 40rpx;
  565. width: 400rpx;
  566. height: 400rpx;
  567. position: absolute;
  568. top: calc(50vw + 40rpx);
  569. z-index: 8;
  570. }
  571. .balanceFlex2{
  572. z-index: 7;
  573. content: ' ';
  574. width: 200rpx; /* 宽度 */
  575. height: 200rpx; /* 高度 */
  576. background-color: white;
  577. border: 36rpx solid blue; /* 外圈颜色及宽度 */
  578. border-radius: 50%; /* 圆形 */
  579. position: absolute;
  580. top: calc(50vw + 140rpx);
  581. }
  582. }
  583. .balanceMain{
  584. display: flex;
  585. height: 0;
  586. justify-content: space-around;
  587. .balanceFlex{
  588. display: inline-flex;
  589. flex-direction: column;
  590. /* width: 100%; */
  591. align-items: center;
  592. position: relative;
  593. top: -140rpx;
  594. }
  595. .balance-left {
  596. color: rgb(48, 48, 48);
  597. font-size: 32rpx;
  598. //line-height: 40px;
  599. }
  600. .balance-right {
  601. color: rgb(48, 48, 48);
  602. font-size: 64rpx;
  603. font-weight: bold;
  604. }
  605. }
  606. }
  607. // 提示
  608. .hint {
  609. font-size: 24rpx;
  610. color: #1677FF;
  611. margin-top: 16rpx;
  612. text-align: right;
  613. padding-bottom: 32rpx;
  614. border-bottom: 1px solid rgba(244, 244, 244, 1);
  615. }
  616. .hint2 {
  617. color: #E60012;
  618. }
  619. // 租户信息
  620. .infos {
  621. //border-bottom: 1px solid rgba(244, 244, 244, 1);
  622. padding-bottom: 24rpx;
  623. .item {
  624. display: flex;
  625. justify-content: space-between;
  626. margin-bottom: 24rpx;
  627. .item-title {
  628. color: rgb(119, 119, 119);
  629. white-space: pre;
  630. }
  631. .item-value {
  632. color: rgb(48, 48, 48);
  633. }
  634. }
  635. }
  636. // 缴费金额
  637. .payment-amount {
  638. margin-top: 32rpx;
  639. .title {
  640. color: rgb(48, 48, 48);
  641. font-size: 36rpx;
  642. display: flex;
  643. justify-content: space-between;
  644. align-items: center;
  645. }
  646. .amount-options {
  647. margin-top: 32rpx;
  648. display: flex;
  649. flex-wrap: wrap;
  650. justify-content: space-between;
  651. .options-item {
  652. width: 200rpx;
  653. height: 80rpx;
  654. line-height: 80rpx;
  655. border-radius: 4px;
  656. text-align: center;
  657. background-color: rgba(242, 242, 242, 1);
  658. color: rgba(16, 16, 16, 1);
  659. font-size: 32rpx;
  660. margin-bottom: 20rpx;
  661. }
  662. .chosen {
  663. background-color: rgba(22, 119, 255, 1);
  664. color: rgba(255, 255, 255, 1);
  665. }
  666. }
  667. }
  668. // 输入金额
  669. .input-amount {
  670. margin-top: 24rpx;
  671. display: flex;
  672. font-size: 48rpx;
  673. height: 100rpx;
  674. line-height: 100rpx;
  675. border-bottom: 1px solid rgba(242,242,242,1);
  676. .symbol {
  677. margin-right: 32rpx;
  678. }
  679. .input {
  680. height: 100rpx;
  681. font-size: 40rpx;
  682. }
  683. /deep/.uni-input-placeholder {
  684. color: rgba(204, 204, 204, 1);
  685. }
  686. }
  687. // 支付方式
  688. .payment-way {
  689. margin-top: 24rpx;
  690. .title {
  691. color: rgb(48, 48, 48);
  692. font-size: 36rpx;
  693. }
  694. .way {
  695. margin-top: 24rpx;
  696. .way-item {
  697. display: flex;
  698. justify-content: space-between;
  699. align-items: center;
  700. margin-bottom: 24rpx;
  701. .way-name {
  702. display: flex;
  703. align-items: center;
  704. color: rgb(51, 51, 51);
  705. .text{
  706. font-size: 36rpx;
  707. }
  708. .img {
  709. width: 48rpx;
  710. height: 48rpx;
  711. vertical-align: middle;
  712. margin-right: 16rpx;
  713. margin-left: -3rpx;
  714. }
  715. .img2{
  716. width: 40rpx;
  717. height: 40rpx;
  718. vertical-align: middle;
  719. margin-right: 20rpx;
  720. }
  721. .img3{
  722. background-color: #1677FF;
  723. width: 40rpx;
  724. height: 40rpx;
  725. vertical-align: middle;
  726. margin-right: 20rpx;
  727. border-radius: 999px;
  728. }
  729. }
  730. /deep/.uni-radio-input {
  731. width: 40rpx;
  732. height: 40rpx;
  733. }
  734. }
  735. }
  736. }
  737. // 按钮
  738. .btn {
  739. height: 96rpx;
  740. border-radius: 50px;
  741. background-color: rgba(51, 133, 255, 1);
  742. color: rgba(255, 255, 255, 1);
  743. font-size: 36rpx;
  744. margin-top: 48rpx;
  745. }
  746. }
  747. }
  748. // 对公转账弹窗
  749. .modal-content {
  750. padding: 40rpx 0;
  751. .title-icon {
  752. text-align: center;
  753. }
  754. .img {
  755. width: 96rpx;
  756. height: 96rpx;
  757. }
  758. .title {
  759. text-align: center;
  760. color: rgba(16, 16, 16, 1);
  761. font-size: 36rpx;
  762. font-weight: 600;
  763. margin-top: 8rpx;
  764. }
  765. .infos-group {
  766. margin: 40rpx 32rpx 0;
  767. .item {
  768. display: flex;
  769. justify-content: space-between;
  770. margin-bottom: 16rpx;
  771. .item-title {
  772. color: rgba(119, 119, 119, 1);
  773. font-size: 32rpx;
  774. white-space: pre;
  775. }
  776. .item-value {
  777. color: rgba(51, 51, 51, 1);
  778. font-size: 32rpx;
  779. margin-left: 16rpx;
  780. }
  781. }
  782. }
  783. }
  784. </style>