ai-chat-bot-interface 1.5.4 → 1.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -5,8 +5,8 @@ import ChatUi from './ChatUi.vue';
|
|
|
5
5
|
<template>
|
|
6
6
|
<div style="width: 100vw; height: 100vh">
|
|
7
7
|
<chat-ui
|
|
8
|
-
bot-id="
|
|
9
|
-
token="
|
|
8
|
+
bot-id="7485656400967516197"
|
|
9
|
+
token="pat_gYSCaegGxJ7qZXl4fBkCc4KYhV1t7YPQ5PVwggWdZnFmSKtgSHs8SoebV4epdQvj"
|
|
10
10
|
uid="262598"
|
|
11
11
|
:def-msg="{ placeholder: '发消息...' }"
|
|
12
12
|
:show-header="true"
|
package/src/ChatUi.vue
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
&_wrap {
|
|
4
4
|
box-sizing: border-box;
|
|
5
5
|
width: 100%;
|
|
6
|
-
padding: 10px;
|
|
6
|
+
padding: 10px 10px 5px;
|
|
7
7
|
background-color: #fff;
|
|
8
8
|
}
|
|
9
9
|
&_quick {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
&_wrap {
|
|
60
|
-
margin: 10px 0;
|
|
60
|
+
margin: 10px 0 5px;
|
|
61
61
|
width: 100%;
|
|
62
62
|
min-height: 48px;
|
|
63
63
|
padding: 10px;
|
|
@@ -176,4 +176,9 @@
|
|
|
176
176
|
border-radius: 15px;
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
|
+
&_ai_tips {
|
|
180
|
+
text-align: center;
|
|
181
|
+
font-size: 10px;
|
|
182
|
+
color: #bbb;
|
|
183
|
+
}
|
|
179
184
|
}
|
|
@@ -102,6 +102,7 @@
|
|
|
102
102
|
</div>
|
|
103
103
|
<progress-ring :percent="15" />
|
|
104
104
|
</div>
|
|
105
|
+
<div class="om_ai_tips">{{ defMsg.aiTips}}</div>
|
|
105
106
|
</div>
|
|
106
107
|
</template>
|
|
107
108
|
|
|
@@ -117,7 +118,7 @@ import AddIcon from './icons/addIcon.vue';
|
|
|
117
118
|
import CloseBorderIcon from './icons/closeBorderIcon.vue';
|
|
118
119
|
import CloseIcon from './icons/CloseIcon.vue';
|
|
119
120
|
import NewChat from './icons/newChat.vue';
|
|
120
|
-
import SendLoadingIcon from "
|
|
121
|
+
import SendLoadingIcon from "./icons/sendLoadingIcon.vue";
|
|
121
122
|
const pdfIcon = 'https://prodstatic.weis1606.cn/api/smartFood/icon/pdf_icon.png';
|
|
122
123
|
const extraList = [
|
|
123
124
|
// { name: '相機', icon: CameraIcon, type: 'camera' },
|