|
|
|
@ -113,7 +113,7 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<view class="m-item chat-right" v-else style="max-width: 80vw">
|
|
|
|
<view class="m-item chat-right" v-else style="max-width: 80vw">
|
|
|
|
<view class="msg g_bg_main g_c_f g_fs_17 g_pl_16 g_pr_16 g_pt_10 g_pb_10"
|
|
|
|
<view class="msg g_bg_mais g_c_f g_fs_17 g_pl_16 g_pr_16 g_pt_10 g_pb_10"
|
|
|
|
@longpress="handleLongPress(item)" style="min-height: 25px;"
|
|
|
|
@longpress="handleLongPress(item)" style="min-height: 25px;"
|
|
|
|
v-if="!item.isHidden"
|
|
|
|
v-if="!item.isHidden"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
@ -154,7 +154,7 @@
|
|
|
|
}" style="align-items: flex-end; min-height: 56px">
|
|
|
|
}" style="align-items: flex-end; min-height: 56px">
|
|
|
|
<!-- 左侧 -->
|
|
|
|
<!-- 左侧 -->
|
|
|
|
<view class="g_flex_none g_flex_c g_h_56 g_w_56 g_posi_relative" @click.stop="handleUpdateMsgType()"
|
|
|
|
<view class="g_flex_none g_flex_c g_h_56 g_w_56 g_posi_relative" @click.stop="handleUpdateMsgType()"
|
|
|
|
:class="voiceStatus == 0 && spec ? 'g_bg_main' : voiceStatus == 1 ? 'g_bg_f0a' : voiceStatus == -2 ? 'g_c_t g_bg_main' : ''"
|
|
|
|
:class="voiceStatus == 0 && spec ? 'g_bg_mais' : voiceStatus == 1 ? 'g_bg_f0a' : voiceStatus == -2 ? 'g_c_t g_bg_mais' : ''"
|
|
|
|
style="border-radius: 40px 0px 0px 40px;position: relative;" v-if="gptType != 'ai-text'">
|
|
|
|
style="border-radius: 40px 0px 0px 40px;position: relative;" v-if="gptType != 'ai-text'">
|
|
|
|
<i class="iconfont"
|
|
|
|
<i class="iconfont"
|
|
|
|
:class="msgType == 'text' ? 'icon-huatongyuyin g_fs_22' : 'icon-weixinjianpan2 g_fs_26'"
|
|
|
|
:class="msgType == 'text' ? 'icon-huatongyuyin g_fs_22' : 'icon-weixinjianpan2 g_fs_26'"
|
|
|
|
@ -212,17 +212,17 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="g_w_all g_h_56 m-voice-point g_flex_c g_fw_700 g_fs_17"
|
|
|
|
<view class="g_w_all g_h_56 m-voice-point g_flex_c g_fw_700 g_fs_17"
|
|
|
|
@touchstart="onTouchStart" @touchend="onTouchEnd" @touchmove="onTouchMove"
|
|
|
|
@touchstart="onTouchStart" @touchend="onTouchEnd" @touchmove="onTouchMove"
|
|
|
|
:class="voiceStatus == 1 ? 'g_c_f g_bg_f0a' : voiceStatus == 0 ? 'g_bg_main' : voiceStatus == -2 ? 'g_bg_main' : ''">
|
|
|
|
:class="voiceStatus == 1 ? 'g_c_f g_bg_f0a' : voiceStatus == 0 ? 'g_bg_mais' : voiceStatus == -2 ? 'g_bg_mais' : ''">
|
|
|
|
{{ voiceStatus == 1 ? "" : voiceStatus == -1 ? "按住 说话" : "" }}
|
|
|
|
{{ voiceStatus == 1 ? "" : voiceStatus == -1 ? "按住 说话" : "" }}
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- 发送 -->
|
|
|
|
<!-- 发送 -->
|
|
|
|
<view class="g_flex_none g_flex_c g_h_56 g_w_56 g_position_rela" @click.stop="handleSendMsg"
|
|
|
|
<view class="g_flex_none g_flex_c g_h_56 g_w_56 g_position_rela" @click.stop="handleSendMsg"
|
|
|
|
:class="voiceStatus == 0 && spec ? 'g_bg_main' : voiceStatus == 1 ? 'g_bg_f0a' : voiceStatus == -2 ? 'g_c_t g_bg_main' : ''"
|
|
|
|
:class="voiceStatus == 0 && spec ? 'g_bg_mais' : voiceStatus == 1 ? 'g_bg_f0a' : voiceStatus == -2 ? 'g_c_t g_bg_mais' : ''"
|
|
|
|
style="border-radius: 0 40px 40px 0;position: relative;">
|
|
|
|
style="border-radius: 0 40px 40px 0;position: relative;">
|
|
|
|
<i class="iconfont icon-fasong g_fs_32"
|
|
|
|
<i class="iconfont icon-fasong g_fs_32"
|
|
|
|
:class="sendIconStatus ? 'g_c_main' : voiceStatus == -2 ? 'g_c_t g_bg_main' : 'g_c_b'"
|
|
|
|
:class="sendIconStatus ? 'g_c_main' : voiceStatus == -2 ? 'g_c_t g_bg_mais' : 'g_c_b'"
|
|
|
|
style="position: absolute;right: 13px;top: 12px;"
|
|
|
|
style="position: absolute;right: 13px;top: 12px;"
|
|
|
|
v-if="voiceStatus == -1"></i>
|
|
|
|
v-if="voiceStatus == -1"></i>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
@ -2608,4 +2608,8 @@
|
|
|
|
.mplace{
|
|
|
|
.mplace{
|
|
|
|
line-height: 32px;
|
|
|
|
line-height: 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.g_bg_mais{
|
|
|
|
|
|
|
|
background-color: #07c160;
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|