上一页 1 2 3 4 5 6 7 ··· 24 下一页
摘要: 阅读全文
posted @ 2020-10-24 10:34 怪咖咖 阅读(185) 评论(0) 推荐(0) 编辑
摘要: <div class="dadian_i_i_news_text" v-html="reMove(item.content)"></div> reMove: function(content) { return content.replace(/<\/?[^>]*>|(\n|\t|\r)|(\s)/ 阅读全文
posted @ 2020-07-25 14:26 怪咖咖 阅读(160) 评论(0) 推荐(0) 编辑
摘要: var news = new Swiper('.i-news-swiper', { on: { transitionEnd: function(){ var index = this.realIndex; //用 realIndex可选择对应高亮轮播 } }, slidesPerView: "aut 阅读全文
posted @ 2020-07-01 11:19 怪咖咖 阅读(661) 评论(0) 推荐(0) 编辑
摘要: //触摸移动时触发此事件 此时开启可以拖动。虽然刚初始化该地图不可以拖动,但是可以触发拖动事件。 map.addEventListener("touchmove", function (e) { map.enableDragging(); }); //触摸结束时触发次此事件 此时开启禁止拖动 map 阅读全文
posted @ 2020-05-08 16:22 怪咖咖 阅读(1288) 评论(0) 推荐(0) 编辑
摘要: <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 阅读全文
posted @ 2020-03-20 09:33 怪咖咖 阅读(966) 评论(0) 推荐(0) 编辑
摘要: 方法1:循环push 阅读全文
posted @ 2020-01-03 10:23 怪咖咖 阅读(7170) 评论(0) 推荐(0) 编辑
摘要: var mybanner = new Swiper('.i-gd-banner', { speed: 500, loop: true, observer:true,//修改swiper自己或子元素时,自动初始化swiper observeParents:true,//修改swiper的父元素时,自动 阅读全文
posted @ 2019-12-12 16:58 怪咖咖 阅读(1983) 评论(0) 推荐(0) 编辑
摘要: FastClick.prototype.focus = function(targetElement) { targetElement.focus();//加入这一句话就OK了 }; 阅读全文
posted @ 2019-12-09 11:38 怪咖咖 阅读(320) 评论(0) 推荐(0) 编辑
摘要: js公共方法: 阅读全文
posted @ 2019-12-07 17:07 怪咖咖 阅读(2324) 评论(0) 推荐(0) 编辑
摘要: 商品详情 .i-gd-header { position: fixed; top: 0; left: 0; z-index: 91; width: 100%; background-color: #fff; display: flex; align-i... 阅读全文
posted @ 2019-12-07 16:57 怪咖咖 阅读(328) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 24 下一页