Browse Source

网站通用详情页样式调整

tanxue 5 years ago
parent
commit
1ec663568c
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/assets/css/cus-website/cus-website-common.scss

+ 4 - 2
src/assets/css/cus-website/cus-website-common.scss

@@ -11,7 +11,7 @@ body, html, #app {
 ol,ul,dl,dt,dd{list-style:none;margin: 0;padding: 0;}
 ol,ul,dl,dt,dd{list-style:none;margin: 0;padding: 0;}
 
 
 /* 让标题都自定义, 适应多个系统应用 */
 /* 让标题都自定义, 适应多个系统应用 */
-h1,h2,h3,h4,h5,h6,p{font-size:100%;font-weight:normal;margin: 0;}
+h1,h2,h3,h4,h5,h6,p{font-weight:normal;margin: 0;}
 
 
 /* 外边距 */
 /* 外边距 */
 .m5{margin:5px;}
 .m5{margin:5px;}
@@ -228,7 +228,7 @@ h1,h2,h3,h4,h5,h6,p{font-size:100%;font-weight:normal;margin: 0;}
     background: #FFFFFF;
     background: #FFFFFF;
     border-radius: 8px;
     border-radius: 8px;
     min-height: calc(100vh - 170px);
     min-height: calc(100vh - 170px);
-    h1{@include setFontStyle(0);color: rgba(0,0,0,0.85);margin-bottom: 16px;text-align: center}
+    >h1{@include setFontStyle(0);color: rgba(0,0,0,0.85);margin-bottom: 16px;text-align: center}
     p{
     p{
       margin-bottom: 24px;
       margin-bottom: 24px;
       i{width: 20px;height: 20px;display: inline-block;margin-right: 14px;vertical-align: middle;background-image: url("~@/assets/images/website/industry/" + "industry-details-time.svg");}
       i{width: 20px;height: 20px;display: inline-block;margin-right: 14px;vertical-align: middle;background-image: url("~@/assets/images/website/industry/" + "industry-details-time.svg");}
@@ -240,6 +240,8 @@ h1,h2,h3,h4,h5,h6,p{font-size:100%;font-weight:normal;margin: 0;}
       color: rgba(0,0,0,0.64);
       color: rgba(0,0,0,0.64);
       @include setFontStyle(-6);
       @include setFontStyle(-6);
       p{line-height: 22px;}
       p{line-height: 22px;}
+      img{max-width: 100%;}
+      h1,h2,h3,h4,h5,h6,p{margin-bottom: 10px;}
     }
     }
   }
   }
 }
 }