Преглед изворни кода

球球大作战比赛页面样式

Eechon пре 6 година
родитељ
комит
e4770b2299

+ 3 - 1
2018专题/球球大作战比赛专题/fis-conf.js

@@ -128,4 +128,6 @@ fis.media('prod').match('*.{jpg,png,jpeg,gif,css,scss,js,woff,ttf,svg,eot}', {
     useHash: true
 }).match('sass/(**.png)', {
     release: version + 'img/sprite/$1'
-});
+}).match('*.{js,css,png,jpg,gif,swf}', {
+    useHash: true
+})

+ 5 - 135
2018专题/球球大作战比赛专题/src/_index.html

@@ -16,10 +16,14 @@
     <base target="_blank">
 
     <style>
-        .zt-mod-primary {
+        .o-wrap{
             background-image: url(/src/img/bg-primary.jpg);
         }
 
+       /*  .zt-mod-primary {
+            background-image: url(/src/img/bg-primary.jpg);
+        } */
+
         .bg2 {
             background: url(/src/img/bg2.jpg) center top no-repeat;
         }
@@ -64,140 +68,6 @@
                 </div>
             </div>
         </div>
-        <!-- <div class="zt-mod-schedule pt-30" id="schedule">
-            <div class="g-zt-inner">
-                <div class="zt-mod_hd">
-                    <h2>赛程安排</h2>
-                </div>
-                <div class="zt-mod_bd">
-                    <div class="zt-ui-carousel" data-role="carousel-score" data-widget-cid="widget-4">
-                        <div class="zt-ui-carousel__scroller">
-                            <ul class="list-info clearfix" data-switchable-role="content">
-                                <li class="item-info" data-role="active-index">
-                                    <h2>全民贺岁杯八强赛1</h2>
-                                    <p class="info_time">
-                                        <span>02-09</span>
-                                        <span>12:00</span>
-                                        <span class="fr">场次</span>
-                                    </p>
-                                    <div class="info_res">
-                                        <div class="clearfix">
-                                            <div class="rank rank2">
-                                                <i class="icon"></i>
-                                                <div class="cover">
-                                                    <img src="/src/img/tbd.png" alt="">
-                                                </div>
-                                                <p>待定</p>
-                                            </div>
-                                            <div class="rank rank1">
-                                                <i class="icon"></i>
-                                                <div class="cover">
-                                                    <img src="/src/img/tbd.png" alt="">
-                                                </div>
-                                                <p>待定</p>
-                                            </div>
-                                            <div class="rank rank3">
-                                                <i class="icon"></i>
-                                                <div class="cover">
-                                                    <img src="/src/img/tbd.png" alt="">
-                                                </div>
-                                                <p>待定</p>
-                                            </div>
-                                        </div>
-                                        <h3>
-                                            <a href="#">比赛战报</a>
-                                        </h3>
-                                    </div>
-                                    <div class="info-status green">进行中</div>
-                                </li>
-                                <li class="item-info" data-role="active-index">
-                                    <h2>全民贺岁杯八强赛1</h2>
-                                    <p class="info_time">
-                                        <span>02-09</span>
-                                        <span>12:00</span>
-                                        <span class="fr">场次</span>
-                                    </p>
-                                    <div class="info_res">
-                                        <div class="clearfix">
-                                            <div class="rank rank2">
-                                                <i class="icon"></i>
-                                                <div class="cover">
-                                                    <img src="/src/img/tbd.png" alt="">
-                                                </div>
-                                                <p>待定</p>
-                                            </div>
-                                            <div class="rank rank1">
-                                                <i class="icon"></i>
-                                                <div class="cover">
-                                                    <img src="/src/img/tbd.png" alt="">
-                                                </div>
-                                                <p>待定</p>
-                                            </div>
-                                            <div class="rank rank3">
-                                                <i class="icon"></i>
-                                                <div class="cover">
-                                                    <img src="/src/img/tbd.png" alt="">
-                                                </div>
-                                                <p>待定</p>
-                                            </div>
-                                        </div>
-                                        <h3>
-                                            <a href="#">比赛战报</a>
-                                        </h3>
-                                    </div>
-                                    <div class="info-status orange">已结束</div>
-                                </li>
-                                <li class="item-info" data-role="active-index">
-                                    <h2>全民贺岁杯八强赛1</h2>
-                                    <p class="info_time">
-                                        <span>02-09</span>
-                                        <span>12:00</span>
-                                        <span class="fr">场次</span>
-                                    </p>
-                                    <div class="info_res">
-                                        <div class="clearfix">
-                                            <div class="rank rank2">
-                                                <i class="icon"></i>
-                                                <div class="cover">
-                                                    <img src="/src/img/tbd.png" alt="">
-                                                </div>
-                                                <p>待定</p>
-                                            </div>
-                                            <div class="rank rank1">
-                                                <i class="icon"></i>
-                                                <div class="cover">
-                                                    <img src="/src/img/tbd.png" alt="">
-                                                </div>
-                                                <p>待定</p>
-                                            </div>
-                                            <div class="rank rank3">
-                                                <i class="icon"></i>
-                                                <div class="cover">
-                                                    <img src="/src/img/tbd.png" alt="">
-                                                </div>
-                                                <p>待定</p>
-                                            </div>
-                                        </div>
-                                        <h3>
-                                            <a href="#">比赛战报</a>
-                                        </h3>
-                                    </div>
-                                    <div class="info-status grey">未开始</div>
-                                </li>
-                            </ul>
-                        </div>
-                        <span class="btn-prev is-disabled" data-switchable-role="prev">
-                            <i></i>
-                        </span>
-                        <span class="btn-next" data-switchable-role="next">
-                            <i></i>
-                        </span>
-                        <ul class="ui-slide__tags" data-switchable-role="nav"></ul>
-                    </div>
-                </div>
-            </div>
-        </div> -->
-
         <div class="zt-mod-schedule2 pt-30" id="schedule">
             <div class="g-zt-inner">
                 <div class="zt-mod_hd">

BIN
2018专题/球球大作战比赛专题/src/img/bg-primary.jpg


BIN
2018专题/球球大作战比赛专题/src/img/bg2.jpg


BIN
2018专题/球球大作战比赛专题/src/img/bg3.jpg


BIN
2018专题/球球大作战比赛专题/src/img/icon-next.png


BIN
2018专题/球球大作战比赛专题/src/img/icon-prev.png


BIN
2018专题/球球大作战比赛专题/src/img/pic-nav.png


BIN
2018专题/球球大作战比赛专题/src/img/pic-sidebar.png


+ 2 - 2
2018专题/球球大作战比赛专题/src/modules/page/index.js

@@ -129,12 +129,12 @@ var C = {
             return;            
         }
         $el.niceScroll({
-            cursorcolor: "#0b2b55",
+            cursorcolor: "#255655",
             cursorwidth: "10",
             cursorborder: "none", 
             cursorborderradius: "5px", // border radius in pixel for cursor
             autohidemode: false,
-            background : "#040e1c",
+            background : "#111413",
             railpadding : {
                 top: 0, right: 2, left: 2, bottom: 0
             }

+ 41 - 29
2018专题/球球大作战比赛专题/src/sass/global.scss

@@ -3,7 +3,7 @@ $yahei: "Microsoft YaHei",
 SimHei,
 sans-serif;
 $borderColor :#15335e;
-$contBgColor: #061529;
+$contBgColor: #161a19;
 $titleFont: PingFang sc,"Helvetica Neue",Helvetica,Tahoma,Arial,"Liberation Sans","Hiragino Sans GB","Source Han Sans CN","Source Han Sans SC","Microsoft YaHei","Wenquanyi Micro Hei","WenQuanYi Zen Hei","ST Heiti",SimHei,"WenQuanYi Zen Hei Sharp",sans-serif;
 
 @import "lego/base";
@@ -20,7 +20,7 @@ html {
 body{
     font-size: 12px;
     min-width: 1200px;
-    background: #0d2444;
+    background: #050506;
 }
 
 .clearfix{
@@ -72,7 +72,7 @@ body{
     .link-more{
         float: right;
         font-size: 14px;
-        color: #84ade3;
+        color: #39b8cc;
         &:hover{
             text-decoration: none;
             opacity: 0.8;
@@ -80,13 +80,18 @@ body{
         em{
             font-weight: bold;
             margin-left: 5px;
-            color: #84ade3;
+            color: #39b8cc;
         }
     }
 }
 
+.o-wrap{
+    background-position: center 0;
+    background-repeat: no-repeat;
+}
+
 .zt-mod-primary {
-    padding-top: 630px;
+    padding-top: 675px;
     background-position: center 0;
     background-repeat: no-repeat;
     .sp-nav {
@@ -94,14 +99,14 @@ body{
         text-align: center;
         margin: 0 auto;
         background: $contBgColor;
-        border-top: 2px solid #1d539c;
+        border-top: 2px solid #8dfcee;
         &:before{
             content: "";
             position: absolute;
-            top: -70px;
-            left: 323px;
-            width: 213px;
-            height: 99px;
+            top: -96px;
+            left: 210px;
+            width: 131px;
+            height: 119px;
             background: url(/src/img/pic-nav.png?__sprite) no-repeat;
         }
         ul{
@@ -114,7 +119,7 @@ body{
         a {
             display: block;
             text-align: center;
-            color: #84ade3;
+            color: #39b8cc;
             font-size: 16px;
             outline: none;
             line-height: 88px;
@@ -139,7 +144,7 @@ body{
         width: 255px;
         text-align: center;
         font-size: 14px;
-        color: #84ade3;
+        color: #39b8cc;
         padding: 25px 56px;
         h2{
             color: #f8dd59;
@@ -291,7 +296,7 @@ body{
         width: 255px;
         text-align: center;
         font-size: 14px;
-        color: #84ade3;
+        color: #39b8cc;
         padding: 25px 56px;
         h2{
             color: #f8dd59;
@@ -401,7 +406,7 @@ body{
         a{
             color: #4882cf;
             position: relative;
-            background: #061529;
+            background: #161a19;
             padding: 0 10px;
         }
     }
@@ -547,7 +552,7 @@ body{
         margin: 10px 0 14px;
         text-align: center;
         a{
-            color: #84ade3;
+            color: #39b8cc;
             &:hover{
                 color: #f8dd59;
             }
@@ -586,7 +591,7 @@ body{
         color: #c3c3c3;
     }
     .list-txt__link {
-        color: #84ade3;
+        color: #39b8cc;
         margin-left: 10px;
         margin-right: 5px;
     }
@@ -604,7 +609,7 @@ body{
         color: #90a7c5;
         font-size: 14px;
         line-height: 25px;
-        border-top: 1px dashed #0d2444;
+        border-top: 1px dashed #234942;
         padding: 25px 0 10px;
     }
     .list-intro{
@@ -623,7 +628,7 @@ body{
         }
         p{
             font-size: 14px;
-            color: #84ade3;
+            color: #39b8cc;
             line-height: 50px;
         }
     }
@@ -644,15 +649,15 @@ body{
     background-color: $contBgColor;
     text-align: center;
     color: #ccc;
-    border-top: 2px solid #1d539c;
+    border-top: 2px solid #8dfcee;
     animation: pointFadeInUp .5s infinite .5s alternate;
     &:before{
         content: "";
         position: absolute;
-        top: -70px;
-        left: 20px;
-        width: 75px;
-        height: 80px;
+        top: -104px;
+        left: -25px;
+        width: 163px;
+        height: 105px;
         background: url(/src/img/pic-sidebar.png?__sprite) no-repeat;
     }
     &:after{
@@ -681,7 +686,7 @@ body{
         height: 58px;
         line-height: 58px;
         display: block;
-        color: #84ade3;
+        color: #39b8cc;
         outline: none;
         &.active,&:hover {
             color: #ff6600;
@@ -716,8 +721,8 @@ body{
             display: table;
         }
         thead{
-            background: #0d2444;
-            color: #84ade3;
+            background: #234942;
+            color: #5bb6a1;
             font-size: 14px;
             font-weight: 700;
             height: 30px;
@@ -726,10 +731,13 @@ body{
         tbody{
             line-height: 30px;
             font-size: 14px;
-            color: #84ade3;
+            color: #5bb6a1;
             tr{
+                &:nth-child(odd){
+                    background: #172b2b;
+                }
                 &:nth-child(even){
-                    background: #071931;
+                    background: #1d302d;
                 }
             }
             .cell-2{
@@ -830,7 +838,7 @@ body{
         a{
             display: block;
             outline: none;
-            color: #84ade3;
+            color: #39b8cc;
             &:hover{
                 text-decoration: none;
                 @include opacity(0.8);
@@ -855,6 +863,7 @@ body{
 }
 
 $vari: 750 / 640;
+/* 这个是比例 */
 @function px2rem($size) {
     @return $size / 20 / 2 / $vari+rem;
 }
@@ -869,6 +878,9 @@ $vari: 750 / 640;
         min-width: auto;
         padding-top: 0 !important;
     }
+    .o-wrap{
+        background-size: 100%;
+    }
     #dw-topbar,.dwCommonFooter,.zt-mod-sidebar,.dw-mini-popup-wrap,.zt-mod-live{
         display: none;
     }