fix: bug
This commit is contained in:
+2
-2
@@ -8,14 +8,14 @@ ENV = 'development'
|
||||
|
||||
#VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001'
|
||||
|
||||
# VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
|
||||
VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
|
||||
|
||||
|
||||
# VITE_APP_BASE_API_Url = 'http://192.168.247.200'
|
||||
# VITE_APP_BASE_API_Url = 'http://aitscdn.jlbank.com.cn:7001'
|
||||
# VITE_APP_BASE_API_Url = 'http://192.168.108.129'
|
||||
# dev
|
||||
VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001'
|
||||
# VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001'
|
||||
# sit
|
||||
|
||||
|
||||
|
||||
@@ -1260,7 +1260,15 @@ const chooseRateNow = item => {
|
||||
color: #000;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
|
||||
|
||||
.top-desc{
|
||||
position: absolute;
|
||||
bottom: -10rpx;
|
||||
font-size: 18rpx;
|
||||
color: #999;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
// margin-bottom: 23rpx;
|
||||
.arrow-icon {
|
||||
position: absolute;
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
<view class="body-title">
|
||||
<!-- <uv-icon class="arrow-icon" name="arrow-left" @click="common.navigateBack()"/> -->
|
||||
AI问答
|
||||
<view class="top-desc">内容由AI生成</view>
|
||||
<view class="seek-setting">
|
||||
<image
|
||||
src="@/static/images/dialog/new-dialog.png"
|
||||
@@ -932,6 +933,14 @@
|
||||
color: #000;
|
||||
position: relative;
|
||||
|
||||
.top-desc{
|
||||
position: absolute;
|
||||
bottom: -10rpx;
|
||||
font-size: 18rpx;
|
||||
color: #999;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
// margin-bottom: 23rpx;
|
||||
.arrow-icon {
|
||||
position: absolute;
|
||||
|
||||
@@ -164,6 +164,7 @@
|
||||
setTimeout(() => {
|
||||
talkVoiceObj.value.src = itemVoice.value;
|
||||
if (voiceIsPlaying.value) return
|
||||
if(unref(dataInfo)?.id !== props.activeVoiceId) return
|
||||
talkVoiceObj.value.play();
|
||||
}, 100);
|
||||
} else {
|
||||
@@ -185,6 +186,7 @@
|
||||
itemVoice.value = url;
|
||||
talkVoiceObj.value.src = url;
|
||||
if (voiceIsPlaying.value) return
|
||||
if(unref(dataInfo)?.id !== props.activeVoiceId) return
|
||||
talkVoiceObj.value.play();
|
||||
} else {
|
||||
downloadVoiceFile(_url)
|
||||
@@ -197,6 +199,7 @@
|
||||
itemVoice.value = res.tempFilePath;
|
||||
talkVoiceObj.value.src = res.tempFilePath;
|
||||
if (voiceIsPlaying.value) return
|
||||
if(unref(dataInfo)?.id !== props.activeVoiceId) return
|
||||
talkVoiceObj.value.play();
|
||||
storageStore.setStorage('audio', _url + _params.teachNo, itemVoice.value);
|
||||
})
|
||||
@@ -260,6 +263,7 @@
|
||||
() => props.dataInfo,
|
||||
(val) => {
|
||||
if (val.execLogId && isStudy.value) {
|
||||
if(unref(dataInfo)?.id !== props.activeVoiceId) return
|
||||
playVoice()
|
||||
}
|
||||
}, {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="btns-cont">
|
||||
<view class="play-btn">
|
||||
<view class="play-btn" v-show="!isTesting">
|
||||
<image class="icon" v-show="!(!voiceLoading&&(props.activeVoiceId === dataInfo.id))" @click.stop="playVoice"
|
||||
src="@/static/images/course/play-blue.png" style="width: 100%;height: 100%;"></image>
|
||||
<image class="icon" v-show="!voiceLoading&&(props.activeVoiceId === dataInfo.id)" @click.stop="pauseVoice"
|
||||
@@ -96,6 +96,7 @@
|
||||
setTimeout(() => {
|
||||
// talkUserVoiceObj.value.src = itemVoice.value
|
||||
talkUserVoiceObj.value.play()
|
||||
isPlaying.value = true
|
||||
}, 300)
|
||||
return
|
||||
} else {
|
||||
@@ -137,7 +138,7 @@
|
||||
isTesting.value = true
|
||||
talkUserVoiceObj.value.volume = 0
|
||||
talkUserVoiceObj.value.play()
|
||||
talkUserVoiceObj.value.pause()
|
||||
// talkUserVoiceObj.value.pause()
|
||||
}
|
||||
// #endif
|
||||
setTimeout(() => {
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
<view class="back-icon" @click="common.navigateBack()"></view>
|
||||
{{ '陪练报告' }}
|
||||
<view class="feedback-icon" @click="feedbackNow"></view>
|
||||
<view class="top-desc">内容由AI生成</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="body-content">
|
||||
@@ -324,7 +325,14 @@
|
||||
top: var(--status-bar-height);
|
||||
left: 0;
|
||||
z-index: 2;
|
||||
|
||||
.top-desc{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
font-size: 186rpx;
|
||||
color: #999;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.top-title {
|
||||
height: 90rpx;
|
||||
// background-color: red;
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
<view class="back-icon" @click="common.navigateBack()"></view>
|
||||
{{ detailInfo.traName }}
|
||||
</view>
|
||||
<view class="top-desc">内容由AI生成</view>
|
||||
</view>
|
||||
<scroll-view :class="[' body-content index-dialog-body', detailInfo.traInterTyp === '01'?'talking-type1':'']" :scroll-y="true" refresher-default-style="none"
|
||||
:scroll-top="scrollTop" :show-scrollbar="false" :scroll-with-animation="false">
|
||||
@@ -328,7 +329,7 @@
|
||||
talkingText: body.content,
|
||||
isLoading: false,
|
||||
intrctWay: '02',
|
||||
id: _id,
|
||||
id: _id + 'qns',
|
||||
...body,
|
||||
talkingVoice: askData.value.talkingVoice
|
||||
});
|
||||
@@ -361,7 +362,7 @@
|
||||
talkingText: answerText.value,
|
||||
isLoading: false,
|
||||
execLogId: body.execLogId||'',
|
||||
id: _id,
|
||||
id: _id + 'ans',
|
||||
...body,
|
||||
askData: {
|
||||
...askData.value
|
||||
@@ -519,6 +520,14 @@
|
||||
left: 0;
|
||||
z-index: 2;
|
||||
|
||||
.top-desc{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
font-size: 18rpx;
|
||||
color: #999;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.top-title {
|
||||
height: 90rpx;
|
||||
// background-color: red;
|
||||
|
||||
Reference in New Issue
Block a user