mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-07 01:46:44 +08:00
评论样式
This commit is contained in:
@@ -14,7 +14,13 @@
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="conType == 1">
|
||||
<view v-if="courseList.length > 0">
|
||||
<view v-if="courseList.length == 0 && loadStatus == 'noMore'" class="empt-box">
|
||||
<u-empty
|
||||
text="你还没有收藏哦~"
|
||||
icon="../../static/images/favorite-empt.png">
|
||||
</u-empty>
|
||||
</view>
|
||||
<view v-else >
|
||||
<view v-for="(item, idx) in courseList" :key="idx" class="course_box">
|
||||
<view class="course" @click="toCourseDetail(item)">
|
||||
<view class="course-info">
|
||||
@@ -42,17 +48,15 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-else class="empt-box">
|
||||
<u-empty
|
||||
</view>
|
||||
<view v-if="conType == 2">
|
||||
<view class="empt-box" v-if="articleList.length == 0 && loadStatus == 'noMore'">
|
||||
<u-empty
|
||||
text="你还没有收藏哦~"
|
||||
icon="../../static/images/favorite-empt.png">
|
||||
</u-empty>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
<view v-if="conType == 2">
|
||||
<view class="" v-if="articleList.length > 0">
|
||||
<view v-else >
|
||||
<view class="article_one" v-for="(item, idx) in articleList" :key="idx">
|
||||
<view class="articla_tit" @click="toArticleDetail(item)" v-html="$keywordActiveShow(item.title, query.keyword)"></view>
|
||||
<text class="articla_text" v-html="$keywordActiveShow(item.summary, query.keyword)"></text>
|
||||
@@ -65,15 +69,16 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-else class="empt-box">
|
||||
<u-empty
|
||||
|
||||
</view>
|
||||
<view v-if="conType == 4">
|
||||
<view class="empt-box" v-if="qaList.length == 0 && loadStatus == 'noMore'">
|
||||
<u-empty
|
||||
text="你还没有收藏哦~"
|
||||
icon="../../static/images/favorite-empt.png">
|
||||
</u-empty>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="conType == 4">
|
||||
<view v-if="qaList.length > 0">
|
||||
<view >
|
||||
<view v-for="(item, idx) in qaList" :key="idx" class="qa">
|
||||
<view class="qa-body" @click="toQaDetail(item.question)">
|
||||
<text v-if="item.question.isResolve" style="color:#08A890">【已解决】</text>
|
||||
@@ -107,12 +112,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-else class="empt-box">
|
||||
<u-empty
|
||||
text="你还没有收藏哦~"
|
||||
icon="../../static/images/favorite-empt.png">
|
||||
</u-empty>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<!-- <view v-show="count > query.pageSize"><uni-load-more :status="loadStatus"></uni-load-more></view> -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user