diff --git a/src/assets/icons/card-mode.svg b/src/assets/icons/card-mode.svg new file mode 100644 index 0000000..3def7eb --- /dev/null +++ b/src/assets/icons/card-mode.svg @@ -0,0 +1,12 @@ + + + 卡片模式 + + + + + + + + + \ No newline at end of file diff --git a/src/views/final/content/Content.vue b/src/views/final/content/Content.vue index bb9c945..5837fc0 100644 --- a/src/views/final/content/Content.vue +++ b/src/views/final/content/Content.vue @@ -834,7 +834,12 @@ defineExpose({
任务管理列表 - +
import { onMounted, ref } from "vue"; +const emit = defineEmits(["changeShow"]); +function changeContent() { + emit("changeShow"); +} + const item = { // img: "/src/assets/images/test.png", - img:'http://47.93.59.251/api/image/thumbnail_1752999610491604992.jpeg', + img: "http://47.93.59.251/api/image/thumbnail_1755061416414842880.jpeg", checked: false, title: "YP4567890545", date: "2023-12-19 12:09:18", @@ -11,7 +16,7 @@ const item = { const data = ref([]); onMounted(() => { - for (let i = 0; i < 20; i++) { + for (let i = 0; i < 8; i++) { data.value.push(item as any); } }); @@ -19,32 +24,50 @@ onMounted(() => {