You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
24 KiB
1 lines
24 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:////Users/seep/Documents/liuqingProject/hezhiying/pages/shoukuan/shoukuan.vue?0501","webpack:////Users/seep/Documents/liuqingProject/hezhiying/pages/shoukuan/shoukuan.vue?1590","webpack:////Users/seep/Documents/liuqingProject/hezhiying/pages/shoukuan/shoukuan.vue?5d31","webpack:////Users/seep/Documents/liuqingProject/hezhiying/pages/shoukuan/shoukuan.vue?37e3","uni-app:///pages/shoukuan/shoukuan.vue","webpack:////Users/seep/Documents/liuqingProject/hezhiying/pages/shoukuan/shoukuan.vue?0ed2","webpack:////Users/seep/Documents/liuqingProject/hezhiying/pages/shoukuan/shoukuan.vue?d6b5"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","show","content","activeIndex","list4","name","id","yhk","bank_realname","bank_mobile","bank_no","bank_address","codeSend","timeNum","timer","fileList1","fileList2","zfbPic","zfburl","wxPic","wxurl","mobileForm","phone","simplephone","code","issave","onLoad","methods","close","getText","getUserInfoHandle","Object","getPay","clearInterval","getCode","message","mobile","event","submitSave","captcha","alipay_image","wechat_image","uploadZfb","uploadwx","afterRead","console","lists","fileListLen","item","status","i","result","uploadFilePromise","url","filePath","header","token","formData","success","setTimeout","resolve","uni","fail","destroyed","watch","handler","deep"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,iBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AACgN;AAChN,gBAAgB,iNAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,6SAEN;AACP,KAAK;AACL;AACA,aAAa,uSAEN;AACP,KAAK;AACL;AACA,aAAa,uSAEN;AACP,KAAK;AACL;AACA,aAAa,iPAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxDA;AAAA;AAAA;AAAA;AAAs0B,CAAgB,syBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACwH11B;AACA;AAAA;AAAA;AAAA,eACA;EACAC;IACA;MACAC;MACAC;MACAC;MACAC;QACAC;QACAC;MACA;QACAD;QACAC;MACA;QACAD;QACAC;MACA;MACAC;QACAC;QACAC;QACAC;QACAC;MACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;QACAC;QACAC;QACAC;MACA;MACAC;IAEA;EACA;EACAC;IACA;IACA;EACA;EACAC;IACAC;MACA;IACA;IACAC;MAAA;MACA;QAAAvB;MAAA;QACA;MACA;IACA;IACA;IACAwB;MAAA;MACA;QACA;QACA;QACAC;UACA;QACA;QACA;QACA;MACA;IACA;IACAC;MACA;MACAC;MACA;MACA;MACA;IACA;IACAC;MAAA;MACA;MACA;QACA;UACAC;QACA;QACA;MACA;MACA;QAAAC;QAAAC;MAAA;QACA;UACA;UACA;YACA;cACA;YACA;cACA;cACAJ;cACA;YACA;UACA;QACA;MACA;IACA;IACAK;MAAA;MACA;QACA;UACAH;QACA;QACA;MACA;MAEA;QAAAC;QAAAG;QAAAF;MAAA;QAEA;UACA;YACA;cACA;gBACAF;cACA;YACA;UACA;YACA;cAAAK;YAAA;cACA;gBACAL;cACA;YACA;UACA;YACA;cAAAM;YAAA;cACA;gBACAN;cACA;YACA;UACA;QAEA;MACA;IAEA;IACAO;MACA;IACA;IACAC;MACA;IACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACAC;gBACA;gBACAC;gBACAC;gBACAD;kBACA,2EACAE;oBACAC;oBACAd;kBAAA,GACA;gBACA;gBACAe;cAAA;gBAAA;kBAAA;kBAAA;gBAAA;gBAAA;gBAAA,OACA;cAAA;gBAAAC;gBACA;kBACA;gBACA;kBACA;gBACA;cAAA;gBANAD;gBAAA;gBAAA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IAUA;IACA;IACAE;MAAA;MACAP;MACA;QACA;UACAQ;UACAC;UACAjD;UACAkD;YACAC;UACA;UACAC,WACA;UACAC;YAEA;cACAC;gBACA;gBACAC;cACA;YACA;cACAC;cAEAD;YACA;UACA;UACAE;YACAjB;UACA;QACA;MACA;IACA;EACA;EACAkB;IACA9B;IACA;EACA;EACA+B;IACA7D;MACA8D;QACA;UACA;YACA;UACA;YACA;UACA;QACA;UACA;QACA;UACA;QACA;MACA;IACA;IACA1D;MACA0D;QACA;UACA;QACA;UACA;QACA;MACA;MACAC;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AC1VA;AAAA;AAAA;AAAA;AAA6jD,CAAgB,67CAAG,EAAC,C;;;;;;;;;;;ACAjlD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/shoukuan/shoukuan.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/shoukuan/shoukuan.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./shoukuan.vue?vue&type=template&id=49ac8a74&scoped=true&\"\nvar renderjs\nimport script from \"./shoukuan.vue?vue&type=script&lang=js&\"\nexport * from \"./shoukuan.vue?vue&type=script&lang=js&\"\nimport style0 from \"./shoukuan.vue?vue&type=style&index=0&id=49ac8a74&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../Applications/HBuilderX.app/Contents/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 \"49ac8a74\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/shoukuan/shoukuan.vue\"\nexport default component.exports","export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./shoukuan.vue?vue&type=template&id=49ac8a74&scoped=true&\"","var components\ntry {\n components = {\n uUpload: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-upload/u-upload\" */ \"@/uni_modules/uview-ui/components/u-upload/u-upload.vue\"\n )\n },\n uPopup: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-popup/u-popup\" */ \"@/uni_modules/uview-ui/components/u-popup/u-popup.vue\"\n )\n },\n uParse: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-parse/u-parse\" */ \"@/uni_modules/uview-ui/components/u-parse/u-parse.vue\"\n )\n },\n uToast: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-toast/u-toast\" */ \"@/uni_modules/uview-ui/components/u-toast/u-toast.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function ($event) {\n _vm.issave ? _vm.submitSave() : \"\"\n }\n _vm.e1 = function ($event) {\n _vm.show = true\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./shoukuan.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./shoukuan.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<view class=\"tabs\">\n\t\t\t<view :class=\"activeIndex==item.id?'tabsItem active':'tabsItem'\" @click=\"getPay(item)\" v-for=\"item in list4\" :key=\"item.id\">\n\t\t\t\t{{item.name}}\n\t\t\t</view>\n\t\t\t<view class=\"\">\n\t\t\t\t\n\t\t\t</view>\n\t\t</view>\n\t\t<view >\n\t\t\t<view class=\"yhk\" v-show=\"activeIndex==1\">\n\t\t\t\t<view class=\"list-input\">\n\t\t\t\t\t<view class=\"title\">\n\t\t\t\t\t\t<text>姓名</text>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"content\">\n\t\t\t\t\t\t<input type=\"text\" v-model=\"yhk.bank_realname\" placeholder=\"请输入真实姓名\">\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"list-input\">\n\t\t\t\t\t<view class=\"title\">\n\t\t\t\t\t\t<text>预留手机号</text>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"content\">\n\t\t\t\t\t\t<input type=\"tel\" v-model=\"yhk.bank_mobile\" placeholder=\"请输入银行预留手机号\">\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"list-input\">\n\t\t\t\t\t<view class=\"title\">\n\t\t\t\t\t\t<text>卡号</text>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"content\">\n\t\t\t\t\t\t<input v-model=\"yhk.bank_no\" placeholder=\"请输入银行卡号\">\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"list-input\">\n\t\t\t\t\t<view class=\"title\">\n\t\t\t\t\t\t<text>开户行</text>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"content\">\n\t\t\t\t\t\t<input v-model=\"yhk.bank_address\" placeholder=\"请输入开户行信息\">\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t\n\t\t\t</view>\n\t\t\t<view class=\"zfb\" v-show=\"activeIndex==2\">\n\t\t\t\t<u-upload\n\t\t\t\t\t:fileList=\"zfbPic\"\n\t\t\t\t\t:previewFullImage=\"false\" \n\t\t\t\t\t@afterRead=\"afterRead\"\n\t\t\t\t\twidth=\"176\" height=\"176\"\n\t\t\t\t\tstyle=\"display: none;\"\n\t\t\t\t\tref=\"uploadzfb\"\n\t\t\t\t\tname=\"1\"\n\t\t\t\t\t\n\t\t\t\t></u-upload>\n\t\t\t\t<image :src=\"zfburl\" v-if=\"zfburl\" mode=\"aspectFit\" @click=\"uploadZfb\"></image>\n\t\t\t\t<image src=\"/static/image/up_img.png\" v-else mode=\"aspectFit\" @click=\"uploadZfb\"></image>\n\t\t\t\t\n\t\t\t</view>\n\t\t\t<view class=\"zfb\" v-show=\"activeIndex==3\">\n\t\t\t\t<u-upload\n\t\t\t\t\t:fileList=\"wxPic\"\n\t\t\t\t\t:previewFullImage=\"false\" \n\t\t\t\t\t@afterRead=\"afterRead\"\n\t\t\t\t\twidth=\"176\" height=\"176\"\n\t\t\t\t\tstyle=\"display: none;\"\n\t\t\t\t\tref=\"uploadwx\"\n\t\t\t\t\tname=\"2\"\n\t\t\t\t\t\n\t\t\t\t></u-upload>\n\t\t\t\t<image :src=\"wxurl\" mode=\"aspectFit\" v-if=\"wxurl\" @click=\"uploadwx\"></image>\n\t\t\t\t<image src=\"/static/image/up_img.png\" mode=\"aspectFit\" v-else @click=\"uploadwx\"></image>\n\t\t\t\t<view class=\"mesInfo\">\n\t\t\t\t\t微信收款码,上传后将无法修改,请认真上传。\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"yhk\">\n\t\t\t\t<view class=\"list-input\">\n\t\t\t\t\t<view class=\"title\">\n\t\t\t\t\t\t<text>手机号</text>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"content\">\n\t\t\t\t\t\t<input type=\"text\" disabled v-model=\"mobileForm.simplephone\" placeholder=\"请输入手机号\">\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"list-input\">\n\t\t\t\t\t<view class=\"title\">\n\t\t\t\t\t\t<text>验证码</text>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"content\">\n\t\t\t\t\t\t<input type=\"text\" v-model=\"mobileForm.code\" placeholder=\"请输入验证码\">\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"yzmBtn\" v-show=\"!codeSend\" @click=\"getCode\">\n\t\t\t\t\t\t获取验证码\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"yzmBtn\" v-show=\"codeSend\">\n\t\t\t\t\t\t{{timeNum}}s后重试\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"saveBtn\" :style=\"issave?'opacity:1':'opacity:0.4'\" @click=\"issave?submitSave():''\">\n\t\t\t\t\n\t\t\t\t{{activeIndex==1?'保存银行卡':activeIndex==2?'保存支付宝二维码':activeIndex==3?'保存微信二维码':''}}\n\t\t\t</view>\n\t\t\t<view style=\"color: #999;font-size: 30rpx;text-align: center;margin-top:30rpx;\" @click=\"show=true\">\n\t\t\t\t请您仔细阅读并理解《委托寄售服务协议》\n\t\t\t</view>\n\t\t</view>\n\t\t<u-popup :show=\"show\" mode=\"bottom\" @close=\"close\" round=\"10\" >\n\t\t\t<view style=\"padding:24rpx;max-height:calc(60vh);overflow: auto;\">\n\t\t\t\t<u-parse :content=\"content\" style=\"margin-top:45px;\"></u-parse>\n\t\t\t</view>\n\t\t</u-popup>\n\t\t<u-toast ref=\"uToast\"></u-toast>\n\t</view>\n</template>\n\n<script>\n\timport {getToken} from '@/common/auth.js'\n\timport {updateUserInfo,smsSend,getUserInfo,smsCheck,privacyPolicy} from '@/common/api.js'\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tshow:false,\n\t\t\t\tcontent:'',\n\t\t\t\tactiveIndex:1,\n\t\t\t\tlist4: [{\n\t\t\t\t\tname: '银行卡',\n\t\t\t\t\tid:1\n\t\t\t\t}, {\n\t\t\t\t\tname: '支付宝',\n\t\t\t\t\tid:2\n\t\t\t\t}, {\n\t\t\t\t\tname: '微信',\n\t\t\t\t\tid:3\n\t\t\t\t}],\n\t\t\t\tyhk:{\n\t\t\t\t\tbank_realname:null,\n\t\t\t\t\tbank_mobile:null,\n\t\t\t\t\tbank_no:null,\n\t\t\t\t\tbank_address:null,\n\t\t\t\t},\n\t\t\t\tcodeSend:false,\n\t\t\t\ttimeNum:59,\n\t\t\t\ttimer:null,\n\t\t\t\tfileList1:[],\n\t\t\t\tfileList2:[],\n\t\t\t\tzfbPic:[],\n\t\t\t\tzfburl:'',\n\t\t\t\twxPic:[],\n\t\t\t\twxurl:'',\n\t\t\t\tmobileForm:{\n\t\t\t\t\tphone: '',\n\t\t\t\t\tsimplephone:'',\n\t\t\t\t\tcode: '',\n\t\t\t\t},\n\t\t\t\tissave:false,\n\t\t\t\t\n\t\t\t};\n\t\t},\n\t\tonLoad(option) {\n\t\t\tthis.getUserInfoHandle()\n\t\t\tthis.getText()\n\t\t},\n\t\tmethods:{\n\t\t\tclose() {\n\t\t\t\tthis.show = false\n\t\t\t},\n\t\t\tgetText(){\n\t\t\t\tprivacyPolicy({id:4}).then(res=>{\n\t\t\t\t\tthis.content = res.data.content\n\t\t\t\t})\n\t\t\t},\n\t\t\t//获取用户信息\n\t\t\tgetUserInfoHandle(){\n\t\t\t\tgetUserInfo().then(res=>{\n\t\t\t\t\tthis.mobileForm.phone =res.data.mobile\n\t\t\t\t\tthis.mobileForm.simplephone=this.mobileForm.phone.replace(/^(\\d{3})\\d{4}(\\d{4})/,'$1****$2')\n\t\t\t\t\tObject.keys(this.yhk).forEach(item=>{\n\t\t\t\t\t\tthis.yhk[item] = res.data[item]\n\t\t\t\t\t})\n\t\t\t\t\tthis.zfburl = res.data.alipay_image;\n\t\t\t\t\tthis.wxurl = res.data.wechat_image;\n\t\t\t\t})\n\t\t\t},\n\t\t\tgetPay(item){\n\t\t\t\tthis.activeIndex = item.id;\n\t\t\t\tclearInterval(this.timer);\n\t\t\t\tthis.mobileForm.code='';\n\t\t\t\tthis.timeNum = 59;\n\t\t\t\tthis.codeSend = false;\n\t\t\t},\n\t\t\tgetCode(){\n\t\t\t\t// let event = this.activeIndex==1?'bank':this.activeIndex==2?'alipay':'wechat'\n\t\t\t\tif(!this.mobileForm.phone){\n\t\t\t\t\tthis.$refs.uToast.show({\n\t\t\t\t\t\tmessage:'请输入手机号码'\n\t\t\t\t\t})\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tsmsSend({mobile:this.mobileForm.phone,event:'notice'}).then(res=>{\n\t\t\t\t\tif(res.code==1){\n\t\t\t\t\t\tthis.codeSend = true;\n\t\t\t\t\t\tthis.timer = setInterval(()=>{\n\t\t\t\t\t\t\tif(this.timeNum>0){\n\t\t\t\t\t\t\t\tthis.timeNum--;\n\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\tthis.codeSend = false;\n\t\t\t\t\t\t\t\tclearInterval(this.timer)\n\t\t\t\t\t\t\t\tthis.timer = null;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},1000)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\tsubmitSave(){\n\t\t\t\tif(!this.mobileForm.code){\n\t\t\t\t\tthis.$refs.uToast.show({\n\t\t\t\t\t\tmessage:'请输入验证码'\n\t\t\t\t\t})\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tsmsCheck({mobile:this.mobileForm.phone,captcha:this.mobileForm.code,event:'notice'}).then(res=>{\n\t\t\t\t\t\n\t\t\t\t\tif(res.code==1){\n\t\t\t\t\t\tif(this.activeIndex==1){\n\t\t\t\t\t\t\tupdateUserInfo(this.yhk).then(res=>{\n\t\t\t\t\t\t\t\tthis.$refs.uToast.show({\n\t\t\t\t\t\t\t\t\tmessage:'保存成功'\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t}else if(this.activeIndex==2){\n\t\t\t\t\t\t\tupdateUserInfo({alipay_image:this.zfburl}).then(res=>{\n\t\t\t\t\t\t\t\tthis.$refs.uToast.show({\n\t\t\t\t\t\t\t\t\tmessage:'保存成功'\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t}else if(this.activeIndex==3){\n\t\t\t\t\t\t\tupdateUserInfo({wechat_image:this.wxurl}).then(res=>{\n\t\t\t\t\t\t\t\tthis.$refs.uToast.show({\n\t\t\t\t\t\t\t\t\tmessage:'保存成功'\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t\n\t\t\t},\n\t\t\tuploadZfb(){\n\t\t\t\tthis.$refs.uploadzfb.chooseFile()\n\t\t\t},\n\t\t\tuploadwx(){\n\t\t\t\tthis.$refs.uploadwx.chooseFile()\n\t\t\t},\n\t\t\t// 新增图片\n\t\t\tasync afterRead(event) {\n\t\t\t\tconsole.log(event)\n\t\t\t\t// 当设置 multiple 为 true 时, file 为数组格式,否则为对象格式\n\t\t\t\tlet lists = [].concat(event.file)\n\t\t\t\tlet fileListLen = this[`fileList${event.name}`].length\n\t\t\t\tlists.map((item) => {\n\t\t\t\t\tthis[`fileList${event.name}`].push({\n\t\t\t\t\t\t...item,\n\t\t\t\t\t\tstatus: 'uploading',\n\t\t\t\t\t\tmessage: '上传中'\n\t\t\t\t\t})\n\t\t\t\t})\n\t\t\t\tfor (let i = 0; i < lists.length; i++) {\n\t\t\t\t\tconst result = await this.uploadFilePromise(lists[i].url)\n\t\t\t\t\tif(event.name==1){\n\t\t\t\t\t\tthis.zfburl = JSON.parse(result).data.fullurl;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tthis.wxurl = JSON.parse(result).data.fullurl;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t},\n\t\t\t//上传照片\n\t\t\tuploadFilePromise(url) {\n\t\t\t\tconsole.log(url,\"uu\")\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\tlet a = uni.uploadFile({\n\t\t\t\t\t\turl: this.baseUrl+'api/common/upload', \n\t\t\t\t\t\tfilePath: url,\n\t\t\t\t\t\tname: 'file',\n\t\t\t\t\t\theader:{\n\t\t\t\t\t\t\ttoken:getToken()\n\t\t\t\t\t\t},\n\t\t\t\t\t\tformData: {\n\t\t\t\t\t\t},\n\t\t\t\t\t\tsuccess: (res) => {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(JSON.parse(res.data).code==1){\n\t\t\t\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\t\t\t\t// this.finishImageList.push({url:JSON.parse(res.data).data.fullurl,path:JSON.parse(res.data).data.url})\n\t\t\t\t\t\t\t\t\tresolve(res.data)\n\t\t\t\t\t\t\t\t}, 1000)\n\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\tuni.$u.toast(JSON.parse(res.data).msg)\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tresolve(res.data)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\tfail: (res) => {\n\t\t\t\t\t\t\tconsole.log(res,\"rrr\")\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t})\n\t\t\t},\n\t\t},\n\t\tdestroyed() {\n\t\t\tclearInterval(this.timer)\n\t\t\tthis.timer = null;\n\t\t},\n\t\twatch:{\n\t\t\tactiveIndex:{\n\t\t\t\thandler(newValue, oldValue) {\n\t\t\t\t\tif(newValue==1){\n\t\t\t\t\t\tif(this.yhk.bank_realname && this.yhk.bank_mobile && this.yhk.bank_no && this.yhk.bank_address){\n\t\t\t\t\t\t\tthis.issave = true;\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t this.issave = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}else if(newValue==2){\n\t\t\t\t\t\tthis.issave = true;\n\t\t\t\t\t}else if(newValue==3){\n\t\t\t\t\t\tthis.issave = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tyhk:{\n\t\t\t\thandler(newValue, oldValue) {\n\t\t\t\t\tif(newValue.bank_realname && newValue.bank_mobile && newValue.bank_no && newValue.bank_address){\n\t\t\t\t\t\tthis.issave = true;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tthis.issave = false;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tdeep: true\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n\t@import 'shoukuan.scss';\n</style>\n","import mod from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./shoukuan.vue?vue&type=style&index=0&id=49ac8a74&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./shoukuan.vue?vue&type=style&index=0&id=49ac8a74&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1697873050899\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |