<view class="propaganda borderTop" v-for="(item, index) in list" :key="item.index" @tap="goTovideo(item.Id)">
<view class="left">
<image class="imageBg" :src="item.VideoCoverPath" mode="aspectFill"></image>
<image class="play" :src="play" mode="aspectFill"></image>
</view>
<view class="right">
<view class="propaganda-title">
{{item.VideoTitle}}
</view>
<view class="propaganda-txt">
{{item.VideoDescription}}
</view>
</view>
</view>
js::
let _self = this;
console.log("文章")
getKnowledgeArticleListByPageByApp(_self.params).then(res => {
if(res.Status === 200){
uni.hideNavigationBarLoading(); //显示加载动画
_self.list.push(res.Data.Entity[0])
//_self.list = _self.list.concat(res.Data.Entity)
//_self.$set(_self.list,0,res.Data.Entity[0])
console.log(this.list.length)
console.log(JSON.stringify(this.list))
if(10 * _self.page >= res.Data.AllCount){
_self.status = "noMore"
}
}
})
0 个回复