style
This commit is contained in:
@@ -49,7 +49,7 @@ const { mutate: login, isPending: loading } = useMutation({
|
||||
<NInput v-model:value="formData.password" type="password" show-password-on="click" placeholder="请输入密码" />
|
||||
</NFormItem>
|
||||
</NForm>
|
||||
<NButton type="primary" block strong :loading="loading" @click="() => login(formData)"> 登录 </NButton>
|
||||
<NButton type="primary" block strong :loading="loading" @click="() => login(formData)">登录</NButton>
|
||||
</NFlex>
|
||||
</NCard>
|
||||
</div>
|
||||
@@ -58,44 +58,43 @@ const { mutate: login, isPending: loading } = useMutation({
|
||||
|
||||
<style scoped lang="scss">
|
||||
.login-page {
|
||||
}
|
||||
.login-card-container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.login-card-container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.login-card {
|
||||
width: 400px;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
||||
padding: 32px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.login-card {
|
||||
width: 400px;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
||||
padding: 32px;
|
||||
position: relative;
|
||||
}
|
||||
.theme-switch {
|
||||
position: absolute;
|
||||
bottom: 16px;
|
||||
right: 16px;
|
||||
}
|
||||
|
||||
.theme-switch {
|
||||
position: absolute;
|
||||
bottom: 16px;
|
||||
right: 16px;
|
||||
}
|
||||
.platform-title {
|
||||
font-size: 28px;
|
||||
font-weight: 500;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.platform-title {
|
||||
font-size: 28px;
|
||||
font-weight: 500;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.login-title {
|
||||
font-size: 16px;
|
||||
color: #999;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.login-title {
|
||||
font-size: 16px;
|
||||
color: #999;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.login-form {
|
||||
width: 100%;
|
||||
margin-bottom: 16px;
|
||||
.login-form {
|
||||
width: 100%;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user