Kaynağa Gözat

街头篮球调整

PC-20180523CIYM\Administrator 5 yıl önce
ebeveyn
işleme
319044d4aa

+ 36 - 12
2019专题/1909街头篮球FSPL职业联赛/src/_panel.html

@@ -31,7 +31,9 @@
                                     </div>
                                     <div class="match clearfix">
                                         <div class="match-item fl">
-                                            <img src='http://ya3.dwstatic.com/201804/79/7945410d83b66d92f8f156d80d395994.png' alt="" />
+                                            <p class="team-icon">
+                                                <img src='http://ya2.dwstatic.com/201804/d2/d22ef1ddbd911c1c76625d8fb11d0a68.png' alt="" />
+                                            </p>
                                             <p class="team-name">LGD</p>
                                         </div>
                                         <div class="match-item center">
@@ -40,7 +42,9 @@
                                             <p class="font-gradual-change score">2</p>
                                         </div>
                                         <div class="match-item fr">
-                                            <img src='http://ya2.dwstatic.com/201804/d2/d22ef1ddbd911c1c76625d8fb11d0a68.png' alt="" />
+                                            <p class="team-icon">
+                                                <img src='http://ya2.dwstatic.com/201804/d2/d22ef1ddbd911c1c76625d8fb11d0a68.png' alt="" />
+                                            </p>
                                             <p class="team-name">VG</p>
                                         </div>
                                     </div>
@@ -57,7 +61,9 @@
                                     </div>
                                     <div class="match clearfix">
                                         <div class="match-item fl">
-                                            <img src='http://ya3.dwstatic.com/201804/79/7945410d83b66d92f8f156d80d395994.png' alt="" />
+                                            <p class="team-icon">
+                                                <img src='http://ya2.dwstatic.com/201804/d2/d22ef1ddbd911c1c76625d8fb11d0a68.png' alt="" />
+                                            </p>
                                             <p class="team-name">LGD</p>
                                         </div>
                                         <div class="match-item center">
@@ -66,7 +72,9 @@
                                             <p class="font-gradual-change score">2</p>
                                         </div>
                                         <div class="match-item fr">
-                                            <img src='http://ya2.dwstatic.com/201804/d2/d22ef1ddbd911c1c76625d8fb11d0a68.png' alt="" />
+                                            <p class="team-icon">
+                                                <img src='http://ya2.dwstatic.com/201804/d2/d22ef1ddbd911c1c76625d8fb11d0a68.png' alt="" />
+                                            </p>
                                             <p class="team-name">VG</p>
                                         </div>
                                     </div>
@@ -83,7 +91,9 @@
                                     </div>
                                     <div class="match clearfix">
                                         <div class="match-item fl">
-                                            <img src='http://ya3.dwstatic.com/201804/79/7945410d83b66d92f8f156d80d395994.png' alt="" />
+                                            <p class="team-icon">
+                                                <img src='http://ya2.dwstatic.com/201804/d2/d22ef1ddbd911c1c76625d8fb11d0a68.png' alt="" />
+                                            </p>
                                             <p class="team-name">LGD</p>
                                         </div>
                                         <div class="match-item center">
@@ -92,7 +102,9 @@
                                             <p class="font-gradual-change score">2</p>
                                         </div>
                                         <div class="match-item fr">
-                                            <img src='http://ya2.dwstatic.com/201804/d2/d22ef1ddbd911c1c76625d8fb11d0a68.png' alt="" />
+                                            <p class="team-icon">
+                                                <img src='http://ya2.dwstatic.com/201804/d2/d22ef1ddbd911c1c76625d8fb11d0a68.png' alt="" />
+                                            </p>
                                             <p class="team-name">VG</p>
                                         </div>
                                     </div>
@@ -109,7 +121,9 @@
                                     </div>
                                     <div class="match clearfix">
                                         <div class="match-item fl">
-                                            <img src='http://ya3.dwstatic.com/201804/79/7945410d83b66d92f8f156d80d395994.png' alt="" />
+                                            <p class="team-icon">
+                                                <img src='http://ya2.dwstatic.com/201804/d2/d22ef1ddbd911c1c76625d8fb11d0a68.png' alt="" />
+                                            </p>
                                             <p class="team-name">LGD</p>
                                         </div>
                                         <div class="match-item center">
@@ -118,7 +132,9 @@
                                             <p class="font-gradual-change score">2</p>
                                         </div>
                                         <div class="match-item fr">
-                                            <img src='http://ya2.dwstatic.com/201804/d2/d22ef1ddbd911c1c76625d8fb11d0a68.png' alt="" />
+                                            <p class="team-icon">
+                                                <img src='http://ya2.dwstatic.com/201804/d2/d22ef1ddbd911c1c76625d8fb11d0a68.png' alt="" />
+                                            </p>
                                             <p class="team-name">VG</p>
                                         </div>
                                     </div>
@@ -135,7 +151,9 @@
                                     </div>
                                     <div class="match clearfix">
                                         <div class="match-item fl">
-                                            <img src='http://ya3.dwstatic.com/201804/79/7945410d83b66d92f8f156d80d395994.png' alt="" />
+                                            <p class="team-icon">
+                                                <img src='http://ya2.dwstatic.com/201804/d2/d22ef1ddbd911c1c76625d8fb11d0a68.png' alt="" />
+                                            </p>
                                             <p class="team-name">LGD</p>
                                         </div>
                                         <div class="match-item center">
@@ -144,7 +162,9 @@
                                             <p class="font-gradual-change score">2</p>
                                         </div>
                                         <div class="match-item fr">
-                                            <img src='http://ya2.dwstatic.com/201804/d2/d22ef1ddbd911c1c76625d8fb11d0a68.png' alt="" />
+                                            <p class="team-icon">
+                                                <img src='http://ya2.dwstatic.com/201804/d2/d22ef1ddbd911c1c76625d8fb11d0a68.png' alt="" />
+                                            </p>
                                             <p class="team-name">VG</p>
                                         </div>
                                     </div>
@@ -161,7 +181,9 @@
                                     </div>
                                     <div class="match clearfix">
                                         <div class="match-item fl">
-                                            <img src='http://ya3.dwstatic.com/201804/79/7945410d83b66d92f8f156d80d395994.png' alt="" />
+                                            <p class="team-icon">
+                                                <img src='http://ya2.dwstatic.com/201804/d2/d22ef1ddbd911c1c76625d8fb11d0a68.png' alt="" />
+                                            </p>
                                             <p class="team-name">LGD</p>
                                         </div>
                                         <div class="match-item center">
@@ -170,7 +192,9 @@
                                             <p class="font-gradual-change score">2</p>
                                         </div>
                                         <div class="match-item fr">
-                                            <img src='http://ya2.dwstatic.com/201804/d2/d22ef1ddbd911c1c76625d8fb11d0a68.png' alt="" />
+                                            <p class="team-icon">
+                                                <img src='http://ya2.dwstatic.com/201804/d2/d22ef1ddbd911c1c76625d8fb11d0a68.png' alt="" />
+                                            </p>
                                             <p class="team-name">VG</p>
                                         </div>
                                     </div>

+ 7 - 1
2019专题/1909街头篮球FSPL职业联赛/src/sass/global.scss

@@ -404,6 +404,9 @@ body{
                             line-height: 32px;
                             margin-bottom: 10px;
                             @include ellipsis;
+                            a {
+                                color: #ff9947;
+                            }
                         }
                         .small-news {
                             font-size: 16px;
@@ -682,9 +685,12 @@ body{
                                 width: 110px;
                                 margin: 0 auto;
                                 padding-top: 15px;
+                                line-height: 110px;
                                 text-align: center;
                                 img {
-                                    height: 100%;
+                                    height: auto;
+                                    max-height: 100%;
+                                    max-width: auto;
                                     max-width: 100%;
                                     display: inline-block;
                                     vertical-align: middle;

+ 17 - 5
2019专题/1909街头篮球FSPL职业联赛/src/sass/panel.scss

@@ -92,6 +92,18 @@
                                 text-align: center;
                                 &.fl, &.fr {
                                     width: 48px;
+                                    .team-icon {
+                                        height: 48px;
+                                        width: 48px;
+                                        line-height: 48px;
+                                        text-align: center;
+                                        img {
+                                            max-height: 100%;
+                                            max-width: 100%;
+                                            display: inline-block;
+                                            vertical-align: middle;
+                                        }
+                                    }
                                     .team-name {
                                         width: 66px;
                                         font-size: 12px;
@@ -125,11 +137,11 @@
                                         }
                                     }
                                 }
-                                img {
-                                    height: 48px;
-                                    width: 48px;
-                                    display: block;
-                                }
+                                // img {
+                                //     height: 48px;
+                                //     width: 48px;
+                                //     display: block;
+                                // }
                             }
                         }
                         .scene-tip {