TA的每日心情 | 难过 2016-9-10 10:32 |
---|
签到天数: 1 天 [LV.1]初来乍到
新手上路
- 积分
- 27
|
我在jquery mobile 下使用,引入的顺序是
<link rel="stylesheet" href="tpl/css/jquery.mobile.structure-1.4.5.min.css?ver={rand(0,999)}" />
<link rel="stylesheet" href="tpl/css/swiper-3.3.1.min.css?ver={rand(0,999)}" />
<link rel="stylesheet" href="tpl/css/css.css?ver={rand(0,999)}" />
<script type="text/javascript" src="tpl/js/jquery.min.js" ></script>
<script type="text/javascript" src="tpl/js/swiper-3.3.1.jquery.min.js" ></script>
<script type="text/javascript" src="tpl/js/jquery.mobile-1.4.5.min.js?ver={rand(0,999)}" ></script>
<script type="text/javascript" src="tpl/js/glc.js?ver={rand(0,999)}" ></script>
其中的css.css跟glc.js是我自己的,没有东西,初始化时在glc.js里面初始化
$(document).on("pageshow","#default",function(){
var showImgWithTop = new Swiper ('.showImgWithTop .swiper-container', {
loop: true,
autoplay:2000,
pagination: '.showImgWithTop .swiper-pagination',
});
});
发现会转动,但是我不能手滑动让他转动,是哪里冲突了还是??
|
|