|
@@ -6,7 +6,10 @@
|
|
|
<view class="item-image" v-if="list.BodyHtml">
|
|
|
<image :src="list.BodyHtml"></image>
|
|
|
</view>
|
|
|
- <block v-if="list.Annotation || list.Body[0]">
|
|
|
+ <view class="item-image" v-if="list.Cover">
|
|
|
+ <image :src="list.Cover"></image>
|
|
|
+ </view>
|
|
|
+ <block v-if="(list.Annotation || list.Body[0]) && !list.Cover">
|
|
|
<text class="item-content" v-if="!list.Body[0]">{{ list.ArticleResponse == 4 ? "核心观点" : "核心结论" }}:</text>
|
|
|
<view class="item-rich-text">
|
|
|
<mp-html :content="richTextClamp(7) + (list.Annotation || list.Body[0]) + '</div>'" />
|
|
@@ -46,7 +49,7 @@ export default {
|
|
|
goDetail(item) {
|
|
|
if (item.HomeType !== 1) {
|
|
|
/* 无需授权且已绑定 检验是或否有权限 */
|
|
|
- uni.navigateTo({ url: "/pageMy/reportDetail/reportDetail?id=" + item.ArticleId});
|
|
|
+ uni.navigateTo({ url: "/pageMy/reportDetail/reportDetail?id=" + item.ArticleId });
|
|
|
}
|
|
|
},
|
|
|
richTextClamp(val) {
|