diff --git a/src/views/index.vue b/src/views/index.vue index b842943..60a9e14 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -34,7 +34,7 @@ p { background-image: url("../assets/images/index-background.jpg"); height: 100%; background-size: cover; - opacity: 0.4; /* 只在这层做透明 */ + opacity: 0.3; /* 只在这层做透明 */ } diff --git a/src/views/login.vue b/src/views/login.vue index b867391..acf800e 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -177,7 +177,7 @@ getCookie(); background-image: url("../assets/images/login-background.jpg"); height: 100%; background-size: cover; - opacity: 0.2; /* 只在这层做透明 */ + opacity: 0.3; /* 只在这层做透明 */ z-index: -1; } .title {