mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-15 05:46:43 +08:00
我提问的样式修改
This commit is contained in:
@@ -93,8 +93,9 @@
|
||||
<div v-else class="home-no-list">
|
||||
<!-- <span v-if="dataList.length==0">当前列表无数据</span>
|
||||
<span v-else-if="couresList.length==0" >未找到您要搜索的内容</span> -->
|
||||
<img class="img" style="width:360px;height:226px" src="/images/homeWu/no-madel.png" alt="" srcset="">
|
||||
<p class="text" style="color: #333333;margin-top:50px;font-size: 14px">你还没有报名课程哦~</p>
|
||||
<img v-if="dataList.length==0 || couresList.length==0" class="img" style="width:360px;height:226px" src="/images/homeWu/no-madel.png" alt="" srcset="">
|
||||
<p v-if="dataList.length==0" class="text" style="color: #333333;margin-top:50px;font-size: 14px">你还没有报名课程哦~</p>
|
||||
<p v-else-if="couresList.length==0" class="text" style="color: #333333;margin-top:50px;font-size: 14px">未找到您要搜索的内容</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -170,7 +171,7 @@ computed: {
|
||||
if(item.isOld){
|
||||
apiBoeCourse.delLearning(item.kid).then(res=>{
|
||||
if(res.status==200){
|
||||
this.$message({ type: 'success', message: '删除成功!' });
|
||||
this.$message({ type: 'success',center: true, message: '课程删除成功!' });
|
||||
this.couresList.forEach((ic,index)=>{
|
||||
if(item.kid == ic.kid) {
|
||||
this.couresList.splice(index,1);
|
||||
|
||||
Reference in New Issue
Block a user