修改bug
This commit is contained in:
@@ -277,6 +277,7 @@
|
||||
const activeNum = ref(1)
|
||||
|
||||
const getRecordPermission = (obj) => {
|
||||
if(isDisabled.value) return
|
||||
if (isTalking.value) {
|
||||
common.msg('操作频繁,请稍后重试!')
|
||||
setTimeout(() => {
|
||||
|
||||
@@ -81,8 +81,8 @@
|
||||
:onlyVoice="answerOnlyVoice"
|
||||
:canAnswer="testAnswer"
|
||||
:adjustPosition="true"
|
||||
:canAnswerText="'每个问题最多连续发送五次答案!'"
|
||||
:isDisabled="(lastTalkingInfo.type || 0) !== 4" />
|
||||
:canAnswerText="canAnswerText"
|
||||
:isDisabled="(lastTalkingInfo.type || 0) !== 4 || ['SN','MU','JD'].includes(lastTalkingInfo.qnsTyp)"/>
|
||||
</view>
|
||||
<uv-overlay :show="showSeekModel" opacity=".6" @click="showSeekModel = false">
|
||||
<view class="overlay-box">
|
||||
@@ -357,6 +357,10 @@ const answerOnlyVoice = computed(() => {
|
||||
return lastTalkingInfo.value.answerWay === 'V'
|
||||
})
|
||||
|
||||
const canAnswerText = computed(() => {
|
||||
return '每个问题最多连续发送五次答案!'
|
||||
})
|
||||
|
||||
// 获取段落
|
||||
const getGraphInfoUnStudy = (flag = 0) => {
|
||||
let _id = new Date().getTime() + 'id'
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
<view class="link-item" v-for="(item, index) in fileList" @click.stop="previewFile(item)">{{index+1}}. {{item.docName}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-else-if="!props.isAnswering" class="link-cont-desc">本次回答参考资料来源于网络</view>
|
||||
<view :class="['link-cont', activeNames.indexOf(2) >= 0 ? 'is-active' : '']" v-if="crsList.length > 0">
|
||||
<view class="link-info" @click="changeActive(2)">
|
||||
<view class="info-text">
|
||||
@@ -236,7 +237,11 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.link-cont-desc{
|
||||
margin-bottom: 12rpx;
|
||||
font-size: 24rpx;
|
||||
color: #999;
|
||||
}
|
||||
.link-cont {
|
||||
margin-bottom: 12rpx;
|
||||
font-size: 28rpx;
|
||||
|
||||
@@ -11,7 +11,12 @@
|
||||
<view class="seek-setting">
|
||||
<image src="@/static/images/dialog/new-dialog.png" alt="" class="image-icon-new" @click="createNewDialog">
|
||||
</image>
|
||||
<image src="@/static/images/dialog/history.png" alt="" class="image-icon" @click="showHistory"></image>
|
||||
<image src="@/static/images/dialog/history.png" alt="" class="image-icon" @click="showMenuList = true"></image>
|
||||
<view :class="['more-list', showMenuList? 'show':'']">
|
||||
<view class="more-item" @click.stop="showHistory">历史</view>
|
||||
<view class="more-item" @click.stop="toMessage">消息</view>
|
||||
<view class="more-item" @click.stop="toMePage">我的</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -195,8 +200,8 @@
|
||||
|
||||
|
||||
const createNewDialog = () => {
|
||||
common.msg('已经是最新对话')
|
||||
common.redirectTo(`/pages/index/dialog`)
|
||||
// talkingList.value = []
|
||||
}
|
||||
const showModelComfirm = ref(false)
|
||||
const reconcatNum = ref(1)
|
||||
@@ -463,9 +468,19 @@
|
||||
})
|
||||
}
|
||||
const historyRef = ref(null)
|
||||
const showMenuList = ref(false)
|
||||
const showHistory = () => {
|
||||
showMenuList.value = false
|
||||
historyRef.value.open()
|
||||
}
|
||||
const toMessage = () => {
|
||||
showMenuList.value = false
|
||||
common.navigateTo('/pages/messageNotification/index')
|
||||
}
|
||||
const toMePage = () => {
|
||||
showMenuList.value = false
|
||||
common.switchTab('/pages/me/index')
|
||||
}
|
||||
|
||||
const showHistoryDetail = (item) => {
|
||||
queryAskHisByBatchIdPaging({
|
||||
@@ -787,18 +802,39 @@
|
||||
|
||||
.seek-setting {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
z-index: 13;
|
||||
right: 45rpx;
|
||||
top: 8rpx;
|
||||
font-size: 26rpx;
|
||||
width: 140rpx;
|
||||
height: 52rpx;
|
||||
padding: 10rpx 0;
|
||||
overflow: hidden;
|
||||
// overflow: hidden;
|
||||
line-height: 32rpx;
|
||||
text-align: right;
|
||||
padding-right: 48rpx;
|
||||
|
||||
.more-list{
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
right: 0;
|
||||
width: 100rpx;
|
||||
text-align: center;
|
||||
background-color: #fff;
|
||||
border-radius: 12rpx;
|
||||
padding: 16rpx 0;
|
||||
display: none;
|
||||
z-index: 21;
|
||||
&.show{
|
||||
display: block;
|
||||
}
|
||||
.more-item{
|
||||
line-height: 60rpx;
|
||||
font-size: 29rpx;
|
||||
color: #333;
|
||||
position: relative;
|
||||
z-index: 22;
|
||||
}
|
||||
}
|
||||
.image-icon {
|
||||
width: 30rpx;
|
||||
height: 32rpx;
|
||||
|
||||
Reference in New Issue
Block a user