feat: 调整界面文字和列宽

将标题改为中文"投标信息一览"
调整Source列的宽度
This commit is contained in:
dmy
2026-01-12 13:21:49 +08:00
parent 1b28a3462a
commit 8b2f328981

View File

@@ -1,7 +1,7 @@
<template> <template>
<el-container class="layout-container" style="height: 100vh"> <el-container class="layout-container" style="height: 100vh">
<el-aside width="200px" style="background-color: #545c64"> <el-aside width="200px" style="background-color: #545c64">
<div class="logo">BID MONITOR</div> <div class="logo">投标信息一览</div>
<el-menu <el-menu
active-text-color="#ffd04b" active-text-color="#ffd04b"
background-color="#545c64" background-color="#545c64"
@@ -54,7 +54,7 @@
<a :href="scope.row.url" target="_blank">{{ scope.row.title }}</a> <a :href="scope.row.url" target="_blank">{{ scope.row.title }}</a>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="source" label="Source" width="120" /> <el-table-column prop="source" label="Source" width="240" />
<el-table-column prop="publishDate" label="Date" width="120"> <el-table-column prop="publishDate" label="Date" width="120">
<template #default="scope">{{ formatDate(scope.row.publishDate) }}</template> <template #default="scope">{{ formatDate(scope.row.publishDate) }}</template>
</el-table-column> </el-table-column>
@@ -103,7 +103,7 @@
<a :href="scope.row.url" target="_blank">{{ scope.row.title }}</a> <a :href="scope.row.url" target="_blank">{{ scope.row.title }}</a>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="source" label="Source" width="150" /> <el-table-column prop="source" label="Source" width="220" />
<el-table-column prop="publishDate" label="Date" width="150"> <el-table-column prop="publishDate" label="Date" width="150">
<template #default="scope">{{ formatDate(scope.row.publishDate) }}</template> <template #default="scope">{{ formatDate(scope.row.publishDate) }}</template>
</el-table-column> </el-table-column>
@@ -128,7 +128,7 @@
<a :href="scope.row.url" target="_blank">{{ scope.row.title }}</a> <a :href="scope.row.url" target="_blank">{{ scope.row.title }}</a>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="source" label="Source" width="150" /> <el-table-column prop="source" label="Source" width="200" />
<el-table-column prop="publishDate" label="Date" width="150"> <el-table-column prop="publishDate" label="Date" width="150">
<template #default="scope">{{ formatDate(scope.row.publishDate) }}</template> <template #default="scope">{{ formatDate(scope.row.publishDate) }}</template>
</el-table-column> </el-table-column>