Browse Source

首页修改

master
chenkainan 5 months ago
parent
commit
183cf85e65
  1. 11
      pages/index/index.vue

11
pages/index/index.vue

@ -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

Loading…
Cancel
Save