fenggang 5 yıl önce
ebeveyn
işleme
57a84b70a9

BIN
2018专题/英雄联盟S8全球总决赛/src/img/douyu.png


+ 6 - 2
2019专题/LOL竞猜面板/src/s9.html

@@ -25,7 +25,7 @@
           <a class="guess-tag zhuanti" href="http://lol.duowan.com/1810/m_403891999287.html">总决赛竞猜</a>
 				<div class="week-select clearfix">
 					<div class="week-btn-wrap clearfix">
-						<div class="btn active" data-week="1">第1天</div>
+						<div class="btn" data-week="1">第1天</div>
 
 						<div class="btn " data-week="2">第2天</div>
 
@@ -37,7 +37,7 @@
 					</div>
 				</div>
         <div class="match-slider-wrap">
-          <div class="top-swiper-container swiper-container-horizontal" data-initialslide="3">
+          <div class="top-swiper-container swiper-container-horizontal hide" data-initialslide="3">
               <div class="swiper-wrapper">
                   <div class="top-swiper-slide swiper-slide-active">
                       <div class="match-container">
@@ -728,9 +728,13 @@
 
         var elements = $('.top-swiper-container')
         var currentIndex = 0
+        
         var swipers = Array($('.top-swiper-container').length)
         var slidesPerView = $(window).width() > 750 ? 4 : 2
 
+        elements.eq(currentIndex).removeClass('hide')
+        $('.week-btn-wrap .btn').eq(currentIndex).addClass('active')
+
         swipers[currentIndex] = new Swiper(elements[currentIndex], {
           slidesPerView: slidesPerView,
           centeredSlides: false,

+ 11 - 1
2019专题/英雄联盟S9全球总决赛/src/_index.html

@@ -16,12 +16,22 @@
     <style>
     body {
         background: url('/src/img/bg-body.png') no-repeat center 100%;
-      } 
+      }
+      .douyu{
+        position: absolute;
+        display: block;
+        width: 531px;
+        height: 260px;
+        background: url('/src/img/douyu.png') no-repeat 100% / 100%;
+        right: 20px;
+        top: 20px;
+      }
     </style>
 </head>
 
 <body>
 <div class="kv">
+  <a href="#" class="douyu"></a>
 </div>
 <div class="page-index">
         <!-- 导航 start -->

BIN
2019专题/英雄联盟S9全球总决赛/src/img/douyu.png