1 line
8.8 KiB
Plaintext
1 line
8.8 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/chen/登锐小程序(uniapp)/dengrui/pages/views/immediateWithdrawal/immediateWithdrawal.vue?37a6","webpack:///D:/chen/登锐小程序(uniapp)/dengrui/pages/views/immediateWithdrawal/immediateWithdrawal.vue?fd75","webpack:///D:/chen/登锐小程序(uniapp)/dengrui/pages/views/immediateWithdrawal/immediateWithdrawal.vue?2ac6","webpack:///D:/chen/登锐小程序(uniapp)/dengrui/pages/views/immediateWithdrawal/immediateWithdrawal.vue?9733","uni-app:///pages/views/immediateWithdrawal/immediateWithdrawal.vue"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,4I;AACAA,UAAU,CAACC,4BAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AACuE;AACL;;;AAGlE;AACyK;AACzK,gBAAgB,6KAAU;AAC1B,EAAE,yFAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA8oB,CAAgB,6nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACyBlqB;AACA;AACA,4BADA,EADA;;AAIA,MAJA,kBAIA;AACA;AACA,kBADA;AAEA,wBAFA;AAGA,oBAHA;AAIA,aAJA;AAKA,uBALA;AAMA,oBANA;AAOA,mBAPA;AAQA,qBARA;AASA,eATA;AAUA,iBAVA;AAWA,mBAXA;;AAaA,GAlBA;AAmBA,QAnBA,kBAmBA,OAnBA,EAmBA;AACA;AACA;AACA,GAtBA;AAuBA;AACA,WADA,qBACA;AACA;AACA;AACA,4BADA;AAEA,sBAFA;;AAIA,OALA,MAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAdA;AAeA,cAfA,wBAeA;AACA;AACA,KAjBA;AAkBA,cAlBA,sBAkBA,CAlBA,EAkBA;AACA;AACA;AACA,oDADA,CACA;AACA,2DAFA,CAEA;AACA;AACA;AACA,0CAPA,CAOA;AACA,kCARA,CAQA;AACA;AACA;;AAEA,KA9BA,EAvBA,E","file":"pages/views/immediateWithdrawal/immediateWithdrawal.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/views/immediateWithdrawal/immediateWithdrawal.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./immediateWithdrawal.vue?vue&type=template&id=32d42a9a&\"\nvar renderjs\nimport script from \"./immediateWithdrawal.vue?vue&type=script&lang=js&\"\nexport * from \"./immediateWithdrawal.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/views/immediateWithdrawal/immediateWithdrawal.vue\"\nexport default component.exports","export * from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./immediateWithdrawal.vue?vue&type=template&id=32d42a9a&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./immediateWithdrawal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./immediateWithdrawal.vue?vue&type=script&lang=js&\"","<template>\n <view class=\"\">\n <!-- 使用标题栏 -->\r\n <status-nav :statusBackw=\"true\" :whereCome=\"whereCome*1\" :statusTitle=\"true\" :title-val=\"'立即提现'\" :tabcolor=\"'#ffffff'\"></status-nav>\r\n <view class=\"ptwo-box bacb\">\r\n <view class=\"fon32 margin40 padding-x40\">\r\n <view>可提现余额<text>{{allPrice}}</text>元</view>\r\n <view class=\"margin-sx40\">可提现</view>\r\n <view class=\"fon28 bold padding-x30 disac\" style=\"\">\r\n <view class=\"margin-s10\">¥</view><input :maxlength=\"maxLength\" @input=\"priceInput\" class=\"margin-z10\" style=\"font-size: 38rpx;\" type=\"number\" v-model=\"inputPrice\" placeholder=\"请输入要提现的金额\" placeholder-style=\"color:#cccccc;\"/>\r\n </view>\r\n <view class=\"borbot\" style=\"margin-top: -10rpx;\"></view>\r\n <view class=\"fon24 color9 margin-sx20\">提现需要扣除<text>{{cost}}</text>%的手续费,实际到账金额<text class=\"cloor16\">¥{{dangPrice}}</text></view>\r\n <view class=\"padding-sx20\">\r\n <button @tap=\"submitT\" :disabled=\"disabled\" class=\"comebtn\">立即提现</button>\r\n </view>\r\n </view>\r\n </view>\r\n <!-- 弹框 -->\r\n <successpopu :isShow=\"isShow\" :isSuccess=\"isSuccess\" :title=\"title\" :content=\"content\" @change=\"changepopu\"></successpopu>\r\n </view>\n</template>\n\n<script>\r\n import successpopu from '@/components/successpopu.vue';\n export default {\r\n components:{\r\n successpopu\r\n },\n data() {\n return {\r\n whereCome:0,\r\n allPrice:'400.00',\r\n inputPrice:'',\r\n cost:5,\r\n dangPrice:'0.00',\r\n disabled:true,\r\n isShow:false,\r\n isSuccess:true,\r\n title:'',\r\n content:'',\r\n maxLength:10\r\n }\n },\r\n onLoad(options) {\r\n this.whereCome = options.index\r\n this.allPrice = options.price\r\n },\n methods: {\r\n submitT(){//立即提现事件\r\n if(this.inputPrice==0){\r\n uni.showToast({\r\n title:'请正确输入提现金额',\r\n icon:'none'\r\n })\r\n } else {\r\n this.isShow = true\r\n this.isSuccess = true\r\n this.disabled = true\r\n this.title = '提现已申请'\r\n this.content = '提现申请已经提交成功,请耐心等待。'\r\n }\r\n },\r\n changepopu(){//关闭弹框事件\r\n this.isShow = false\r\n },\n priceInput(e){//实时输入事件,input事件\r\n this.inputPrice = e.detail.value\r\n if(this.inputPrice*1 >= this.allPrice*1){\r\n this.inputPrice = parseFloat(this.allPrice)//大于总金额时,赋值总金额\r\n this.maxLength = this.inputPrice.toString().length//动态赋值输入长度\r\n }\r\n this.dangPrice = this.inputPrice - (this.inputPrice * this.cost / 100).toFixed(2)\r\n let str = this.dangPrice.toString();//转换成字符串 \r\n let result = str.split('.')//变成数组\r\n result.length == 1 ? this.dangPrice = this.dangPrice+'.00' : ''\r\n this.inputPrice.length==0?this.disabled = true:this.disabled = false\r\n \r\n }\r\n }\n }\n</script>\n\n<style>\n</style>\n"],"sourceRoot":""} |