1 line
40 KiB
Plaintext
1 line
40 KiB
Plaintext
{"version":3,"sources":["webpack:///./src/views/login/Sign.vue?4c4b","webpack:///./src/views/login/Sign.vue","webpack:///./src/views/login/Sign.vue?bc45","webpack:///./src/views/login/Sign.vue?799c","webpack:///./src/static/images/success.png","webpack:///./src/static/images/agree.png"],"names":["class","src","alt","type","style","stepnow","lan","$t","navto","layout","formLayout","label","compact","default-value","mrqh","name","code","size","getquhao","option-label-prop","show-search","quhaolist","i","j","key","value","phone","placeholder","getcode","time","next","agree","ifagree","userinfo","pass","passtow","emil","muyu","jiaoshou","willsay","item","index","components","NavTop","setup","labelCol","wrapperCol","store","state","qh","quhao","id","then","res","lock","message","error","iszc","data","msg","timestep","setInterval","clearInterval","yanzheng","e","yz","url","router","push","toString","split","render","__scopeId","module","exports"],"mappings":"kHAAA,W,6QCCSA,MAAM,S,GAEFA,MAAM,O,GAEEA,MAAM,S,GAEDA,MAAM,W,aAIPA,MAAM,U,EA4CC,yBAAwB,OAAnBA,MAAM,QAAM,S,EAmBjB,yBAAwB,OAAnBA,MAAM,QAAM,S,GAUhBA,MAAM,W,SAEHC,IAAA,IACAC,IAAI,GACJF,MAAM,S,aAUjBA,MAAM,U,GAKFA,MAAM,Y,GAyDNA,MAAM,W,aAKVA,MAAM,U,EACX,yBAIE,OAHEC,IAAA,IACAC,IAAI,GACJF,MAAM,W,YAQTA,MAAM,S,GACFA,MAAM,Q,EAQX,yBAA4B,OAAvBA,MAAM,YAAU,S,GAChBA,MAAM,Q,EAWX,yBAA4B,OAAvBA,MAAM,YAAU,S,GAChBA,MAAM,Q,SASVA,MAAM,S,EACP,yBAA4D,OAAvDC,IAAA,IAAiCC,IAAI,GAAGF,MAAM,Q,WACnD,yBAA2D,OAAtDC,IAAA,IAAgCC,IAAI,GAAGF,MAAM,Q,WAClD,yBAIE,OAHEC,IAAA,IACAC,IAAI,GACJF,MAAM,Q,oaArN1B,yBA0NM,MA1NN,EA0NM,CAzNF,yBAAkD,GAAzCG,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OAAS,EAChB,EAAOC,UAAY,kBAEJ,gB,qBCRfC,EAAOC,QAAU,IAA0B,4B,0CCA3CD,EAAOC,QAAU","file":"js/chunk-74d7e8d4.f51cc878.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/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-v16/dist/index.js??ref--0-1!./Sign.vue?vue&type=style&index=0&id=5de79f9f&lang=scss&scoped=true\"","<template>\r\n <div class=\"login\">\r\n <NavTop :type=\"0\" style=\"flex-shrink: 0\"></NavTop>\r\n <div class=\"box\">\r\n <div :class=\"stepnow != 2 ? 'left' : 'left left1'\">\r\n <div class=\"title\">\r\n {{ lan.$t(\"huanying\") }}\r\n <span class=\"orgname\">{{ lan.$t(\"beelink\") }}</span>\r\n </div>\r\n\r\n <div v-if=\"stepnow == 1\">\r\n <div class=\"nosign\">\r\n {{ lan.$t(\"yiyouzhanghao\") }}\r\n <span class=\"tosign\" @click=\"navto('/')\">\r\n {{ lan.$t(\"qudenglu\") }}\r\n </span>\r\n </div>\r\n\r\n <a-form :layout=\"formLayout\">\r\n <a-form-item\r\n :label=\"lan.$t('shoujihao')\"\r\n class=\"form-item\"\r\n >\r\n <a-input-group compact>\r\n <a-select\r\n :default-value=\"mrqh.name + '+' + mrqh.code\"\r\n size=\"small\"\r\n @change=\"getquhao\"\r\n class=\"getcode\"\r\n\t\t\t\t\t\t\t\t\tstyle=\"width: 50%\"\r\n option-label-prop=\"label\"\r\n show-search\r\n >\r\n <a-select-option\r\n v-for=\"(i, j) in quhaolist\"\r\n :key=\"j\"\r\n :value=\"i.name + '+' + i.code\"\r\n :label=\"'+' + i.code\"\r\n >\r\n {{ i.name }}+{{ i.code }}\r\n </a-select-option>\r\n <!-- <a-select-option value=\"Jiangsu\"> Jiangsu </a-select-option> -->\r\n </a-select>\r\n <!-- <a-select\r\n class=\"getcode\"\r\n style=\"width: 50%\"\r\n v-model:value=\"phone.quhao\"\r\n >\r\n <a-select-option value=\"86\">\r\n 中国+0086\r\n </a-select-option>\r\n <a-select-option value=\"Jiangsu\">\r\n Jiangsu\r\n </a-select-option>\r\n </a-select> -->\r\n <div class=\"line\"></div>\r\n <a-input\r\n v-model:value=\"phone.phone\"\r\n style=\"width: 50%\"\r\n :placeholder=\"lan.$t('shurushouji')\"\r\n />\r\n </a-input-group>\r\n </a-form-item>\r\n <a-form-item :label=\"lan.$t('yanzhengma')\" class=\"form-item\">\r\n <a-input-group compact>\r\n <div\r\n class=\"getcode\"\r\n style=\"width: 50%\"\r\n @click=\"getcode\"\r\n >\r\n {{lan.$t('dianjihuoquyzm')}} {{\r\n time == 60 ? \"\" : \"(\" + time + \")\"\r\n }}\r\n </div>\r\n <div class=\"line\"></div>\r\n <a-input\r\n v-model:value=\"phone.code\"\r\n style=\"width: 50%\"\r\n :placeholder=\"lan.$t('shuruyzm')\"\r\n />\r\n </a-input-group>\r\n </a-form-item>\r\n <div class=\"submit\" @click=\"next(2)\">{{lan.$t('xiayibu')}}</div>\r\n <div class=\"agreement\" @click=\"agree\">\r\n <div class=\"ifagree\">\r\n <img\r\n src=\"@/static/images/agree.png\"\r\n alt=\"\"\r\n class=\"agree\"\r\n v-if=\"ifagree\"\r\n />\r\n </div>\r\n {{lan.$t('tongyixieyi')}}\r\n </div>\r\n </a-form>\r\n </div>\r\n\r\n <div v-if=\"stepnow == 2\">\r\n <div class=\"nosign\">\r\n {{lan.$t('yiyouzhanghao')}}\r\n <span class=\"tosign\" @click=\"navto('/')\"> {{lan.$t('qudenglu')}} </span>\r\n </div>\r\n <a-form :layout=\"formLayout\">\r\n <div class=\"signform\">\r\n <a-form-item :label=\"lan.$t('shezhimima')\" class=\"form-item\">\r\n <a-input\r\n class=\"shuru\"\r\n :placeholder=\"lan.$t('shurumima')\"\r\n type=\"password\"\r\n v-model:value=\"userinfo.pass\"\r\n />\r\n </a-form-item>\r\n <a-form-item :label=\"lan.$t('shezhimima')\" class=\"form-item\">\r\n <a-input\r\n class=\"shuru\"\r\n :placeholder=\"lan.$t('shurumimatwo')\"\r\n type=\"password\"\r\n v-model:value=\"userinfo.passtow\"\r\n />\r\n </a-form-item>\r\n <a-form-item :label=\"lan.$t('xingming')\" class=\"form-item\">\r\n <a-input\r\n class=\"shuru\"\r\n :placeholder=\"lan.$t('shuruxingming')\"\r\n v-model:value=\"userinfo.name\"\r\n />\r\n </a-form-item>\r\n <a-form-item :label=\"lan.$t('youxiang')\" class=\"form-item\">\r\n <a-input\r\n class=\"shuru\"\r\n :placeholder=\"lan.$t('shuruyouxiang')\"\r\n v-model:value=\"userinfo.emil\"\r\n />\r\n </a-form-item>\r\n <a-form-item :label=\"lan.$t('muyu')\" class=\"form-item\">\r\n <a-input\r\n class=\"shuru\"\r\n :placeholder=\"lan.$t('shurumuyu')\"\r\n v-model:value=\"userinfo.muyu\"\r\n />\r\n </a-form-item>\r\n <a-form-item label=\"教授\" class=\"form-item\">\r\n <a-select\r\n v-model:value=\"userinfo.jiaoshou\"\r\n class=\"getcode\"\r\n style=\"color: #111\"\r\n :placeholder=\"lan.$t('xuanzejiaoshou')\"\r\n >\r\n <a-select-option\r\n v-for=\"(item, index) in willsay\"\r\n :key=\"index\"\r\n :value=\"item.value\"\r\n >\r\n {{ item.name }}\r\n </a-select-option>\r\n </a-select>\r\n </a-form-item>\r\n </div>\r\n\r\n <div class=\"submit\" @click=\"next(3)\">{{lan.$t('lijizhuce')}}</div>\r\n <div class=\"orginfo\">{{lan.$t('banquan')}}</div>\r\n </a-form>\r\n </div>\r\n\r\n <div v-if=\"stepnow == 3\">\r\n <div class=\"nosign\">{{lan.$t('您已完成注册')}}</div>\r\n <img\r\n src=\"@/static/images/success.png\"\r\n alt=\"\"\r\n class=\"success\"\r\n />\r\n <div class=\"ale\" @click=\"navto('/mine/archives')\">\r\n {{lan.$t('qudangan')}}\r\n </div>\r\n </div>\r\n </div>\r\n <div :class=\"stepnow != 2 ? 'right' : 'right right1'\">\r\n <div class=\"steps\">\r\n <div class=\"step\">\r\n <div :class=\"stepnow == 1 ? 'circle step1' : 'circle'\">\r\n 01\r\n </div>\r\n <div :class=\"stepnow == 1 ? 'stepnow' : ''\">\r\n {{lan.$t('yanzhengshouji')}}\r\n </div>\r\n </div>\r\n <div class=\"stepline\"></div>\r\n <div class=\"step\">\r\n <div :class=\"stepnow == 2 ? 'circle step1' : 'circle'\">\r\n 02\r\n </div>\r\n <div :class=\"stepnow == 2 ? 'stepnow' : ''\">\r\n {{lan.$t('tianxiexinxi')}}\r\n </div>\r\n <div class=\"back\" @click=\"next(1)\" v-if=\"stepnow == 2\">\r\n {{lan.$t('fanhuishangyibu')}}\r\n </div>\r\n </div>\r\n <div class=\"stepline\"></div>\r\n <div class=\"step\">\r\n <div :class=\"stepnow == 3 ? 'circle step1' : 'circle'\">\r\n 03\r\n </div>\r\n <div :class=\"stepnow == 3 ? 'stepnow' : ''\">\r\n {{lan.$t('zhucewancheng')}}\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"icons\" v-if=\"stepnow == 2\">\r\n <img src=\"@/static/images/weixin.png\" alt=\"\" class=\"icon\" />\r\n <img src=\"@/static/images/weibo.png\" alt=\"\" class=\"icon\" />\r\n <img\r\n src=\"@/static/images/facebook.png\"\r\n alt=\"\"\r\n class=\"icon\"\r\n />\r\n </div>\t\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script lang=\"ts\">\r\nimport { computed, defineComponent, onMounted, reactive, ref, toRaw } from \"vue\";\r\nimport NavTop from \"@/components/NavTop.vue\";\r\nimport {\r\n checksmscode,\r\n checkuser,\r\n getquhaolist,\r\n getwillsay,\r\n interests,\r\n register,\r\n sendsms,\r\n} from \"@/api\";\r\nimport { message } from \"ant-design-vue\";\r\nimport router from \"@/router\";\r\nimport { useI18n } from \"@/utils/i18n\";\r\nimport store from '@/store';\r\n\r\nexport default defineComponent({\r\n name: \"Sign\",\r\n components: { NavTop },\r\n setup() {\r\n const lan: any = useI18n();\r\n const formLayout = {\r\n labelCol: 4,\r\n wrapperCol: 14,\r\n };\r\n const time = ref(60); //倒计时初始化\r\n \r\n const userinfo = ref({\r\n pass: \"\",\r\n passtow: \"\",\r\n name: \"\",\r\n emil: \"\",\r\n muyu: \"\",\r\n jiaoshou: \"\",\r\n });\r\n const willsay = ref<any>();\r\n const mrqh = computed(() => store.state.qh)\r\n const phone = ref({\r\n quhao: mrqh.value.code,\r\n phone: \"\",\r\n code: \"\",\r\n });\r\n const quhaolist = ref<any>([\r\n {\r\n code: \"86\",\r\n id: 214,\r\n name: \"中国\",\r\n },\r\n ]);\r\n interests().then((res) => {\r\n willsay.value = res;\r\n });\r\n onMounted(async () => {\r\n quhaolist.value = await getquhaolist();\r\n });\r\n\r\n /**\r\n * @param\r\n * 点击获取验证码 触发60S倒计时\r\n */\r\n let lock = false;\r\n const getcode = async () => {\r\n console.log(11111);\r\n \r\n if (lock) {\r\n return;\r\n }\r\n if (phone.value.phone == \"\") {\r\n message.error(lan.$t('shoujihaoweikong'));\r\n return;\r\n }\r\n const iszc = await checkuser({phone: phone.value.phone})\r\n if(iszc.data){\r\n message.error(iszc.msg)\r\n return ;\r\n }\r\n lock = true;\r\n sendsms(phone.value.quhao, phone.value.phone);\r\n const timestep = setInterval(() => {\r\n console.log(phone);\r\n time.value = time.value - 1;\r\n if (time.value <= 0) {\r\n time.value = 60;\r\n clearInterval(timestep);\r\n lock = false;\r\n }\r\n }, 1000);\r\n };\r\n const ifagree = ref(true); //是否同意用户协议\r\n\r\n /**\r\n *@param\r\n * 用户协议前面radio 的点击效果\r\n */\r\n const agree: () => void = () => {\r\n ifagree.value = ifagree.value == true ? false : true;\r\n console.log(ifagree.value, 600);\r\n };\r\n\r\n const stepnow = ref(1); // 步骤条初始\r\n\r\n function yanzheng() {\r\n if (userinfo.value.pass == \"\") {\r\n message.error(lan.$t(\"mimaweikong\"));\r\n return false;\r\n }\r\n if (userinfo.value.passtow == \"\") {\r\n message.error(lan.$t(\"mimaweikong\"));\r\n return false;\r\n }\r\n if (userinfo.value.pass != userinfo.value.passtow) {\r\n message.error(lan.$t('mimabuyizhi'));\r\n return;\r\n }\r\n if (userinfo.value.name == \"\") {\r\n message.error(lan.$t(\"xingmingweikong\"));\r\n return false;\r\n }\r\n if (userinfo.value.emil == \"\") {\r\n message.error(lan.$t('youxiangweikong'));\r\n return false;\r\n }\r\n if (userinfo.value.muyu == \"\") {\r\n message.error(lan.$t('muyuweikong'));\r\n return false;\r\n }\r\n if (userinfo.value.jiaoshou == \"\") {\r\n message.error(lan.$t('jiaoshouweikong'));\r\n return false;\r\n }\r\n return true;\r\n }\r\n /**\r\n *@param e 跳到哪一步\r\n * 步骤条跳到某一步\r\n */\r\n\r\n async function next(e: number) {\r\n if (!ifagree.value) {\r\n message.error(lan.$t('weitongyixieyi'));\r\n return;\r\n }\r\n if (stepnow.value > e) {\r\n stepnow.value = e;\r\n return;\r\n }\r\n switch (e) {\r\n case 2: {\r\n console.log(e);\r\n if (phone.value.phone == \"\") {\r\n message.error(lan.$t('shoujihaoweikong'));\r\n return;\r\n } else if (phone.value.code == \"\") {\r\n message.error(lan.$t('yanzhengmaweikong'));\r\n return;\r\n }\r\n const res = await checksmscode(\r\n phone.value.quhao + phone.value.phone,\r\n phone.value.code\r\n );\r\n \r\n if (res) {\r\n \r\n stepnow.value = e;\r\n\t\t\t\t\t}\r\n \r\n break;\r\n }\r\n case 3: {\r\n console.log(userinfo.value);\r\n const yz = yanzheng();\r\n if (yz) {\r\n const res = await register({\r\n ...toRaw(phone.value),\r\n ...toRaw(userinfo.value),\r\n });\r\n if (res) {\r\n stepnow.value = e;\r\n }\r\n\t\t\t\t\t}\r\n \r\n }\r\n }\r\n }\r\n function navto(url: string) {\r\n router.push(url);\r\n }\r\n\r\n function getquhao(e?: any){\r\n console.log(e)\r\n phone.value.quhao = e.toString()\r\n phone.value.quhao = phone.value.quhao.split(\"+\")[1];\r\n }\r\n\r\n return {\r\n formLayout,\r\n getcode,\r\n time,\r\n agree,\r\n ifagree,\r\n stepnow,\r\n next,\r\n phone,\r\n userinfo,\r\n willsay,\r\n navto,\r\n lan,\r\n quhaolist,\r\n getquhao,\r\n mrqh\r\n };\r\n },\r\n});\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n.login ::v-deep(.ant-select-selection) {\r\n border: none;\r\n}\r\n.login ::v-deep(.ant-input) {\r\n border: none;\r\n}\r\n.ant-input:focus {\r\n border: none;\r\n border-bottom: 1px solid white !important;\r\n box-shadow: none;\r\n}\r\n.login ::v-deep(.ant-form-item-label) {\r\n line-height: 14px;\r\n}\r\n.login ::v-deep(.ant-form-item) ::v-deep(label) {\r\n color: #0dbba4;\r\n font-size: 11px;\r\n left: 1px;\r\n}\r\n.login {\r\n min-width: 100%;\r\n height: 100vh;\r\n background: url(\"../../static/images/loginbg.png\");\r\n background-size: 100% 130%;\r\n background-repeat: no-repeat;\r\n .box {\r\n padding-top: 145px;\r\n\r\n display: flex;\r\n justify-content: space-around;\r\n .left1 {\r\n width: 710px !important;\r\n }\r\n .left {\r\n width: 314px;\r\n .title {\r\n font-size: 17px;\r\n font-weight: bold;\r\n }\r\n .orgname {\r\n font-size: 29px;\r\n color: #0dbba4;\r\n cursor: pointer;\r\n }\r\n .nosign {\r\n font-size: 12px;\r\n color: #666666;\r\n margin-top: 17px;\r\n margin-bottom: 35px;\r\n }\r\n .tosign {\r\n color: #0dbba4;\r\n cursor: pointer;\r\n }\r\n .tab {\r\n margin-bottom: 30px;\r\n }\r\n\r\n .form-item {\r\n border-bottom: 1px solid #e5e5e5;\r\n font-size: 15px;\r\n margin-right: 40px;\r\n }\r\n .line {\r\n width: 1px;\r\n height: 14px;\r\n background: #e5e5e5;\r\n margin-top: 10px;\r\n position: relative;\r\n z-index: 999;\r\n }\r\n ::v-deep(.getcode) {\r\n font-size: 15px;\r\n color: #08ae98;\r\n width: 313px;\r\n // width: 50%;\r\n line-height: 30px;\r\n cursor: pointer;\r\n }\r\n ::v-deep(.ant-select-selection){\r\n background-color: unset;\r\n }\r\n .orginfo {\r\n margin-top: 178px;\r\n }\r\n .submit {\r\n width: 143px;\r\n height: 35px;\r\n background: linear-gradient(\r\n 90deg,\r\n #00dac2,\r\n #42de9e,\r\n #88e062,\r\n #d0eb3e,\r\n #fffa18\r\n );\r\n border-radius: 18px;\r\n font-size: 15px;\r\n color: white;\r\n font-weight: 800;\r\n text-align: center;\r\n line-height: 35px;\r\n margin-top: 45px;\r\n }\r\n .agreement {\r\n font-size: 12px;\r\n display: flex;\r\n margin-top: 23px;\r\n cursor: default;\r\n .ifagree {\r\n width: 12px;\r\n height: 12px;\r\n border-radius: 3px;\r\n border: 1px solid #0ebca4;\r\n margin: auto 0;\r\n margin-right: 7px;\r\n .agree {\r\n width: 8px;\r\n height: 6px;\r\n position: relative;\r\n top: -4px;\r\n left: 2.5px;\r\n }\r\n }\r\n }\r\n }\r\n .right1 {\r\n width: 230px !important;\r\n }\r\n .right {\r\n width: 690px;\r\n .steps {\r\n padding-top: 112px;\r\n .stepline {\r\n width: 1px;\r\n height: 50px;\r\n border: 1px dashed #eeeeee;\r\n position: relative;\r\n left: 13px;\r\n }\r\n .step {\r\n display: flex;\r\n color: #999999;\r\n font-size: 11px;\r\n line-height: 28px;\r\n font-weight: bold;\r\n .back {\r\n color: #0dbba4;\r\n margin-left: 23px;\r\n }\r\n .circle {\r\n width: 29px;\r\n height: 29px;\r\n border-radius: 15px;\r\n background: #eeeeee;\r\n font-size: 12px;\r\n color: #999999;\r\n text-align: center;\r\n line-height: 29px;\r\n font-weight: 800;\r\n margin-right: 17px;\r\n }\r\n }\r\n .step1 {\r\n background: #08ae98 !important;\r\n color: white !important;\r\n }\r\n .stepnow {\r\n color: #111111;\r\n }\r\n }\r\n }\r\n }\r\n .signform {\r\n display: flex;\r\n flex-wrap: wrap;\r\n .shuru {\r\n width: 313px;\r\n }\r\n }\r\n .icons {\r\n margin-right: 41px;\r\n margin-top: 227px;\r\n .icon {\r\n width: 28px;\r\n height: 28px;\r\n margin-right: 18px;\r\n float: right;\r\n }\r\n }\r\n .success {\r\n width: 250px;\r\n height: 233px;\r\n }\r\n .ale {\r\n color: #08ae98;\r\n font-size: 14px;\r\n font-weight: 800;\r\n margin-top: 34px;\r\n cursor: pointer;\r\n }\r\n}\r\n</style>","\r\nimport { computed, defineComponent, onMounted, reactive, ref, toRaw } from \"vue\";\r\nimport NavTop from \"@/components/NavTop.vue\";\r\nimport {\r\n checksmscode,\r\n checkuser,\r\n getquhaolist,\r\n getwillsay,\r\n interests,\r\n register,\r\n sendsms,\r\n} from \"@/api\";\r\nimport { message } from \"ant-design-vue\";\r\nimport router from \"@/router\";\r\nimport { useI18n } from \"@/utils/i18n\";\r\nimport store from '@/store';\r\n\r\nexport default defineComponent({\r\n name: \"Sign\",\r\n components: { NavTop },\r\n setup() {\r\n const lan: any = useI18n();\r\n const formLayout = {\r\n labelCol: 4,\r\n wrapperCol: 14,\r\n };\r\n const time = ref(60); //倒计时初始化\r\n \r\n const userinfo = ref({\r\n pass: \"\",\r\n passtow: \"\",\r\n name: \"\",\r\n emil: \"\",\r\n muyu: \"\",\r\n jiaoshou: \"\",\r\n });\r\n const willsay = ref<any>();\r\n const mrqh = computed(() => store.state.qh)\r\n const phone = ref({\r\n quhao: mrqh.value.code,\r\n phone: \"\",\r\n code: \"\",\r\n });\r\n const quhaolist = ref<any>([\r\n {\r\n code: \"86\",\r\n id: 214,\r\n name: \"中国\",\r\n },\r\n ]);\r\n interests().then((res) => {\r\n willsay.value = res;\r\n });\r\n onMounted(async () => {\r\n quhaolist.value = await getquhaolist();\r\n });\r\n\r\n /**\r\n * @param\r\n * 点击获取验证码 触发60S倒计时\r\n */\r\n let lock = false;\r\n const getcode = async () => {\r\n console.log(11111);\r\n \r\n if (lock) {\r\n return;\r\n }\r\n if (phone.value.phone == \"\") {\r\n message.error(lan.$t('shoujihaoweikong'));\r\n return;\r\n }\r\n const iszc = await checkuser({phone: phone.value.phone})\r\n if(iszc.data){\r\n message.error(iszc.msg)\r\n return ;\r\n }\r\n lock = true;\r\n sendsms(phone.value.quhao, phone.value.phone);\r\n const timestep = setInterval(() => {\r\n console.log(phone);\r\n time.value = time.value - 1;\r\n if (time.value <= 0) {\r\n time.value = 60;\r\n clearInterval(timestep);\r\n lock = false;\r\n }\r\n }, 1000);\r\n };\r\n const ifagree = ref(true); //是否同意用户协议\r\n\r\n /**\r\n *@param\r\n * 用户协议前面radio 的点击效果\r\n */\r\n const agree: () => void = () => {\r\n ifagree.value = ifagree.value == true ? false : true;\r\n console.log(ifagree.value, 600);\r\n };\r\n\r\n const stepnow = ref(1); // 步骤条初始\r\n\r\n function yanzheng() {\r\n if (userinfo.value.pass == \"\") {\r\n message.error(lan.$t(\"mimaweikong\"));\r\n return false;\r\n }\r\n if (userinfo.value.passtow == \"\") {\r\n message.error(lan.$t(\"mimaweikong\"));\r\n return false;\r\n }\r\n if (userinfo.value.pass != userinfo.value.passtow) {\r\n message.error(lan.$t('mimabuyizhi'));\r\n return;\r\n }\r\n if (userinfo.value.name == \"\") {\r\n message.error(lan.$t(\"xingmingweikong\"));\r\n return false;\r\n }\r\n if (userinfo.value.emil == \"\") {\r\n message.error(lan.$t('youxiangweikong'));\r\n return false;\r\n }\r\n if (userinfo.value.muyu == \"\") {\r\n message.error(lan.$t('muyuweikong'));\r\n return false;\r\n }\r\n if (userinfo.value.jiaoshou == \"\") {\r\n message.error(lan.$t('jiaoshouweikong'));\r\n return false;\r\n }\r\n return true;\r\n }\r\n /**\r\n *@param e 跳到哪一步\r\n * 步骤条跳到某一步\r\n */\r\n\r\n async function next(e: number) {\r\n if (!ifagree.value) {\r\n message.error(lan.$t('weitongyixieyi'));\r\n return;\r\n }\r\n if (stepnow.value > e) {\r\n stepnow.value = e;\r\n return;\r\n }\r\n switch (e) {\r\n case 2: {\r\n console.log(e);\r\n if (phone.value.phone == \"\") {\r\n message.error(lan.$t('shoujihaoweikong'));\r\n return;\r\n } else if (phone.value.code == \"\") {\r\n message.error(lan.$t('yanzhengmaweikong'));\r\n return;\r\n }\r\n const res = await checksmscode(\r\n phone.value.quhao + phone.value.phone,\r\n phone.value.code\r\n );\r\n \r\n if (res) {\r\n \r\n stepnow.value = e;\r\n\t\t\t\t\t}\r\n \r\n break;\r\n }\r\n case 3: {\r\n console.log(userinfo.value);\r\n const yz = yanzheng();\r\n if (yz) {\r\n const res = await register({\r\n ...toRaw(phone.value),\r\n ...toRaw(userinfo.value),\r\n });\r\n if (res) {\r\n stepnow.value = e;\r\n }\r\n\t\t\t\t\t}\r\n \r\n }\r\n }\r\n }\r\n function navto(url: string) {\r\n router.push(url);\r\n }\r\n\r\n function getquhao(e?: any){\r\n console.log(e)\r\n phone.value.quhao = e.toString()\r\n phone.value.quhao = phone.value.quhao.split(\"+\")[1];\r\n }\r\n\r\n return {\r\n formLayout,\r\n getcode,\r\n time,\r\n agree,\r\n ifagree,\r\n stepnow,\r\n next,\r\n phone,\r\n userinfo,\r\n willsay,\r\n navto,\r\n lan,\r\n quhaolist,\r\n getquhao,\r\n mrqh\r\n };\r\n },\r\n});\r\n","import { render } from \"./Sign.vue?vue&type=template&id=5de79f9f&scoped=true&bindings={}\"\nimport script from \"./Sign.vue?vue&type=script&lang=ts\"\nexport * from \"./Sign.vue?vue&type=script&lang=ts\"\n\nimport \"./Sign.vue?vue&type=style&index=0&id=5de79f9f&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-5de79f9f\"\n\nexport default script","module.exports = __webpack_public_path__ + \"img/success.77170588.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAA2UlEQVQoU4WQMWvCUBzE716eQheHfori6ioUkU5uQt/Q4KC4CG7t2sHZpZSCOFlKkw6O4hBJHHTzIzg4iks725jkLyKKFLQ3H3f3O+Ifad95BnjFSz4VfD0pkTaIl7NGFThNJXgVohsX7QbT/mc2FK5xZy8O6anArYtIl8DHpvhQAynUvjMjcL35DfMoVVdW4FQo6AnQj6dzG61Wsgtg2nNvEo0JBEsSbyLSATmIvvU9jIkPLfuN3ntOW6kxwAyAYfSjyzAmPAU9wuiRewslj5EVGhSq679vbAGRO0nrhRE6fAAAAABJRU5ErkJggg==\""],"sourceRoot":""} |