Browse Source

动态标题背景图、样式调整

wanger 11 months ago
parent
commit
780662ec5d

+ 5 - 3
src/common/scss/globe.scss

@@ -44,7 +44,7 @@ div {
     z-index: 99;
     cursor: pointer;
     // border: 1px solid #526f82;
-    background: url(/static/images/popup/background.png) no-repeat;
+    background: url(/static/images/ghzc/内容框.png) no-repeat;
     background-size: 100% 100%;
     background-position: center;
     //overflow: hidden;
@@ -135,9 +135,11 @@ div {
     padding-left: 15px;
     font-size: 15px;
     border-bottom: 1px solid rgba(38, 38, 38, 0.6);
-    background: url(/static/images/popup/title.png) no-repeat;
+    background: url(/static/images/overview/titlebox.gif) no-repeat;
     background-size: 100% 100%;
     background-position: center;
+    text-align: left;
+    padding-left: 38px;
     @media (max-width: 750px) {
         // height: 35px;
         line-height: 35px;
@@ -558,7 +560,7 @@ input[type="checkbox"]:checked::before {
 .title-txt {
     display: inline-block;
     font-size: 15px;
-    padding: 2px;
+    padding: 0px;
     margin-right: 5px;
     @media (max-width: 1000px) {
         font-size: 14px;

+ 1 - 1
src/views/cockpit/bjxm.vue

@@ -348,7 +348,7 @@ export default {
   // color: #fff;
   // padding: 2%;
   background: no-repeat;
-  background-image: url("/static/images/overview/标题框.png");
+  background-image: url("/static/images/overview/titlebox.gif");
 
   .icon {
     background: no-repeat;

+ 1 - 1
src/views/cockpit/borderTemplate.vue

@@ -43,7 +43,7 @@ export default {
     width: 100%;
     height: 40px;
     background: no-repeat;
-    background-image: url("/static/images/overview/标题框.png");
+    background-image: url("/static/images/overview/titlebox.gif");
     // background-size: 100% 100%;
     display: flex;
     justify-content: space-between;

+ 1 - 1
src/views/cockpit/hysy.vue

@@ -454,7 +454,7 @@ export default {
     height: 40px;
     background: no-repeat;
     background-size: 116% 100%;
-    background-image: url("/static/images/overview/标题框.png");
+    background-image: url("/static/images/overview/titlebox.gif");
 
     .icon {
         background: no-repeat;

+ 1 - 1
src/views/cockpit/jcbd.vue

@@ -98,7 +98,7 @@ export default {
     width: 100%;
     height: 40px;
     background: no-repeat;
-    background-image: url("/static/images/overview/标题框.png");
+    background-image: url("/static/images/overview/titlebox.gif");
 
     .icon {
         background: no-repeat;

+ 1 - 1
src/views/cockpit/jsyd.vue

@@ -211,7 +211,7 @@ export default {
   // color: #fff;
   // padding: 2%;
   background: no-repeat;
-  background-image: url("/static/images/overview/标题框.png");
+  background-image: url("/static/images/overview/titlebox.gif");
 
   .icon {
     background: no-repeat;

+ 1 - 1
src/views/cockpit/tdsc.vue

@@ -472,7 +472,7 @@ export default {
   // color: #fff;
   // padding: 2%;
   background: no-repeat;
-  background-image: url("/static/images/overview/标题框.png");
+  background-image: url("/static/images/overview/titlebox.gif");
 
   .icon {
     background: no-repeat;

+ 1 - 1
src/views/cockpit/tdsy.vue

@@ -809,7 +809,7 @@ export default {
       width: 100%;
       height: 36px;
       background: no-repeat;
-      background-image: url("/static/images/overview/标题框.png");
+      background-image: url("/static/images/overview/titlebox.gif");
       // background-size: 100% 100%;
       display: flex;
       justify-content: space-between;

+ 1 - 1
src/views/cockpitNew1/bjxm.vue

@@ -291,7 +291,7 @@ export default {
   // color: #fff;
   // padding: 2%;
   background: no-repeat;
-  background-image: url("/static/images/overview/标题框.png");
+  background-image: url("/static/images/overview/titlebox.gif");
 
   .icon {
     background: no-repeat;

+ 1 - 1
src/views/cockpitNew1/borderTemplate.vue

@@ -43,7 +43,7 @@ export default {
     width: 100%;
     height: 40px;
     background: no-repeat;
-    background-image: url("/static/images/overview/标题框.png");
+    background-image: url("/static/images/overview/titlebox.gif");
     // background-size: 100% 100%;
     display: flex;
     justify-content: space-between;

+ 1 - 1
src/views/cockpitNew1/gkzb.vue

@@ -219,7 +219,7 @@ export default {
   // color: #fff;
   // padding: 2%;
   background: no-repeat;
-  background-image: url("/static/images/overview/标题框.png");
+  background-image: url("/static/images/overview/titlebox.gif");
 
   .icon {
     background: no-repeat;

+ 1 - 1
src/views/cockpitNew1/hysy.vue

@@ -424,7 +424,7 @@ export default {
     // color: #fff;
     // padding: 2%;
     background: no-repeat;
-    background-image: url("/static/images/overview/标题框.png");
+    background-image: url("/static/images/overview/titlebox.gif");
 
     .icon {
         background: no-repeat;

+ 1 - 1
src/views/cockpitNew1/tdsc.vue

@@ -655,7 +655,7 @@ export default {
   // color: #fff;
   // padding: 2%;
   background: no-repeat;
-  background-image: url("/static/images/overview/标题框.png");
+  background-image: url("/static/images/overview/titlebox.gif");
 
   .icon {
     background: no-repeat;

+ 1 - 1
src/views/cockpitNew1/tdsy.vue

@@ -1084,7 +1084,7 @@ export default {
       width: 100%;
       height: 36px;
       background: no-repeat;
-      background-image: url("/static/images/overview/标题框.png");
+      background-image: url("/static/images/overview/titlebox.gif");
       // background-size: 100% 100%;
       display: flex;
       justify-content: space-between;

+ 1 - 1
src/views/complianceAnalysis/ghzc.scss

@@ -20,7 +20,7 @@
             box-sizing: border-box;
             width: 100%;
             height: 42px;
-            background: url("/static/images/ghzc/title_bg.png") no-repeat !important;
+            background: url("/static/images/overview/titlebox.gif") no-repeat !important;
             background-size: 100% 100% !important;
             line-height: 43px;
             font-size: 14px;

BIN
static/images/overview/titlebox.gif