摘要: 要点: 1.<li v-for="(item,index) in arr" v-on:click="lick(item)"><!-- 第{{index+1}}张</li>遍历一个数组,拿到索引值和所对应的数据,在js中处理--> 2.<button v-on:click="next" :style= 阅读全文
posted @ 2018-05-11 15:48 web前端煜 阅读(355) 评论(0) 推荐(0)