mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 11:56:44 +08:00
支持删除播放时间
This commit is contained in:
@@ -7,8 +7,12 @@
|
||||
<span class="his-info pointer" @click="isShowList = true">历史记录</span>
|
||||
</div>
|
||||
<div :class="editContent">
|
||||
<div class="note-tit">
|
||||
<div @click="toCoursePage()" v-if="editdata.playTime != ''" :style="{cursor:editdata.type==1? 'pointer':''}"><img :src="`${webBaseUrl}/images/coteplay.png`" alt="">{{getHMS(editdata.playTime)}}</div>
|
||||
<div v-if="editdata.playTime != '' " class="note-tit">
|
||||
<div :style="{cursor:editdata.type==1? 'pointer':''}">
|
||||
<img :src="`${webBaseUrl}/images/coteplay.png`" @click="toCoursePage()" alt="">
|
||||
<span @click="toCoursePage()">{{getHMS(editdata.playTime)}}</span>
|
||||
<img :src="`${webBaseUrl}/images/cotedetel.png`" style="margin-top:4px;margin-left:5px;" @click="timeDel()" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="note-text" v-if="editdata.contentType != 3">
|
||||
<!-- <input style="vertical-align:top;outline:none;" type="textarea" :rows="4" v-model="editdata.content"> -->
|
||||
@@ -106,6 +110,9 @@ export default {
|
||||
imgDel(index) {
|
||||
this.imgContent.splice(index,1);
|
||||
},
|
||||
timeDel() {
|
||||
this.editdata.playTime = '';
|
||||
},
|
||||
comeback(){
|
||||
clearInterval(this.timer);
|
||||
this.timer = null;
|
||||
|
||||
Reference in New Issue
Block a user