PC-20180523CIYM\Administrator há 5 anos atrás
pai
commit
6038b6ccbc

+ 2 - 2
2019专题/1908DOTA2/src/modules/page/panel.js

@@ -45,7 +45,7 @@ var V = {
                 $('.week-select').find('.btn-more').hide();
             }
         } else {
-            this.initSwiper(_index, 2, initIndex, 12);
+            this.initSwiper(_index, 2.5, initIndex, 12);
             mobileFlag = true;
             if (btnLen > 4) {
                 $('.week-select').find('.btn-more').show();
@@ -70,7 +70,7 @@ var V = {
         $('.page-stake .week-select .week-btn-wrap .btn').click(function() {
             var $this = $(this),
                 _index = $this.index(),
-                slideLen = mobileFlag ? 2 : 4,
+                slideLen = mobileFlag ? 2.5 : 4,
                 ininIndex = Number($this.attr('data-week')) || 0,
                 space = mobileFlag ? 12 : 16;
             $this.addClass('active').siblings().removeClass('active');

+ 7 - 0
2019专题/1908DOTA2/src/sass/base/_mixins.scss

@@ -57,6 +57,13 @@
     -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
 }
+@mixin ellipsis-column($value){
+	display: -webkit-box;
+    -webkit-line-clamp: $value;
+    -webkit-box-orient: vertical;
+    overflow: hidden;
+    text-overflow: ellipsis;
+}
 @mixin pre {
 	white-space: pre-wrap;
     white-space: -moz-pre-wrap;

+ 16 - 2
2019专题/1908DOTA2/src/sass/global.scss

@@ -53,7 +53,9 @@ body{
     padding-bottom:40px;
     margin:0 auto
 }
-
+.zt-mod-video-more {
+    display: none;
+}
 .g-zt-inner {
     width: 1136px;
     margin: 0 auto;
@@ -111,6 +113,13 @@ body{
     }
 }
 
+#news .zt-list-video h4 {
+    @include ellipsis;
+}
+#video .zt-list-video h4 {
+    @include ellipsis-column(2);
+}
+
 .zt-mod-primary {
     padding-top: 712px;
     position: relative;
@@ -630,6 +639,8 @@ body{
             width:120px;
             font-size:16px;
             img{
+                height: 30px;
+                width: 30px;
                 vertical-align: middle;
                 padding-right:5px;
             }
@@ -991,6 +1002,7 @@ body{
         overflow: hidden;
     }
     img{
+        min-height: 100%;
         display: block;
         width: 100%;
         overflow: hidden;
@@ -1433,6 +1445,7 @@ $vari: 750 / 640;
             margin:0 auto;
             text-align: center;
             margin-top:10px;
+            font-size: 14px;
             a{
                 color:#fff;
                 line-height: px2rem(60);
@@ -1502,7 +1515,7 @@ $vari: 750 / 640;
           .score-nav-main{
             height:px2rem(78);
             .nav_item{
-                font-size:px2rem(28);
+                font-size:14px;
                 line-height: px2rem(78)
             }
         }
@@ -1511,6 +1524,7 @@ $vari: 750 / 640;
             .nav_item_sub{
                 line-height: px2rem(75);
                 span{
+                    font-size: 12px;
                     height:auto;
                 }
             }

+ 5 - 2
2019专题/1908DOTA2/src/sass/panel_media.scss

@@ -10,6 +10,9 @@
                     .top-swiper-container {
                         .match-container {
                             padding: 5px 10px 10px;
+                            .title {
+                                font-size: 14px;
+                            }
                             .info {
                                 font-size: 12px;
                                 line-height: 30px;
@@ -41,10 +44,10 @@
                                             width: auto !important;
                                             flex: 1;
                                             &.vs {
-                                                font-size: 18px;
+                                                font-size: 10px;
                                             }
                                             &.score {
-                                                font-size: 24px;
+                                                font-size: 16px;
                                             }
                                         }
                                     }