fix: 发布时间调整为更新时间

This commit is contained in:
yanghang
2025-07-11 18:34:51 +08:00
parent eee760abfd
commit 869282c29f
2 changed files with 16 additions and 22 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
<view class="item-tag" v-for="item in tagsShowList">{{item.tagName}}</view>
</view>
</uv-scroll-list>
<view class="item-publish">发布{{itemInfo.issuTm}}</view>
<view class="item-publish">更新{{itemInfo.mtTime}}</view>
<view class="item-num">已学{{itemInfo.accmStdyCnt}}人次</view>
</view>
</view>
+15 -21
View File
@@ -32,11 +32,6 @@
<ChartThree v-if="dataInfo.evalDimens.length === 3" :dataList="dataInfo.evalDimens" :score="dataInfo.intrctGrade"/>
</view>
</view>
<!-- <view class="talking-cont">
<view class="talking-text">
阿列克山大是快乐的你艾德卡省的mask安东拉森扣篮大赛了快递那里是啊克里斯蒂娜老师的阿萨是看
</view>
</view> -->
<view class="btns-cont" v-show="!dataInfo.isLoading">
<view class="replay-btn" @click.stop="restartPlay" v-if="!([5].indexOf(type) >= 0)">
<image class="icon" src="@/static/images/course/replay.png" style="width: 100%;height: 100%;"></image>
@@ -57,13 +52,12 @@
@click.stop="pauseVoice"
></image>
</view>
<view
class="next-learn-btn"
v-if="showNextBtn && [5].indexOf(type) >= 0 && isLast && dataInfo.passStat === 'PS'"
@click.stop="goOnGetQues"
<view class="next-learn-btn"
v-if="showNextBtn && [5].indexOf(type) >= 0 && isLast"
@click.stop="goOnRestartPrgh"
>
继续
<image class="icon icon-iamge" src="@/static/images/course/goon.png" ></image>
重新
<image class="icon icon-iamge" src="@/static/images/course/refresh-white.png" ></image>
</view>
<view
class="next-learn-btn restart"
@@ -73,12 +67,13 @@
重新答
<image class="icon icon-iamge" src="@/static/images/course/restart.png" ></image>
</view>
<view class="replay-study-btn next-learn-btn"
v-if="showNextBtn && [5].indexOf(type) >= 0 && isLast"
@click.stop="goOnRestartPrgh"
<view
class="replay-study-btn next-learn-btn"
v-if="showNextBtn && [5].indexOf(type) >= 0 && isLast && dataInfo.passStat === 'PS'"
@click.stop="goOnGetQues"
>
重新
<image class="icon icon-iamge" src="@/static/images/course/refresh-white.png" ></image>
继续
<image class="icon icon-iamge" src="@/static/images/course/goon.png" ></image>
</view>
<view class="next-btn" @click.stop="goOnGetQues" v-if="showGoonBtn">继续
<image class="icon icon-iamge" src="@/static/images/course/goon.png" ></image></view>
@@ -124,7 +119,7 @@
<view :class="['talking-gif', !voiceLoading && (activeVoiceId === dataInfo.id) ? 'is-play' : '']">
<CommonLoading color="#fff" v-show="voiceLoading || dataInfo.isLoading"/>
</view>
<view class="right-time">{{voiceTime}}s</view>
<view class="right-time">{{voiceTime}}</view>
<view class="talking-cont" v-show="!dataInfo.isLoading">
<text :class="['talking-text translate-text loading']" v-show="!translateLoading">
{{ showContent }}
@@ -391,11 +386,10 @@ const audioCacheObj = computed(() => storageStore.audioObj)
}
const initVoice = (readType = 'qns', item, isplay=false) => {
if(unref(dataInfo).talkingVoice){
itemVoice.value = unref(dataInfo).talkingVoice
talkVoiceObj.value.src = itemVoice.value
itemVoice.value = unref(dataInfo).talkingVoice
talkVoiceObj.value.src = itemVoice.value
setTimeout(()=>{
voiceTime.value = Math.ceil(talkVoiceObj.value.duration) || 0 + 's'
console.log(voiceTime.value)
voiceTime.value = ( Math.ceil(talkVoiceObj.value.duration) || 0 ) + 's'
},100)
}
}