康巴易测肤/伤疤uniapp小程序类
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.

2 line
5.2KB

  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/login/index"],{173:function(e,n,o){"use strict";(function(e,n){var t=o(4);o(26);t(o(25));var u=t(o(174));e.__webpack_require_UNI_MP_PLUGIN__=o,n(u.default)}).call(this,o(1)["default"],o(2)["createPage"])},174:function(e,n,o){"use strict";o.r(n);var t=o(175),u=o(177);for(var r in u)["default"].indexOf(r)<0&&function(e){o.d(n,e,(function(){return u[e]}))}(r);o(179);var i,c=o(32),s=Object(c["default"])(u["default"],t["render"],t["staticRenderFns"],!1,null,null,null,!1,t["components"],i);s.options.__file="pages/login/index.vue",n["default"]=s.exports},175:function(e,n,o){"use strict";o.r(n);var t=o(176);o.d(n,"render",(function(){return t["render"]})),o.d(n,"staticRenderFns",(function(){return t["staticRenderFns"]})),o.d(n,"recyclableRender",(function(){return t["recyclableRender"]})),o.d(n,"components",(function(){return t["components"]}))},176:function(e,n,o){"use strict";var t;o.r(n),o.d(n,"render",(function(){return u})),o.d(n,"staticRenderFns",(function(){return i})),o.d(n,"recyclableRender",(function(){return r})),o.d(n,"components",(function(){return t}));try{t={"u-Form":function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u--form/u--form")]).then(o.bind(null,238))},uFormItem:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-form-item/u-form-item")]).then(o.bind(null,244))},uInput:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-input/u-input")]).then(o.bind(null,252))},"u-Input":function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u--input/u--input")]).then(o.bind(null,260))},uCode:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-code/u-code")]).then(o.bind(null,265))},uButton:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-button/u-button")]).then(o.bind(null,273))},"u-Text":function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u--text/u--text")]).then(o.bind(null,283))},uCheckboxGroup:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-checkbox-group/u-checkbox-group")]).then(o.bind(null,289))},uCheckbox:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-checkbox/u-checkbox")]).then(o.bind(null,297))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var u=function(){var e=this,n=e.$createElement;e._self._c},r=!1,i=[];u._withStripped=!0},177:function(e,n,o){"use strict";o.r(n);var t=o(178),u=o.n(t);for(var r in t)["default"].indexOf(r)<0&&function(e){o.d(n,e,(function(){return t[e]}))}(r);n["default"]=u.a},178:function(e,n,o){"use strict";(function(e){var t=o(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=t(o(11)),r={data:function(){var e;return e={img_login:"https://telpo-healthy.oss-cn-hangzhou.aliyuncs.com/healthy/knowledge/202502/008071d3dcac4785b3929a00800ae501.jpg",checked:!1,tips:"",seconds:10,active:!1,form:{userInfo:{phone:"",code:""}},value:""},(0,u.default)(e,"tips",""),(0,u.default)(e,"show",!1),(0,u.default)(e,"rules",{username:[{required:!0,message:"请输入用户名",trigger:["blur","change"]}],password:[{required:!0,message:"请输入密码",trigger:["blur","change"]}]}),e},computed:{bgthemeColor:function(){return this.checked?"linear-gradient(90deg,rgba(158, 135, 255, 0.95),rgba(84, 71, 135, 0.95))":"linear-gradient(90deg,rgba(158, 135, 255, 0.4),rgba(84, 71, 135, 0.4))"}},onLoad:function(){this.$store.commit("SET_TEST_TEXT","测试"),this.$store.commit("SET_USER_ID","userId测试"),console.log("testText",this.$store.getters.testText),console.log("userId",this.$store.getters.userId)},methods:{onUserAgreement:function(){},onAgreeChange:function(){},openPrivacyPolicy:function(){},codeChange:function(e){this.tips=e},login:function(e){},getCode:function(){var n=this;this.$refs.uCode.canGetCode&&(e.showLoading({title:"正在获取验证码"}),setTimeout((function(){e.hideLoading(),e.$u.toast("验证码已发送"),n.$refs.uCode.start()}),2e3))},end:function(){},start:function(){e.$u.toast("验证码已发送")},handleSubmit:function(){var n=this;this.$refs.form.validate().then((function(o){n.$store.dispatch("Login",n.form).then((function(n){e.showToast({title:"登录成功"}),setTimeout((function(){e.reLaunch({url:"/pages/index/index"})}),1e3)}))}))},getphonenumber:function(e){console.log("快速登录",e)},onChange:function(e){this.checked=e}}};n.default=r}).call(this,o(2)["default"])},179:function(e,n,o){"use strict";o.r(n);var t=o(180),u=o.n(t);for(var r in t)["default"].indexOf(r)<0&&function(e){o.d(n,e,(function(){return t[e]}))}(r);n["default"]=u.a},180:function(e,n,o){}},[[173,"common/runtime","common/vendor"]]]);
  2. //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/login/index.js.map