正在显示
1 个修改的文件
包含
10 行增加
和
8 行删除
@@ -170,6 +170,14 @@ | @@ -170,6 +170,14 @@ | ||
170 | 170 | ||
171 | <script src="http://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script> | 171 | <script src="http://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script> |
172 | <script> | 172 | <script> |
173 | + // swiper | ||
174 | + var swiper = new Swiper(".swiper-container", { | ||
175 | + slidesPerView: 3, | ||
176 | + paginationClickable: true, | ||
177 | + spaceBetween: 8, | ||
178 | + freeMode: true | ||
179 | + }); | ||
180 | + | ||
173 | $('.navImg1 img').click(function() { | 181 | $('.navImg1 img').click(function() { |
174 | if ($(this).attr('src') == "__TMPL__/public/assets/images/xx.png") { | 182 | if ($(this).attr('src') == "__TMPL__/public/assets/images/xx.png") { |
175 | $('#video').show(); | 183 | $('#video').show(); |
@@ -182,7 +190,6 @@ | @@ -182,7 +190,6 @@ | ||
182 | $('video').bind('contextmenu', function() { | 190 | $('video').bind('contextmenu', function() { |
183 | return false; | 191 | return false; |
184 | }); | 192 | }); |
185 | - | ||
186 | var video_index = getUrlParam('video_index'); | 193 | var video_index = getUrlParam('video_index'); |
187 | //默认第一个视频 | 194 | //默认第一个视频 |
188 | if(video_index == ''){ | 195 | if(video_index == ''){ |
@@ -197,6 +204,7 @@ | @@ -197,6 +204,7 @@ | ||
197 | video_share(); | 204 | video_share(); |
198 | } | 205 | } |
199 | 206 | ||
207 | + | ||
200 | //登录 | 208 | //登录 |
201 | var users = $('#users').val(); | 209 | var users = $('#users').val(); |
202 | if (users == 0) { | 210 | if (users == 0) { |
@@ -250,13 +258,7 @@ | @@ -250,13 +258,7 @@ | ||
250 | $(".fourth_video_start").hide(); | 258 | $(".fourth_video_start").hide(); |
251 | } | 259 | } |
252 | 260 | ||
253 | - // swiper | ||
254 | - var swiper = new Swiper(".swiper-container", { | ||
255 | - slidesPerView: 3, | ||
256 | - paginationClickable: true, | ||
257 | - spaceBetween: 8, | ||
258 | - freeMode: true | ||
259 | - }); | 261 | + |
260 | $(".select input").click(function() { | 262 | $(".select input").click(function() { |
261 | if ($(this).next("img").attr("src") == "__TMPL__/public/assets/images/down2.png") { | 263 | if ($(this).next("img").attr("src") == "__TMPL__/public/assets/images/down2.png") { |
262 | $(this) | 264 | $(this) |
-
请 注册 或 登录 后发表评论