From 601b1a05041d3cbc3f1a22d4e22cfa4c432c5c63 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 24 六月 2024 09:26:00 +0800
Subject: [PATCH] 首页调整
---
Source/plt-web/plt-web-ui/public/img/login-border.png | 0
Source/plt-web/plt-web-ui/src/lang/zh.js | 2 +-
Source/plt-web/plt-web-ui/src/styles/login.scss | 18 +++++++-----------
Source/plt-web/plt-web-ui/src/page/login/userlogin.vue | 6 +++---
Source/plt-web/plt-web-ui/src/page/index/top/top-lang.vue | 2 +-
Source/plt-web/plt-web-ui/public/img/login-backgrounds.png | 0
Source/plt-web/plt-web-ui/src/page/login/index.vue | 14 +++++++++-----
7 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/Source/plt-web/plt-web-ui/public/img/login-backgrounds.png b/Source/plt-web/plt-web-ui/public/img/login-backgrounds.png
new file mode 100644
index 0000000..6773ea4
--- /dev/null
+++ b/Source/plt-web/plt-web-ui/public/img/login-backgrounds.png
Binary files differ
diff --git a/Source/plt-web/plt-web-ui/public/img/login-border.png b/Source/plt-web/plt-web-ui/public/img/login-border.png
new file mode 100644
index 0000000..ab67c47
--- /dev/null
+++ b/Source/plt-web/plt-web-ui/public/img/login-border.png
Binary files differ
diff --git a/Source/plt-web/plt-web-ui/src/lang/zh.js b/Source/plt-web/plt-web-ui/src/lang/zh.js
index 7128d96..167db7d 100644
--- a/Source/plt-web/plt-web-ui/src/lang/zh.js
+++ b/Source/plt-web/plt-web-ui/src/lang/zh.js
@@ -77,7 +77,7 @@
delBtn: '鍒� 闄�'
},
login: {
- title: '鐧诲綍 ',
+ title: '娆㈣繋鐧诲綍 ',
info: 'BladeX 浼佷笟绾у紑鍙戝钩鍙�',
tenantId: '璇疯緭鍏ョ鎴稩D',
username: '璇疯緭鍏ヨ处鍙�',
diff --git a/Source/plt-web/plt-web-ui/src/page/index/top/top-lang.vue b/Source/plt-web/plt-web-ui/src/page/index/top/top-lang.vue
index 7c0748f..38a1d67 100644
--- a/Source/plt-web/plt-web-ui/src/page/index/top/top-lang.vue
+++ b/Source/plt-web/plt-web-ui/src/page/index/top/top-lang.vue
@@ -1,7 +1,7 @@
<template>
<el-dropdown trigger="click"
@command="handleSetLanguage">
- <i class="icon-zhongyingwen"></i>
+ <i class="icon-zhongyingwen" style="color:white;"></i>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item :disabled="language==='zh'"
command="zh">涓枃
diff --git a/Source/plt-web/plt-web-ui/src/page/login/index.vue b/Source/plt-web/plt-web-ui/src/page/login/index.vue
index 3a0ffea..1e336a0 100644
--- a/Source/plt-web/plt-web-ui/src/page/login/index.vue
+++ b/Source/plt-web/plt-web-ui/src/page/login/index.vue
@@ -12,14 +12,17 @@
</h4>
<userLogin v-if="activeName==='user'"></userLogin>
<thirdLogin v-else-if="activeName==='third'"></thirdLogin>
+<!-- <div style="color: white;text-align: center;margin-top: 20px;font-size: 12px">-->
+<!-- <span>鎶�鏈敮鎸�:鍖椾含瀹忓崥杩滆揪绉戞妧鏈夐檺鍏徃</span>-->
+<!-- </div>-->
</div>
</div>
</div>
- <div class="login-bg-image" style="color: white;text-align: center">
- <div style="font-size: 80px; font-weight: bold" >娆㈣繋鐧诲綍</div>
- <h1 style="font-size: 40px">PLT-WEB骞冲彴</h1>
- </div>
+<!-- <div class="login-bg-image" style="color: white;text-align: center">-->
+<!-- <div style="font-size: 80px; font-weight: bold" >娆㈣繋鐧诲綍</div>-->
+<!-- <h1 style="font-size: 40px">PLT-WEB骞冲彴</h1>-->
+<!-- </div>-->
</div>
</template>
<script>
@@ -119,8 +122,9 @@
<style lang="scss" scoped>
.login-container {
- background: url('../../../public/img/login-background.png') no-repeat center;
+ background: url('../../../public/img/login-backgrounds.png') no-repeat center;
background-size: 100% 100%;
+ background-color: #638DFF;
}
.login-bg-image{
position: fixed;
diff --git a/Source/plt-web/plt-web-ui/src/page/login/userlogin.vue b/Source/plt-web/plt-web-ui/src/page/login/userlogin.vue
index 344f9f0..421eb65 100644
--- a/Source/plt-web/plt-web-ui/src/page/login/userlogin.vue
+++ b/Source/plt-web/plt-web-ui/src/page/login/userlogin.vue
@@ -24,7 +24,7 @@
v-model="loginForm.username"
auto-complete="off"
:placeholder="$t('login.username')">
- <i slot="prefix" class="icon-yonghu"/>
+ <i slot="prefix" class="icon-yonghu" style="color: white"/>
</el-input>
</el-form-item>
<el-form-item prop="password">
@@ -34,8 +34,8 @@
v-model="loginForm.password"
auto-complete="off"
:placeholder="$t('login.password')">
- <i class="el-icon-view el-input__icon" slot="suffix" @click="showPassword"/>
- <i slot="prefix" class="icon-mima"/>
+ <i class="el-icon-view el-input__icon" slot="suffix" @click="showPassword" style="color: white"/>
+ <i slot="prefix" class="icon-mima" style="color: white"/>
</el-input>
</el-form-item>
diff --git a/Source/plt-web/plt-web-ui/src/styles/login.scss b/Source/plt-web/plt-web-ui/src/styles/login.scss
index 2c1c23c..7954937 100644
--- a/Source/plt-web/plt-web-ui/src/styles/login.scss
+++ b/Source/plt-web/plt-web-ui/src/styles/login.scss
@@ -5,15 +5,15 @@
width: 100%;
height: 100%;
margin: 0 auto;
- background-size: 100% 100%;
+
}
.login-weaper {
- margin: 0 auto;
+ margin: -100px auto 0;
width: 500px;
- border-radius: 20px;
- background-color: rgba(256, 256, 256, 0.9);
- box-shadow: -4px 5px 10px rgba(0, 0, 0, 0.3);
+ background: url("../../public/img/login-border.png") center ;
+ background-size: 100% 100%;
+ //box-shadow: -4px 5px 10px rgba(0, 0, 0, 0.3);
.el-input-group__append {
border: none;
}
@@ -77,7 +77,7 @@
}
.login-title {
- color: #333;
+ color:white;
margin-bottom: 40px;
font-weight: 500;
font-size: 22px;
@@ -101,15 +101,11 @@
width: 100%;
height: 45px;
border: 1px solid #409EFF;
- background: none;
font-size: 18px;
letter-spacing: 2px;
font-weight: 300;
- color: #409EFF;
- cursor: pointer;
margin-top: 30px;
font-family: "neo";
- transition: 0.25s;
}
.login-form {
@@ -134,7 +130,7 @@
background: transparent;
border: none;
border-radius: 0;
- color: #333;
+ color: white;
border-bottom: 1px solid rgb(235, 237, 242);
}
--
Gitblit v1.9.3