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实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。
扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄