Feat(AI):用户提问增加复制按钮
This commit is contained in:
@@ -33,6 +33,16 @@
|
||||
{{ item.prompt }}
|
||||
</view>
|
||||
</view>
|
||||
<view class="item-right-tools">
|
||||
<view class="btn" @click="copyContentHandle(item.prompt)">
|
||||
<image
|
||||
:src="webUrl + '/aiChat/icon-02.png'"
|
||||
class="icon"
|
||||
mode="widthFix"
|
||||
/>
|
||||
复制
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="item.type === -2" class="chat-message-body">
|
||||
<view class="avatar">
|
||||
|
||||
@@ -173,6 +173,16 @@
|
||||
{{ item.prompt }}
|
||||
</view>
|
||||
</view>
|
||||
<view class="item-right-tools">
|
||||
<view class="btn" @click="copyContentHandle(item.prompt)">
|
||||
<image
|
||||
:src="webUrl + '/aiChat/icon-02.png'"
|
||||
class="icon"
|
||||
mode="widthFix"
|
||||
/>
|
||||
复制
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="item.type === -2" class="chat-message-body">
|
||||
<view class="avatar">
|
||||
|
||||
+15
-1
@@ -471,7 +471,7 @@ page {
|
||||
.txt {
|
||||
max-width: 100%;
|
||||
padding: 20rpx 32rpx;
|
||||
border-radius: 40rpx 40rpx 0 40rpx;
|
||||
border-radius: 40rpx 0 40rpx 40rpx;
|
||||
box-sizing: border-box;
|
||||
color: #fff;
|
||||
font-size: 30rpx;
|
||||
@@ -489,6 +489,20 @@ page {
|
||||
}
|
||||
}
|
||||
}
|
||||
.item-right-tools {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding: 20rpx 0 0 0;
|
||||
.btn {
|
||||
display: flex;
|
||||
font-size: 24rpx;
|
||||
.icon {
|
||||
display: block;
|
||||
width: 36rpx;
|
||||
margin: 0 8rpx 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.bottom-btns {
|
||||
position: relative;
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user