diff --git a/components.d.ts b/components.d.ts index ed43cf8..3071355 100644 --- a/components.d.ts +++ b/components.d.ts @@ -50,6 +50,9 @@ declare module 'vue' { VanIcon: typeof import('vant/es')['Icon'] VanIcons: typeof import('vant/es')['Icons'] VanPopup: typeof import('vant/es')['Popup'] + VanSwipe: typeof import('vant/es')['Swipe'] + VanSwipeItem: typeof import('vant/es')['SwipeItem'] + VanSwiperItem: typeof import('vant/es')['SwiperItem'] ZnIcon: typeof import('./src/components/ZnIcon/index.vue')['default'] } } @@ -94,5 +97,8 @@ declare global { const VanIcon: typeof import('vant/es')['Icon'] const VanIcons: typeof import('vant/es')['Icons'] const VanPopup: typeof import('vant/es')['Popup'] + const VanSwipe: typeof import('vant/es')['Swipe'] + const VanSwipeItem: typeof import('vant/es')['SwipeItem'] + const VanSwiperItem: typeof import('vant/es')['SwiperItem'] const ZnIcon: typeof import('./src/components/ZnIcon/index.vue')['default'] } \ No newline at end of file diff --git a/src/components/AiTabSwitch/images/L_01.png b/src/pages/home/components/AiTabSwitch/images/L_01.png similarity index 100% rename from src/components/AiTabSwitch/images/L_01.png rename to src/pages/home/components/AiTabSwitch/images/L_01.png diff --git a/src/components/AiTabSwitch/images/L_02.png b/src/pages/home/components/AiTabSwitch/images/L_02.png similarity index 100% rename from src/components/AiTabSwitch/images/L_02.png rename to src/pages/home/components/AiTabSwitch/images/L_02.png diff --git a/src/components/AiTabSwitch/images/R_01.png b/src/pages/home/components/AiTabSwitch/images/R_01.png similarity index 100% rename from src/components/AiTabSwitch/images/R_01.png rename to src/pages/home/components/AiTabSwitch/images/R_01.png diff --git a/src/components/AiTabSwitch/images/R_02.png b/src/pages/home/components/AiTabSwitch/images/R_02.png similarity index 100% rename from src/components/AiTabSwitch/images/R_02.png rename to src/pages/home/components/AiTabSwitch/images/R_02.png diff --git a/src/components/AiTabSwitch/index.vue b/src/pages/home/components/AiTabSwitch/index.vue similarity index 100% rename from src/components/AiTabSwitch/index.vue rename to src/pages/home/components/AiTabSwitch/index.vue diff --git a/src/components/AiTabSwitch/styles/index.scss b/src/pages/home/components/AiTabSwitch/styles/index.scss similarity index 100% rename from src/components/AiTabSwitch/styles/index.scss rename to src/pages/home/components/AiTabSwitch/styles/index.scss diff --git a/src/pages/home/components/ChatMainList/index.vue b/src/pages/home/components/ChatMainList/index.vue index 038d56e..8a42f6b 100644 --- a/src/pages/home/components/ChatMainList/index.vue +++ b/src/pages/home/components/ChatMainList/index.vue @@ -4,6 +4,18 @@
+ +
+ +
+
+ +
+
+ +
+
+
@@ -11,8 +23,8 @@ import { onMounted, nextTick, onUnmounted, ref } from "vue"; import { MessageRole, MessageType, CompName, Command } from "@/constants/ChatModel"; -import HomeWelcome from "../HomeWelcome/index.vue"; -import AiTabSwitch from "@/components/AiTabSwitch/index.vue"; +import Welcome from "../Welcome/index.vue"; +import AiTabSwitch from "../AiTabSwitch/index.vue"; import Discovery from "../Discovery/index.vue"; import ChatGuide from "../ChatGuide/index.vue"; diff --git a/src/pages/home/components/NoticeMessage/index.vue b/src/pages/home/components/NoticeMessage/index.vue index c1f2e30..d561dbb 100644 --- a/src/pages/home/components/NoticeMessage/index.vue +++ b/src/pages/home/components/NoticeMessage/index.vue @@ -1,34 +1,28 @@