页面链接:/pages/index/components/news.vue
方便复制:
v-if="newsList.length"
newsList
@click="moreTab(item.chiild[1].val)"
方便复制:
@click="moreTab(newsList[0].chiild[1].val)"
:text="newsList[0].chiild[0].val"
newsList
@click="moreTab(newsList[swiperIndex].chiild[1].val)"
方便复制:
newsList: [],
swiperIndex: 0
mounted(){
let list = this.dataConfig.listConfig.list;
let newsList = [];
list.forEach(item=>{
if(item.show){
newsList.push(item);
}
})
this.newsList = newsList;
},
changeIndex(event){
this.swiperIndex = event.detail.current;
},
链接:/components/uniNoticeBar/uni-notice-bar.vue
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}