chunk-cb60c420.c726f059.js.map 35 KB

1
  1. {"version":3,"sources":["webpack:///./src/components/module/gradient-border.vue","webpack:///src/components/module/gradient-border.vue","webpack:///./src/components/module/gradient-border.vue?a510","webpack:///./src/components/module/gradient-border.vue?ad5b","webpack:///./src/components/module/gradient-border.vue?3949","webpack:///./src/views/login.vue?def8","webpack:///./src/views/login.vue","webpack:///src/views/login.vue","webpack:///./src/views/login.vue?2e0e","webpack:///./src/views/login.vue?dab3","webpack:///./src/assets/icon/bottom.png"],"names":["render","_vm","this","_c","_self","staticClass","style","width","concat","borderWidth","height","backgroundImage","borderColor","borderRadius","background","backgroundColor","_t","staticRenderFns","name","props","type","String","default","data","component","on","$event","globalRoamingType","isBind","_e","_v","attrs","class","select","params","account_type","changeAccountType","stopPropagation","_s","phone_pre","transform","require","_l","globalRoaming","item","directives","rawName","value","phone","expression","domProps","e","account","target","composing","email","code","$set","sendSms","countDown","confirmAgreement","border","$router","push","marginTop","bindPhone","submit","components","GradientBorder","facility_type","facility_code","loading","mounted","_this","getPhonePrefix","getUniqueCode","then","methods","_this2","ExpediteService","res","map","_this3","errList","validatorFun","length","$message","error","errMsg","LoginService","unifiedLogin","_ref","msg","success","localStorage","setItem","token","UserCenterService","getUserInfo","setTimeout","back","finally","_this4","modifyPhone","_ref2","_this5","reqMap","emailSms","reqParamsMap","_ref3","countDownFn","_this6","num","fn","module","exports"],"mappings":"kHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,aAAaC,MAAO,CACzGC,MAAO,gBAAFC,OAAkBP,EAAIQ,YAAW,UACtCC,OAAQ,gBAAFF,OAAkBP,EAAIQ,YAAW,UACvCE,gBAAiBV,EAAIW,YACrBC,aAAcZ,EAAIY,eAChB,CAACV,EAAG,MAAM,CAACE,YAAY,YAAYC,MAAO,CAC1CC,MAAO,gBAAFC,OAAkBP,EAAIQ,YAAW,UACtCC,OAA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AA,kBAAAc,MAAA,OAEAA,OC5R+U,I,wBCQ3UzF,EAAY,eACd,EACAxB,EACAiB,GACA,EACA,KACA,WACA,MAIa,aAAAO,E,4BCnBf0F,EAAOC,QAAU","file":"js/chunk-cb60c420.c726f059.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"outSideBox\",style:({\n width: `calc(100% + (${_vm.borderWidth} * 2))`,\n height: `calc(100% + (${_vm.borderWidth} * 2))`,\n backgroundImage: _vm.borderColor,\n borderRadius: _vm.borderRadius,\n })},[_c('div',{staticClass:\"inSideBox\",style:({\n width: `calc(100% - (${_vm.borderWidth} * 2))`,\n height: `calc(100% - (${_vm.borderWidth} * 2))`,\n background: _vm.backgroundColor,\n borderRadius: _vm.borderRadius,\n })},[_vm._t(\"default\")],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div\r\n class=\"outSideBox\"\r\n :style=\"{\r\n width: `calc(100% + (${borderWidth} * 2))`,\r\n height: `calc(100% + (${borderWidth} * 2))`,\r\n backgroundImage: borderColor,\r\n borderRadius: borderRadius,\r\n }\"\r\n >\r\n <div\r\n class=\"inSideBox\"\r\n :style=\"{\r\n width: `calc(100% - (${borderWidth} * 2))`,\r\n height: `calc(100% - (${borderWidth} * 2))`,\r\n background: backgroundColor,\r\n borderRadius: borderRadius,\r\n }\"\r\n >\r\n <slot></slot>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: \"GradientBorder\",\r\n props: {\r\n borderWidth: {\r\n type: String,\r\n default: \"1px\",\r\n },\r\n borderRadius: {\r\n type: String,\r\n default: \"15px\",\r\n },\r\n borderColor: {\r\n type: String,\r\n default: `linear-gradient(270deg,rgba(50, 226, 226, 1),rgba(59, 89, 248, 1),rgba(255, 153, 145, 1))`,\r\n },\r\n backgroundColor: {\r\n type: String,\r\n default: \"#fff\",\r\n },\r\n },\r\n data() {\r\n return {};\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n.outSideBox {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n.inSideBox {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gradient-border.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gradient-border.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gradient-border.vue?vue&type=template&id=6dd2d55a&\"\nimport script from \"./gradient-border.vue?vue&type=script&lang=js&\"\nexport * from \"./gradient-border.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gradient-border.vue?vue&type=style&index=0&id=6dd2d55a&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gradient-border.vue?vue&type=style&index=0&id=6dd2d55a&prod&lang=scss&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./login.vue?vue&type=style&index=0&id=29eb5880&prod&lang=scss&scoped=true&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"login-wrap\",on:{\"click\":function($event){_vm.globalRoamingType = false}}},[_c('div',{staticClass:\"login-box\"},[(!_vm.isBind)?_c('span',{staticClass:\"login-box-title\"},[_vm._v(\"GYXQCDZ\")]):_vm._e(),(_vm.isBind)?_c('span',{staticClass:\"login-box-tips\"},[_vm._v(\"请绑定手机号\")]):_vm._e(),(!_vm.isBind)?_c('div',{staticClass:\"login-box-switch\"},[_c('GradientBorder',{attrs:{\"borderWidth\":\"1px\",\"borderRadius\":\"50px\"}},[_c('div',{staticClass:\"login-box-switch-content\"},[_c('div',{staticClass:\"login-box-switch-item gradient-font\",class:{ select: _vm.params.account_type == 2 },on:{\"click\":function($event){return _vm.changeAccountType(2)}}},[_c('span',{class:{ 'gradient-font': _vm.params.account_type == 1 }},[_vm._v(\"手机登录\")])]),_c('div',{staticClass:\"login-box-switch-item gradient-font\",class:{ select: _vm.params.account_type == 1 },on:{\"click\":function($event){return _vm.changeAccountType(1)}}},[_c('span',{class:{ 'gradient-font': _vm.params.account_type == 2 }},[_vm._v(\"邮箱登录\")])])])])],1):_vm._e(),(_vm.params.account_type == 2)?_c('div',{staticClass:\"login-box-phone\"},[_c('GradientBorder',{attrs:{\"borderWidth\":\"1px\",\"borderRadius\":\"50px\"}},[_c('div',{staticClass:\"login-box-phone-content\"},[_c('div',{staticClass:\"globalRoaming-select\",on:{\"click\":function($event){$event.stopPropagation();_vm.globalRoamingType = !_vm.globalRoamingType}}},[_c('span',[_vm._v(\"+\"+_vm._s(_vm.params.phone_pre))]),_c('img',{style:(!_vm.globalRoamingType ? { transform: 'rotate(-90deg)' } : ''),attrs:{\"src\":require(\"@/assets/icon/bottom.png\"),\"alt\":\"\"}}),_c('div',{class:_vm.globalRoamingType\n ? 'globalRoaming-option'\n : 'globalRoaming-option-hide'},[_c('GradientBorder',{attrs:{\"borderWidth\":\"1px\",\"borderRadius\":\"5px\"}},[_c('div',{staticClass:\"globalRoaming-option-box\"},_vm._l((_vm.globalRoaming),function(item){return _c('div',{staticClass:\"globalRoaming-option-item\",class:{\n 'globalRoaming-option-item-select':\n item == _vm.params.phone_pre,\n },on:{\"click\":function($event){$event.stopPropagation();_vm.params.phone_pre = item}}},[_vm._v(\"\\n +\"+_vm._s(item)+\"\\n \")])}),0)])],1)]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.phone),expression:\"phone\"}],attrs:{\"type\":\"text\",\"placeholder\":\"请输入您的手机号\"},domProps:{\"value\":(_vm.phone)},on:{\"change\":(e) => (_vm.params.account = e.target.value),\"input\":function($event){if($event.target.composing)return;_vm.phone=$event.target.value}}})])])],1):_vm._e(),(_vm.params.account_type == 1)?_c('div',{staticClass:\"login-box-email\"},[_c('GradientBorder',{attrs:{\"borderWidth\":\"1px\",\"borderRadius\":\"50px\"}},[_c('div',{staticClass:\"login-box-email-content\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],attrs:{\"type\":\"text\",\"placeholder\":\"请输入您的邮箱号\"},domProps:{\"value\":(_vm.email)},on:{\"change\":(e) => (_vm.params.account = e.target.value),\"input\":function($event){if($event.target.composing)return;_vm.email=$event.target.value}}})])])],1):_vm._e(),_c('div',{staticClass:\"login-box-code\"},[_c('GradientBorder',{attrs:{\"borderWidth\":\"1px\",\"borderRadius\":\"50px\"}},[_c('div',{staticClass:\"login-box-code-content\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.params.code),expression:\"params.code\"}],attrs:{\"type\":\"text\",\"placeholder\":\"请输入验证码\"},domProps:{\"value\":(_vm.params.code)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.params, \"code\", $event.target.value)}}}),_c('span',{on:{\"click\":_vm.sendSms}},[_vm._v(_vm._s(_vm.countDown ? _vm.countDown : \"获取验证码\"))])])])],1),(!_vm.isBind)?_c('div',{staticClass:\"login-box-agreement\"},[_c('div',{staticClass:\"login-box-agreement-content\"},[_c('div',{style:(!_vm.confirmAgreement\n ? { background: 'white', border: '1px solid #979797' }\n : { background: '#2a63f3', border: '1px solid transparent' }),on:{\"click\":function($event){_vm.confirmAgreement = !_vm.confirmAgreement}}},[(_vm.confirmAgreement)?_c('i',{staticClass:\"el-icon-check\"}):_vm._e()]),_c('span',[_vm._v(\"我已阅读并同意\"),_c('a',{on:{\"click\":function($event){return _vm.$router.push('/agreement?configKey=agreement')}}},[_vm._v(\"《用户协议》\")]),_vm._v(\"、\"),_c('a',{on:{\"click\":function($event){return _vm.$router.push('/agreement?configKey=privacy')}}},[_vm._v(\"《隐私政策》\")])])])]):_vm._e(),_c('div',{staticClass:\"login-box-button\",style:(_vm.isBind ? { marginTop: '50px' } : ''),on:{\"click\":function($event){_vm.isBind ? _vm.bindPhone() : _vm.submit()}}},[_vm._v(\"\\n \"+_vm._s(_vm.isBind ? \"立即绑定\" : \"登录\")+\"\\n \")])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"login-wrap\" @click=\"globalRoamingType = false\">\r\n <div class=\"login-box\">\r\n <span class=\"login-box-title\" v-if=\"!isBind\">GYXQCDZ</span>\r\n <span class=\"login-box-tips\" v-if=\"isBind\">请绑定手机号</span>\r\n <div class=\"login-box-switch\" v-if=\"!isBind\">\r\n <GradientBorder borderWidth=\"1px\" borderRadius=\"50px\">\r\n <div class=\"login-box-switch-content\">\r\n <div\r\n class=\"login-box-switch-item gradient-font\"\r\n :class=\"{ select: params.account_type == 2 }\"\r\n @click=\"changeAccountType(2)\"\r\n >\r\n <span :class=\"{ 'gradient-font': params.account_type == 1 }\"\r\n >手机登录</span\r\n >\r\n </div>\r\n <div\r\n class=\"login-box-switch-item gradient-font\"\r\n :class=\"{ select: params.account_type == 1 }\"\r\n @click=\"changeAccountType(1)\"\r\n >\r\n <span :class=\"{ 'gradient-font': params.account_type == 2 }\"\r\n >邮箱登录</span\r\n >\r\n </div>\r\n </div>\r\n </GradientBorder>\r\n </div>\r\n <div class=\"login-box-phone\" v-if=\"params.account_type == 2\">\r\n <GradientBorder borderWidth=\"1px\" borderRadius=\"50px\">\r\n <div class=\"login-box-phone-content\">\r\n <div\r\n class=\"globalRoaming-select\"\r\n @click.stop=\"globalRoamingType = !globalRoamingType\"\r\n >\r\n <span>+{{ params.phone_pre }}</span>\r\n <img\r\n src=\"@/assets/icon/bottom.png\"\r\n alt=\"\"\r\n :style=\"\r\n !globalRoamingType ? { transform: 'rotate(-90deg)' } : ''\r\n \"\r\n />\r\n <div\r\n :class=\"\r\n globalRoamingType\r\n ? 'globalRoaming-option'\r\n : 'globalRoaming-option-hide'\r\n \"\r\n >\r\n <GradientBorder borderWidth=\"1px\" borderRadius=\"5px\">\r\n <div class=\"globalRoaming-option-box\">\r\n <div\r\n class=\"globalRoaming-option-item\"\r\n :class=\"{\r\n 'globalRoaming-option-item-select':\r\n item == params.phone_pre,\r\n }\"\r\n v-for=\"item in globalRoaming\"\r\n @click.stop=\"params.phone_pre = item\"\r\n >\r\n +{{ item }}\r\n </div>\r\n </div>\r\n </GradientBorder>\r\n </div>\r\n </div>\r\n <input\r\n type=\"text\"\r\n placeholder=\"请输入您的手机号\"\r\n v-model=\"phone\"\r\n @change=\"(e) => (params.account = e.target.value)\"\r\n />\r\n </div>\r\n </GradientBorder>\r\n </div>\r\n <div class=\"login-box-email\" v-if=\"params.account_type == 1\">\r\n <GradientBorder borderWidth=\"1px\" borderRadius=\"50px\">\r\n <div class=\"login-box-email-content\">\r\n <input\r\n type=\"text\"\r\n placeholder=\"请输入您的邮箱号\"\r\n v-model=\"email\"\r\n @change=\"(e) => (params.account = e.target.value)\"\r\n />\r\n </div>\r\n </GradientBorder>\r\n </div>\r\n <div class=\"login-box-code\">\r\n <GradientBorder borderWidth=\"1px\" borderRadius=\"50px\">\r\n <div class=\"login-box-code-content\">\r\n <input\r\n type=\"text\"\r\n placeholder=\"请输入验证码\"\r\n v-model=\"params.code\"\r\n />\r\n <span @click=\"sendSms\">{{\r\n countDown ? countDown : \"获取验证码\"\r\n }}</span>\r\n </div>\r\n </GradientBorder>\r\n </div>\r\n <div class=\"login-box-agreement\" v-if=\"!isBind\">\r\n <div class=\"login-box-agreement-content\">\r\n <div\r\n :style=\"\r\n !confirmAgreement\r\n ? { background: 'white', border: '1px solid #979797' }\r\n : { background: '#2a63f3', border: '1px solid transparent' }\r\n \"\r\n @click=\"confirmAgreement = !confirmAgreement\"\r\n >\r\n <i v-if=\"confirmAgreement\" class=\"el-icon-check\"></i>\r\n </div>\r\n <span\r\n >我已阅读并同意<a\r\n @click=\"$router.push('/agreement?configKey=agreement')\"\r\n >《用户协议》</a\r\n >、<a @click=\"$router.push('/agreement?configKey=privacy')\"\r\n >《隐私政策》</a\r\n ></span\r\n >\r\n </div>\r\n </div>\r\n <div\r\n class=\"login-box-button\"\r\n :style=\"isBind ? { marginTop: '50px' } : ''\"\r\n @click=\"isBind ? bindPhone() : submit()\"\r\n >\r\n {{ isBind ? \"立即绑定\" : \"登录\" }}\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport GradientBorder from \"@/components/module/gradient-border.vue\";\r\nimport { getUniqueCode, validatorFun } from \"@/common/util\";\r\nimport {\r\n LoginService,\r\n ExpediteService,\r\n UserCenterService,\r\n} from \"@/common/service\";\r\nexport default {\r\n components: { GradientBorder },\r\n data() {\r\n return {\r\n select: \"phone\",\r\n globalRoaming: [\"86\"],\r\n globalRoamingType: false,\r\n confirmAgreement: false,\r\n isBind: false,\r\n countDown: 0,\r\n phone: \"\",\r\n email: \"\",\r\n params: {\r\n account_type: 2,\r\n phone_pre: \"86\",\r\n account: \"\",\r\n code: \"\",\r\n facility_type: 6,\r\n facility_code: \"\",\r\n },\r\n loading: false,\r\n };\r\n },\r\n mounted() {\r\n this.getPhonePrefix();\r\n getUniqueCode().then(\r\n (facility_code) => (this.params.facility_code = facility_code)\r\n );\r\n },\r\n methods: {\r\n // 变更登录方式\r\n changeAccountType(type) {\r\n this.params.account_type = type;\r\n type == 1\r\n ? (this.params.account = this.email)\r\n : (this.params.account = this.phone);\r\n },\r\n // 获取手机号前缀\r\n getPhonePrefix() {\r\n ExpediteService.getPhonePrefix().then((res) => {\r\n this.globalRoaming = res.data.map((item) => item.code);\r\n });\r\n },\r\n // 登录\r\n submit() {\r\n if (this.loading) return;\r\n this.loading = true;\r\n const params = this.params;\r\n const errList = validatorFun(params, [\r\n [\"account\", [\"notNull\", \"请输入账户\"]],\r\n [\"code\", [\"notNull\", \"请输入验证码\"]],\r\n ]);\r\n if (errList.length > 0) {\r\n this.loading = false;\r\n return this.$message.error(errList[0].errMsg);\r\n }\r\n if (!this.confirmAgreement) {\r\n this.loading = false;\r\n return this.$message.error(\"请阅读并同意《用户协议》、《用户隐私》\");\r\n }\r\n LoginService.unifiedLogin(params)\r\n .then(({ msg, data }) => {\r\n this.params.code = \"\";\r\n this.$message.success(msg);\r\n localStorage.setItem(\"token\", data.token);\r\n UserCenterService.getUserInfo(null, false);\r\n setTimeout(() => {\r\n if (!data.phone) {\r\n this.isBind = true;\r\n this.params.account_type = 2;\r\n this.phone = \"\";\r\n this.email = \"\";\r\n } else {\r\n this.$router.back();\r\n }\r\n }, 1000);\r\n })\r\n .finally(() => setTimeout(() => (this.loading = false), 1000));\r\n },\r\n // 绑定手机号\r\n bindPhone() {\r\n if (this.loading) return;\r\n this.loading = true;\r\n const params = this.params;\r\n params.phone = this.phone;\r\n const errList = validatorFun(params, [\r\n [\"phone\", [\"notNull\", \"请输入手机号码\"]],\r\n [\"code\", [\"notNull\", \"请输入验证码\"]],\r\n ]);\r\n if (errList.length > 0) {\r\n this.loading = false;\r\n return this.$message.error(errList[0].errMsg);\r\n }\r\n UserCenterService.modifyPhone(params)\r\n .then(({ msg, data }) => {\r\n this.params.code = \"\";\r\n this.$message.success(msg);\r\n setTimeout(() => {\r\n this.$router.back();\r\n }, 1000);\r\n })\r\n .finally(() => setTimeout(() => (this.loading = false), 1000));\r\n },\r\n // 发送验证码\r\n sendSms() {\r\n const params = this.params;\r\n const errList = validatorFun(params, [\r\n [\"account\", [\"notNull\", \"请输入账户\"]],\r\n ]);\r\n if (errList.length > 0) {\r\n return this.$message.error(errList[0].errMsg);\r\n }\r\n const reqMap = {\r\n 1: ExpediteService.emailSms,\r\n 2: ExpediteService.sendSms,\r\n };\r\n const reqParamsMap = {\r\n 1: {\r\n email: params.account,\r\n },\r\n 2: {\r\n phone: params.account,\r\n phone_pre: params.phone_pre,\r\n },\r\n };\r\n reqMap[params.account_type](reqParamsMap[params.account_type]).then(\r\n ({ msg }) => {\r\n this.countDownFn();\r\n this.$message.success(msg);\r\n }\r\n );\r\n },\r\n // 倒计时\r\n countDownFn() {\r\n let num = 60;\r\n const fn = () => {\r\n if (num === 0) return;\r\n this.countDown = --num;\r\n setTimeout(() => fn(), 1000);\r\n };\r\n fn();\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.login-wrap {\r\n width: $body-width-100;\r\n min-width: 800px;\r\n height: $body-height-100;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n overflow: hidden;\r\n .gradient-font {\r\n background: linear-gradient(to left, #32e2e2, #3b59f8, #ff9991);\r\n -webkit-background-clip: text;\r\n -webkit-text-fill-color: transparent;\r\n }\r\n .login-box {\r\n width: 500px;\r\n height: 600px;\r\n border-radius: 15px;\r\n box-shadow: 4px 4px 18px 2px rgba(0, 0, 0, 0.1);\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n background-color: white;\r\n .login-box-title {\r\n font-size: 32px;\r\n font-weight: 400;\r\n color: #2a63f3;\r\n user-select: none;\r\n margin-top: 110px;\r\n }\r\n .login-box-tips {\r\n font-size: 32px;\r\n color: #666666;\r\n font-weight: 600;\r\n margin-top: 130px;\r\n }\r\n .login-box-switch {\r\n width: 350px;\r\n height: 40px;\r\n margin-top: 45px;\r\n .login-box-switch-content {\r\n width: 350px;\r\n height: 40px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n .login-box-switch-item {\r\n width: 48.5%;\r\n height: 30px;\r\n text-align: center;\r\n line-height: 30px;\r\n font-size: 14px;\r\n\r\n border-radius: 30px;\r\n user-select: none;\r\n }\r\n .select {\r\n background: linear-gradient(to right, #38bbe8, #32e2e2);\r\n -webkit-text-fill-color: white;\r\n }\r\n }\r\n }\r\n .login-box-phone {\r\n width: 350px;\r\n height: 40px;\r\n margin-top: 45px;\r\n .login-box-phone-content {\r\n height: 40px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n input {\r\n height: 40px;\r\n width: 68%;\r\n padding: 0;\r\n border: none;\r\n outline: none;\r\n }\r\n input::-webkit-input-placeholder {\r\n color: #cccccc;\r\n font-size: 16px;\r\n }\r\n }\r\n }\r\n .login-box-email {\r\n width: 350px;\r\n height: 40px;\r\n margin-top: 45px;\r\n .login-box-email-content {\r\n height: 40px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n input {\r\n height: 40px;\r\n width: 88%;\r\n padding: 0;\r\n border: none;\r\n outline: none;\r\n }\r\n input::-webkit-input-placeholder {\r\n color: #cccccc;\r\n font-size: 16px;\r\n }\r\n }\r\n }\r\n .login-box-code {\r\n width: 350px;\r\n height: 40px;\r\n margin-top: 25px;\r\n .login-box-code-content {\r\n height: 40px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n input {\r\n height: 40px;\r\n width: 68%;\r\n padding: 0;\r\n border: none;\r\n outline: none;\r\n }\r\n input::-webkit-input-placeholder {\r\n color: #cccccc;\r\n font-size: 16px;\r\n }\r\n span {\r\n user-select: none;\r\n font-size: 14px;\r\n background: linear-gradient(to left, #32e2e2, #3b59f8, #ff9991);\r\n -webkit-background-clip: text;\r\n -webkit-text-fill-color: transparent;\r\n }\r\n }\r\n }\r\n .login-box-agreement {\r\n user-select: none;\r\n margin-top: 100px;\r\n\r\n .login-box-agreement-content {\r\n display: flex;\r\n align-items: center;\r\n color: #cccccc;\r\n font-size: 12px;\r\n a {\r\n color: #2a63f3;\r\n text-decoration: none;\r\n }\r\n div {\r\n width: 12px;\r\n height: 12px;\r\n border-radius: 50%;\r\n margin-right: 8px;\r\n }\r\n }\r\n }\r\n .login-box-button {\r\n margin-top: 25px;\r\n\r\n user-select: none;\r\n width: 350px;\r\n height: 40px;\r\n background: linear-gradient(to right, #38bbe8, #32e2e2);\r\n border-radius: 40px;\r\n text-align: center;\r\n line-height: 40px;\r\n color: white;\r\n font-size: 20px;\r\n cursor: pointer;\r\n }\r\n }\r\n .globalRoaming-select {\r\n height: 100%;\r\n width: 20%;\r\n position: relative;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n font-size: 16px;\r\n user-select: none;\r\n .globalRoaming-option {\r\n height: 150px;\r\n width: 60px;\r\n position: absolute;\r\n top: calc(100% + 5px);\r\n right: calc(50% - 30px);\r\n transition: all 0.25s;\r\n background-color: white;\r\n }\r\n .globalRoaming-option-hide {\r\n height: 0;\r\n width: 60px;\r\n overflow: hidden;\r\n position: absolute;\r\n top: calc(100% + 5px);\r\n right: calc(50% - 30px);\r\n }\r\n .globalRoaming-option-box {\r\n width: 100%;\r\n height: 100%;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n scrollbar-width: none;\r\n\r\n .globalRoaming-option-item {\r\n width: 100%;\r\n box-sizing: border-box;\r\n padding: 4px 8px;\r\n color: #666666;\r\n }\r\n .globalRoaming-option-item:hover {\r\n background-color: rgba(0, 0, 0, 0.1);\r\n }\r\n .globalRoaming-option-item-select {\r\n background: linear-gradient(to left, #32e2e2, #3b59f8, #ff9991);\r\n -webkit-background-clip: text;\r\n -webkit-text-fill-color: transparent;\r\n }\r\n &::-webkit-scrollbar {\r\n width: 0;\r\n }\r\n }\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./login.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./login.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./login.vue?vue&type=template&id=29eb5880&scoped=true&\"\nimport script from \"./login.vue?vue&type=script&lang=js&\"\nexport * from \"./login.vue?vue&type=script&lang=js&\"\nimport style0 from \"./login.vue?vue&type=style&index=0&id=29eb5880&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"29eb5880\",\n null\n \n)\n\nexport default component.exports","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACBSURBVChTYxh8gBFEqKio+P/7988XLIIDMDIybrl79+4GsAYlJaUoILUYiJlAfCzgHxDH3bt3bykziPf+/fvLwsLCz/7//+8D5IINQQL/gKZnABUvAHHAGkDg3bt357BoAisGOmU2lI/QAAJomv6jK8YJlJWVI4D+ioRyBzdgYAAAg1M1cCxcUgIAAAAASUVORK5CYII=\""],"sourceRoot":""}