marquee标签公告轮播内容显示不全问题
marquee标签内不能使用ul li标签,要使用table才可以显示完整
<marquee style="width: 100%; height:60px;" scrollamount="10" scrolldelay="0" direction="left" behaviour="Scroll" > <table class="marquee-info" > <tr> <td class="marquee-item" v-for="(item,index) in info_List" :key="item.index" @click='showDetail(index)'> {{ item.title }} </td> </tr> </table>
</marquee>
mounted(){ axios.get('http://ip/web/goTZGG.action?type=1') .then((res) => { let _this = this; if(res.data.code == 1){ let rs_list = res.data.listNotice; for(let i = 0; i < rs_list.length; i++){ _this.info_List.push(rs_list[i]); } } }).catch((err) => { }); },
SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

更多精彩