diff --git a/src/assets/emptyIcon.png b/src/assets/emptyIcon.png new file mode 100644 index 0000000..42728c1 Binary files /dev/null and b/src/assets/emptyIcon.png differ diff --git a/src/assets/model_title.png b/src/assets/model_title.png new file mode 100644 index 0000000..59eda11 Binary files /dev/null and b/src/assets/model_title.png differ diff --git a/src/views/alarm/index.vue b/src/views/alarm/index.vue index f85166c..1a7f679 100644 --- a/src/views/alarm/index.vue +++ b/src/views/alarm/index.vue @@ -4,6 +4,7 @@ import { getWarnList } from "@/api/alarm"; import { onMounted, ref, reactive, h } from "vue"; // import { BaseTable } from "@/components/CustomTable"; import { getConfig } from "@/config"; +import emptyIcon from "@/assets/emptyIcon.png"; import dayjs from "dayjs"; defineOptions({ @@ -276,6 +277,7 @@ onMounted(() => { pagination.pageSize * pagination.currentPage ).length === 0 " + :image="emptyIcon" :description="`暂无信息`" /> <template v-if="pagination.total > 0"> diff --git a/src/views/modelList/index.vue b/src/views/modelList/index.vue index 136c23f..e973e64 100644 --- a/src/views/modelList/index.vue +++ b/src/views/modelList/index.vue @@ -3,8 +3,9 @@ import ModelCard from "./components/ModelCard.vue"; // import { getModelList } from "@/api/list"; import { getModelsList } from "@/api/model"; import { onMounted, ref } from "vue"; +import modelTitle from "@/assets/model_title.png"; defineOptions({ - name: "ServerList" + name: "ModelList" }); // TODO 0416 卡片分页封装 const svg = ` @@ -67,7 +68,7 @@ onMounted(() => { <template> <div class="main modelList_wrap"> <div class="modelList_header"> - 苏胜天大模型衍生模型库 + <img class="w-[218px] h-[19px]" :src="modelTitle" /> <span class="text-[24px] text-[#154DDD]">{{ modelNum }}</span> </div> <div @@ -118,6 +119,9 @@ onMounted(() => { border: 1px solid rgba(21, 77, 221, 0.2); .modelList_header { box-sizing: border-box; + display: flex; + justify-content: flex-start; + align-items: center; padding: 16px; height: 62px; font-family: Douyin Sans, Douyin Sans;