1 |
- {"version":3,"sources":["uni-app:///main.js","webpack:///D:/yzm/worknew/wardrobe/pages/registered/index.vue?c091","webpack:///D:/yzm/worknew/wardrobe/pages/registered/index.vue?109e","webpack:///D:/yzm/worknew/wardrobe/pages/registered/index.vue?9bc9","webpack:///D:/yzm/worknew/wardrobe/pages/registered/index.vue?db42","uni-app:///pages/registered/index.vue","webpack:///D:/yzm/worknew/wardrobe/pages/registered/index.vue?e4fb","webpack:///D:/yzm/worknew/wardrobe/pages/registered/index.vue?462e"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,kG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AACgM;AAChM,gBAAgB,0MAAU;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,aAAa,2OAEN;AACP,KAAK;AACL;AACA,aAAa,yQAEN;AACP,KAAK;AACL;AACA,aAAa,yNAEN;AACP,KAAK;AACL;AACA,aAAa,+NAEN;AACP,KAAK;AACL;AACA,aAAa,2OAEN;AACP,KAAK;AACL;AACA,aAAa,2RAEN;AACP;AACA;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,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnEA;AAAA;AAAA;AAAA;AAAmvB,CAAgB,gwBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgCvwB,+D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA,EACA,IADA,kBACA,CACA,SACA,cADA,EAEA,WACA,UADA,EAEA,YAFA,EAGA,YAHA,EAIA,aAJA,EAFA,EAQA,UACA,aADA,EARA,GAYA,CAdA,EAeA,MAfA,oBAeA,CAEA,CAjBA,EAkBA,OAlBA,qBAkBA,CACA,mCACA,CApBA,EAqBA,WACA,MADA,oBACA,CACA,gBACA,gCACA,0DACA,OACA,CAHA,MAGA,kCACA,0DACA,OACA,CAHA,MAGA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA;AACA;AACA,kCADA;AAEA,sBAFA;AAGA,0BAHA;AAIA,UAJA,CAIA;AACA;AACA;AACA;AACA;AACA;AACA,uCADA;;AAGA,WAJA,EAIA,IAJA;AAKA,SAPA,MAOA;AACA;AACA;AACA,OAhBA;;AAkBA,KAxCA;AAyCA,WAzCA,qBAyCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,EAEA,KAFA;AAGA,KAnDA;AAoDA,SApDA,mBAoDA;AACA;AACA,iCADA;;AAGA,KAxDA;AAyDA,SAzDA,mBAyDA;AACA;AACA,iCADA;;AAGA,KA7DA,EArBA,E;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAk5C,CAAgB,m2CAAG,EAAC,C;;;;;;;;;;;ACAt6C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/registered/index.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/registered/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=21ecd604&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../exe/HBuilderX.3.4.7.20220422/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/registered/index.vue\"\nexport default component.exports","export * from \"-!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=21ecd604&\"","var components\ntry {\n components = {\n tmMenubars: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-menubars/tm-menubars\" */ \"@/tm-vuetify/components/tm-menubars/tm-menubars.vue\"\n )\n },\n tmForm: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-form/tm-form\" */ \"@/tm-vuetify/components/tm-form/tm-form.vue\"\n )\n },\n tmInput: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-input/tm-input\" */ \"@/tm-vuetify/components/tm-input/tm-input.vue\"\n )\n },\n tmButton: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-button/tm-button\" */ \"@/tm-vuetify/components/tm-button/tm-button.vue\"\n )\n },\n tmCheckbox: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-checkbox/tm-checkbox\" */ \"@/tm-vuetify/components/tm-checkbox/tm-checkbox.vue\"\n )\n },\n tmMessage: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-message/tm-message\" */ \"@/tm-vuetify/components/tm-message/tm-message.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 var g0 = _vm.$tm.vx.state()\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view :style=\"{ minHeight: sys.windowHeight + 'px' }\"\r\n\t\t:class=\"[$tm.vx.state().tmVuetify.black ? 'black' : ' ']\">\r\n\t\t<tm-menubars title=\"\" :shadow=\"0\" :showback=\"false\"></tm-menubars>\r\n\t\t<view class=\"tou C1b1b1b\">新用户注册</view>\r\n\t\t<view class=\"zhuti\">\r\n\t\t\t<tm-form>\r\n\t\t\t\t<view class=\"tel text-size-m mt-50\">请输入注册手机号码</view>\r\n\t\t\t\t<tm-input name=\"title\" input-type=\"number\" v-model=\"reqData.mobile\"></tm-input>\r\n\t\t\t\t<view class=\"mima\">\r\n\t\t\t\t\t<tm-input placeholder=\"请输入短信验证码\" name=\"title\" v-model=\"reqData.sms_code\"></tm-input>\r\n\t\t\t\t\t<tm-button class=\"wangji\" @click=\"sendyzm\" size=\"m\">{{yzmvar.text}}</tm-button>\r\n\t\t\t\t</view>\r\n\t\t\t\t<tm-input name=\"title\" placeholder=\"请设置6-20位登录密码\" password v-model=\"reqData.password\"></tm-input>\r\n\t\t\t\t<tm-input name=\"title\" placeholder=\"请再次确认登录密码\" password v-model=\"reqData.password1\"></tm-input>\r\n\t\t\t\t<view class=\"px-24\">\r\n\t\t\t\t\t<view class=\"py-10 text-size-s mt-30\">\r\n\t\t\t\t\t\t<tm-checkbox :size=\"32\" color=\"bg-gradient-primary-accent\" v-model=\"checked\" round=\"rounded\"></tm-checkbox>\r\n\t\t\t\t\t\t<text class=\"text-white\" @click=\"xieyi()\" style=\"vertical-align: middle;\">阅读并同意《用户协议》</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<tm-button @click=\"tijiao()\" theme=\"primary\" :round=\"24\" class=\"mt-50\" block>注册</tm-button>\r\n\t\t\t\t\t<view class=\"py-10 text-size-s text-grey text-align-center mt-30\">\r\n\t\t\t\t\t\t<text class=\"text-white text-size-s text-align-center\" @click=\"login()\">已有账户,立即登录</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</tm-form>\r\n\t\t</view>\r\n\t\t<!-- 弹出层消息 -->\r\n\t\t<tm-message ref=\"toast\"></tm-message>\r\n\t</view>\r\n</template>\t\r\n<script>\r\nimport{myRequest} from '@/api/request.js'\r\nexport default {\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tchecked:false,\r\n\t\t\treqData:{\r\n\t\t\t\tmobile:'',\r\n\t\t\t\tsms_code:'',\r\n\t\t\t\tpassword:'',\r\n\t\t\t\tpassword1:''\r\n\t\t\t},\r\n\t\t\tyzmvar:{\r\n\t\t\t\ttext:'发送验证码'\r\n\t\t\t}\r\n\t\t};\r\n\t},\r\n\tonLoad() {\r\n\t\t\r\n\t},\r\n\tcreated() {\r\n\t\tthis.sys = uni.getSystemInfoSync();\r\n\t},\r\n\tmethods: {\r\n\t\ttijiao(){\r\n\t\t\tvar that=this;\r\n\t\t\tif(that.reqData.mobile==\"\"){\r\n\t\t\t\tthat.$refs.toast.show({model:'warn',label:'请输入手机号'})\r\n\t\t\t\treturn\r\n\t\t\t}else if(that.reqData.sms_code==\"\"){\r\n\t\t\t\tthat.$refs.toast.show({model:'warn',label:'请输入验证码'})\r\n\t\t\t\treturn\r\n\t\t\t}else if(that.reqData.password==\"\" || that.reqData.password.length<6 ||that.reqData.password.length>20){\r\n\t\t\t\tthat.$refs.toast.show({model:'warn',label:'请设置6-20位登录密码'})\r\n\t\t\t\treturn\r\n\t\t\t}else if(that.reqData.password1==\"\"){\r\n\t\t\t\tthat.$refs.toast.show({model:'warn',label:'请再次确认登录密码'})\r\n\t\t\t\treturn\r\n\t\t\t}else if(that.reqData.password != that.reqData.password1){\r\n\t\t\t\tthat.$refs.toast.show({model:'warn',label:'密码不一致'})\r\n\t\t\t\treturn\r\n\t\t\t}else if(! that.checked){\r\n\t\t\t\tthat.$refs.toast.show({model:'warn',label:'请勾选用户协议'})\r\n\t\t\t\treturn\r\n\t\t\t}\r\n\t\t\tmyRequest({\r\n\t\t\t\turl: \"/api/login/register\",\r\n\t\t\t\tmethod:'post',\r\n\t\t\t\tdata:that.reqData\r\n\t\t\t}).then(res => {\r\n\t\t\t\tconsole.log(res)\r\n\t\t\t\tif (res.data.code == 200) {\r\n\t\t\t\t\tthat.$refs.toast.show({model:'success',label:res.data.msg})\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl: \"/pages/login/index\",\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t},2000)\r\n\t\t\t\t}else{\r\n\t\t\t\t\tthat.$refs.toast.show({model:'error',label:res.data.msg})\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t\r\n\t\t},\r\n\t\tsendyzm(){\r\n\t\t\tvar that=this;\r\n\t\t\tif(that.reqData.mobile==\"\"){\r\n\t\t\t\tthat.$refs.toast.show({model:'warn',label:'请输入手机号'})\r\n\t\t\t\treturn\r\n\t\t\t}\r\n\t\t\tthat.yzmvar.text=\"已发送\";\r\n\t\t\tsetTimeout(function(){\r\n\t\t\t\tthat.yzmvar.text=\"发送验证码\";\r\n\t\t\t},15000)\r\n\t\t},\r\n\t\tlogin(){\r\n\t\t\tuni.navigateTo({\r\n\t\t\t\turl: \"/pages/login/index\",\r\n\t\t\t})\r\n\t\t},\r\n\t\txieyi(){\r\n\t\t\tuni.navigateTo({\r\n\t\t\t\turl: \"/pages/xieyi/index\",\r\n\t\t\t})\r\n\t\t}\r\n\t}\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t/deep/ .tm-menubars .body{\r\n\t\tbackground-color: #1b1b1b !important;\r\n\t}\r\n\t/deep/ .grey-darken-5{\r\n\t\tbackground-color: #0d0d0d!important;\r\n\t\tpadding: 0px !important;\r\n\t}\r\n\t.tou{\r\n\t\tfont-size: 28px;\r\n\t\tpadding: 15px 30px 40px 30px;\r\n\t}\r\n\t.tel{\r\n\t\tmargin-left: 5px;\r\n\t}\r\n\t.zhuti{\r\n\t\tpadding: 15px 30px 40px 30px;\r\n\t}\r\n\t.mima{\r\n\t\tposition: relative;\r\n\t}\r\n\t.wangji{\r\n\t\tposition: absolute;\r\n\t\tright: 0px;\r\n\t\ttop: 3px;\r\n\t}\r\n\t/deep/ .wangji .primary{\r\n\t\tbackground-color: #303440 !important;\r\n\t}\r\n\t\r\n</style>\r\n","import mod from \"-!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1678780469734\n var cssReload = require(\"D:/yzm/exe/HBuilderX.3.4.7.20220422/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":""}
|