From 6538e28f245a8f5fc783628a2932e350a277fa7b Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Fri, 4 Aug 2023 15:58:40 +0800 Subject: [PATCH] 2023-8-4 --- src/components/Reception/Navbar.vue | 2 +- src/components/Reception/Search.vue | 2 +- src/views/reception/list1/index.vue | 24 ++++++++++++++++++++---- 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/src/components/Reception/Navbar.vue b/src/components/Reception/Navbar.vue index 2e4fdb7..5a84b64 100644 --- a/src/components/Reception/Navbar.vue +++ b/src/components/Reception/Navbar.vue @@ -10,7 +10,7 @@
- 管理端登录 + 管理端登录
diff --git a/src/components/Reception/Search.vue b/src/components/Reception/Search.vue index a620bc9..507255b 100644 --- a/src/components/Reception/Search.vue +++ b/src/components/Reception/Search.vue @@ -173,7 +173,7 @@ export default { &:hover { color: #fff; - background: #247EC3; + background: #4398da; } &-active { color: #fff; diff --git a/src/views/reception/list1/index.vue b/src/views/reception/list1/index.vue index b84b644..2948870 100644 --- a/src/views/reception/list1/index.vue +++ b/src/views/reception/list1/index.vue @@ -27,11 +27,12 @@
{{ i.wenjian }}【{{ i.nianfen }}】{{ i.bianhao }}号
{{ i.biaoti }}
+
{{ typeFormat(i.leixing) }}
{{ $moment(new Date(i.created_at)).format("YYYY-MM-DD") }}
@@ -254,8 +255,13 @@ export default { ).find((j) => j == i.value) ) .map((i) => i.label) - .toString(); + .toString() || '全部文件'; }, + typeFormat () { + return function (leixing) { + return this.formType.find(i => i.value === leixing)?.label + } + } }, mounted() { this.getMaterial(); @@ -309,7 +315,7 @@ export default { } &:hover { color: #fff; - background: #247ec3; + background: #4398da; } &-active { color: #fff; @@ -386,6 +392,7 @@ export default { color: #398ac9; padding-right: 10px; + margin-right: 10px; position: relative; &::after { @@ -416,7 +423,15 @@ export default { color: #333; flex: 1; - padding-left: 10px; + //padding-left: 10px; + } + &--type { + font-size: 12px; + padding: 2px 6px; + color: #fff; + border-radius: 20px; + + margin: 0 10px; } &--date { font-size: 13px; @@ -445,6 +460,7 @@ export default { & > i { font-size: 16px; color: #247ec3; + } padding-right: 9px;