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
15 KiB
1 lines
15 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/Uni-App/HBuilderProjects/Test/pages/Verified/Verified.vue?b870","webpack:///D:/Uni-App/HBuilderProjects/Test/pages/Verified/Verified.vue?06e3","webpack:///D:/Uni-App/HBuilderProjects/Test/pages/Verified/Verified.vue?8637","uni-app:///pages/Verified/Verified.vue","webpack:///D:/Uni-App/HBuilderProjects/Test/pages/Verified/Verified.vue?7135"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","renderjs","component","options","__file","components","uNavbar","uLine","uGap","uForm","uFormItem","uParse","e","message","indexOf","console","error","render","_vm","this","_h","$createElement","_self","_c","staticRenderFns","_withStripped"],"mappings":"qIAAA,KACA,YACA,Y,mDAFmBA,GAAGC,kCAAoCC,EAG1DC,EAAWC,a,gECHX,uHACIC,EADJ,OASIC,EAAY,eACd,aACA,OACA,QACA,EACA,KACA,WACA,MACA,EACA,OACAD,GAGFC,EAAUC,QAAQC,OAAS,8BACZ,aAAAF,E,0CCvBf,qBAAmtC,EAAG,G,gCCAttC,6GAAooB,eAAG,G,6HC0DvoB,O,+WAFA,+BACA,6B,EAEA,CACA,OADA,WAEA,uCAEA,KAJA,WAIA,WACA,OACA,+GACA,SACA,OACA,UACA,cACA,WACA,oBACA,iBACA,sBACA,mCAGA,iBACA,cACA,aACA,oBACA,wBACA,sBACA,0CAGA,UACA,cACA,aACA,oBACA,iBACA,sBACA,mCAGA,SACA,cACA,YACA,mBACA,gBACA,sBACA,qCAMA,SAEA,eAFA,SAEA,KAIA,eANA,SAMA,KACA,oBACA,SACA,gBAIA,kBAbA,WAcA,oBAKA,qBAnBA,WAmBA,oJAEA,oBACA,2BACA,mBACA,oBAEA,GACA,WACA,kBACA,UACA,YAEA,gBAbA,UAcA,kCAdA,UAcA,EAdA,OAeA,yBACA,kBACA,aAjBA,mDAoBA,OACA,cACA,OAEA,wBACA,kBAzBA,iD,+FC9HA,IAAIG,E,sGACJ,IACEA,EAAa,CACXC,QAAS,WACP,OAAO,qHAITC,MAAO,WACL,OAAO,iHAITC,KAAM,WACJ,OAAO,+GAITC,MAAO,WACL,OAAO,iHAITC,UAAW,WACT,OAAO,2HAITC,OAAQ,WACN,OAAO,oHAKX,MAAOC,GACP,IAC+C,IAA7CA,EAAEC,QAAQC,QAAQ,wBACa,IAA/BF,EAAEC,QAAQC,QAAQ,QAWlB,MAAMF,EATNG,QAAQC,MAAMJ,EAAEC,SAChBE,QAAQC,MAAM,mBACdD,QAAQC,MACN,uFAEFD,QAAQC,MACN,mDAMN,IAAIC,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eACJH,EAAII,MAAMC,IAGjBC,EAAkB,GACtBP,EAAOQ,eAAgB,I","file":"pages/Verified/Verified.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/Verified/Verified.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./Verified.vue?vue&type=template&id=27a41b86&scoped=true&\"\nvar renderjs\nimport script from \"./Verified.vue?vue&type=script&lang=js&\"\nexport * from \"./Verified.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Verified.vue?vue&type=style&index=0&id=27a41b86&lang=scss&scoped=true&\"\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 \"27a41b86\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/Verified/Verified.vue\"\nexport default component.exports","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../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!./Verified.vue?vue&type=style&index=0&id=27a41b86&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../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!./Verified.vue?vue&type=style&index=0&id=27a41b86&lang=scss&scoped=true&\"","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!./Verified.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!./Verified.vue?vue&type=script&lang=js&\"","<!--实名认证页面-->\r\n<template>\n\t<view class=\"back\">\n\t\t<u-navbar\r\n\t\t\ttitle=\"实名认证\"\r\n\t\t\t:safeAreaInsetTop=\"true\"\r\n\t\t\t:fixed=\"true\"\r\n\t\t\tbgColor=\"#FFFFFF00\"\r\n\t\t\t:placeholder=\"true\"\r\n\t\t\t:border=\"true\"\r\n\t\t\t@leftClick=\"onTouchBackButton\"\r\n\t\t/>\r\n\t\t<u-line :dashed=\"false\" color=\"#E2E2E2\" customStyle=\"border: 1rpx solid #E2E2E2;\"></u-line>\r\n\t\t<text class=\"top_text\">请完善您的个人信息</text>\r\n\t\t<u-gap height=\"50rpx\"/>\r\n\t\t<view class=\"form_out_box_global\">\r\n\t\t\t<u-form\r\n\t\t\t\tlabelPosition=\"left\"\r\n\t\t\t\tref=\"form1\"\r\n\t\t\t\t:model=\"player\"\r\n\t\t\t\t:rules=\"rules\"\r\n\t\t\t>\r\n\t\t\t\t<u-form-item v-for=\"(item,index) in rules\"\r\n\t\t\t\t\t:key=\"item.value\"\r\n\t\t\t\t\t:prop=\"index\"\r\n\t\t\t\t\tborderBottom\r\n\t\t\t\t\t@click=\"onTouchOneItem\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<view class=\"form_item_global\">\r\n\t\t\t\t\t\t<text class=\"form_title_global\">{{item.title}}</text>\r\n\t\t\t\t\t\t<input \r\n\t\t\t\t\t\t\t:placeholder=\"item.message\"\r\n\t\t\t\t\t\t\tclass=\"form_input_global\"\r\n\t\t\t\t\t\t\t:value=\"item.value\"\r\n\t\t\t\t\t\t\tplaceholder-class=\"form_input_placeholder_global\"\r\n\t\t\t\t\t\t\t@blur=\"(obj)=>{\r\n\t\t\t\t\t\t\t\tonBlurCallback(index,obj);\r\n\t\t\t\t\t\t\t}\"\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</u-form-item>\r\n\t\t\t</u-form>\r\n\t\t\t<view class=\"attention_box\">\r\n\t\t\t\t<text style=\"font-size: 28rpx;font-weight: 400;color: #666666;\">注意事项</text>\r\n\t\t\t\t<u-parse\r\n\t\t\t\t\t:content=\"content\"\r\n\t\t\t\t\tclass=\"attention_info\"\r\n\t\t\t\t></u-parse>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<u-gap height=\"15rpx\"/>\r\n\t\t<button class=\"confirm_button\" @click=\"onTouchConfirmButton\">确定</button>\n\t</view>\n</template>\n\n<script>\r\n\tvar Define = getApp().globalData.Define;\r\n\tvar Player\t= getApp().globalData.Player;\r\n\timport {post} from '@/common/api.js'\n\texport default {\r\n\t\tonLoad() {\r\n\t\t\tthis.$refs.form1.setRules(this.rules);\r\n\t\t},\n\t\tdata() {\n\t\t\treturn {\r\n\t\t\t\tcontent : '<p>1.实名认证获取的信息均只会用于进行实名认证.</p><p>2.您所输入的银行卡账号信息必须在实名认证的人名下.</p><p>3.实名认证信息不会保存到本地,如果您需要修改,请重新填写.</p>',\r\n\t\t\t\tplayer : Player,\n\t\t\t\trules : {\r\n\t\t\t\t\t\"username\" : {\r\n\t\t\t\t\t\ttype : 'string',\r\n\t\t\t\t\t\ttitle : '姓名',\r\n\t\t\t\t\t\tmessage : '请输入您的真实姓名',\r\n\t\t\t\t\t\tvalue : Player.username,\r\n\t\t\t\t\t\tvalidator:(obj)=>{\r\n\t\t\t\t\t\t\tthis.player.username = obj.detail.value;\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"identitycardnum\" : {\r\n\t\t\t\t\t\ttype : 'string',\r\n\t\t\t\t\t\ttitle : '身份证号',\r\n\t\t\t\t\t\tmessage : '请输入您的身份证号',\r\n\t\t\t\t\t\tvalue : Player.identitycardnum,\r\n\t\t\t\t\t\tvalidator:(obj)=>{\r\n\t\t\t\t\t\t\tthis.player.identitycardnum = obj.detail.value;\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"bankcard\" : {\r\n\t\t\t\t\t\ttype : 'string',\r\n\t\t\t\t\t\ttitle : '银行卡号',\r\n\t\t\t\t\t\tmessage : '请输入您的银行卡号',\r\n\t\t\t\t\t\tvalue : Player.bankcard,\r\n\t\t\t\t\t\tvalidator:(obj)=>{\r\n\t\t\t\t\t\t\tthis.player.bankcard = obj.detail.value;\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"deposit\" : {\r\n\t\t\t\t\t\ttype : 'string',\r\n\t\t\t\t\t\ttitle : '开户行',\r\n\t\t\t\t\t\tmessage : '请输入您的开户行',\r\n\t\t\t\t\t\tvalue : Player.deposit,\r\n\t\t\t\t\t\tvalidator:(obj)=>{\r\n\t\t\t\t\t\t\tthis.player.deposit = obj.detail.value;\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t},\r\n\t\t\t\t},\n\t\t\t};\n\t\t},\r\n\t\tmethods:{\r\n\t\t\t///点击了某个item反馈\r\n\t\t\tonTouchOneItem(prop){\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\t///当前某个表单输入发生了改变的时候回调\r\n\t\t\tonBlurCallback(key,obj){\r\n\t\t\t\tvar item = this.rules[key];\r\n\t\t\t\tif(item != null){\r\n\t\t\t\t\titem.validator(obj);\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t///点击了返回按钮\r\n\t\t\tonTouchBackButton(){\r\n\t\t\t\tuni.navigateBack({\r\n\t\t\t\t\t\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t///点击了提交按钮\r\n\t\t\tasync onTouchConfirmButton(){\r\n\t\t\t\t//收集信息,交给服务器\r\n\t\t\t\tvar username \t\t= this.player.username;\r\n\t\t\t\tvar identitycardnum\t= this.player.identitycardnum;\r\n\t\t\t\tvar deposit\t\t\t= this.player.deposit;\r\n\t\t\t\tvar bankcard\t\t= this.player.bankcard;\r\n\t\t\t\t///下方代码仅供测试用\r\n\t\t\t\tlet data\t\t= {\r\n\t\t\t\t\tusername : username,\r\n\t\t\t\t\tidentitycardnum : identitycardnum,\r\n\t\t\t\t\tdeposit : deposit,\r\n\t\t\t\t\tbankcard : bankcard,\r\n\t\t\t\t};\r\n\t\t\t\tuni.showLoading();\r\n\t\t\t\tvar res = await post('users/authrealname',data);\r\n\t\t\t\tconsole.log(\"实名认证返回:\",res);\r\n\t\t\t\tuni.hideLoading();\r\n\t\t\t\tif(res.length <= 1){\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tlet info = res[1];\r\n\t\t\t\tlet code = info.data.code;\r\n\t\t\t\tif(code == 0){\r\n\t\t\t\t\t//成功了。\r\n\t\t\t\t\tthis.player.needrealname = 0;\r\n\t\t\t\t\tuni.navigateBack();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.top_text{\r\n\t\twidth: 288rpx;\r\n\t\theight: 45rpx;\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: bold;\r\n\t\tcolor: #333333;\r\n\t\topacity: 1;\r\n\t\tposition: relative;\r\n\t\tleft: 24rpx;\r\n\t\ttop: 38rpx;\r\n\t}\r\n\t\r\n\t.attention_box{\r\n\t\twidth: 702rpx;\r\n\t\theight: 240rpx;\r\n\t\t//background-color: #0081FF;\r\n\t\tborder-radius: 20rpx;\r\n\t\tposition: relative;\r\n\t\ttop: 30rpx;\r\n\t}\r\n\t///注意事项\r\n\t.attention_title{\r\n\t\twidth: 104rpx;\r\n\t\tfont-size: 26rpx;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #666666;\r\n\t\topacity: 1;\r\n\t\tposition: absolute;\r\n\t}\r\n\t.attention_info{\r\n\t\t//text-indent: 2em;\r\n\t\tfont-size: 24rpx;\r\n\t\tfont-weight: 400;\r\n\t\tline-height: 40rpx;\r\n\t\tposition: absolute;\r\n\t\ttop: 50rpx;\r\n\t\tcolor: #999999;\r\n\t}\r\n\t.confirm_button{\r\n\t\twidth: 702rpx;\r\n\t\theight: 90rpx;\r\n\t\tbackground: #D49B4B;\r\n\t\topacity: 1;\r\n\t\tborder-radius: 93rpx;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: row;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\tposition: fixed;\r\n\t\tfont-size: 36rpx;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #FFFFFF;\r\n\t\tbottom: 40rpx;\r\n\t\tleft: 24rpx;\r\n\t}\n</style>\n","var components\ntry {\n components = {\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-navbar/u-navbar\" */ \"@/uni_modules/uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n uLine: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-line/u-line\" */ \"@/uni_modules/uview-ui/components/u-line/u-line.vue\"\n )\n },\n uGap: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-gap/u-gap\" */ \"@/uni_modules/uview-ui/components/u-gap/u-gap.vue\"\n )\n },\n uForm: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-form/u-form\" */ \"@/uni_modules/uview-ui/components/u-form/u-form.vue\"\n )\n },\n uFormItem: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-form-item/u-form-item\" */ \"@/uni_modules/uview-ui/components/u-form-item/u-form-item.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 }\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}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"],"sourceRoot":""}
|