Просмотр исходного кода

Merge branch 'feature_20260522_日报分享,标题换行' into release

zhujindu 2 дней назад
Родитель
Сommit
db6b099ca0

BIN
src/assets/textBack1.png


+ 7 - 5
src/components/share.vue

@@ -477,18 +477,20 @@ export default {
     border-radius: 0 0 vw(35) vw(35);
     padding-top: 0;
     .text {
-      background: url('../assets/textBack.png') no-repeat;
+      background: url('../assets/textBack1.png') no-repeat;
       width: 100%;
-      height: vw(94);
+      min-height: vw(94);
       background-size: cover;
       color: #7d0207;
       font-size: vw(36);
       text-align: center;
-      line-height: vw(94);
-      // margin-top: vw(152);
-      // margin-bottom: vw(45);
+      line-height: vw(50);
       margin: vw(35) 0 vw(20) 0;
       font-weight: bold;
+      display: flex;
+      align-items: center;
+      justify-content: center;
+      padding: vw(18) 0;
     }
 
     .content {

+ 8 - 6
src/components/shareAtarget.vue

@@ -696,18 +696,20 @@ export default {
     margin-left: 8px;
   }
   .text {
-    background: url('../assets/textBack.png') no-repeat;
+    background: url('../assets/textBack1.png') no-repeat;
     width: 100%;
-    height: vw(94);
+    min-height: vw(94);
     background-size: cover;
     color: #7d0207;
     font-size: vw(36);
     text-align: center;
-    line-height: vw(94);
-    // margin-top: vw(152);
-    // margin-bottom: vw(45);
-    margin: vw(35) 0 vw(15) 0;
+    line-height: vw(50);
+    margin: vw(35) 0 vw(20) 0;
     font-weight: bold;
+    display: flex;
+    align-items: center;
+    justify-content: center;
+    padding: vw(18) 0;
   }
 }
 </style>

+ 8 - 6
src/components/shareBtarget.vue

@@ -513,18 +513,20 @@ export default {
     margin-left: 8px;
   }
   .text {
-    background: url('../assets/textBack.png') no-repeat;
+    background: url('../assets/textBack1.png') no-repeat;
     width: 100%;
-    height: vw(94);
+    min-height: vw(94);
     background-size: cover;
     color: #7d0207;
     font-size: vw(36);
     text-align: center;
-    line-height: vw(94);
-    // margin-top: vw(152);
-    // margin-bottom: vw(45);
-    margin: vw(35) 0 vw(15) 0;
+    line-height: vw(50);
+    margin: vw(35) 0 vw(20) 0;
     font-weight: bold;
+    display: flex;
+    align-items: center;
+    justify-content: center;
+    padding: vw(18) 0;
   }
 }
 </style>

+ 8 - 6
src/components/shareCommonTarget.vue

@@ -523,18 +523,20 @@ export default {
     display: none;
   }
   .text {
-    background: url('../assets/textBack.png') no-repeat;
+    background: url('../assets/textBack1.png') no-repeat;
     width: 100%;
-    height: vw(94);
+    min-height: vw(94);
     background-size: cover;
     color: #7d0207;
     font-size: vw(36);
     text-align: center;
-    line-height: vw(94);
-    // margin-top: vw(152);
-    // margin-bottom: vw(45);
-    margin: vw(35) 0 vw(15) 0;
+    line-height: vw(50);
+    margin: vw(35) 0 vw(20) 0;
     font-weight: bold;
+    display: flex;
+    align-items: center;
+    justify-content: center;
+    padding: vw(18) 0;
   }
 }
 </style>

+ 7 - 5
src/components/shareReportCustom.vue

@@ -71,18 +71,20 @@ export default {
 <style lang="scss">
 .shareReportCustom {
   .text {
-    background: url('../assets/textBack.png') no-repeat;
+    background: url('../assets/textBack1.png') no-repeat;
     width: 100%;
-    height: vw(94);
+    min-height: vw(94);
     background-size: cover;
     color: #7d0207;
     font-size: vw(36);
     text-align: center;
-    line-height: vw(94);
-    // margin-top: vw(152);
-    // margin-bottom: vw(45);
+    line-height: vw(50);
     margin: vw(35) 0 vw(20) 0;
     font-weight: bold;
+    display: flex;
+    align-items: center;
+    justify-content: center;
+    padding: vw(18) 0;
   }
 
   .content {