Authored by microTT

冲突解决

@@ -115,7 +115,7 @@ define('channel', function(require, exports) { @@ -115,7 +115,7 @@ define('channel', function(require, exports) {
115 e.preventDefault(); 115 e.preventDefault();
116 swiper.swipeNext(); 116 swiper.swipeNext();
117 }); 117 });
118 - 118 +
119 $(".dib a").on("click", function(event) { 119 $(".dib a").on("click", function(event) {
120 var index = $(this).index(".dib a"); 120 var index = $(this).index(".dib a");
121 swiper.swipeTo(index + 1); 121 swiper.swipeTo(index + 1);
@@ -186,6 +186,7 @@ EOL; @@ -186,6 +186,7 @@ EOL;
186 }) 186 })
187 seajs.use(['jquery', 'channel'], function($, channel) { 187 seajs.use(['jquery', 'channel'], function($, channel) {
188 channel.index(); 188 channel.index();
  189 + channel.common();
189 }) 190 })
190 </script> 191 </script>
191 <?php $this->_endblock();?> 192 <?php $this->_endblock();?>