diff --git a/Users/Admin/Desktop/hengan/src/views/AI/components/HotProducts.vue b/Users/Admin/Desktop/hengan/src/views/AI/components/HotProducts.vue deleted file mode 100644 index e2b7df2..0000000 --- a/Users/Admin/Desktop/hengan/src/views/AI/components/HotProducts.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/api/generatedApi/index.js b/src/api/generatedApi/index.js index 04f3651..ee6d79a 100644 --- a/src/api/generatedApi/index.js +++ b/src/api/generatedApi/index.js @@ -37,6 +37,14 @@ export function chat(data) { return getUrl('/hasl/chat') } +/** + * 2025 7 28 国华接口 + * @returns + */ +export function gwcsChat() { + return getUrl('/chat/message') +} + export function audioToText(data) { //聊天获取产品百宝箱 // 聊天框输入内容以“百宝箱”结尾时,调用这个接口 diff --git a/src/assets/sass/card.css b/src/assets/sass/card.css new file mode 100644 index 0000000..372f569 --- /dev/null +++ b/src/assets/sass/card.css @@ -0,0 +1,31 @@ +.card { + display: flex; + align-items: center; + justify-content: center; + gap: 10px; +} + +.card > div { + border-radius: 10px; + overflow: hidden; +} + +.card > div > img { + width: 80px; + height: 80px; +} + +.card > section > :nth-child(1) { + font-weight: bold; +} +.card > section > :nth-child(2) { + display: flex; + gap: 5px; + color: white; + margin-top: 10px; +} + +.card > section > :nth-child(2) > div { + background-color: #0065ff; + padding: 5px; +} diff --git a/src/views/AI-new/components/HotProducts.vue b/src/views/AI-new/components/HotProducts.vue index e0b9f86..9550e50 100644 --- a/src/views/AI-new/components/HotProducts.vue +++ b/src/views/AI-new/components/HotProducts.vue @@ -1,10 +1,9 @@