phone.js.map 13 KB

1
  1. {"version":3,"sources":["uni-app:///main.js","webpack:///G:/item/appBase/pages/set/phone.vue?d65e","webpack:///G:/item/appBase/pages/set/phone.vue?ee93","webpack:///G:/item/appBase/pages/set/phone.vue?e0de","webpack:///G:/item/appBase/pages/set/phone.vue?5b81","uni-app:///pages/set/phone.vue","webpack:///G:/item/appBase/pages/set/phone.vue?3a9c","webpack:///G:/item/appBase/pages/set/phone.vue?0935"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,2F;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AAC2K;AAC3K,gBAAgB,oLAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;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;AAA6nB,CAAgB,kpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkBjpB;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;AACA,aAFA,qBAEA,CAFA,EAEA;AACA;AACA;AACA;AACA,KANA,EAXA;;AAmBA;AACA,mCADA,CAnBA;;AAsBA,QAtBA,oBAsBA;AACA;AACA;AACA,KAFA,MAEA;AACA;AACA;AACA;AACA,GA7BA;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,4BAFA;;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;AACA,0BADA;AAEA,4BAFA;;AAIA,UAJA,CAIA;AACA;AACA;AACA;AACA;AACA,mCADA;;AAGA,SALA,EAKA,IALA;AAMA,OAZA;AAaA,WAbA,CAaA;AACA;AACA;AACA,OAhBA;AAiBA,KAnDA,EA9BA,E;;;;;;;;;;;;;ACrBA;AAAA;AAAA;AAAA;AAAupC,CAAgB,wnCAAG,EAAC,C;;;;;;;;;;;ACA3qC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/set/phone.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/set/phone.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./phone.vue?vue&type=template&id=49a9ce50&\"\nvar renderjs\nimport script from \"./phone.vue?vue&type=script&lang=js&\"\nexport * from \"./phone.vue?vue&type=script&lang=js&\"\nimport style0 from \"./phone.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/phone.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!./phone.vue?vue&type=template&id=49a9ce50&\"","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!./phone.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!./phone.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>\r\n\t\t\t<view class=\"row b-b\">\r\n\t\t\t\t<text class=\"tit\">验证码</text>\r\n\t\t\t\t<input class=\"input\" v-model=\"captcha\" type=\"text\" placeholder=\"请填写验证码\" placeholder-class=\"placeholder\" />\r\n\t\t\t\t<view class=\"code\" @click=\"verification\">{{ countDown == 0 ? '验证码' : countDown }}</view>\r\n\t\t\t</view>\r\n\t\t\t<button class=\"add-btn\" :class=\"{ 'bg-gray': loding }\" @click=\"loding ? '' : confirm()\">提交</button>\r\n\t\t</view>\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, binding } 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\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\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\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: 'BDING_CODE'\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\tlet obj = this;\r\n\t\t\tobj.loding = true;\r\n\t\t\tbinding({\r\n\t\t\t\tphone: obj.account,\r\n\t\t\t\tcaptcha: obj.captcha\r\n\t\t\t})\r\n\t\t\t\t.then(({ data }) => {\r\n\t\t\t\t\tobj.$api.msg('绑定成功!');\r\n\t\t\t\t\tsetTimeout(function() {\r\n\t\t\t\t\t\tobj.loding = false;\r\n\t\t\t\t\t\tuni.switchTab({\r\n\t\t\t\t\t\t\turl: '/pages/user/user'\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}, 1000);\r\n\t\t\t\t})\r\n\t\t\t\t.catch(err => {\r\n\t\t\t\t\tobj.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.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!./phone.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!./phone.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1618025084401\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":""}