图片路径

This commit is contained in:
lmj
2022-10-15 18:01:49 +08:00
parent a4e22c2989
commit b1608b78e4
11 changed files with 41 additions and 41 deletions

View File

@@ -8,9 +8,9 @@
<!-- 新增笔记 -->
<div class="newcote-content" v-if="notetab == 1">
<div class="newcote-time" v-if="mynoteData.playTime != 0">
<img src="../../../public/images/coteplay.png" />
<img :src="`${webBaseUrl}/images/coteplay.png`" />
{{formatSeconds(mynoteData.playTime)}}
<img src="../../../public/images/cotedetel.png" @click="timeDel()" />
<img :src="`${webBaseUrl}/images/cotedetel.png`" @click="timeDel()" />
</div>
<div class="newcote-text">
<el-input type="textarea" :autofocus="true" placeholder="好记性不如烂笔头,记录些什么吧~"
@@ -46,7 +46,7 @@
</span>
<div style="margin-top:10px" class="newcote-time" v-if="note.playTime"
@click="onPlayVideo(note.contentId,note.playTime)">
<img src="../../../public/images/coteplay.png" alt="">
<img :src="`${webBaseUrl}/images/coteplay.png`" alt="">
{{formatSeconds(note.playTime)}}
</div>
<div class="newcote-text">
@@ -56,7 +56,7 @@
<h6 class="mycote-dibu">已经到底啦</h6>
</div>
<div class="my-nonote" v-else>
<img src="../../../public/images/no-note.png" alt="" />
<img :src="`${webBaseUrl}/images/no-note.png`" alt="" />
<h6 style="color: #666666;font-size: 14px;">你还没有记录此课程的笔记哦</h6>
</div>
</div>
@@ -68,9 +68,9 @@
</p>
<div class="newcote-content" style="margin-top:10px;min-height:236px;height: 100%;">
<div class="newcote-time" v-if="mynoteData.playTime != 0">
<img src="../../../public/images/coteplay.png" />
<img :src="`${webBaseUrl}/images/coteplay.png`" />
{{formatSeconds(mynoteData.playTime)}}
<img src="../../../public/images/cotedetel.png" @click="timeDel()" />
<img :src="`${webBaseUrl}/images/cotedetel.png`" @click="timeDel()" />
</div>
<div class="newcote-text">
<el-input type="textarea" :autofocus="true" placeholder="好记性不如烂笔头,记录些什么吧~"
@@ -82,7 +82,7 @@
</div>
</div>
<div class="newcote-bottom" v-if="notetab == 1 || isEdit">
<span v-if="btnPlayTime" style="cursor: pointer;" @click="videoLocation"> <img src="../../../public/images/playtime.png"
<span v-if="btnPlayTime" style="cursor: pointer;" @click="videoLocation"> <img :src="`${webBaseUrl}/images/playtime.png`"
alt=""> 视频位置</span>
<el-radio v-if="mynoteData.openType == 9" v-model="editRadio" :label="9">公开</el-radio>
<el-radio v-model="editRadio" :label="1">私密</el-radio>
@@ -92,7 +92,7 @@
</div>
<div class="animation-box" :class="inAnimation?'animation':''" @animationend="inAnimation=false">
<div class="box-text">
<img src="../../../public/images/success-note.png" />{{inAnimationText}}
<img :src="`${webBaseUrl}/images/success-note.png`" />{{inAnimationText}}
</div>
</div>
</div>