applicationForWithdrawal.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086
  1. <template>
  2. <view>
  3. <u-tabs
  4. ref="jputabs"
  5. class="jputabs" name="cate_name" gutter="200" bar-width="100" active-color="#101010"
  6. inactive-color="#A1A1A1" :list="tabList" :is-scroll="false" :current="current" @change="change"></u-tabs>
  7. <u-navbar title="提现申请单" style="margin-bottom: 40px;">
  8. </u-navbar>
  9. <template v-if="current==0">
  10. <view class="withdraw">
  11. <view class="withdraw-head">
  12. <b class="asterisk"><text>*</text>申请站点</b>
  13. <span>
  14. <picker @change="bindPickerChange1" range-key="name" :range="stationList">
  15. <view class="uni-input">
  16. <view class="input-text">
  17. {{stationObj.name?stationObj.name:'无站点'}}
  18. </view>
  19. <view class="iconfont more">
  20. &#xe600;
  21. </view>
  22. </view>
  23. </picker>
  24. </span>
  25. </view>
  26. <view class="withdraw-head">
  27. <b class="asterisk"><text>*</text>提现事由</b>
  28. <span>
  29. <picker @change="bindPickerChange2" range-key="name" :range="applicationList">
  30. <view class="uni-input">{{info.applicationTypeText}}<text
  31. class="iconfont more">
  32. &#xe600;
  33. </text></view>
  34. </picker>
  35. </span>
  36. </view>
  37. <view class="withdraw-head">
  38. <b class="asterisk"><text>*</text>提现月份</b>
  39. <span>
  40. <picker @change="bindPickerChange3" mode="date" fields="month" :end="nowTime"
  41. :value="queryTime">
  42. <view class="uni-input">{{showTime(queryTime)}}<text class="iconfont more">
  43. &#xe600;
  44. </text></view>
  45. </picker>
  46. </span>
  47. </view>
  48. <view class="withdraw-head ">
  49. <b>充电收入</b><span class="classFFF">{{info.chargingIncome}}元</span>
  50. </view>
  51. <view class="withdraw-head border-n">
  52. <b>分润提现明细表</b><span class="download" @click="ckdownload" >
  53. <u-icon name="download"></u-icon> 下载
  54. </span>
  55. </view>
  56. </view>
  57. <view class="withdraw">
  58. <view class="withdraw-head">
  59. <b class="asterisk"><text>*</text>成本电价</b>
  60. <text class="unit" style="float: right;font-size: 16px;">元/度</text>
  61. <span class="withdraw-input" style="width: 63%;">
  62. <u-input height="20px" v-model="info.electricityPrice"
  63. maxlength="10"
  64. placeholder="请填写电单价" input-align="left"
  65. type="digit">
  66. </u-input>
  67. </span>
  68. </view>
  69. <view class="withdraw-head">
  70. <b class="asterisk">预估电量</b>
  71. <span class="withdraw-input classFFF" style="width: 63%;">
  72. {{info.estimateElectricQuantity}}度
  73. </span>
  74. </view>
  75. <view class="withdraw-head">
  76. <b class="asterisk"><text>*</text>实际电量</b>
  77. <text class="unit" style="float: right;font-size: 16px;">度</text>
  78. <span class="withdraw-input" style="width: 63%;">
  79. <u-input height="20px" placeholder="请填写实际电量"
  80. maxlength="10"
  81. v-model="info.electricQuantity" input-align="left"
  82. type="digit">
  83. </u-input>
  84. </span>
  85. </view>
  86. <view class="withdraw-head border-n">
  87. <b>电费成本</b>
  88. <text class="unit" style="float: right;font-size: 16px;">元</text>
  89. <span class="withdraw-input" style="width: 63%;">
  90. <view class="classFFF" v-show="electricityPriceX">{{electricityPriceX}}</view>
  91. <view class="classFFF" v-show="!electricityPriceX">自动计算出结果</view>
  92. </span>
  93. </view>
  94. </view>
  95. <view class="withdraw">
  96. <view class="withdraw-head">
  97. <b>充电分成比例</b>
  98. <span class="classFFF" >
  99. {{info.chargingPercent}}%
  100. </span>
  101. </view>
  102. <view class="withdraw-head">
  103. <b>充电分成</b>
  104. <span class="classFFF" >
  105. {{info.chargingProfitAmount?info.chargingProfitAmount.toFixed(2):0}}元
  106. </span>
  107. </view>
  108. <view class="withdraw-head border-n">
  109. <b>充电服务收益</b>
  110. <span>
  111. <view class="classFFF" v-show="electricityPriceX">{{(info.chargingProfitAmount-electricityPriceX).toFixed(2)}}元</view>
  112. <view class="classFFF" v-show="!electricityPriceX">自动计算出结果</view>
  113. </span>
  114. </view>
  115. </view>
  116. <view class="withdraw">
  117. <view class="withdraw-head">
  118. <b>月卡分润笔数</b>
  119. <span class="classFFF" >
  120. {{info.monthlyCardTotal}}笔
  121. </span>
  122. </view>
  123. <view class="withdraw-head border-n">
  124. <b>月卡收益</b>
  125. <span class="classFFF" >
  126. {{info.monthlyCardIncome?info.monthlyCardIncome.toFixed(2):0}}元
  127. </span>
  128. </view>
  129. </view>
  130. <view class="withdraw">
  131. <view class="withdraw-head">
  132. <b>合伙人总收入</b>
  133. <span class="classFFF" >
  134. {{info.totalIncome?info.totalIncome.toFixed(2):0}}元
  135. </span>
  136. </view>
  137. <view class="withdraw-head border-n">
  138. <b>合伙人总收益</b>
  139. <span >
  140. <view class="classFFF" v-show="electricityPriceX">{{(info.chargingProfitAmount+info.monthlyCardIncome-electricityPriceX).toFixed(2)}}元</view>
  141. <view class="classFFF" v-show="!electricityPriceX">自动计算出结果</view>
  142. </span>
  143. </view>
  144. </view>
  145. <view class="withdraw">
  146. <view class="withdraw-head">
  147. <b>是否开票</b><span>
  148. <u-radio-group v-model="info.invoiceRequired">
  149. <u-radio v-for="(item, index) in list2" style="margin-right: 16px;" :key="index+'a'"
  150. :name="item.value" active-color="blue">
  151. {{item.name}}
  152. </u-radio>
  153. </u-radio-group>
  154. </span>
  155. </view>
  156. <view class="withdraw-head">
  157. <b v-if="info.invoiceRequired!='1'">发票类型</b>
  158. <b v-else class="asterisk"><text>*</text>发票类型</b>
  159. <span>
  160. <u-radio-group v-model="info.invoiceType" >
  161. <u-radio v-for="(item, index) in list1" :key="index+'a'" :name="item.value"
  162. :disabled="item.disabled" active-color="blue">
  163. {{item.name}}
  164. </u-radio>
  165. </u-radio-group>
  166. </span>
  167. </view>
  168. <view class="withdraw-head border-n">
  169. <b v-if="info.invoiceRequired!='1'">发票税率</b>
  170. <b v-else class="asterisk"><text>*</text>发票税率</b>
  171. <text style="float: right;font-size: 16px;">%</text>
  172. <span class="withdraw-input" style="width: 58%;">
  173. <u-input height="20px" v-model="info.taxRate"
  174. placeholder="请输入开票税率" input-align="left"
  175. maxlength="10"
  176. type="digit">
  177. </u-input>
  178. </span>
  179. </view>
  180. </view>
  181. <view class="withdraw">
  182. <view class="withdraw-head ">
  183. <b class="asterisk"><text>*</text>申请提现金额</b>
  184. <text class="unit" style="float: right;font-size: 16px;">元</text>
  185. <span class="withdraw-input" style="width: 63%;">
  186. <u-input height="20px" v-model="info.applicationAmount" maxlength="10" placeholder="请填写金额" input-align="left"
  187. type="digit">
  188. </u-input>
  189. </span>
  190. </view>
  191. <view class="withdraw-head border-n">
  192. <b>大写金额</b>
  193. <span class="withdraw-input" style="width: 63%;">
  194. <view class="classFFF" v-show="applicationAmountDX">{{applicationAmountDX}}</view>
  195. <view class="classFFF" v-show="!applicationAmountDX">自动转换</view>
  196. </span>
  197. </view>
  198. </view>
  199. <view class="withdraw">
  200. <view class="withdraw-head ">
  201. <b class="asterisk"><text>*</text>提现人收款户名</b>
  202. <u-input class="textarea" type="textarea"
  203. v-model="info.accountName"
  204. placeholder="请填写收款户名" height="96" cursor-spacing="8" />
  205. </view>
  206. <view class="withdraw-head ">
  207. <b class="asterisk"><text>*</text>提现人收款银行</b>
  208. <u-input class="textarea" type="textarea"
  209. v-model="info.bankName"
  210. placeholder="请填写收款银行全称" height="96" cursor-spacing="8" />
  211. </view>
  212. <view class="withdraw-head border-n">
  213. <b class="asterisk"><text>*</text>提现人收款账号</b>
  214. <u-input class="textarea" v-model="info.accountNo"
  215. type="textarea" placeholder="提现人收款账号" height="96" cursor-spacing="8" />
  216. </view>
  217. </view>
  218. </template>
  219. <template v-if="current==1">
  220. <view class="details withdrawHead" v-if="detailList.length&&info.applicationAmount">
  221. 申请提现金额:{{info.applicationAmount}}元<br/>
  222. 明细金额合计:<span :class="{
  223. red:itemApplicationAmountSum>parseFloat(info.applicationAmount)
  224. }">{{itemApplicationAmountSum}}元</span>
  225. </view>
  226. <view class="details" v-for="(item,i) in detailList" :key="i" >
  227. <view class="withdraw">
  228. <view class="withdraw-head">
  229. <b class="asterisk"><text>*</text>项目</b>
  230. <text class="unit" style="float: right;font-size: 16px;z-index: 99;" @click="delItem(i)">
  231. <i class="ri-indeterminate-circle-fill" style="color: red;font-size: 24px;"></i>
  232. </text>
  233. <span class="withdraw-input" style="width: 80%;">
  234. <u-input height="20px"
  235. v-model="item.itemName"
  236. placeholder="请填写项目名称" input-align="left" >
  237. </u-input>
  238. </span>
  239. </view>
  240. <view class="withdraw-head border-n">
  241. <b class="asterisk"><text>*</text>金额</b>
  242. <text class="unit" style="float: right;font-size: 16px;">元</text>
  243. <span class="withdraw-input" style="width: 80%;">
  244. <u-input height="20px"
  245. v-model="item.itemAmount"
  246. placeholder="请填写价格"
  247. maxlength="10"
  248. input-align="left" type="digit">
  249. </u-input>
  250. </span>
  251. </view>
  252. <view class="withdraw-head border-n">
  253. <b>备注</b>
  254. <span class="withdraw-input" style="width: 80%;">
  255. <u-input height="20px"
  256. v-model="item.itemRemark"
  257. placeholder="请填写备注信息" input-align="left">
  258. </u-input>
  259. </span>
  260. </view>
  261. </view>
  262. </view>
  263. <view class="add" @click="addItem" ><i class="ri-add-circle-fill"></i><text>增加项目</text></view>
  264. </template>
  265. <view class="applyBtn">
  266. <u-button class="save" @click="submit(-1)">保存草稿</u-button>
  267. <u-button class="submit" @click="submit(0)">提交申请单</u-button>
  268. </view>
  269. </view>
  270. </template>
  271. <script>
  272. import * as API from '@/apis/finance.js'
  273. import * as API_common from '@/apis/common.js'
  274. import {
  275. beforeTimeStamp,
  276. parseUnixTime,
  277. substrMb,
  278. DX
  279. } from '@/utils'
  280. export default {
  281. data() {
  282. return {
  283. id:'',
  284. uuid:'',
  285. isPt: false,
  286. detailList:[],
  287. info: {
  288. electricityPrice: '',
  289. electricQuantity: '',
  290. stationId: "",
  291. applicationType: '1'
  292. },
  293. applicationList: [{
  294. name: '物业结算',
  295. value: "1"
  296. }, {
  297. name: '市场费用',
  298. value: "2"
  299. }, {
  300. name: '利润提现',
  301. value: "3"
  302. }
  303. ],
  304. stationList: [],
  305. queryTime: '',
  306. nowTime: '',
  307. stationObj: {},
  308. current: 0, // tabs组件的current值,表示当前活动的tab选项
  309. params: {
  310. year: true,
  311. month: true,
  312. day: false,
  313. hour: false,
  314. minute: false,
  315. second: false,
  316. timestamp: false,
  317. },
  318. list1: [{
  319. name: '普票',
  320. value: "1"
  321. }, {
  322. name: '专票',
  323. value: "2"
  324. }, {
  325. name: '收据',
  326. value: "3"
  327. }],
  328. list2: [{
  329. name: '是',
  330. value: "1"
  331. }, {
  332. name: '否 ',
  333. value: "0"
  334. }],
  335. tabList: [{
  336. name: '申请单主表'
  337. }, {
  338. name: '提现明细'
  339. }],
  340. startTime:'',
  341. endTime:'',
  342. }
  343. },
  344. onLoad(op){
  345. if(op.id){
  346. this.id=op.id
  347. }
  348. this.uuid=op.uuid;
  349. },
  350. onShow() {
  351. },
  352. onReady() {
  353. var nowTime = parseUnixTime(new Date(), "{y}-{m}-01")
  354. this.queryTime = parseUnixTime(beforeTimeStamp(1, new Date(nowTime)), '{y}-{m}')
  355. this.nowTime = parseUnixTime(beforeTimeStamp(1, new Date(nowTime)), '{y}-{m}')
  356. this.getStationList()
  357. },
  358. computed: {
  359. itemApplicationAmountSum(){
  360. if (this.info.applicationAmount&&this.detailList&&this.detailList.length) {
  361. var applicationAmount=0;
  362. for(var i in this.detailList){
  363. var obj=this.detailList[i]
  364. var itemAmount=obj.itemAmount?obj.itemAmount:0
  365. applicationAmount+=parseFloat(itemAmount)
  366. }
  367. if(applicationAmount){
  368. return parseFloat(applicationAmount).toFixed(2)
  369. }else {
  370. return '0'
  371. }
  372. }else{
  373. return '0'
  374. }
  375. },
  376. applicationAmountDX() {
  377. if (this.info.applicationAmount) {
  378. var c = DX(this.info.applicationAmount)
  379. return c
  380. } else {
  381. return ''
  382. }
  383. },
  384. electricityPriceX() {
  385. if (this.info.electricityPrice != '' && this.info.electricQuantity != '') {
  386. return (this.info.electricityPrice * this.info.electricQuantity).toFixed(2)
  387. }
  388. return ''
  389. }
  390. },
  391. watch:{
  392. detailList(nVal, oVal) {
  393. var obj=[
  394. {
  395. name: '申请单主表'
  396. }, {
  397. name: '提现明细'
  398. }
  399. ]
  400. if(nVal&&nVal.length){
  401. obj[1].count=nVal.length
  402. }
  403. this.tabList=obj
  404. }
  405. },
  406. methods: {
  407. addItem(){
  408. this.detailList.push({})
  409. },
  410. delItem(i){
  411. this.detailList.splice(i,1)
  412. },
  413. submit(status){
  414. if(status==0){
  415. //this.value=this.info.amount
  416. if(!this.stationObj.id){
  417. uni.showToast({
  418. title: "请选择站点"
  419. })
  420. return
  421. }
  422. if(!this.info.electricityPrice){
  423. uni.showToast({
  424. title: "请输入成本电价"
  425. })
  426. return
  427. }
  428. if(!this.info.electricQuantity){
  429. uni.showToast({
  430. title: "请输入实际电量"
  431. })
  432. return
  433. }
  434. if(this.info.invoiceRequired=="1"){
  435. if(!this.info.invoiceType){
  436. uni.showToast({
  437. title: "请选择发票类型"
  438. })
  439. return
  440. }
  441. if(!this.info.taxRate){
  442. uni.showToast({
  443. title: "请选择发票税率"
  444. })
  445. return
  446. }
  447. }
  448. if(!this.info.applicationAmount){
  449. uni.showToast({
  450. title: "请输入申请提现金额"
  451. })
  452. return
  453. }
  454. if(!this.info.accountName){
  455. uni.showToast({
  456. title: "请输入提现人收款户名"
  457. })
  458. return
  459. }
  460. if(!this.info.bankName){
  461. uni.showToast({
  462. title: "请输入提现人收款银行"
  463. })
  464. return
  465. }
  466. if(!this.info.accountNo){
  467. uni.showToast({
  468. title: "请输入提现人收款账号"
  469. })
  470. return
  471. }
  472. for(var i in this.detailList){
  473. var obj=this.detailList[i]
  474. if(!obj.itemName){
  475. uni.showToast({
  476. title: `请填写提现明细中第${parseInt(i)+1}项的项目名称`
  477. })
  478. return
  479. }
  480. if(!obj.itemAmount){
  481. uni.showToast({
  482. title: `请填写提现明细[${obj.itemName}]项目的金额`
  483. })
  484. return
  485. }
  486. }
  487. if(this.detailList&&this.detailList.length){
  488. if(!(this.itemApplicationAmountSum==parseFloat(this.info.applicationAmount))){
  489. uni.showToast({
  490. title: `[申请提现金额]与[明细金额合计]不相等`
  491. })
  492. return
  493. }
  494. }
  495. }
  496. if(this.info.invoiceRequired!=''){
  497. this.info.invoiceRequired=this.info.invoiceRequired=='1'?true:false
  498. }
  499. uni.showLoading({
  500. title: "加载中",
  501. mask: true,
  502. })
  503. if(this.id){
  504. this.info.id=this.id;
  505. }
  506. this.info.status=status;
  507. //var str=JSON.stringify();
  508. API.applyWithdraw({
  509. record:this.info,
  510. detailList:this.detailList
  511. }).then((res) => {
  512. this.carhelp.set("withdrawRecord",{
  513. uuid:this.uuid,
  514. })
  515. this.id=res.data;
  516. uni.hideLoading()
  517. if(status==-1){
  518. uni.showModal({
  519. title:"提示",
  520. content:"保存成功",
  521. showCancel:false
  522. })
  523. }else{
  524. uni.redirectTo({
  525. url:"/pagesFinance/user/applyResult?value="+this.info.applicationAmount
  526. })
  527. }
  528. }).catch(error => {
  529. uni.hideLoading()
  530. uni.showModal({
  531. title:"提示",
  532. content:error,
  533. showCancel:false
  534. })
  535. })
  536. },
  537. ckdownload(){
  538. //this.value=this.info.amount
  539. if(!this.stationObj.id){
  540. uni.showToast({
  541. title: "请选择站点"
  542. })
  543. return
  544. }
  545. API.profitDetailsExcel({
  546. stationId:this.stationObj.id,
  547. yearMonth:this.queryTime,
  548. }).then((resDown) => {
  549. if(resDown.data){
  550. window.location.href=resDown.data
  551. }else{
  552. uni.showToast({
  553. title:"无文件下载"
  554. })
  555. }
  556. }).catch(error => {
  557. uni.showToast({
  558. title:error
  559. })
  560. })
  561. },
  562. showTime(name) {
  563. if (!name) {
  564. return ''
  565. }
  566. return name.replace('-', '年') + '月';
  567. },
  568. queryWithdrawInfo() {
  569. uni.showLoading({
  570. title: "加载中",
  571. mask: true,
  572. })
  573. API.queryWithdrawInfo({
  574. stationId: this.stationObj.id,
  575. yearMonth: this.queryTime,
  576. applicationType: this.info.applicationType
  577. }).then((res) => {
  578. this.info = res.data.record;
  579. var detailList = res.data.detailList;
  580. this.detailList=[];
  581. if(detailList==null){
  582. detailList=[];
  583. }
  584. for(var i in detailList){
  585. if(this.id){
  586. this.detailList.push(detailList[i])
  587. }else{
  588. this.detailList.push({
  589. itemName:detailList[i].itemName,
  590. itemRemark:detailList[i].itemRemark,
  591. itemAmount:'',
  592. })
  593. }
  594. }
  595. uni.hideLoading()
  596. }).catch(error => {
  597. uni.showToast({
  598. title: error
  599. })
  600. })
  601. },
  602. getInfo(){
  603. uni.showLoading({
  604. title: "加载中",
  605. mask: true,
  606. })
  607. API.getWithdrawInfo(this.id).then((res) => {
  608. this.info=res.data.record
  609. this.detailList=res.data.detailList
  610. uni.hideLoading()
  611. }).catch(error => {
  612. uni.showToast({
  613. title: error
  614. })
  615. })
  616. },
  617. getStationList() {
  618. uni.showLoading({
  619. title: "加载中",
  620. mask: true,
  621. })
  622. API.stationList().then((res) => {
  623. this.stationList = res.data.stationList;
  624. if (this.stationList.length) {
  625. this.stationObj = this.stationList[0];
  626. if(this.id){
  627. this.getInfo()
  628. }else{
  629. this.queryWithdrawInfo()
  630. }
  631. }
  632. uni.hideLoading()
  633. }).catch(error => {
  634. uni.showToast({
  635. title: error
  636. })
  637. })
  638. API_common.findByCatalogName2({
  639. catalogName:"提现类型"
  640. }).then((res) => {
  641. this.applicationList= res.data.dataDictionaryList;
  642. // this.applicationList =dataDictionaryList.map((item)=>{
  643. // return {
  644. // name:item.name,
  645. // value:item.value
  646. // }
  647. // })
  648. uni.hideLoading()
  649. }).catch(error => {
  650. uni.showToast({
  651. title: error
  652. })
  653. })
  654. },
  655. bindPickerChange1(e) {
  656. if (this.stationList[e.detail.value]) {
  657. this.stationObj = this.stationList[e.detail.value];
  658. this.queryWithdrawInfo()
  659. }
  660. },
  661. bindPickerChange2(e) {
  662. this.info.applicationType = this.applicationList[e.detail.value].value;
  663. this.queryWithdrawInfo()
  664. },
  665. bindPickerChange3(e) {
  666. this.queryTime = e.detail.value;
  667. this.queryWithdrawInfo()
  668. },
  669. change(index) {
  670. this.current = index;
  671. }
  672. }
  673. }
  674. </script>
  675. <style>
  676. page {
  677. background-color: #F7F7F7;
  678. padding-bottom: 65px;
  679. }
  680. </style>
  681. <style lang="scss" scoped>
  682. .jputabs {
  683. //position: absolute;
  684. position: fixed;
  685. background-color: #FFF;
  686. width: 100%;
  687. top: 40px;
  688. z-index: 99;
  689. }
  690. .classFFF {
  691. color: #607d8b !important;
  692. }
  693. .download {
  694. color: #185AC6 !important;
  695. }
  696. /deep/.u-tab-bar {
  697. background-color: #0076FF !important;
  698. }
  699. /deep/.u-tabs-scorll-flex {
  700. width: 56%;
  701. margin: 0 auto;
  702. }
  703. .withdraw-tips {
  704. margin: 24px 16px;
  705. p {
  706. color: #999;
  707. margin-top: 4px;
  708. }
  709. }
  710. .uni-input {
  711. font-size: 16px;
  712. color: #333333;
  713. }
  714. .withdraw {
  715. margin-bottom: 8px;
  716. background-color: #fff;
  717. padding: 0px 16px 0 16px;
  718. .withdraw-head {
  719. padding: 16px 0;
  720. border-bottom: 1px solid #E5E7EA;
  721. align-items: center;
  722. position: relative;
  723. .unit {
  724. position: absolute;
  725. top: 34rpx;
  726. right: 0;
  727. }
  728. .whthdraw-price {
  729. font-size: 18px;
  730. color: #101010;
  731. font-weight: 600;
  732. }
  733. b {
  734. color: rgba(119, 119, 119, 100);
  735. font-size: 16px;
  736. }
  737. span {
  738. width: 60%;
  739. float: right;
  740. text-align: left;
  741. font-size: 16px;
  742. color: #333333;
  743. }
  744. @media screen and (max-width:320px) {
  745. span {
  746. width: 55%;
  747. }
  748. }
  749. }
  750. .withdraw-main {
  751. border-top: 1px solid #f7f7f7;
  752. border-bottom: 1px solid #f7f7f7;
  753. margin: 16px 0;
  754. padding: 16px 0;
  755. .withdraw-input {
  756. margin-top: 32px;
  757. display: flex;
  758. align-items: center;
  759. font-size: 28px;
  760. /deep/.uni-input-input {
  761. font-size: 28rpx;
  762. }
  763. }
  764. }
  765. .withdraw-foot {
  766. display: flex;
  767. align-items: center;
  768. p {
  769. color: #999
  770. }
  771. span {
  772. color: #2979FF;
  773. margin-left: 16px;
  774. }
  775. }
  776. }
  777. .more {
  778. color: #B3B3B3;
  779. font-size: 24px
  780. }
  781. .applyBtn {
  782. padding: 0 16px;
  783. display: flex;
  784. background-color: #FFF;
  785. font-size: 16px;
  786. line-height: 44px;
  787. height: 60px;
  788. position: fixed;
  789. bottom: 0;
  790. left: 0;
  791. right: 0;
  792. .save {
  793. width: 33.6%;
  794. border-radius: 8px 0px 0px 8px;
  795. background-color: rgba(0, 185, 98, 100);
  796. color: rgba(255, 255, 255, 100);
  797. }
  798. .submit {
  799. width: 66.4%;
  800. border-radius: 0px 8px 8px 0px;
  801. background-color: rgba(24, 90, 198, 100);
  802. color: rgba(255, 255, 255, 100);
  803. }
  804. }
  805. /deep/.uni-input-input {
  806. text-align: start !important;
  807. }
  808. .border-n {
  809. border: none !important;
  810. }
  811. .textarea {
  812. background-color: rgba(242, 242, 242, 100);
  813. margin-top: 12px;
  814. line-height: 20px;
  815. border-radius: 4px;
  816. color: rgba(136, 136, 136, 100);
  817. .uni-textarea-placeholder {
  818. padding: 0 16rpx;
  819. }
  820. /deep/.uni-textarea-textarea {
  821. width: 90%;
  822. padding: 0 16rpx;
  823. }
  824. }
  825. .withdrawHead{
  826. padding: 15px;
  827. font-size: 14px;
  828. .red{
  829. color: red;
  830. }
  831. }
  832. .details {
  833. margin: 16px;
  834. border-radius: 8px;
  835. background-color: #fff;
  836. overflow: hidden;
  837. }
  838. .asterisk {
  839. position: relative;
  840. text {
  841. position: absolute;
  842. top: 0px;
  843. left: -14rpx;
  844. color: #EE3138;
  845. }
  846. }
  847. .add {
  848. text-align: center;
  849. font-size: 18px;
  850. color: #101010;
  851. display: flex;
  852. align-items: center;
  853. justify-content: center;
  854. .ri-add-circle-fill {
  855. font-size: 24px;
  856. color: #44B371;
  857. margin: auto 0;
  858. margin-right: 4rpx;
  859. }
  860. }
  861. /deep/.u-input__input {
  862. font-size: 16px !important
  863. }
  864. .uni-input {
  865. display: flex;
  866. justify-content: space-between;
  867. }
  868. .input-text {
  869. white-space: nowrap;
  870. overflow: hidden;
  871. text-overflow: ellipsis;
  872. }
  873. </style>