Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
geeeeeeeek committed May 17, 2023
1 parent 9c55783 commit 7fb7899
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
1 change: 1 addition & 0 deletions web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ https://blog.csdn.net/qq_41636947/article/details/117907448
##### cdn
https://cdn.jsdelivr.net/npm/[email protected]/dist/

#### public文件夹内容在build后会自动打到dist中
Binary file added web/public/images/admin-login-bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/public/images/bg2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
5 changes: 3 additions & 2 deletions web/src/views/admin/admin-login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ const loginSuccess = () => {
.main-container {
width: 100%;
height: calc(100vh - 160px);
background-color: #2a9a44;
background-image: url('../public/images/login.jpg');
background-image: url('../images/admin-login-bg.jpg');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
Expand All @@ -155,6 +154,8 @@ const loginSuccess = () => {
transform: translate(0, -50%);
border-radius: 8px;
overflow: hidden;
-webkit-box-shadow: 2px 2px 6px #aaa;
box-shadow: 2px 2px 6px #aaa;
.main_right {
background: #ffffff;
Expand Down
4 changes: 3 additions & 1 deletion web/src/views/index/login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ div {
.container {
//background-color: #f1f1f1;
background-image: url('../public/images/login.jpg');
background-image: url('../images/admin-login-bg.jpg');
background-size: cover;
object-fit: cover;
height: 100%;
Expand Down Expand Up @@ -132,6 +132,8 @@ div {
height: 464px;
background: #fff;
border-radius: 4px;
-webkit-box-shadow: 2px 2px 6px #aaa;
box-shadow: 2px 2px 6px #aaa;
}
.login-tab {
Expand Down
9 changes: 5 additions & 4 deletions web/src/views/index/register.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ div {
.container {
max-width: 100%;
//background: #142131;
background-image: url('../public/images/login.jpg');
background-image: url('../images/admin-login-bg.jpg');
background-size: cover;
object-fit: cover;
height: 100vh;
overflow: hidden;
display:flex;
Expand All @@ -116,10 +118,9 @@ div {
width: 400px;
height: 464px;
background: #fff;
-webkit-box-shadow: 0 8px 16px rgb(0 0 0 / 8%);
box-shadow: 0 8px 16px rgb(0 0 0 / 8%);
-webkit-box-shadow: 2px 2px 6px #aaa;
box-shadow: 2px 2px 6px #aaa;
border-radius: 4px;
//margin: -232px auto 0;
}
.tel-regist-page {
Expand Down

0 comments on commit 7fb7899

Please sign in to comment.