05 2017 档案
摘要:1 $(document).ready(function(){ 2 var ht_ = $(window).height(); 3 $(".indexOne,.indexOne .banner li,.indexOne .banner img").height(ht_); 4 5 //浏览器窗口的大小变化时触发 6 $(window).resize(function...
阅读全文
摘要:列表index下标取值 实现方式是:data-index="{{index}}"挖坑及e.currentTarget.dataset.index来填坑即可 如果不使用e.currentTarget而使用e.target会怎样? 将会导致仅点中<view>才能输出index值,点子元素<image>或
阅读全文

浙公网安备 33010602011771号