提交部署

This commit is contained in:
磷叶 2024-11-21 15:40:56 +08:00
parent 1eecf2853c
commit 30a332a9a6
3 changed files with 20 additions and 9 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 509 KiB

After

Width:  |  Height:  |  Size: 791 KiB

View File

@ -1,5 +1,6 @@
<template>
<div class="login">
<div class="bg-box"/>
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
<h3 class="title-box">
<img :src="logo" class="logo"/>
@ -79,8 +80,8 @@ export default {
logo: logoImg,
codeUrl: "",
loginForm: {
username: "admin",
password: "admin123",
username: "",
password: "",
rememberMe: false,
code: "",
uuid: ""
@ -165,11 +166,21 @@ export default {
<style rel="stylesheet/scss" lang="scss">
.login {
position: relative;
display: flex;
display: -webkit-flex;
height: calc(100vh - env(safe-area-inset-bottom));
background-image: url("../assets/images/login-background.webp");
-webkit-background-image: url("../assets/images/login-background.webp");
background-size: cover;
-webkit-background-size: cover;
width: 100%;
.bg-box {
flex: 1;
background-image: url("../assets/images/login-background.jpg");
-webkit-background-image: url("../assets/images/login-background.jpg");
background-size: cover;
-webkit-background-size: cover;
background-position: center;
-webkit-background-position: center;
}
}
.title-box {
@ -193,7 +204,7 @@ export default {
}
}
.login-form {
position: absolute;
position: relative;
background: #ffffff;
width: 480px;
padding: 200px 64px 5px;

View File

@ -84,10 +84,10 @@
</el-col>
</el-row>
</template>
<el-descriptions :column="2">
<el-descriptions :column="2" size="small">
<el-descriptions-item v-for="column of columns" v-if="column.visible" :key="column.key" :label="column.label">
<template v-if="column.key === 'status'">
<dict-tag :options="dict.type.report_status" :value="report[column.key]" size="small"/>
<dict-tag :options="dict.type.report_status" :value="report[column.key]" size="mini"/>
</template>
<template v-else-if="column.key === 'totalAmount'">
{{report.totalAmount | dv}}