mobileLogin.js.map 23.2 KB
{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?9176","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?783c","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?8cd7","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?56a0","uni-app:///pages/main/my/mobileLogin/mobileLogin.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?dcc9","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?16a6"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":"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","file":"pages/main/my/mobileLogin/mobileLogin.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import '@dcloudio/uni-stat/dist/uni-stat.es.js';\nimport Vue from 'vue'\nimport Page from './pages/main/my/mobileLogin/mobileLogin.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./mobileLogin.vue?vue&type=template&id=26ccca09&scoped=true&\"\nvar renderjs\nimport script from \"./mobileLogin.vue?vue&type=script&lang=js&\"\nexport * from \"./mobileLogin.vue?vue&type=script&lang=js&\"\nimport style0 from \"./mobileLogin.vue?vue&type=style&index=0&id=26ccca09&lang=scss&scoped=true&\"\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  \"26ccca09\",\n  null,\n  false,\n  components,\n  renderjs\n)\n\ncomponent.options.__file = \"pages/main/my/mobileLogin/mobileLogin.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!./mobileLogin.vue?vue&type=template&id=26ccca09&scoped=true&\"","var components\ntry {\n  components = {\n    uForm: function() {\n      return import(\n        /* webpackChunkName: \"uni_modules/uview-ui/components/u-form/u-form\" */ \"@/uni_modules/uview-ui/components/u-form/u-form.vue\"\n      )\n    },\n    uFormItem: function() {\n      return import(\n        /* webpackChunkName: \"uni_modules/uview-ui/components/u-form-item/u-form-item\" */ \"@/uni_modules/uview-ui/components/u-form-item/u-form-item.vue\"\n      )\n    },\n    uInput: function() {\n      return import(\n        /* webpackChunkName: \"uni_modules/uview-ui/components/u-input/u-input\" */ \"@/uni_modules/uview-ui/components/u-input/u-input.vue\"\n      )\n    },\n    uButton: function() {\n      return import(\n        /* webpackChunkName: \"uni_modules/uview-ui/components/u-button/u-button\" */ \"@/uni_modules/uview-ui/components/u-button/u-button.vue\"\n      )\n    },\n    uCode: function() {\n      return import(\n        /* webpackChunkName: \"uni_modules/uview-ui/components/u-code/u-code\" */ \"@/uni_modules/uview-ui/components/u-code/u-code.vue\"\n      )\n    },\n    cButton: function() {\n      return import(\n        /* webpackChunkName: \"components/c-button/c-button\" */ \"@/components/c-button/c-button.vue\"\n      )\n    },\n    uCheckboxGroup: function() {\n      return import(\n        /* webpackChunkName: \"uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group\" */ \"@/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue\"\n      )\n    },\n    uCheckbox: function() {\n      return import(\n        /* webpackChunkName: \"uni_modules/uview-ui/components/u-checkbox/u-checkbox\" */ \"@/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue\"\n      )\n    },\n    uToast: function() {\n      return import(\n        /* webpackChunkName: \"uni_modules/uview-ui/components/u-toast/u-toast\" */ \"@/uni_modules/uview-ui/components/u-toast/u-toast.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}\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!./mobileLogin.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!./mobileLogin.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"login\">\r\n\t\t<view class=\"box\">\r\n\t\t\t<view v-if=\"changeLogin == '账号密码登录'\" class=\"form\">\r\n\t\t\t\t<u-form :model=\"form\" ref=\"uForm\">\r\n\t\t\t\t\t<u-form-item prop=\"mobile\"\r\n\t\t\t\t\t\t:leftIconStyle=\"{width:'40rpx',height:'40rpx', position:'relative', right:'8rpx'}\"\r\n\t\t\t\t\t\tleft-icon=\"/static/img/my/login_mobile.png\" borderBottom>\r\n\t\t\t\t\t\t<u-input v-model=\"form.mobile\" border=\"none\" maxlength='11' placeholder=\"请输入手机号\"\r\n\t\t\t\t\t\t\t:customStyle=\"{fontSize:'17px'}\" />\r\n\t\t\t\t\t</u-form-item>\r\n\t\t\t\t\t<u-form-item prop=\"verifyCode\"\r\n\t\t\t\t\t\t:leftIconStyle=\"{width:'40rpx',height:'40rpx', position:'relative', right:'8rpx'}\"\r\n\t\t\t\t\t\tleft-icon=\"/static/img/my/login_code1.png\" borderBottom>\r\n\t\t\t\t\t\t<u-input v-model=\"form.password\" border=\"none\" placeholder=\"请输入验证码\"\r\n\t\t\t\t\t\t\t:customStyle=\"{fontSize:'17px'}\" />\r\n\t\t\t\t\t\t<u-button type=\"default\" size=\"mini\" slot=\"right\" :hair-line=\"false\"\r\n\t\t\t\t\t\t\t:custom-style=\"{color:'#0CB17A', border:'none',fontSize:'30rpx'}\" @click=\"getCode\">\r\n\t\t\t\t\t\t\t{{codeText}}\r\n\t\t\t\t\t\t</u-button>\r\n\t\t\t\t\t\t<u-code ref=\"uCode\" @change=\"codeChange\"></u-code>\r\n\t\t\t\t\t</u-form-item>\r\n\t\t\t\t</u-form>\r\n\t\t\t</view>\r\n\t\t\t<view v-else class=\"form\">\r\n\t\t\t\t<u-form :model=\"form\" ref=\"uForm\">\r\n\t\t\t\t\t<u-form-item prop=\"mobile\"\r\n\t\t\t\t\t\t:left-icon-style=\"{width:'40rpx',height:'40rpx', position:'relative', right:'8rpx'}\"\r\n\t\t\t\t\t\tleft-icon=\"/static/img/my/login_mobile.png\" borderBottom>\r\n\t\t\t\t\t\t<u-input v-model=\"form.mobile\" border=\"none\" placeholder=\"请输入账号\"\r\n\t\t\t\t\t\t\t:customStyle=\"{fontSize:'17px'}\" />\r\n\t\t\t\t\t</u-form-item>\r\n\t\t\t\t\t<u-form-item prop=\"verifyCode\"\r\n\t\t\t\t\t\t:left-icon-style=\"{width:'40rpx',height:'40rpx', position:'relative', right:'8rpx'}\"\r\n\t\t\t\t\t\tleft-icon=\"/static/img/my/login_code2.png\" borderBottom>\r\n\t\t\t\t\t\t<u-input v-model=\"form.password\" border=\"none\" type='password' placeholder=\"请输入密码\"\r\n\t\t\t\t\t\t\t:customStyle=\"{fontSize:'17px'}\" />\r\n\t\t\t\t\t</u-form-item>\r\n\t\t\t\t</u-form>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"btn button_warp\">\r\n\t\t\t\t<c-button type=\"confirm\" shape=\"circle\"\r\n\t\t\t\t\t:customStyle=\"{borderRadius:'48rpx',fontSize:'34rpx',color:'#fff',fontWeight:'400'}\" text=\"登录\"\r\n\t\t\t\t\t:disabled=\"isDisable\" @click=\"phoneLogin\"></c-button>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"changeLogin\" @click=\"onchangeLogin\">\r\n\t\t\t\t{{changeLogin}}\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"agreement\">\r\n\t\t\t\t<view class=\"check\">\r\n\t\t\t\t\t<u-checkbox-group @change=\"checkboxChange\" v-model=\"checked\">\r\n\t\t\t\t\t\t<u-checkbox size=\"28\" activeColor=\"#0CB17A\" shape=\"circle\">\r\n\t\t\t\t\t\t</u-checkbox>\r\n\t\t\t\t\t</u-checkbox-group>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"text\">\r\n\t\t\t\t\t<text>您已阅读理解并同意</text>\r\n\t\t\t\t\t<text class=\"span\" @click=\"linkService\">《优学乐业服务协议》、</text>\r\n\t\t\t\t\t<text class=\"span\" @click=\"linkPolicy\">《优学乐业隐私政策》</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view>\r\n\t\t\t<u-toast ref=\"uToast\" />\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tmapState,\r\n\t\tmapActions\r\n\t} from 'vuex'\r\n\timport {\r\n\t\tgetSmsCodeApi,\r\n\t} from '@/config/api.js';\r\n\timport md5 from '@/common/md5';\r\n\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\terrorType: ['toast'],\n\t\t\t\tisDisable: true,\r\n\t\t\t\tchecked: [],\r\n\t\t\t\tservice: \"https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/agreement/%E3%80%8A%E4%BC%98%E5%AD%A6%E4%B9%90%E4%B8%9A%E7%94%A8%E6%88%B7%E6%9C%8D%E5%8A%A1%E5%8D%8F%E8%AE%AE%E3%80%8B.htm\",\r\n\t\t\t\tpolicy: \"https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/agreement/%E3%80%8A%E4%BC%98%E5%AD%A6%E4%B9%90%E4%B8%9A%E9%9A%90%E7%A7%81%E5%8D%8F%E8%AE%AE%E3%80%8B.htm\",\r\n\t\t\t\tform: {\r\n\t\t\t\t\tmobile: '',\r\n\t\t\t\t\tpassword: '',\r\n\t\t\t\t},\r\n\t\t\t\tchangeLogin: '账号密码登录',\r\n\t\t\t\tcodeText: '发送验证码',\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonLoad() {\r\n\t\t\tconst {\r\n\t\t\t\tdispatch\r\n\t\t\t} = this.$store;\r\n\r\n\t\t},\r\n\r\n\t\tonShow() {\r\n\r\n\t\t},\n\t\t\n\t\twatch: {\n\t\t\tchecked: function(newVal, oldVal) {\n\t\t\t\tthis.isDisable = newVal.length != 0 ? false : true;\n\t\t\t\t\n\t\t\t}\n\t\t},\n\t\t\r\n\r\n\t\tcomputed: {\r\n\t\t\t...mapState('user', {\r\n\t\t\t\t// 箭头函数可使代码更简练\r\n\t\t\t\tisReg: 'isReg',\r\n\r\n\t\t\t}),\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\r\n\t\t\tonchangeLogin() {\r\n\t\t\t\tif (this.changeLogin == '验证码登录') {\r\n\t\t\t\t\tthis.changeLogin = '账号密码登录';\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.changeLogin = '验证码登录';\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\tlinkService() {\r\n\t\t\t\tconsole.log(this)\r\n\t\t\t\tthis.$u.route({\r\n\t\t\t\t\turl: `/pages/common/webview/webview?navtitle=服务协议&url=${this.service}`,\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\tlinkPolicy() {\r\n\t\t\t\tthis.$u.route({\r\n\t\t\t\t\turl: `/pages/common/webview/webview?navtitle=隐私政策&url=${this.policy}`,\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\tcheckboxChange(n) {\r\n\t\t\t\t// console.log(n)\r\n\t\t\t},\r\n\r\n\t\t\tgetUserProfile() {\r\n\t\t\t\t// 推荐使用wx.getUserProfile获取用户信息,开发者每次通过该接口获取用户个人信息均需用户确认\r\n\t\t\t\t// 开发者妥善保管用户快速填写的头像昵称,避免重复弹窗\r\n\t\t\t\twx.getUserProfile({\r\n\t\t\t\t\tdesc: '用于完善会员资料', // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写\r\n\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\tconsole.log('getUserProfile...', res)\r\n\t\t\t\t\t\t// this.$store.commit('setWenxinUserInfo', res);\r\n\t\t\t\t\t\tthis.$u.vuex('vuex_weixinUserInfo', res.userInfo);\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\tcodeChange(text) {\r\n\t\t\t\tthis.codeText = text;\r\n\t\t\t},\r\n\r\n\t\t\tgetCode() {\r\n\t\t\t\tconst {\r\n\t\t\t\t\tmobile = ''\r\n\t\t\t\t} = this.form;\r\n\r\n\t\t\t\tif (!(mobile && /^1[0-9]{10}$/.test(mobile))) {\r\n\t\t\t\t\tthis.$refs.uToast.show({\r\n\t\t\t\t\t\tmessage: '请填写正确手机号',\r\n\t\t\t\t\t\ttype: 'error',\r\n\t\t\t\t\t\tduration: 1500,\r\n\t\t\t\t\t})\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif (this.$refs.uCode.canGetCode) {\r\n\t\t\t\t\t\t// 模拟向后端请求验证码\r\n\t\t\t\t\t\tuni.showLoading({\r\n\t\t\t\t\t\t\ttitle: '正在获取验证码'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\t\t// 通知验证码组件内部开始倒计时\r\n\t\t\t\t\t\t\tthis.$refs.uCode.start();\r\n\r\n\t\t\t\t\t\t\tconsole.log(mobile)\r\n\r\n\t\t\t\t\t\t\tgetSmsCodeApi({\r\n\t\t\t\t\t\t\t\tphone: mobile\r\n\t\t\t\t\t\t\t})\r\n\r\n\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.$u.toast('倒计时结束后再发送');\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\tphoneLogin() {\r\n\t\t\t\t// this.getUserProfile();\r\n\t\t\t\tif (this.changeLogin == '账号密码登录') {\r\n\t\t\t\t\tthis.$store.dispatch(`user/login`, {\r\n\t\t\t\t\t\tway: 'code',\r\n\t\t\t\t\t\ttype: 'student',\r\n\t\t\t\t\t\tphone: this.form.mobile,\r\n\t\t\t\t\t\tcode: this.form.password,\r\n\t\t\t\t\t})\r\n\t\t\t\t} else {\r\n\t\t\t\t\tconsole.log(md5.hex_md5(this.form.password));\r\n\t\t\t\t\tthis.$store.dispatch(`user/login`, {\r\n\t\t\t\t\t\tway: 'name',\r\n\t\t\t\t\t\ttype: 'student',\r\n\t\t\t\t\t\tusername: this.form.mobile,\r\n\t\t\t\t\t\tpassword: md5.hex_md5(this.form.password),\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t}\r\n\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.login {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tposition: relative;\r\n\r\n\t\t.box {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 0;\r\n\t\t\tleft: 0;\r\n\r\n\t\t\t.logo {\r\n\t\t\t\tpadding: 156rpx 0 0 0;\r\n\t\t\t\twidth: 120rpx;\r\n\t\t\t\tmargin: 0 auto;\r\n\t\t\t}\r\n\r\n\t\t\t.name {\r\n\t\t\t\tmargin: 32rpx 0 0 0;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tfont-size: 48rpx;\r\n\t\t\t\tline-height: 66rpx;\r\n\t\t\t\tcolor: #000000;\r\n\t\t\t\tfont-weight: 600;\r\n\t\t\t}\r\n\r\n\t\t\t.changeLogin {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tmargin: 48rpx 0 0 0;\r\n\t\t\t\tfont-size: 15px;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tcolor: #0CB17A;\r\n\t\t\t}\r\n\r\n\t\t\t.agreement {\r\n\t\t\t\tposition: fixed;\r\n\t\t\t\tleft: 0;\r\n\t\t\t\tbottom: 34rpx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tflex-direction: row;\r\n\t\t\t\tjustify-content: flex-start;\r\n\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\tmargin: 30rpx 0 32rpx 0;\r\n\t\t\t\tpadding: 0 50rpx;\r\n\r\n\t\t\t\t.check {\r\n\t\t\t\t\twidth: 40rpx;\r\n\t\t\t\t\tpadding: 5rpx 0 0 0;\r\n\t\t\t\t\t// display: inline-block;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.text {\r\n\t\t\t\t\t// display: inline-block;\r\n\t\t\t\t\tcolor: rgba(0, 0, 0, 0.45);\r\n\r\n\t\t\t\t\t.span {\r\n\t\t\t\t\t\tcolor: #0CB17A;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.form {\r\n\t\t\t\tmargin: 128rpx 60rpx 0px;\r\n\t\t\t}\r\n\r\n\t\t\t.btn {\r\n\t\t\t\tmargin-top: 128rpx;\r\n\t\t\t\tpadding: 0 48rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.wxLogin {\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tflex-direction: column;\r\n\t\t\t\tmargin-top: 180rpx;\r\n\r\n\t\t\t\tbutton {\r\n\t\t\t\t\tbackground-color: transparent;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tbutton::after {\r\n\t\t\t\t\tborder: initial\r\n\t\t\t\t}\r\n\r\n\t\t\t\timage {\r\n\t\t\t\t\twidth: 96rpx;\r\n\t\t\t\t\theight: 96rpx;\r\n\t\t\t\t}\r\n\r\n\t\t\t\ttext {\r\n\t\t\t\t\tmargin-top: 0rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\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/@dcloudio/vue-cli-plugin-uni/packages/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!./mobileLogin.vue?vue&type=style&index=0&id=26ccca09&lang=scss&scoped=true&\"; 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/@dcloudio/vue-cli-plugin-uni/packages/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!./mobileLogin.vue?vue&type=style&index=0&id=26ccca09&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n    if(module.hot) {\n      // 1657699073504\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":""}