粒子研究院中文站点标题改成富文本

master
yujialong 1 year ago
parent f6f86dd7d9
commit 52bb3feb3c
  1. 2
      src/pages/devHistory/index.vue
  2. 2
      src/pages/governance/index.vue
  3. 18
      src/pages/industrial/index.vue
  4. 7
      src/pages/mission/index.vue
  5. 11
      src/pages/overview/index.vue
  6. 7
      src/pages/scientific/index.vue
  7. 2
      src/pages/speech/index.vue

@ -11,7 +11,7 @@
<div class="block history"> <div class="block history">
<div class="inner"> <div class="inner">
<h6>{{ modules[1].form.title }}</h6> <h6 v-html="modules[1].form.title"></h6>
<p class="en">{{ modules[1].form.subTitle }}</p> <p class="en">{{ modules[1].form.subTitle }}</p>
<div class="text" <div class="text"
v-html="modules[1].form.des"></div> v-html="modules[1].form.des"></div>

@ -14,7 +14,7 @@
<div class="texts wow fadeInDown" <div class="texts wow fadeInDown"
data-wow-delay="0.5s"> data-wow-delay="0.5s">
<div class="left"> <div class="left">
<h2>{{ modules[1].form.title }}</h2> <h2 v-html="modules[1].form.title"></h2>
<div class="text" <div class="text"
v-html="modules[1].form.des"></div> v-html="modules[1].form.des"></div>
</div> </div>

@ -14,7 +14,8 @@
:class="{'cursor-pointer': isLink(modules[1].form.link.linkName)}" :class="{'cursor-pointer': isLink(modules[1].form.link.linkName)}"
@click="openLink(modules[1].form)"> @click="openLink(modules[1].form)">
<h2 class="wow fadeInLeft" <h2 class="wow fadeInLeft"
style="margin-left: 57px">{{ modules[1].form.title }}</h2> style="margin-left: 57px"
v-html="modules[1].form.title"></h2>
<div class="texts wow fadeInDown" <div class="texts wow fadeInDown"
data-wow-delay="0.5s"> data-wow-delay="0.5s">
<div class="left"> <div class="left">
@ -35,7 +36,7 @@
:src="modules[2].form.pic" :src="modules[2].form.pic"
alt=""> alt="">
<div class="right"> <div class="right">
<h6>{{ modules[2].form.title }}</h6> <h6 v-html="modules[2].form.title"></h6>
<div class="text" <div class="text"
v-html="modules[2].form.des"></div> v-html="modules[2].form.des"></div>
</div> </div>
@ -44,13 +45,14 @@
<div class="block gray"> <div class="block gray">
<div class="inner"> <div class="inner">
<h2 class="b-title wow fadeInUp">{{ modules[3].form.title }}</h2> <h2 class="b-title wow fadeInUp"
v-html="modules[3].form.title"></h2>
<p class="intro wow fadeInUp" <p class="intro wow fadeInUp"
data-wow-delay="0.5s">{{ modules[3].form.des }}</p> data-wow-delay="0.5s">{{ modules[3].form.des }}</p>
<ul class="plan"> <ul class="plan">
<li> <li>
<div class="left"> <div class="left">
<h6>{{ modules[4].form.title }}</h6> <h6 v-html="modules[4].form.title"></h6>
<div class="text" <div class="text"
v-html="modules[4].form.des"></div> v-html="modules[4].form.des"></div>
<a v-if="isLink(modules[4].form.link.linkName)" <a v-if="isLink(modules[4].form.link.linkName)"
@ -63,7 +65,7 @@
</li> </li>
<li> <li>
<div class="left"> <div class="left">
<h6>{{ modules[5].form.title }}</h6> <h6 v-html="modules[5].form.title"></h6>
<div class="text" <div class="text"
v-html="modules[5].form.des"></div> v-html="modules[5].form.des"></div>
<a v-if="isLink(modules[5].form.link.linkName)" <a v-if="isLink(modules[5].form.link.linkName)"
@ -80,7 +82,8 @@
<div class="block"> <div class="block">
<div class="inner"> <div class="inner">
<h2 class="b-title wow fadeInUp">{{ modules[6].form.title }}</h2> <h2 class="b-title wow fadeInUp"
v-html="modules[6].form.title"></h2>
<p class="intro wow fadeInUp" <p class="intro wow fadeInUp"
data-wow-delay="0.5s">{{ modules[6].form.des }}</p> data-wow-delay="0.5s">{{ modules[6].form.des }}</p>
<ul class="app"> <ul class="app">
@ -104,7 +107,8 @@
<div class="block news-block"> <div class="block news-block">
<div class="inner"> <div class="inner">
<h2 class="b-title wow fadeInUp">{{ modules[8].form.title }}</h2> <h2 class="b-title wow fadeInUp"
v-html="modules[8].form.title"></h2>
<p class="intro wow fadeInUp" <p class="intro wow fadeInUp"
data-wow-delay="0.5s">{{ modules[8].form.des }}</p> data-wow-delay="0.5s">{{ modules[8].form.des }}</p>
<ul class="news"> <ul class="news">

@ -19,7 +19,7 @@
<img :src="modules[1].form.pic" <img :src="modules[1].form.pic"
alt="" /> alt="" />
<div class="texts"> <div class="texts">
<h6>{{ modules[1].form.title }}</h6> <h6 v-html="modules[1].form.title"></h6>
<div class="text" <div class="text"
v-html="modules[1].form.des"></div> v-html="modules[1].form.des"></div>
</div> </div>
@ -31,7 +31,7 @@
<img :src="modules[2].form.pic" <img :src="modules[2].form.pic"
alt="" /> alt="" />
<div class="texts rightText"> <div class="texts rightText">
<h6>{{ modules[2].form.title }}</h6> <h6 v-html="modules[2].form.title"></h6>
<div class="text" <div class="text"
v-html="modules[2].form.des"></div> v-html="modules[2].form.des"></div>
</div> </div>
@ -41,7 +41,8 @@
<div class="block mind gray"> <div class="block mind gray">
<div class="inner"> <div class="inner">
<h6 class="m-title">{{ modules[3].form.title }}</h6> <h6 class="m-title"
v-html="modules[3].form.title"></h6>
<ul class="list"> <ul class="list">
<template v-for="(item, i) in modules[4].list"> <template v-for="(item, i) in modules[4].list">
<li v-if="item.isEnable" <li v-if="item.isEnable"

@ -15,9 +15,10 @@
<div class="texts wow fadeInDown" <div class="texts wow fadeInDown"
data-wow-delay="0.5s"> data-wow-delay="0.5s">
<div class="left"> <div class="left">
<h2>{{ modules[1].form.title }}</h2> <h2 v-html="modules[1].form.title"></h2>
<div class="line"></div> <div class="line"></div>
<div class="des">{{ modules[1].form.des }}</div> <div class="des"
v-html="modules[1].form.des"></div>
</div> </div>
<img class="bg" <img class="bg"
width="562" width="562"
@ -64,7 +65,7 @@
alt="" alt=""
class="pic"> class="pic">
<div class="texts"> <div class="texts">
<h6>{{ modules[4].form.title }}</h6> <h6 v-html="modules[4].form.title"></h6>
<p class="en">{{ modules[4].form.subTitle }}</p> <p class="en">{{ modules[4].form.subTitle }}</p>
<div class="text" <div class="text"
v-html="modules[4].form.des"></div> v-html="modules[4].form.des"></div>
@ -114,7 +115,8 @@
</div> </div>
<div class="block scan gray"> <div class="block scan gray">
<h2 class="b-title wow fadeInUp">{{ modules[8].form.title }}</h2> <h2 class="b-title wow fadeInUp"
v-html="modules[8].form.title"></h2>
<p class="intro wow fadeInUp" <p class="intro wow fadeInUp"
data-wow-delay="0.5s">{{ modules[8].form.des }}</p> data-wow-delay="0.5s">{{ modules[8].form.des }}</p>
<div class="scan-inner"> <div class="scan-inner">
@ -432,6 +434,7 @@ export default {
} }
.pic { .pic {
width: 100%; width: 100%;
height: auto;
margin-top: 2rem; margin-top: 2rem;
} }
} }

@ -21,7 +21,7 @@
:src="modules[1].form.pic" :src="modules[1].form.pic"
alt=""> alt="">
<div class="texts"> <div class="texts">
<h6>{{ modules[1].form.title }}</h6> <h6 v-html="modules[1].form.title"></h6>
<div class="text" <div class="text"
v-html="modules[1].form.des"></div> v-html="modules[1].form.des"></div>
<img src="@/assets/images/arrow.png" <img src="@/assets/images/arrow.png"
@ -35,7 +35,7 @@
:src="modules[2].form.pic" :src="modules[2].form.pic"
alt=""> alt="">
<div class="texts"> <div class="texts">
<h6>{{ modules[2].form.title }}</h6> <h6 v-html="modules[2].form.title"></h6>
<div class="text" <div class="text"
v-html="modules[2].form.des"></div> v-html="modules[2].form.des"></div>
<img src="@/assets/images/arrow.png" <img src="@/assets/images/arrow.png"
@ -52,7 +52,8 @@
<div class="inner"> <div class="inner">
<div class="texts"> <div class="texts">
<div class="title wow fadeInUp" <div class="title wow fadeInUp"
data-wow-delay="0.7s">{{ modules[3].form.title }}</div> data-wow-delay="0.7s"
v-html="modules[3].form.title"></div>
<div class="des wow fadeInDown" <div class="des wow fadeInDown"
data-wow-delay="1s" data-wow-delay="1s"
v-html="modules[3].form.des"></div> v-html="modules[3].form.des"></div>

@ -16,7 +16,7 @@
alt="" alt=""
class="pic"> class="pic">
<div class="texts"> <div class="texts">
<h6>{{ modules[1].form.title }}</h6> <h6 v-html="modules[1].form.title"></h6>
<p class="en">{{ modules[1].form.subTitle }}</p> <p class="en">{{ modules[1].form.subTitle }}</p>
<div class="text" <div class="text"
v-html="modules[1].form.des"></div> v-html="modules[1].form.des"></div>

Loading…
Cancel
Save