提交 f8bb5cdd authored 作者: hejie's avatar hejie

feat: 修改登录页面

上级 fc914369
...@@ -39,6 +39,8 @@ defineOptions({ ...@@ -39,6 +39,8 @@ defineOptions({
name: "Login" name: "Login"
}); });
const radioBox = ref("SMS");
const imgCode = ref(""); const imgCode = ref("");
const loginDay = ref(7); const loginDay = ref(7);
const router = useRouter(); const router = useRouter();
...@@ -66,7 +68,7 @@ const { locale, translationCh, translationEn } = useTranslationLang(); ...@@ -66,7 +68,7 @@ const { locale, translationCh, translationEn } = useTranslationLang();
const ruleForm = reactive({ const ruleForm = reactive({
username: "zhangxiaoming", username: "zhangxiaoming",
password: "string", password: "123456",
verifyCode: "" verifyCode: ""
}); });
...@@ -286,6 +288,14 @@ watch(loginDay, value => { ...@@ -286,6 +288,14 @@ watch(loginDay, value => {
{{ t("login.pureForget") }} {{ t("login.pureForget") }}
</el-button> </el-button>
</div> </div>
<el-divider />
<Motion :delay="300">
<el-radio-group v-model="radioBox" size="default">
<el-radio value="SMS" border>SMS</el-radio>
<el-radio value="DBSM" border>DBSM</el-radio>
<el-radio value="ISMS" border>ISMS</el-radio>
</el-radio-group>
</Motion>
<el-button <el-button
class="w-full mt-4!" class="w-full mt-4!"
size="default" size="default"
...@@ -299,7 +309,7 @@ watch(loginDay, value => { ...@@ -299,7 +309,7 @@ watch(loginDay, value => {
</el-form-item> </el-form-item>
</Motion> </Motion>
<Motion :delay="300"> <!-- <Motion :delay="300">
<el-form-item> <el-form-item>
<div class="w-full h-[20px] flex justify-between items-center"> <div class="w-full h-[20px] flex justify-between items-center">
<el-button <el-button
...@@ -313,7 +323,7 @@ watch(loginDay, value => { ...@@ -313,7 +323,7 @@ watch(loginDay, value => {
</el-button> </el-button>
</div> </div>
</el-form-item> </el-form-item>
</Motion> </Motion> -->
</el-form> </el-form>
<Motion v-if="currentPage === 0" :delay="350"> <Motion v-if="currentPage === 0" :delay="350">
......
...@@ -31,4 +31,16 @@ const thirdParty = [ ...@@ -31,4 +31,16 @@ const thirdParty = [
} }
]; ];
export { operates, thirdParty }; const sys = [
{
title: "SMS"
},
{
title: "DBSM"
},
{
title: "ISMS"
}
];
export { operates, thirdParty, sys };
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论