From fd21624d20cb20de01d3b06afcf431008f0a4716 Mon Sep 17 00:00:00 2001
From: wangjiahao <1522128093@qq.com>
Date: Mon, 25 Dec 2023 19:59:07 +0800
Subject: [PATCH] =?UTF-8?q?style:=20=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/assets/svg/dv-nothing.svg | 14 ++
.../src/views/template/index.vue | 235 +++++++++++-------
2 files changed, 158 insertions(+), 91 deletions(-)
create mode 100644 core/core-frontend/src/assets/svg/dv-nothing.svg
diff --git a/core/core-frontend/src/assets/svg/dv-nothing.svg b/core/core-frontend/src/assets/svg/dv-nothing.svg
new file mode 100644
index 0000000000..45830feb86
--- /dev/null
+++ b/core/core-frontend/src/assets/svg/dv-nothing.svg
@@ -0,0 +1,14 @@
+
diff --git a/core/core-frontend/src/views/template/index.vue b/core/core-frontend/src/views/template/index.vue
index 46a7d36284..ed64f808c9 100644
--- a/core/core-frontend/src/views/template/index.vue
+++ b/core/core-frontend/src/views/template/index.vue
@@ -24,7 +24,7 @@
-
+
@@ -52,11 +52,24 @@
的搜索结果 {{ currentTemplateShowListComputed.length }} 个
-
+
+
+ 暂无模版
+
+
+
+
+ 没有找到相关模版
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ {{ t('visualization.import') }}
+
+
+ 添加分类
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -188,6 +221,7 @@ import DeTemplateList from '@/views/template/component/DeTemplateList.vue'
const { t } = useI18n()
const templateEditFormRef = ref(null)
const templateListRef = ref(null)
+import NoneTemplate from '@/assets/svg/dv-empty.svg'
import NoneImage from '@/assets/none.png'
import DeTemplateImport from '@/views/template/component/DeTemplateImport.vue'
import DeTemplateItem from '@/views/template/component/DeTemplateItem.vue'
@@ -620,4 +654,23 @@ onMounted(() => {
float: right;
width: 320px;
}
+
+.custom-position {
+ overflow: hidden;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 14px;
+ flex-flow: row nowrap;
+ color: #9ea6b2;
+ flex-direction: column;
+ span {
+ line-height: 22px;
+ color: #646a73;
+ }
+}
+
+.ed-empty__image img {
+ width: 126px;
+}