diff --git a/src/api/home.ts b/src/api/home.ts index b7f1d1d..41c597f 100644 --- a/src/api/home.ts +++ b/src/api/home.ts @@ -88,3 +88,20 @@ export function discoveryCradComponent() { method: "get", }); } + +// 最近会话 +export function recentConversation() { + return request({ + url: "/hotelBiz/chat/recentConversation", + method: "get", + }); +} + +// 会话消息列表 +export function conversationMsgList(args: any) { + return request({ + url: "/hotelBiz/chat/conversationMessageList", + method: "post", + data: args, + }); +} diff --git a/src/components/AiTabSwitch/index.vue b/src/components/AiTabSwitch/index.vue index e7af96e..f564191 100644 --- a/src/components/AiTabSwitch/index.vue +++ b/src/components/AiTabSwitch/index.vue @@ -8,7 +8,7 @@ : leftUnselected || leftSelected " class="tab-image" mode="scaleToFill" />
- 探索发现 + 探索发现
@@ -20,13 +20,13 @@ : rightUnselected || rightSelected " class="tab-image" mode="scaleToFill" />
- AI伴游 -
+ AI伴游 +
diff --git a/src/components/CommandWrapper/index.vue b/src/components/CommandWrapper/index.vue index d2b078e..2dfc8a5 100644 --- a/src/components/CommandWrapper/index.vue +++ b/src/components/CommandWrapper/index.vue @@ -1,6 +1,6 @@ diff --git a/src/components/CommandWrapper/styles/index.scss b/src/components/CommandWrapper/styles/index.scss index 5eebd01..10f0727 100644 --- a/src/components/CommandWrapper/styles/index.scss +++ b/src/components/CommandWrapper/styles/index.scss @@ -7,5 +7,5 @@ .command-text { color: #fff; - font-size: $uni-font-size-base; + font-size: 14px; } diff --git a/src/components/CreateServiceOrder/index.vue b/src/components/CreateServiceOrder/index.vue index f48d7f7..9beb326 100644 --- a/src/components/CreateServiceOrder/index.vue +++ b/src/components/CreateServiceOrder/index.vue @@ -2,21 +2,21 @@
- + {{ isCallSuccess ? "服务已创建" : "呼叫服务" }} - - + +
- 所在位置 - + 所在位置 +
- 联系电话 - + 联系电话 +
@@ -71,8 +71,8 @@ diff --git a/src/pages/home/components/DrawerSection/components/MineSetting/styles/index.scss b/src/pages/home/components/DrawerSection/components/MineSetting/styles/index.scss index 16d999e..657783d 100644 --- a/src/pages/home/components/DrawerSection/components/MineSetting/styles/index.scss +++ b/src/pages/home/components/DrawerSection/components/MineSetting/styles/index.scss @@ -32,7 +32,7 @@ .label { font-size: 28rpx; - color: $uni-text-color; + color: #333; } .value { @@ -59,7 +59,7 @@ height: 42px; margin-top: 40px; background-color: #fff; - color: $uni-text-color; + color: #333; border-radius: 8rpx; border: none; } diff --git a/src/pages/home/components/DrawerSection/styles/index.scss b/src/pages/home/components/DrawerSection/styles/index.scss index b494117..b19f15c 100644 --- a/src/pages/home/components/DrawerSection/styles/index.scss +++ b/src/pages/home/components/DrawerSection/styles/index.scss @@ -15,7 +15,7 @@ .title { font-size: 18px; text-align: center; - color: $uni-text-color; + color: #333; } .close-icon { diff --git a/src/pages/home/components/GeneratorPhotoComponent/index.vue b/src/pages/home/components/GeneratorPhotoComponent/index.vue index bbd351d..7840965 100644 --- a/src/pages/home/components/GeneratorPhotoComponent/index.vue +++ b/src/pages/home/components/GeneratorPhotoComponent/index.vue @@ -35,8 +35,8 @@ import { defineProps, nextTick, onMounted, computed } from "vue"; import { SCROLL_TO_BOTTOM, -} from "@/constant/constant"; -import { getAccessToken } from "@/constant/token"; +} from "@/constants/constant"; +import { getAccessToken } from "@/constants/token"; import { navigateTo } from "@/router"; diff --git a/src/pages/home/components/GeneratorPhotoComponent/styles/index.scss b/src/pages/home/components/GeneratorPhotoComponent/styles/index.scss index 16030bb..19c1d57 100644 --- a/src/pages/home/components/GeneratorPhotoComponent/styles/index.scss +++ b/src/pages/home/components/GeneratorPhotoComponent/styles/index.scss @@ -4,7 +4,7 @@ } .content { - background: linear-gradient(180deg, $theme-color-100 0%, #0ccd58 100%); + background: linear-gradient(180deg, #e8fff1 0%, #0ccd58 100%); border-radius: 24px 24px 24px 24px; border: 1px solid #ffffff; position: relative; @@ -23,8 +23,8 @@ .btn-bg-sub { background: #0ccd58; box-shadow: - inset 0px 0px 41px 0px $theme-color-50, - inset 0px 0px 15px 0px $theme-color-100; + inset 0px 0px 41px 0px #f0f8f3, + inset 0px 0px 15px 0px #e8fff1; } /* 左上角标签容器 */ diff --git a/src/pages/home/components/HomeWelcome/index.vue b/src/pages/home/components/HomeWelcome/index.vue index ad30033..48a77c9 100644 --- a/src/pages/home/components/HomeWelcome/index.vue +++ b/src/pages/home/components/HomeWelcome/index.vue @@ -20,7 +20,7 @@ import { onMounted, ref } from "vue"; import { defineProps, computed } from "vue"; import SpriteAnimator from "@/components/Sprite/SpriteAnimator.vue"; import NoticeMessage from "../NoticeMessage/index.vue"; -import { getLocalWeather } from "@/request/api/MainPageDataApi"; +import { getLocalWeather } from "@/api/home"; const weatherText = ref(''); diff --git a/src/pages/home/components/LongTextGuideCardPreview/guide.vue b/src/pages/home/components/LongTextGuideCardPreview/guide.vue index f4fbb3c..39316df 100644 --- a/src/pages/home/components/LongTextGuideCardPreview/guide.vue +++ b/src/pages/home/components/LongTextGuideCardPreview/guide.vue @@ -79,7 +79,7 @@