diff --git a/changelog.md b/changelog.md
index e5e4faecaa4fa802e14c432cd1ad597ed4d6a9c3..f1f919a7e726c79a3c0d86d06d5d4af0e363350c 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,3 +1,5 @@
+## 1.2.8(2023-07-07)
+- 优化 部分图标样式在,不同平台下,大小不一致的问题
## 1.2.7(2023-07-03)
- 【重要】修复 部分情况下 客户端未正确带上ai总结的内容的问题
## 1.2.6(2023-07-03)
diff --git a/components/uni-ai-msg/uni-ai-msg.vue b/components/uni-ai-msg/uni-ai-msg.vue
index 2b524c61e314ae9d3b1296e7a839d7d54610849b..88e2118ac87d30ab3cd384ce0477be0cc0e98b17 100644
--- a/components/uni-ai-msg/uni-ai-msg.vue
+++ b/components/uni-ai-msg/uni-ai-msg.vue
@@ -13,9 +13,9 @@
{{msgContent}}
@@ -236,7 +236,6 @@
display: flex;
box-sizing: border-box;
}
-
/* #endif */
.userInfo {
@@ -294,6 +293,8 @@
flex-direction: column;
height: 40px;
justify-content: flex-end;
+ /* #ifndef APP-NVUE */
+ /* #endif */
}
.menu-box-ai {
@@ -302,14 +303,19 @@
}
.change-answer {
- font-size: 26px;
- color: #d4d4d4;
- height: 25px;
- line-height: 15px;
margin-bottom: 5px;
position: relative;
- left: 2px;
+ transform: rotate(90deg);
}
+
+ /* #ifdef H5 */
+ .uni-icons {
+ opacity: 0.6;
+ }
+ .uni-icons:hover{
+ opacity: 1;
+ }
+ /* #endif */
.pointer {
cursor: pointer;
@@ -326,19 +332,11 @@
.more-icon {
color: #d4d4d4;
- transform: rotate(270deg);
+ transform: rotate(90deg);
+ padding-top: 2px;
position: relative;
- left: -8px;
font-size: 16px;
z-index: 999;
- padding-bottom: 5px;
- height: 10px;
- }
-
- .menu-box-ai .more-icon{
- left: 7px;
- top: -2px;
- transform: rotate(90deg);
}
.more-menu {
@@ -398,17 +396,6 @@
.copy-icon:hover .copy-icon-b,{
border-color:#bbb;
}
-
-
- .remove-msg {
- position: relative;
- opacity: 0.7;
- }
-
- .remove-msg:hover{
- opacity: 1;
- }
-
/* #ifndef APP-NVUE */
.content ::v-deep rich-text {
diff --git a/package.json b/package.json
index 431643f915cf6ab00831b59a299726391c6a5256..07e9ca5aab4602bec6af570b42efd8731b33fb22 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-ai-chat",
"name": "uni-ai-chat",
- "version": "1.2.7",
+ "version": "1.2.8",
"description": "基于uni-ai的聊天示例项目,支持流式、支持前文总结,云端一体",
"main": "main.js",
"scripts": {
diff --git a/pages/chat/chat.vue b/pages/chat/chat.vue
index 2a54ae3901b2882311a60829986aeedfd4ee6c1d..d7b074703d8e6d26a6cf27e8895720fb4b0b2a87 100644
--- a/pages/chat/chat.vue
+++ b/pages/chat/chat.vue
@@ -400,7 +400,7 @@
this.msgList.pop()
this.updateLastMsg({
// 防止 偶发答案涉及敏感,重复回答时。提问内容 被卡掉无法重新问
- illegal: false,
+ illegal: false
})
// 多设备登录时其他设备看广告后点击重新回答,insufficientScore应当设置为 false
this.insufficientScore = false
diff --git a/static/remove.png b/static/remove.png
index b770a82410adf038ba6922b490865a13c80d7bec..587da94da3a2ad8865977f7a02728df70d7f0cb8 100644
Binary files a/static/remove.png and b/static/remove.png differ