From b8720f30d8916555067c22acb7fda83efbc2f9f3 Mon Sep 17 00:00:00 2001 From: lxl <lixuliang_hd@126.com> Date: 星期二, 20 九月 2022 17:36:12 +0800 Subject: [PATCH] 暂存 --- src/views/Archive/index.vue | 43 ++++++++++++++++++++++++++++++++++--------- 1 files changed, 34 insertions(+), 9 deletions(-) diff --git a/src/views/Archive/index.vue b/src/views/Archive/index.vue index bf302e1..0a74ec6 100644 --- a/src/views/Archive/index.vue +++ b/src/views/Archive/index.vue @@ -2,7 +2,7 @@ <div class="archive"> <div class="left_active"> <el-card class="arch_card"> - <div class="title_active">绠¢亾璧勬枡</div> + <div class="title_active">{{ $t("archive.name") }}</div> <el-divider /> <el-tree :data="tree" @@ -17,25 +17,50 @@ <el-row :gutter="20"> <el-col :span="6"></el-col> <el-col :span="4" - ><div style="text-align: right; margin-top: 6px">鍏抽敭瀛�:</div> + ><div style="text-align: right; margin-top: 6px"> + {{ $t("archive.keyword") }}: + </div> </el-col> - <el-col :span="4"> <el-input placeholder="璇疯緭鍏�...." /></el-col> - <el-col :span="4"><el-button type="primary">鏌ヨ</el-button></el-col> + <el-col :span="4"> + <el-input :placeholder="$t('common.pleaseInput')" + /></el-col> + <el-col :span="4" + ><el-button type="primary">{{ + $t("common.iquery") + }}</el-button></el-col + > <el-col :span="6"></el-col> </el-row> <el-divider /> <el-card shadow="never" class="middle_card"> <el-table :data="tableData" style="width: 10000px" stripe> - <el-table-column prop="name" label="鍚嶇О" width="180" /> - <el-table-column prop="type" sortable label="绫诲瀷" width="180" /> + <el-table-column + prop="name" + :label="$t('archive.uname')" + width="180" + /> + <el-table-column + prop="type" + sortable + :label="$t('archive.type')" + width="180" + /> <el-table-column prop="count" sortable - label="淇敼娆℃暟" + :label="$t('archive.modifications')" width="180" /> - <el-table-column prop="timer" sortable label="鍒涘缓鏃堕棿" /> - <el-table-column prop="state" label="鐘舵��" width="180" /> + <el-table-column + prop="timer" + sortable + :label="$t('archive.creationtime')" + /> + <el-table-column + prop="state" + :label="$t('archive.state')" + width="180" + /> </el-table> </el-card> <el-divider /> -- Gitblit v1.9.3