Browse Source

富文本

zhuohongkui 1 year ago
parent
commit
c2c59d84e2
2 changed files with 22 additions and 8 deletions
  1. 11 4
      about-mobile.html
  2. 11 4
      about.html

+ 11 - 4
about-mobile.html

@@ -80,7 +80,8 @@
         </div>
         <div class="about item" id="企业定位">
           <div class="title">{{text('企业定位')}}</div>
-          <div class="content">{{info[lan_key('about_content')]}}</div>
+          <!-- <div class="content">{{info[lan_key('about_content')]}}</div> -->
+          <div class="content" v-html="info[lan_key('about_content')]"></div>
         </div>
         <div
           class="mission item"
@@ -88,9 +89,14 @@
           :style="{backgroundImage:`url(${info.mission_image})`}"
         >
           <div class="title" style="color: #fff">{{text('企业使命')}}</div>
-          <div class="content" style="color: #fff">
+          <!-- <div class="content" style="color: #fff">
             {{info[lan_key('mission_content')]}}
-          </div>
+          </div> -->
+          <div
+            class="content"
+            style="color: #fff"
+            v-html="info[lan_key('mission_content')]"
+          ></div>
         </div>
         <!-- <div class="strength item" v-if="current_index == 2">
           <div class="title">{{text("研发实力")}}</div>
@@ -103,7 +109,8 @@
         </div> -->
         <div class="future item" id="企业愿景">
           <div class="title">{{text('企业愿景')}}</div>
-          <div class="content">{{info[lan_key('future_content')]}}</div>
+          <!-- <div class="content">{{info[lan_key('future_content')]}}</div> -->
+          <div class="content" v-html="info[lan_key('future_content')]"></div>
         </div>
         <div class="contact item" id="联系我们">
           <div class="title">{{text('联系我们')}}</div>

+ 11 - 4
about.html

@@ -63,7 +63,8 @@
         </div>
         <div class="about item" id="企业定位">
           <div class="title">{{text('企业定位')}}</div>
-          <div class="content">{{info[lan_key('about_content')]}}</div>
+          <!-- <div class="content">{{info[lan_key('about_content')]}}</div> -->
+          <div class="content" v-html="info[lan_key('about_content')]"></div>
         </div>
         <div
           class="mission item"
@@ -71,9 +72,14 @@
           :style="{backgroundImage:`url(${info.mission_image})`}"
         >
           <div class="title" style="color: #fff">{{text('企业使命')}}</div>
-          <div class="content" style="color: #fff">
+          <!-- <div class="content" style="color: #fff">
             {{info[lan_key('mission_content')]}}
-          </div>
+          </div> -->
+          <div
+            class="content"
+            style="color: #fff"
+            v-html="info[lan_key('mission_content')]"
+          ></div>
         </div>
         <!-- <div class="strength item">
           <div class="title">{{text("研发实力")}}</div>
@@ -86,7 +92,8 @@
         </div> -->
         <div class="future item" id="企业愿景">
           <div class="title">{{text('企业愿景')}}</div>
-          <div class="content">{{info[lan_key('future_content')]}}</div>
+          <!-- <div class="content">{{info[lan_key('future_content')]}}</div> -->
+          <div class="content" v-html="info[lan_key('future_content')]"></div>
         </div>
         <div class="contact item" id="联系我们">
           <div class="title">{{text('联系我们')}}</div>