password.js.map 13 KB

1
  1. {"version":3,"sources":["uni-app:///main.js","webpack:///G:/item/appBase/pages/set/password.vue?ad7a","webpack:///G:/item/appBase/pages/set/password.vue?988c","webpack:///G:/item/appBase/pages/set/password.vue?00a0","webpack:///G:/item/appBase/pages/set/password.vue?6405","uni-app:///pages/set/password.vue","webpack:///G:/item/appBase/pages/set/password.vue?5517","webpack:///G:/item/appBase/pages/set/password.vue?e4c8"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,iG;AACAA,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqH;AACrH;AAC4D;AACL;AACc;;;AAGrE;AAC2K;AAC3K,gBAAgB,oLAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,mFAAM;AACR,EAAE,4FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uFAAU;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;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACbA;AAAA;AAAA;AAAA;AAAgoB,CAAgB,qpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACoBppB;AACA;AACA,wD;AACA;AACA,MADA,kBACA;AACA;AACA,cADA,EACA;AACA,kBAFA,EAEA;AACA,iBAHA,EAGA;AACA,iBAJA,EAIA;AACA,kBALA,EAKA;AACA,mBANA,CAMA;AANA;AAQA,GAVA;AAWA;AACA,mCADA,CAXA;;AAcA,QAdA,oBAcA;AACA;AACA;AACA,KAFA,MAEA;AACA;AACA;AACA;AACA,GArBA;AAsBA;AACA;AACA,aAFA,qBAEA,CAFA,EAEA;AACA;AACA;AACA;AACA,KANA,EAtBA;;AA8BA;AACA;AACA,gBAFA,0BAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA,SAFA,EAEA,IAFA;AAGA;AACA;AACA,4BADA;AAEA,kBAFA;;AAIA,YAJA,CAIA,uCAJA;AAKA,aALA,CAKA;AACA;AACA,SAPA;AAQA;AACA,KA9BA;AA+BA,WA/BA,mBA+BA,CA/BA,EA+BA;AACA;AACA;AACA,6BADA;AAEA,6BAFA;AAGA,+BAHA;;AAKA,UALA,CAKA;AACA;AACA;AACA,OARA;AASA,WATA,CASA;AACA;AACA;AACA,OAZA;AAaA,KA9CA,EA9BA,E;;;;;;;;;;;;ACvBA;AAAA;AAAA;AAAA;AAA0pC,CAAgB,2nCAAG,EAAC,C;;;;;;;;;;;ACA9qC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/set/password.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/set/password.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./password.vue?vue&type=template&id=34eb2ea1&\"\nvar renderjs\nimport script from \"./password.vue?vue&type=script&lang=js&\"\nexport * from \"./password.vue?vue&type=script&lang=js&\"\nimport style0 from \"./password.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\work\\\\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/set/password.vue\"\nexport default component.exports","export * from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./password.vue?vue&type=template&id=34eb2ea1&\"","var components\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.loding ? \"\" : _vm.confirm()\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./password.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./password.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"container\">\r\n\t\t<view class=\"row b-b\">\r\n\t\t\t<text class=\"tit\">手机号</text>\r\n\t\t\t<input class=\"input\" v-model=\"account\" type=\"text\" placeholder=\"请填写手机号\" placeholder-class=\"placeholder\" />\r\n\t\t</view>\r\n\t\t<view class=\"row b-b\">\r\n\t\t\t<text class=\"tit\">验证码</text>\r\n\t\t\t<input class=\"input\" v-model=\"captcha\" type=\"text\" placeholder=\"请填写验证码\" placeholder-class=\"placeholder\" />\r\n\t\t\t<view class=\"code\" @click=\"verification\">{{ countDown == 0 ? '验证码' : countDown }}</view>\r\n\t\t</view>\r\n\t\t<view class=\"row b-b\">\r\n\t\t\t<text class=\"tit\">新密码</text>\r\n\t\t\t<input class=\"input\" v-model=\"password\" type=\"password\" placeholder=\"请填写新密码\" placeholder-class=\"placeholder\" />\r\n\t\t</view>\r\n\t\t<button class=\"add-btn\" :class=\"{'bg-gray':loding}\" @click=\"loding?'':confirm()\">提交</button>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\nimport { verify } from '@/api/login.js';\r\nimport { mapState } from 'vuex';\r\nimport { registerReset } from '@/api/set.js';\r\nexport default {\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\ttime: '', //保存倒计时对象\r\n\t\t\tcountDown: 0, //倒计时\r\n\t\t\taccount: '', //手机号\r\n\t\t\tcaptcha: '', //验证码\r\n\t\t\tpassword: '' ,//新密码\r\n\t\t\tloding:false,//是否载入中\r\n\t\t};\r\n\t},\r\n\tcomputed: {\r\n\t\t...mapState(['userInfo'])\r\n\t},\r\n\tonLoad() {\r\n\t\tif(this.userInfo.phone == null){\r\n\t\t\tthis.account = '';\r\n\t\t}else{\r\n\t\t\tthis.account = this.userInfo.phone;\r\n\t\t\tthis.show = false;\r\n\t\t}\r\n\t},\r\n\twatch: {\r\n\t\t// 监听倒计时\r\n\t\tcountDown(i) {\r\n\t\t\tif (i == 0) {\r\n\t\t\t\tclearInterval(this.time);\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\tmethods: {\r\n\t\t//发送验证码\r\n\t\tverification() {\r\n\t\t\tlet obj = this;\r\n\t\t\tif (this.account == '') {\r\n\t\t\t\tthis.$api.msg('请输入电话号码');\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tif (!/(^1[3|4|5|7|8][0-9]{9}$)/.test(this.account)) {\r\n\t\t\t\tthis.$api.msg('请输入正确的手机号');\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\t// 判断是否在倒计时\r\n\t\t\tif (obj.countDown > 0) {\r\n\t\t\t\treturn false;\r\n\t\t\t} else {\r\n\t\t\t\tobj.countDown = 60;\r\n\t\t\t\tobj.time = setInterval(() => {\r\n\t\t\t\t\tobj.countDown--;\r\n\t\t\t\t}, 1000);\r\n\t\t\t\t//调用验证码接口\r\n\t\t\t\tverify({\r\n\t\t\t\t\tphone: obj.account,\r\n\t\t\t\t\ttype: ''\r\n\t\t\t\t})\r\n\t\t\t\t\t.then(({ data }) => {})\r\n\t\t\t\t\t.catch(err => {\r\n\t\t\t\t\t\tconsole.log(err);\r\n\t\t\t\t\t});\r\n\t\t\t}\r\n\t\t},\r\n\t\tconfirm(e) {\r\n\t\t\tthis.loding = true;\r\n\t\t\tregisterReset({\r\n\t\t\t\taccount: this.account,\r\n\t\t\t\tcaptcha: this.captcha,\r\n\t\t\t\tpassword: this.password,\r\n\t\t\t})\r\n\t\t\t\t.then(({ data }) => {\r\n\t\t\t\t\tthis.loding = false;\r\n\t\t\t\t\tthis.$api.msg('修改成功');\r\n\t\t\t\t})\r\n\t\t\t\t.catch(err => {\r\n\t\t\t\t\tthis.loding = false;\r\n\t\t\t\t\tconsole.log(err);\r\n\t\t\t\t});\r\n\t\t}\r\n\t}\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\npage {\r\n\tbackground: $page-color-base;\r\n}\r\n.container {\r\n\tpadding-top: 30rpx;\r\n}\r\n.row {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tposition: relative;\r\n\tpadding: 0 30rpx;\r\n\theight: 110rpx;\r\n\tbackground: #fff;\r\n\r\n\t.tit {\r\n\t\tflex-shrink: 0;\r\n\t\twidth: 120rpx;\r\n\t\tfont-size: 30rpx;\r\n\t\tcolor: $font-color-dark;\r\n\t}\r\n\t.input {\r\n\t\tflex: 1;\r\n\t\tfont-size: 30rpx;\r\n\t\tcolor: $font-color-dark;\r\n\t}\r\n\t.iconlocation {\r\n\t\tfont-size: 36rpx;\r\n\t\tcolor: $font-color-light;\r\n\t}\r\n}\r\n.add-btn {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\twidth: 690rpx;\r\n\theight: 80rpx;\r\n\tmargin: 60rpx auto;\r\n\tfont-size: $font-lg;\r\n\tcolor: #fff;\r\n\tbackground-color: $base-color;\r\n\tborder-radius: 10rpx;\r\n\t// box-shadow: 1px 2px 5px rgba(219, 63, 96, 0.4);\r\n}\r\n\r\n.bg-gray{\r\n\tbackground-color: $color-gray;\r\n}\r\n.code {\r\n\tcolor: #5dbc7c;\r\n\tfont-size: 23rpx;\r\n\tborder-left: 1px solid #eeeeee;\r\n\twidth: 150rpx;\r\n\tflex-shrink: 0;\r\n\ttext-align: center;\r\n}\r\n</style>\r\n","import mod from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./password.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./password.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1618025084420\n var cssReload = require(\"D:/work/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":""}