Procházet zdrojové kódy

修复自由页 专题页 二级列表 背景色 背景图动态设置

zhengjinyi před 3 roky
rodič
revize
5532a0de1d

+ 1 - 1
src/main/resources/static/css/activity/activityTopic.css

@@ -1,6 +1,6 @@
 a:hover{color:#333}
 .clearfix::after{content:'';display:block;clear:both}
-.bg-repeat{background-repeat: repeat-x;}
+.bg-repeat{background-repeat: repeat-y;}
 .bg-cover{background-size: cover;}
 @-webkit-keyframes my-fade-ease{0%{opacity:0}
 100%{opacity:0.8}

+ 2 - 2
src/main/resources/static/css/equipment/detail.css

@@ -4,7 +4,7 @@ li{list-style:none}
  * PC端
  */
 @media screen and (min-width:768px){
-.bg-repeat{background-repeat: repeat-x;}
+.bg-repeat{background-repeat: repeat-y;}
 .bg-cover{background-size: cover;}
 .equipmentBox{width:100%;margin:16px 0;background:#FFF;box-sizing:border-box;padding:15px}
 .equipmentBox .imageBox{float:left;width:452px;height:300px;background:#F3F7FE;}
@@ -54,7 +54,7 @@ li{list-style:none}
 * 移动端
 */
 @media screen and (max-width:768px){
-.bg-repeat{background-repeat: repeat-x;}
+.bg-repeat{background-repeat: repeat-y;}
 .bg-cover{background-size: cover;}
 .equipmentBox{width:100%;background:#FFF;padding-bottom:2.7vw;margin-bottom: 2.7vw;}
 .equipmentBox .imageBox{width:100%;height:66.6vw;}

+ 4 - 0
src/main/resources/static/css/single-page/topic.css

@@ -4,6 +4,8 @@ li{list-style:none}
  * PC端
  */
 @media screen and (min-width:768px){
+    .bg-repeat{background-repeat: repeat-y;}
+    .bg-cover{background-size: cover;}
     .pageTop{width:1184px;margin:0 auto;background:#FFF}
     .pageTop img{width:100%;height:auto}
     .pageTop p{padding:16px;color:#93979F;font-size:16px;line-height:26px}
@@ -72,6 +74,8 @@ li{list-style:none}
 * 移动端
 */
 @media screen and (max-width:768px){
+    .bg-repeat{background-repeat: repeat-y;}
+    .bg-cover{background-size: cover;}
     .pageTop{width:100%;background:#FFF}
     .pageTop img{display:block;width:93.4vw;height:auto;margin:0 auto;}
     .pageTop p{width:93.4vw;margin:0 auto;padding:4vw 0 1vw 0;color:#4a4f58;font-size:3vw;line-height:5.8vw;text-align:justify;}

+ 2 - 0
src/main/resources/templates/single-page/page.html

@@ -10,6 +10,7 @@
         #freePage{position:relative;}
         /** PC端 */
         @media screen and (min-width:768px){
+            .bg-repeat{background-repeat: repeat-y;}
             .freePage{width:1184px;margin:0 auto;padding:16px 0;text-align:center;}
             .freePage img{max-width:100%;}
             .freePage table{width:100%;text-align:left}
@@ -17,6 +18,7 @@
         /** 移动端 */
         @media screen and (max-width:768px){
             header,footer{display: none;}
+            .bg-repeat{background-repeat: repeat-y;}
             .freePage{margin:0 auto;text-align:center;}
             .freePage img {max-width:100%;height:auto !important;}
             .freePage table{width:100%;text-align:left}