|
|
@ -69,7 +69,7 @@ |
|
|
|
</view> |
|
|
|
<view class="hot-content"> |
|
|
|
<view class="title text-overflowRows">{{item.title || item.goods.title}}</view> |
|
|
|
<view class="subtitle" v-if="hotIndex"> |
|
|
|
<view class="subtitle" v-if="hotIndex && item.genre == 'video'"> |
|
|
|
<image src="https://static.ticket.sz-trip.com/tongli/images/index/user.png" mode="aspectFill"></image> |
|
|
|
{{item.author}} |
|
|
|
</view> |
|
|
@ -283,8 +283,17 @@ |
|
|
|
}, |
|
|
|
gotoHotDetail(item) { |
|
|
|
if(this.hotIndex == 1) { |
|
|
|
|
|
|
|
if(item.genre == 'video') { |
|
|
|
// 视频 |
|
|
|
this.gotoVideo(item) |
|
|
|
}else { |
|
|
|
// 文章 |
|
|
|
uni.navigateTo({ |
|
|
|
url: '/subPackages/letter/detail?id=' + item.id |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
}else { |
|
|
|
uni.navigateTo({ |
|
|
|
url: '/subPackages/techan/detail?id=' + item.goods_id |
|
|
|