accountRecharge.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941
  1. <template>
  2. <view>
  3. <u-navbar title="账户充值" title-color="#101010" :customBack="customBack">
  4. <view slot="right" class="slot" @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 getOpenId from '@/apis/utils/init.js'
  263. import * as API from '@/apis/pagejs/wxPay.js'
  264. import * as API_index from '@/apis/pagejs/index.js'
  265. import * as API_weixin from '@/apis/weixin.js'
  266. import * as Pay from '@/apis/weixin.js'
  267. import QRCode from 'qrcodejs2'
  268. import {
  269. newDate,
  270. convertCanvasToImage,
  271. } from '@/apis/utils'
  272. import {
  273. wxPayJs
  274. } from '@/apis/utils/wxpay'
  275. export default {
  276. data() {
  277. return{
  278. amountList:[
  279. 100,200,500,1000,2000,5000
  280. ],
  281. show: false,
  282. showModel: false,
  283. qrCodeImg: "",
  284. submitType:"0",
  285. submitForm:{
  286. companyId: '',
  287. amount: '',
  288. },
  289. personInfo:{
  290. balance:0,
  291. },
  292. companyInfo:{
  293. paymentMethod:''
  294. },
  295. selectNum:'100',
  296. otherNum:'',
  297. transferAccountsInfo:{},
  298. averageLevel:0,
  299. averageColor:"#55bb81",
  300. }
  301. },
  302. onLoad() {
  303. //this.submitForm.companyId=this.carhelp.getPersonInfoPlus().companyInfo.id
  304. var openId=this.carhelp.getOpenId()
  305. //当前页面必须要OpenId
  306. if(openId){
  307. }else{
  308. getOpenId.getOpenId(true, this.carhelp.getUID())
  309. }
  310. this.submitForm.openId=openId
  311. this.submitForm.source="yjwg"
  312. },
  313. onReady() {
  314. this.homePage()
  315. this.availableDuration()
  316. },
  317. onShow(){
  318. this.homePage()
  319. this.availableDuration()
  320. },
  321. methods: {
  322. customBack(){
  323. if ('prodv4'==process.car.NODE_ENV) {
  324. if(process.env.NODE_ENV === "development"){
  325. window.history.back()
  326. }else{
  327. window.location.href=process.car.BACK_URL
  328. }
  329. }else{
  330. window.history.back()
  331. }
  332. },
  333. copyUrl(){
  334. var transferAccountsInfo=this.transferAccountsInfo
  335. var textToCopy = `收款户名${transferAccountsInfo.accountName}\n开户银行${transferAccountsInfo.bankName}\n收款账户${transferAccountsInfo.accountNo}\n联系电话${transferAccountsInfo.telephone}`;
  336. uni.setClipboardData({
  337. data: textToCopy,
  338. success: function () {
  339. uni.showToast({
  340. title: "复制成功!",
  341. icon: "none"
  342. })
  343. }
  344. });
  345. },
  346. availableDuration(){
  347. API_index.availableDuration({
  348. }).then((response) => {
  349. var sz=['#C0331D','#e84325','#ef7830',
  350. '#4faf78', '#55bb81']
  351. var balance=response.data.balance;
  352. var averageAmount=response.data.averageAmount;
  353. if(averageAmount==0&&balance>0){
  354. this.averageLevel=130;
  355. this.averageColor=sz[sz.length-1]
  356. }else if(averageAmount==0){
  357. this.averageColor=sz[0]
  358. this.averageLevel=-130;
  359. } else if(balance==0){
  360. this.averageLevel=-130;
  361. this.averageColor=sz[0]
  362. }else{
  363. var day=balance/averageAmount
  364. console.log(day)
  365. if(day<1){
  366. this.averageLevel=-130;
  367. this.averageColor=sz[0]
  368. }else if(day==1){
  369. this.averageLevel=-90;
  370. this.averageColor=sz[1]
  371. }else if(day<7){
  372. this.averageColor=sz[2]
  373. var sday=day-1
  374. var kd=45-(sday)/6*45
  375. this.averageLevel=(-45-kd);
  376. }else if(day<=15){
  377. this.averageColor=sz[3]
  378. var sday=day-7
  379. var kd=45-(sday)/8*45
  380. this.averageLevel=(0-kd);
  381. }else{
  382. this.averageLevel=130;
  383. this.averageColor=sz[sz.length-1]
  384. }
  385. }
  386. console.log(this.averageLevel)
  387. }).catch(error => {
  388. //uni.hideLoading();
  389. uni.showToast({
  390. title: error,
  391. icon: "none"
  392. })
  393. })
  394. },
  395. homePage(){
  396. // uni.showLoading({
  397. // title: "加载中",
  398. // mask: true,
  399. // })
  400. API_index.homePage({
  401. }).then((response) => {
  402. //uni.hideLoading();
  403. this.submitForm.companyId=response.data.companyInfo.id;
  404. //this.carhelp.getPersonInfoPlus().companyInfo.id
  405. this.personInfo=response.data.tenantInfo;
  406. this.companyInfo=response.data.companyInfo;
  407. if(this.companyInfo.transferAccountsInfo){
  408. this.transferAccountsInfo=JSON.parse(this.companyInfo.transferAccountsInfo)
  409. }
  410. var sz=this.companyInfo.paymentMethod.split(',');
  411. if(sz.length==1){
  412. this.submitType=sz[0]
  413. }
  414. }).catch(error => {
  415. //uni.hideLoading();
  416. uni.showToast({
  417. title: error,
  418. icon: "none"
  419. })
  420. })
  421. },
  422. radioChange: function(evt) {
  423. this.submitType=evt.detail.value
  424. },
  425. ckInput(e){
  426. var text=e.detail.value
  427. if(text.indexOf('.')>0){
  428. var k =text.split(".")[1]
  429. if(k.length>=3){
  430. this.$nextTick(()=>{
  431. text=parseFloat(text).toFixed(2);
  432. this.otherNum= text
  433. })
  434. }
  435. }
  436. var t =Number(text);
  437. if(t<1){
  438. this.$nextTick(()=>{
  439. this.otherNum='';
  440. })
  441. }
  442. if(t>5000){
  443. this.$nextTick(()=>{
  444. this.otherNum=5000;
  445. })
  446. }
  447. },
  448. focus(){
  449. console.log(0)
  450. uni.pageScrollTo({
  451. scrollTop:999999,
  452. duration:0
  453. })
  454. },
  455. open() {
  456. this.show = true;
  457. },
  458. submit() {
  459. if (this.submitType == 2) {
  460. this.show = true;
  461. }else{
  462. if(!this.otherNum){
  463. this.otherNum=this.selectNum;
  464. }
  465. this.submitForm.amount=this.otherNum
  466. if(!this.otherNum){
  467. uni.showToast({
  468. title: "请输入充值金额"
  469. })
  470. return
  471. }
  472. if (this.submitType == 0) {
  473. this.wxpy()
  474. }
  475. if (this.submitType == 1) {
  476. this.alpy()
  477. }
  478. }
  479. },
  480. alpy() {
  481. uni.showLoading({
  482. title: "加载中",
  483. mask: true,
  484. })
  485. var listcanvas = document.getElementsByTagName('canvas')
  486. if (listcanvas.length > 0) {
  487. document.getElementById("qrcode").removeChild(document.getElementsByTagName('canvas')[0]);
  488. }
  489. Pay.alpay(this.submitForm).then((response) => {
  490. let qrcode = new QRCode('qrcode', {
  491. width: 200,
  492. height: 200,
  493. text: response.data.qr_code,
  494. correctLevel: QRCode.CorrectLevel.M,
  495. })
  496. this.outOrderNo = response.data.outOrderNo;
  497. var canvas = document.getElementsByTagName('canvas')[0];
  498. this.qrCodeImg = convertCanvasToImage(canvas);
  499. uni.hideLoading()
  500. this.showModel = true
  501. }).catch(error => {
  502. uni.showToast({
  503. title: error
  504. })
  505. })
  506. },
  507. wxpy() {
  508. Pay.wxpay(this.submitForm).then((response) => {
  509. if (!response.result) {
  510. uni.showToast({
  511. title: response.message
  512. })
  513. return
  514. }
  515. var data = response.data
  516. uni.hideLoading()
  517. //("Pay+"+new Date().getTime())
  518. wxPayJs(data);
  519. }).catch(error => {
  520. uni.showToast({
  521. title: error
  522. })
  523. })
  524. },
  525. }
  526. }
  527. </script>
  528. <style lang="scss" scoped>
  529. page {
  530. padding-bottom: 50px;
  531. }
  532. .slot {
  533. margin-right: 24rpx;
  534. color: rgba(16, 16, 16, 1);
  535. }
  536. .main {
  537. margin: 24rpx;
  538. overflow: hidden;
  539. .headline {
  540. background: linear-gradient(90deg, rgba(120, 175, 247, 1) 0%, rgba(39, 116, 226, 1) 100%);
  541. color: #fff;
  542. display: flex;
  543. justify-content: space-between;
  544. align-items: center;
  545. padding: 24rpx;
  546. border-radius: 8px;
  547. .title-left {
  548. display: flex;
  549. align-items: center;
  550. font-size: 36rpx;
  551. .icon1 {
  552. width: 56rpx;
  553. height: 56rpx;
  554. margin-right: 8rpx;
  555. vertical-align: middle;
  556. }
  557. }
  558. .title-right {
  559. display: flex;
  560. font-size: 32rpx;
  561. line-height: 32rpx;
  562. .icon2 {
  563. width: 32rpx;
  564. height: 32rpx;
  565. margin-right: 8rpx;
  566. }
  567. }
  568. }
  569. .content {
  570. border-radius: 8px 8px 0 0;
  571. margin-top: -8rpx;
  572. z-index: 999;
  573. background-color: #fff;
  574. padding: 40rpx 32rpx;
  575. // 可用余额
  576. .balance {
  577. .balance-img{
  578. padding:0 40rpx;
  579. .Group911{
  580. width: 100%;
  581. }
  582. }
  583. .balanceMain{
  584. display: flex;
  585. height: 0;
  586. justify-content: space-around;
  587. .Group909{
  588. //width: 40rpx;
  589. width: 400rpx;
  590. height: 400rpx;
  591. position: absolute;
  592. top: calc(50vw + 40rpx);
  593. z-index: 8;
  594. }
  595. .balanceFlex2{
  596. z-index: 7;
  597. content: ' ';
  598. width: 200rpx; /* 宽度 */
  599. height: 200rpx; /* 高度 */
  600. background-color: white;
  601. border: 36rpx solid blue; /* 外圈颜色及宽度 */
  602. border-radius: 50%; /* 圆形 */
  603. position: absolute;
  604. top: calc(50vw + 140rpx);
  605. }
  606. }
  607. .balanceMain{
  608. display: flex;
  609. height: 0;
  610. justify-content: space-around;
  611. .balanceFlex{
  612. display: inline-flex;
  613. flex-direction: column;
  614. /* width: 100%; */
  615. align-items: center;
  616. position: relative;
  617. top: -140rpx;
  618. }
  619. .balance-left {
  620. color: rgb(48, 48, 48);
  621. font-size: 32rpx;
  622. //line-height: 40px;
  623. }
  624. .balance-right {
  625. color: rgb(48, 48, 48);
  626. font-size: 64rpx;
  627. font-weight: bold;
  628. }
  629. }
  630. }
  631. // 提示
  632. .hint {
  633. font-size: 24rpx;
  634. color: #1677FF;
  635. margin-top: 16rpx;
  636. text-align: right;
  637. padding-bottom: 32rpx;
  638. //border-bottom: 1px solid rgba(244, 244, 244, 1);
  639. }
  640. .hint2 {
  641. color: #E60012;
  642. }
  643. // 租户信息
  644. .infos {
  645. //border-bottom: 1px solid rgba(244, 244, 244, 1);
  646. padding-bottom: 24rpx;
  647. .item {
  648. display: flex;
  649. justify-content: space-between;
  650. margin-bottom: 24rpx;
  651. .item-title {
  652. color: rgb(119, 119, 119);
  653. white-space: pre;
  654. }
  655. .item-value {
  656. color: rgb(48, 48, 48);
  657. }
  658. }
  659. }
  660. // 缴费金额
  661. .payment-amount {
  662. margin-top: 32rpx;
  663. .title {
  664. color: rgb(48, 48, 48);
  665. font-size: 36rpx;
  666. display: flex;
  667. justify-content: space-between;
  668. align-items: center;
  669. }
  670. .amount-options {
  671. margin-top: 32rpx;
  672. display: flex;
  673. flex-wrap: wrap;
  674. justify-content: space-between;
  675. .options-item {
  676. width: 200rpx;
  677. height: 80rpx;
  678. line-height: 80rpx;
  679. border-radius: 4px;
  680. text-align: center;
  681. background-color: rgba(242, 242, 242, 1);
  682. color: rgba(16, 16, 16, 1);
  683. font-size: 32rpx;
  684. margin-bottom: 20rpx;
  685. }
  686. .chosen {
  687. background-color: rgba(22, 119, 255, 1);
  688. color: rgba(255, 255, 255, 1);
  689. }
  690. }
  691. }
  692. // 输入金额
  693. .input-amount {
  694. margin-top: 24rpx;
  695. display: flex;
  696. font-size: 48rpx;
  697. height: 100rpx;
  698. line-height: 100rpx;
  699. border-bottom: 1px solid rgba(242,242,242,1);
  700. .symbol {
  701. margin-right: 32rpx;
  702. }
  703. .input {
  704. height: 100rpx;
  705. font-size: 40rpx;
  706. }
  707. ::v-deep.uni-input-placeholder {
  708. color: rgba(204, 204, 204, 1);
  709. }
  710. }
  711. // 支付方式
  712. .payment-way {
  713. margin-top: 24rpx;
  714. .title {
  715. color: rgb(48, 48, 48);
  716. font-size: 36rpx;
  717. }
  718. .way {
  719. margin-top: 24rpx;
  720. .way-item {
  721. display: flex;
  722. justify-content: space-between;
  723. align-items: center;
  724. margin-bottom: 24rpx;
  725. .way-name {
  726. display: flex;
  727. align-items: center;
  728. color: rgb(51, 51, 51);
  729. .text{
  730. font-size: 36rpx;
  731. }
  732. .img {
  733. width: 48rpx;
  734. height: 48rpx;
  735. vertical-align: middle;
  736. margin-right: 16rpx;
  737. margin-left: -3rpx;
  738. }
  739. .img2{
  740. width: 40rpx;
  741. height: 40rpx;
  742. vertical-align: middle;
  743. margin-right: 20rpx;
  744. }
  745. .img3{
  746. background-color: #1677FF;
  747. width: 40rpx;
  748. height: 40rpx;
  749. vertical-align: middle;
  750. margin-right: 20rpx;
  751. border-radius: 999px;
  752. }
  753. }
  754. ::v-deep.uni-radio-input {
  755. width: 40rpx;
  756. height: 40rpx;
  757. }
  758. }
  759. }
  760. }
  761. // 按钮
  762. .btn {
  763. height: 96rpx;
  764. border-radius: 50px;
  765. background-color: rgba(51, 133, 255, 1);
  766. color: rgba(255, 255, 255, 1);
  767. font-size: 36rpx;
  768. margin-top: 48rpx;
  769. }
  770. }
  771. }
  772. // 对公转账弹窗
  773. .modal-content {
  774. padding: 40rpx 0;
  775. .title-icon {
  776. text-align: center;
  777. }
  778. .img {
  779. width: 96rpx;
  780. height: 96rpx;
  781. }
  782. .title {
  783. text-align: center;
  784. color: rgba(16, 16, 16, 1);
  785. font-size: 36rpx;
  786. font-weight: 600;
  787. margin-top: 8rpx;
  788. }
  789. .infos-group {
  790. margin: 40rpx 32rpx 0;
  791. .item {
  792. display: flex;
  793. justify-content: space-between;
  794. margin-bottom: 16rpx;
  795. .item-title {
  796. color: rgba(119, 119, 119, 1);
  797. font-size: 32rpx;
  798. white-space: pre;
  799. }
  800. .item-value {
  801. color: rgba(51, 51, 51, 1);
  802. font-size: 32rpx;
  803. margin-left: 16rpx;
  804. }
  805. }
  806. }
  807. }
  808. </style>