摘要:
阅读全文
摘要:
<div class="dadian_i_i_news_text" v-html="reMove(item.content)"></div> reMove: function(content) { return content.replace(/<\/?[^>]*>|(\n|\t|\r)|(\s)/ 阅读全文
摘要:
var news = new Swiper('.i-news-swiper', { on: { transitionEnd: function(){ var index = this.realIndex; //用 realIndex可选择对应高亮轮播 } }, slidesPerView: "aut 阅读全文
摘要:
//触摸移动时触发此事件 此时开启可以拖动。虽然刚初始化该地图不可以拖动,但是可以触发拖动事件。 map.addEventListener("touchmove", function (e) { map.enableDragging(); }); //触摸结束时触发次此事件 此时开启禁止拖动 map 阅读全文
摘要:
<div id="app" v-cloak> <div class="Zenobia_i_banner"></div> <div class="Zenobia_i_alone" v-for="item,index in list"> <div class="iconfont iconyi" v-if 阅读全文
摘要:
方法1:循环push 阅读全文
摘要:
var mybanner = new Swiper('.i-gd-banner', { speed: 500, loop: true, observer:true,//修改swiper自己或子元素时,自动初始化swiper observeParents:true,//修改swiper的父元素时,自动 阅读全文
摘要:
FastClick.prototype.focus = function(targetElement) { targetElement.focus();//加入这一句话就OK了 }; 阅读全文