修改课程记录bug

This commit is contained in:
田岩
2025-09-16 14:33:42 +08:00
parent 5d1ba8a22e
commit 7f3b3829a2
10 changed files with 81 additions and 128 deletions
@@ -12,7 +12,7 @@
<view class="analysis_title">
<view class="success_answer">正确答案{{ dataInfo.itemAnswer }}</view>
</view>
<view class="analysis_note">解析{{ dataInfo?.analyContent }}</view>
<view class="analysis_note">题解析{{ dataInfo?.analyContent }}</view>
</view>
</view>
</template>
@@ -21,6 +21,7 @@
<view class="talking-cont">
<!-- 题干/段落内容 -->
<view class="talking-num"> {{dataInfo.titleNum||''}} </view>
<view class="talking-num"> {{dataInfo.title||''}} </view>
<text class="talking-text" v-if="[3, 5, 6, 9].indexOf(type) >= 0 && !dataInfo.isLoading">
{{ showContent }}
</text>
@@ -42,9 +43,17 @@
<!-- 试题问题反馈 -->
<!-- <RadioSubjectRequest v-if="[8].indexOf(type) >= 0 && dataInfo.qnsTyp !== 'ES'" :item="dataInfo" :mode="mode" @subject_click="subject_click" /> -->
<!-- 段落图片视频预览 -->
<view v-if="type === 3" style="overflow: hidden;">
<!-- <view v-if="type === 3" style="overflow: hidden;">
<ImagePreview class="cont-img-box" v-if="(dataInfo.imageAddrs||[]).length>0" :imgId="dataInfo.imageAddrs[0]" :previewDetail="true"></ImagePreview>
<VideoPreview class="cont-img-box" v-if="(dataInfo.vidoAddrs||[]).length>0" :fileId="dataInfo.vidoAddrs[0]"></VideoPreview>
</view> -->
<!-- 举例预览 -->
<view class="talking-text" v-if="type === 3 && dataInfo.exampie " style="overflow: hidden;">
举例{{ dataInfo.exampie }}
</view>
<view style="overflow: hidden;">
<ImagePreview class="cont-img-box" v-if="dataInfo.imgAddr" :src="dataInfo.imgAddr" :previewDetail="true"></ImagePreview>
<VideoPreview class="cont-img-box" v-if="dataInfo.vidAddr" :src="dataInfo.vidAddr"></VideoPreview>
</view>
<!-- 维度信息预览 -->
<view v-if="[4, 8].indexOf(type) >= 0 && dataInfo.qnsTyp === 'ES'" style="padding-top: 16rpx;">
@@ -56,10 +65,7 @@
<view class="talking-text" v-if="type === 5 && !dataInfo.isLoading" style="overflow: hidden;">
参考答案{{ dataInfo.itemAnswer }}
</view>
<!-- 举例预览 -->
<view class="talking-text" v-if="type === 3 && dataInfo.exampie " style="overflow: hidden;">
举例{{ dataInfo.exampie }}
</view>
</view>
<view class="btns-cont" v-show="!dataInfo.isLoading" v-if="!([3, 8, 4].indexOf(type) >= 0)">
<!-- 重新播放 -->
@@ -5,13 +5,13 @@
<view class="course-study-body">
<view class="body-title">
<uv-icon class="arrow-icon" name="arrow-left" @click="backRouter()" />
{{ recordTitle }}
学习记录
</view>
<scroll-view class="talking-list" :scroll-y="true" :scroll-top="scrollTop" :show-scrollbar="false"
:scroll-with-animation="true">
<talkingItem v-for="item in talkingList" :type="item.type"
:dataInfo="item" :activeVoiceId="activeVoiceTalkingItemId" :isPlaying="activeVoiceTalkingItemId === item.id"
:voiceRate="chooseRate" />
:voiceRate="chooseRate"/>
</scroll-view>
</view>
</view>
@@ -54,7 +54,8 @@
...t,
id: 'prgh-'+index,
chatContent:( t.pgrphContent || ''),
titleNum: '知识点'+(index+1)+''+ t.title,
titleNum: '知识点'+(index+1)+'',
title:t.title,
type: 3
})
if(t.qnsInfoVos && t.qnsInfoVos.length>0){