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.
 
 
 
 
high-mini/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/resetpasswd.js.map

1 lines
19 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:////Users/yangjie/high-mini/pages/login/resetpasswd.vue?3daa","webpack:////Users/yangjie/high-mini/pages/login/resetpasswd.vue?67f3","webpack:////Users/yangjie/high-mini/pages/login/resetpasswd.vue?5ddb","webpack:////Users/yangjie/high-mini/pages/login/resetpasswd.vue?98c7","uni-app:///pages/login/resetpasswd.vue","webpack:////Users/yangjie/high-mini/pages/login/resetpasswd.vue?e619","webpack:////Users/yangjie/high-mini/pages/login/resetpasswd.vue?5ee1"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,wG;AACAA,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwH;AACxH;AAC+D;AACL;AACc;;;AAGxE;AAC0M;AAC1M,gBAAgB,iNAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,sFAAM;AACR,EAAE,+FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0FAAU;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;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA2yB,CAAgB,yyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC0B/zB,6F;;;;;;;;;;;;;;;;;;;;;;;;;eACA,EACA,IADA,kBACA,CACA,SACA,eADA,EAEA,QAFA,EAGA,UAHA,EAIA,oBAJA,EAKA,0BALA,EAMA,uBANA,GAQA,CAVA,EAWA,MAXA,oBAWA,CAEA,CAbA,EAcA,WACA,KADA,mBACA,EADA,EAEA,OAFA,qBAEA,kBACA,4BACA,OACA,CACA,wDACA,oDACA,aACA,CACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OALA,EAKA,IALA;;;AAQA,KAtBA;AAuBA,YAvBA,sBAuBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAXA,EAWA,IAXA;AAYA,KAtCA;AAuCA,WAvCA,qBAuCA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,uBADA;;AAGA;AACA;AACA;AACA,yBADA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCADA;AAEA,gCAFA;AAGA;AACA;AACA;AACA;AACA,qBAFA,EAEA,IAFA;AAGA,mBARA;;AAUA;AACA;AACA;AACA;;AAEA,WAxBA;AAyBA;AACA;AACA;AACA,WA5BA;;AA8BA,OA/BA,EA+BA,IA/BA;;;AAkCA,KA1FA,EAdA,E;;;;;;;;;;;;;AC3BA;AAAA;AAAA;AAAA;AAA48C,CAAgB,m4CAAG,EAAC,C;;;;;;;;;;;ACAh+C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/login/resetpasswd.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/login/resetpasswd.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./resetpasswd.vue?vue&type=template&id=7bcccf44&\"\nvar renderjs\nimport script from \"./resetpasswd.vue?vue&type=script&lang=js&\"\nexport * from \"./resetpasswd.vue?vue&type=script&lang=js&\"\nimport style0 from \"./resetpasswd.vue?vue&type=style&index=0&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 null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/login/resetpasswd.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--16-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!./resetpasswd.vue?vue&type=template&id=7bcccf44&\"","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 \"-!../../../../../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--12-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!./resetpasswd.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--12-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!./resetpasswd.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n <view class=\"logo\">\r\n\t\t\t<view class=\"img\">\r\n\t\t\t\t<image mode=\"widthFix\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAMAAAC3Ycb+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhQTFRF//////NxTz08/HlRmtzPfHJq5evssrCmR4PFPwAADilJREFUeNrsnY124yoMhIkbSe//xtuk7caxwWgAJ0Dma/eec8+GxWg8QuCfhEAIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhMyHfmNqr/xVTR6Lo22y9RRqmMjyBiwaVPM1FjGdVY3lXUjkeJCjmVGTN8oRVcTAf8Ams8db5fiOp9Yf0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1jQQjCLIUX1uw4QR5pCzp2CHFKas7QTQ9MW4HZy02i19UZpWXA71Y5ODIpDZPv9wg/ntqevyy6PuxS/bLTq140G9YhjgN3KE/7sdupo5PaGSbynpAE5cW8g371KNGyg5+Kw6QEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIVH+CTAA2PXaRL7YfsgAAAAASUVORK5CYII=\"></image>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"form re\">\r\n\t\t\t<view class=\"username\">\r\n\t\t\t\t<view class=\"get-code\" :style=\"{'color':getCodeBtnColor}\" @click.stop=\"getCode()\">{{getCodeText}}</view>\r\n\t\t\t\t<input placeholder=\"请输入手机号\" v-model=\"phoneNumber\" placeholder-style=\"color: rgba(255,255,255,0.8);\"/>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"code\">\r\n\t\t\t\t<input placeholder=\"请输入验证码\" v-model=\"code\" placeholder-style=\"color: rgba(255,255,255,0.8);\"/>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"password\">\r\n\t\t\t\t<input placeholder=\"请输入密码\" v-model=\"passwd\" password=true placeholder-style=\"color: rgba(255,255,255,0.8);\"/>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"btn\" @tap=\"doReset\">重置密码</view>\r\n\r\n\t\t</view>\r\n\t\t\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport md5 from \"@/common/SDK/md5.min.js\";\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tphoneNumber:\"\",\r\n\t\t\t\tcode:'',\r\n\t\t\t\tpasswd:\"\",\r\n\t\t\t\tgetCodeText:'获取验证码',\r\n\t\t\t\tgetCodeBtnColor:\"#ffffff\",\r\n\t\t\t\tgetCodeisWaiting:false\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\r\n\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tTimer(){},\r\n\t\t\tgetCode(){\r\n\t\t\t\tif(this.getCodeisWaiting){\r\n\t\t\t\t\treturn ;\r\n\t\t\t\t}\r\n\t\t\t\tif(!(/^1(3|4|5|6|7|8|9)\\d{9}$/.test(this.phoneNumber))){ \r\n\t\t\t\t\tuni.showToast({title: '请填写正确手机号码',icon:\"none\"});\r\n\t\t\t\t\treturn false; \r\n\t\t\t\t} \r\n\t\t\t\tthis.getCodeText = \"发送中...\"\r\n\t\t\t\tthis.getCodeisWaiting = true;\r\n\t\t\t\tthis.getCodeBtnColor = \"rgba(255,255,255,0.5)\"\r\n\t\t\t\t//示例用定时器模拟请求效果\r\n\t\t\t\tsetTimeout(()=>{\r\n\t\t\t\t\tuni.showToast({title: '验证码已发送',icon:\"none\"});\r\n\t\t\t\t\t//示例默认1234,生产中请删除这一句。\r\n\t\t\t\t\tthis.code=1234;\r\n\t\t\t\t\tthis.setTimer();\r\n\t\t\t\t},1000)\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\tsetTimer(){\r\n\t\t\t\tlet holdTime = 60;\r\n\t\t\t\tthis.getCodeText = \"重新获取(60)\"\r\n\t\t\t\tthis.Timer = setInterval(()=>{\r\n\t\t\t\t\tif(holdTime<=0){\r\n\t\t\t\t\t\tthis.getCodeisWaiting = false;\r\n\t\t\t\t\t\tthis.getCodeBtnColor = \"#ffffff\";\r\n\t\t\t\t\t\tthis.getCodeText = \"获取验证码\"\r\n\t\t\t\t\t\tclearInterval(this.Timer);\r\n\t\t\t\t\t\treturn ;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.getCodeText = \"重新获取(\"+holdTime+\")\"\r\n\t\t\t\t\tholdTime--;\r\n\t\t\t\t\t\r\n\t\t\t\t},1000)\r\n\t\t\t},\r\n\t\t\tdoReset(){\r\n\t\t\t\tuni.hideKeyboard()\r\n\t\t\t\t//模板示例部分验证规则\r\n\t\t\t\tif(!(/^1(3|4|5|6|7|8|9)\\d{9}$/.test(this.phoneNumber))){ \r\n\t\t\t\t\tuni.showToast({title: '请填写正确手机号码',icon:\"none\"});\r\n\t\t\t\t\treturn false; \r\n\t\t\t\t} \r\n\r\n\t\t\t\t//示例验证码,实际使用中应为请求服务器比对验证码是否正确。\r\n\t\t\t\tif(this.code!=1234){ \r\n\t\t\t\t\tuni.showToast({title: '验证码不正确',icon:\"none\"});\r\n\t\t\t\t\treturn false; \r\n\t\t\t\t}\r\n\t\t\t\tuni.showLoading({\r\n\t\t\t\t\ttitle: '提交中...'\r\n\t\t\t\t})\r\n\t\t\t\t//模板示例修改本地储存的用户信息,实际使用中请替换为上传服务器修改。\r\n\t\t\t\tsetTimeout(()=>{\r\n\t\t\t\t\tuni.getStorage({\r\n\t\t\t\t\t\tkey: 'UserList',\r\n\t\t\t\t\t\tsuccess: (res)=>{\r\n\t\t\t\t\t\t\tuni.hideLoading()\r\n\t\t\t\t\t\t\tfor(let i in res.data){\r\n\t\t\t\t\t\t\t\tlet row = res.data[i];\r\n\t\t\t\t\t\t\t\tif(row.username==this.phoneNumber){\r\n\t\t\t\t\t\t\t\t\t//修改记录,密码md5\r\n\t\t\t\t\t\t\t\t\tres.data[i].passwd = md5(this.passwd);\r\n\t\t\t\t\t\t\t\t\tuni.setStorage({\r\n\t\t\t\t\t\t\t\t\t\tkey: 'UserList',\r\n\t\t\t\t\t\t\t\t\t\tdata: res.data,\r\n\t\t\t\t\t\t\t\t\t\tsuccess: function () {\r\n\t\t\t\t\t\t\t\t\t\t\tuni.showToast({title: '密码已重置',icon:\"success\"});\r\n\t\t\t\t\t\t\t\t\t\t\tsetTimeout(()=>{\r\n\t\t\t\t\t\t\t\t\t\t\t\tuni.navigateBack();\r\n\t\t\t\t\t\t\t\t\t\t\t},1000)\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\treturn ;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tuni.showToast({title: '手机号码未注册',icon:\"none\"});\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tfail:function(e){\r\n\t\t\t\t\t\t\tuni.hideLoading()\r\n\t\t\t\t\t\t\tuni.showToast({title: '手机号码未注册',icon:\"none\"});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t},1000)\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t@import \"../../static/css/login.scss\";\r\n\r\n\t\r\n</style>\r\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/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!./resetpasswd.vue?vue&type=style&index=0&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/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!./resetpasswd.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1615474601089\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":""}