This commit is contained in:
yj 2024-12-20 00:26:42 +08:00
parent 028b0229e4
commit a25e558a72
3 changed files with 26 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 210 KiB

View File

@ -1,20 +1,33 @@
<template> <template>
<div class="app-container home"> <div class="app-container home">
<h2>校园二手交易后台管理框架 {{ version }}</h2>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :sm="24" :lg="24"> <el-col :sm="24" :lg="24">
<el-row :gutter="20">
<el-col :sm="24" :lg="12">
<div id="ring - chart - container" style="width: 100%; height: 400px;"></div>
</el-col>
<el-col :sm="24" :lg="12">
<el-calendar v-model="value" />
</el-col>
</el-row>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :sm="24" :lg="12" style="padding - left:20px"> <el-col :sm="24" :lg="12" style="padding - left:20px">
<h2>校园二手交易后台管理框架 {{ version }}</h2> <!-- 绑定version变量 -->
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
</template> </template>
<script setup name="Index"> <script setup lang="ts">
import { ref } from 'vue'; import { ref } from 'vue';
import * as echarts from 'echarts';
//
const version = ref('3.8.8'); const version = ref('3.8.8');
// value
function goTarget(url) { function goTarget(url) {
window.open(url, '__blank'); window.open(url, '__blank');
} }
@ -81,6 +94,9 @@ function goTarget(url) {
padding-inline-start: 40px; padding-inline-start: 40px;
} }
} }
/* 可根据实际需求添加针对日历控件所在列的样式微调 */
.el-col:last-child {
padding: 10px;
}
} }
</style> </style>

View File

@ -180,7 +180,7 @@ getCookie();
.login-form { .login-form {
border-radius: 6px; border-radius: 6px;
background: #497aff; background: #479bb9;
width: 400px; width: 400px;
padding: 25px 25px 5px 25px; padding: 25px 25px 5px 25px;
.el-input { .el-input {
@ -196,9 +196,9 @@ getCookie();
} }
} }
.login-tip { .login-tip {
font-size: 13px; font-size: 20px;
text-align: center; text-align: center;
color: #bfbfbf; color: #9e9e9e;
} }
.login-code { .login-code {
width: 33%; width: 33%;