Compare commits
4 Commits
V1.0.3
...
5aba9afdd5
| Author | SHA1 | Date | |
|---|---|---|---|
| 5aba9afdd5 | |||
| 0351bd8dc6 | |||
| 3b8e604853 | |||
| fbb19c4603 |
@@ -6,7 +6,7 @@
|
||||
"placeholder": "快告诉智念您在想什么~",
|
||||
"loginDesc": "您好,欢迎来到智念科技",
|
||||
"logo": "https://oss.nianxx.cn/mp/static/version_101/login/dh_logo.png",
|
||||
"ipLargeImage": "https://oss.nianxx.cn/mp/static/version_101/dh/dh_large.png",
|
||||
"ipLargeImage": "https://oss.nianxx.cn/mp/static/version_101/zn/zn_large.png",
|
||||
"ipSmallImage": "https://oss.nianxx.cn/mp/static/version_101/dh/dh_small.png",
|
||||
"ipLargeImageHeight": 19687,
|
||||
"ipSmallImageHeight": 3744,
|
||||
@@ -47,4 +47,4 @@
|
||||
"ipLargeTime": 4,
|
||||
"ipSmallTime": 6
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7,13 +7,6 @@ export const MessageRole = {
|
||||
OTHER: "OTHER",
|
||||
};
|
||||
|
||||
export const MessageType = {
|
||||
// 文本消息
|
||||
TEXT: "TEXT",
|
||||
// 图片消息
|
||||
IMAGE: "IMAGE",
|
||||
};
|
||||
|
||||
/// 组件的名称
|
||||
export const CompName = {
|
||||
// 快速预定卡片
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<text class="font-size-12 line-height-16 color-99A0AE">
|
||||
/{{ item.stockUnitLabel }}
|
||||
</text>
|
||||
<text class="btn border-box rounded-10 color-white ml-16" @click.stop="handleBooking(item)">订</text>
|
||||
<text class="btn border-box rounded-10 color-white ml-16">订</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -63,7 +63,6 @@ const navigateToPage = (commodityId, path) => {
|
||||
|
||||
const handleClick = ({ commodityId }) => navigateToPage(commodityId, "/pages/goods/index")
|
||||
|
||||
const handleBooking = ({ commodityId }) => navigateToPage(commodityId, "/pages-booking/index")
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
@@ -82,7 +82,7 @@ import {
|
||||
NOTICE_EVENT_LOGOUT,
|
||||
NOTICE_EVENT_LOGIN_SUCCESS,
|
||||
} from "@/constant/constant";
|
||||
import { MessageRole, MessageType, CompName } from "@/model/ChatModel";
|
||||
import { MessageRole, CompName } from "@/model/ChatModel";
|
||||
import ChatTopWelcome from "../ChatTopWelcome/index.vue";
|
||||
import ChatTopNavBar from "../ChatTopNavBar/index.vue";
|
||||
import ChatCardAI from "../ChatCardAi/index.vue";
|
||||
@@ -608,10 +608,6 @@ const sendMessage = async (message, isInstruct = false) => {
|
||||
msgId: `msg_${chatMsgList.value.length}`,
|
||||
msgType: MessageRole.ME,
|
||||
msg: message,
|
||||
msgContent: {
|
||||
type: MessageType.TEXT,
|
||||
text: message,
|
||||
},
|
||||
};
|
||||
chatMsgList.value.push(newMsg);
|
||||
inputMessage.value = "";
|
||||
@@ -744,10 +740,6 @@ const sendChat = async (message, isInstruct = false) => {
|
||||
msgType: MessageRole.AI,
|
||||
msg: "加载中",
|
||||
isLoading: true,
|
||||
msgContent: {
|
||||
type: MessageType.TEXT,
|
||||
url: "",
|
||||
},
|
||||
messageId: currentSessionMessageId,
|
||||
};
|
||||
chatMsgList.value.push(aiMsg);
|
||||
|
||||
@@ -4,7 +4,7 @@ import { useAppStore } from "@/store";
|
||||
import { devUrl, proUrl, wssDevUrl } from "../base/baseUrl";
|
||||
|
||||
/// 版本号, 每次发版本前增加
|
||||
const versionValue = "1.0.3";
|
||||
const versionValue = "1.0.4";
|
||||
|
||||
// 获取服务地址
|
||||
const getEvnUrl = async () => {
|
||||
|
||||
Reference in New Issue
Block a user