This commit is contained in:
ray_wuhao 2023-04-03 10:29:52 +08:00
parent 1a113446ca
commit ff91d9f1cc
4 changed files with 27 additions and 3 deletions

View File

@ -1,5 +1,11 @@
# CHANGE LOG # CHANGE LOG
## 3.1.6
### Fixes
- 修复移动端登陆页显示问题
## 3.1.5 ## 3.1.5
### Fixes ### Fixes
@ -12,7 +18,7 @@
- 重写 `AxiosInstance` 类型 - 重写 `AxiosInstance` 类型
- `src/types` 分包更加清晰 - `src/types` 分包更加清晰
- 将主色调同步至 `body`,默认同步 `cfg.primaryColor` - 将主色调同步至 `body`,默认同步 `cfg.primaryColor`
- 登陆页一些修改 - 登陆页一些修改(现在支持简单的响应式)
- 将一些设置型功能抽离为组件 - 将一些设置型功能抽离为组件
- 调整同步主题色执行时机 - 调整同步主题色执行时机

View File

@ -1,7 +1,7 @@
{ {
"name": "ray-template", "name": "ray-template",
"private": true, "private": true,
"version": "3.1.4", "version": "3.1.6",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

View File

@ -92,3 +92,21 @@ $positionY: 24px;
background-color: #2a3146; background-color: #2a3146;
} }
} }
@media screen and (max-width: 1200px) {
.login__left-wrapper {
display: none !important;
}
}
@media screen and (min-width: 768px) and (max-width: 992px) {
.login__right-wrapper .login__right-wrapper__content {
width: 55% !important;
}
}
@media screen and (max-width: 768px) {
.login__right-wrapper .login__right-wrapper__content {
width: 100% !important;
}
}

View File

@ -55,7 +55,7 @@ const Login = defineComponent({
<div <div
class={[ class={[
'login-wrapper', 'login-wrapper',
this.windowWidth >= 1200 ? 'login-wrapper--divider' : '', this.windowWidth >= 1440 ? 'login-wrapper--divider' : '',
]} ]}
> >
<div class={['login-wrapper__content']}> <div class={['login-wrapper__content']}>