会计事项平台更新

This commit is contained in:
hyt 2025-07-31 09:10:09 +08:00
parent 41ebc173f3
commit 64cca71663
5 changed files with 89 additions and 70 deletions

BIN
src/assets/images/left1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -3,10 +3,26 @@
<div class="loginBg"> <div class="loginBg">
<main> <main>
<div class="left"> <div class="left">
<img src="../assets/images/login-page.png" alt="" /> <img src="../assets/images/login1.png" alt="" />
</div> </div>
<div class="right"> <div class="right">
<div class="title">您好!欢迎来到 用安数智中台</div> <div
style="
width: 60%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
"
>
<div class="imgBox">
<img src="../assets/images/left1.png" alt="" />
<img
src="../assets/images/right1.png"
style="border-left: 1px solid #eee; width: 200px;"
alt=""
/>
</div>
<div class="login"> <div class="login">
<el-form <el-form
:hide-required-asterisk="true" :hide-required-asterisk="true"
@ -62,6 +78,7 @@
</el-form> </el-form>
</div> </div>
</div> </div>
</div>
</main> </main>
</div> </div>
</template> </template>
@ -259,7 +276,6 @@ export default {
this.$store this.$store
.dispatch("Login", this.loginForm) .dispatch("Login", this.loginForm)
.then(() => { .then(() => {
console.log(123,'123')
this.loading = false; this.loading = false;
this.$router this.$router
.push({ .push({
@ -318,7 +334,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.loginBg { .loginBg {
background: url("../assets/images/login.png") no-repeat; background: linear-gradient(to bottom right, #519af6, #84d3e5);
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
main { main {
@ -335,28 +351,30 @@ export default {
border-radius: 3vw; border-radius: 3vw;
margin: auto; margin: auto;
> .left { > .left {
width: 38vw; width: 55%;
height: 56vh; background-size: cover;
min-height: 450px; background-position: center center;
margin: 7vh 6.8vw 0 4.2vw;
> img { > img {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
} }
> .right { > .right {
margin-top: 158px; width: 45%;
> .title { display: flex;
width: 228px; align-items: center;
height: 9vh; justify-content: center;
font-size: 36px; .imgBox {
font-family: PingFangSC-Medium, PingFang SC; display: flex;
font-weight: 500; margin-bottom: 10px;
color: #1478f6;
line-height: 50px; img {
width: 160px;
height: 100px;
}
} }
> .login { > .login {
margin-top: 6vh; // width: 60%;
} }
} }
} }

View File

@ -41,8 +41,9 @@ module.exports = {
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
// target: `http://hzya.ufyct.com:9067/`, // target: `http://hzya.ufyct.com:9067/`,
// target: `http://127.0.0.1:9081/`, // target: `http://127.0.0.1:9081/`,
target: `http://192.168.2.189:10086`,//一凡 // target: `http://192.168.2.189:10086`,//一凡
// target: `http://192.168.2.78:8080`, // target: `http://192.168.2.78:8080`,
target: `http://b8bc6e8e.natappfree.cc`,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: '' ['^' + process.env.VUE_APP_BASE_API]: ''