|
|
@ -3,9 +3,11 @@ |
|
|
|
<div class="actions"> |
|
|
|
<div class="actions"> |
|
|
|
<p class="page-name">页面设置/产业应用</p> |
|
|
|
<p class="page-name">页面设置/产业应用</p> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-button type="primary" @click="preview">预览</el-button> |
|
|
|
<el-button type="primary" |
|
|
|
|
|
|
|
@click="preview">预览</el-button> |
|
|
|
<el-button @click="save(0)">保存为草稿</el-button> |
|
|
|
<el-button @click="save(0)">保存为草稿</el-button> |
|
|
|
<el-button type="primary" @click="save(1)">发布</el-button> |
|
|
|
<el-button type="primary" |
|
|
|
|
|
|
|
@click="save(1)">发布</el-button> |
|
|
|
<el-button @click="back">放弃编辑</el-button> |
|
|
|
<el-button @click="back">放弃编辑</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -13,36 +15,51 @@ |
|
|
|
<div class="modules"> |
|
|
|
<div class="modules"> |
|
|
|
<div class="relative"> |
|
|
|
<div class="relative"> |
|
|
|
<div class="single-banner"> |
|
|
|
<div class="single-banner"> |
|
|
|
<img class="banner-img" :src="modules[0].form.pic" alt="" /> |
|
|
|
<img class="banner-img" |
|
|
|
|
|
|
|
:src="modules[0].form.pic" |
|
|
|
|
|
|
|
alt="" /> |
|
|
|
<div class="texts"> |
|
|
|
<div class="texts"> |
|
|
|
<h6 class="banner-title">{{ modules[0].form.title }}</h6> |
|
|
|
<h6 class="banner-title">{{ modules[0].form.title }}</h6> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="cover" @click="toSet(0)">点击更换banner与链接</div> |
|
|
|
<div class="cover" |
|
|
|
|
|
|
|
@click="toSet(0)">点击更换banner与链接</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="block history gray"> |
|
|
|
<div class="block history gray"> |
|
|
|
<div class="inner c-wrap"> |
|
|
|
<div class="inner c-wrap"> |
|
|
|
<h2 class="wow fadeInLeft" style="margin-left: 57px">{{ modules[1].form.title }}</h2> |
|
|
|
<h2 class="wow fadeInLeft" |
|
|
|
<div class="texts wow fadeInDown" data-wow-delay="0.5s"> |
|
|
|
style="margin-left: 57px">{{ modules[1].form.title }}</h2> |
|
|
|
|
|
|
|
<div class="texts wow fadeInDown" |
|
|
|
|
|
|
|
data-wow-delay="0.5s"> |
|
|
|
<div class="left"> |
|
|
|
<div class="left"> |
|
|
|
<h2>{{ modules[1].form.subTitle }}</h2> |
|
|
|
<h2>{{ modules[1].form.subTitle }}</h2> |
|
|
|
<div class="des" v-html="modules[1].form.des"></div> |
|
|
|
<div class="des" |
|
|
|
|
|
|
|
v-html="modules[1].form.des"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<img class="bg" width="562" height="506" :src="modules[1].form.pic" alt=""> |
|
|
|
<img class="bg" |
|
|
|
|
|
|
|
width="562" |
|
|
|
|
|
|
|
height="506" |
|
|
|
|
|
|
|
:src="modules[1].form.pic" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="cover" @click="toSet(1)">点击更改图片、标题概述与链接</div> |
|
|
|
<div class="cover" |
|
|
|
|
|
|
|
@click="toSet(1)">点击更改图片、标题概述与链接</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="block land"> |
|
|
|
<div class="block land"> |
|
|
|
<div class="inner"> |
|
|
|
<div class="inner"> |
|
|
|
<img class="pic" :src="modules[2].form.pic" alt=""> |
|
|
|
<img class="pic" |
|
|
|
|
|
|
|
:src="modules[2].form.pic" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
<div class="right"> |
|
|
|
<div class="right"> |
|
|
|
<h6>{{ modules[2].form.title }}</h6> |
|
|
|
<h6>{{ modules[2].form.title }}</h6> |
|
|
|
<div class="text" v-html="modules[2].form.des"></div> |
|
|
|
<div class="text" |
|
|
|
|
|
|
|
v-html="modules[2].form.des"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="cover" @click="toSet(2)">点击更改图片、标题与概述</div> |
|
|
|
<div class="cover" |
|
|
|
|
|
|
|
@click="toSet(2)">点击更改图片、标题与概述</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
@ -50,34 +67,140 @@ |
|
|
|
<div class="inner"> |
|
|
|
<div class="inner"> |
|
|
|
<div class="c-wrap"> |
|
|
|
<div class="c-wrap"> |
|
|
|
<h2 class="b-title">{{ modules[3].form.title }}</h2> |
|
|
|
<h2 class="b-title">{{ modules[3].form.title }}</h2> |
|
|
|
<p class="intro" v-html="modules[3].form.des"></p> |
|
|
|
<p class="intro" |
|
|
|
<div class="cover" @click="toSet(3)">点击更换标题与描述</div> |
|
|
|
v-html="modules[3].form.des"></p> |
|
|
|
|
|
|
|
<div class="cover" |
|
|
|
|
|
|
|
@click="toSet(3)">点击更换标题与描述</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<ul class="plan"> |
|
|
|
<ul class="plan"> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<div class="left"> |
|
|
|
<div class="left"> |
|
|
|
<h6>{{ modules[4].form.title }}</h6> |
|
|
|
<h6>{{ modules[4].form.title }}</h6> |
|
|
|
<div class="text" v-html="modules[4].form.des"></div> |
|
|
|
<div class="text" |
|
|
|
<img src="@/assets/images/arrow.png" alt=""> |
|
|
|
v-html="modules[4].form.des"></div> |
|
|
|
|
|
|
|
<img src="@/assets/images/arrow.png" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<img class="pic" :src="modules[4].form.pic" alt=""> |
|
|
|
<img class="pic" |
|
|
|
<div class="cover" @click="toSet(4)">点击更换标题、描述、链接与图片</div> |
|
|
|
:src="modules[4].form.pic" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
|
|
|
|
<div class="cover" |
|
|
|
|
|
|
|
@click="toSet(4)">点击更换标题、描述、链接与图片</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<div class="left"> |
|
|
|
<div class="left"> |
|
|
|
<h6>{{ modules[5].form.title }}</h6> |
|
|
|
<h6>{{ modules[5].form.title }}</h6> |
|
|
|
<div class="text" v-html="modules[5].form.des"></div> |
|
|
|
<div class="text" |
|
|
|
<img src="@/assets/images/arrow.png" alt=""> |
|
|
|
v-html="modules[5].form.des"></div> |
|
|
|
|
|
|
|
<img src="@/assets/images/arrow.png" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<img class="pic" :src="modules[5].form.pic" alt=""> |
|
|
|
<img class="pic" |
|
|
|
<div class="cover" @click="toSet(5)">点击更换标题、描述、链接与图片</div> |
|
|
|
:src="modules[5].form.pic" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
|
|
|
|
<div class="cover" |
|
|
|
|
|
|
|
@click="toSet(5)">点击更换标题、描述、链接与图片</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="block"> |
|
|
|
|
|
|
|
<div class="inner app-inner"> |
|
|
|
|
|
|
|
<div class="c-wrap"> |
|
|
|
|
|
|
|
<h2 class="b-title wow fadeInUp">{{ modules[6].form.title }}</h2> |
|
|
|
|
|
|
|
<p class="intro wow fadeInUp" |
|
|
|
|
|
|
|
data-wow-delay="0.5s">{{ modules[6].form.des }}</p> |
|
|
|
|
|
|
|
<div class="cover" |
|
|
|
|
|
|
|
@click="toSet(6)">点击更换标题与描述</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<ul class="app"> |
|
|
|
|
|
|
|
<li v-for="(item, i) in modules[7].list" |
|
|
|
|
|
|
|
:key="i" |
|
|
|
|
|
|
|
class="wow fadeInDown" |
|
|
|
|
|
|
|
:data-wow-delay="(0.2 * i).toFixed(1) + 's'"> |
|
|
|
|
|
|
|
<img class="bg" |
|
|
|
|
|
|
|
:src="require('@/assets/images/industrial/app' + (i + 1) + '.png')" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
|
|
|
|
<img class="icon" |
|
|
|
|
|
|
|
:src="require('@/assets/images/industrial/app' + (i + 1) + '-1.png')" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
|
|
|
|
<p class="text">{{ item.title }}</p> |
|
|
|
|
|
|
|
<div class="cover" |
|
|
|
|
|
|
|
@click="toSet(7, i)">点击更标题与链接</div> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
</ul> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="block news-block"> |
|
|
|
|
|
|
|
<div class="inner"> |
|
|
|
|
|
|
|
<div class="c-wrap"> |
|
|
|
|
|
|
|
<h2 class="b-title">{{ modules[8].form.title }}</h2> |
|
|
|
|
|
|
|
<p class="intro">{{ modules[8].form.des }}</p> |
|
|
|
|
|
|
|
<div class="cover" |
|
|
|
|
|
|
|
@click="toSet(8)">点击更换标题与描述</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<ul class="news"> |
|
|
|
|
|
|
|
<li> |
|
|
|
|
|
|
|
<img src="http://10.10.11.7/images/home/3.png" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
|
|
|
|
<div class="texts"> |
|
|
|
|
|
|
|
<span class="meta">2022-07-24 | 综合新闻</span> |
|
|
|
|
|
|
|
<h6>X射线自由电子激光已经成为了化学、生物、物理等领域不可或缺的研究手段</h6> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li> |
|
|
|
|
|
|
|
<img src="http://10.10.11.7/images/home/3.png" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
|
|
|
|
<div class="texts"> |
|
|
|
|
|
|
|
<span class="meta">2022-07-24 | 综合新闻</span> |
|
|
|
|
|
|
|
<h6>X射线自由电子激光已经成为了化学、生物、物理等领域不可或缺的研究手段</h6> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li> |
|
|
|
|
|
|
|
<img src="http://10.10.11.7/images/home/3.png" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
|
|
|
|
<div class="texts"> |
|
|
|
|
|
|
|
<span class="meta">2022-07-24 | 综合新闻</span> |
|
|
|
|
|
|
|
<h6>X射线自由电子激光已经成为了化学、生物、物理等领域不可或缺的研究手段</h6> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li> |
|
|
|
|
|
|
|
<img src="http://10.10.11.7/images/home/3.png" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
|
|
|
|
<div class="texts"> |
|
|
|
|
|
|
|
<span class="meta">2022-07-24 | 综合新闻</span> |
|
|
|
|
|
|
|
<h6>X射线自由电子激光已经成为了化学、生物、物理等领域不可或缺的研究手段</h6> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li> |
|
|
|
|
|
|
|
<img src="http://10.10.11.7/images/home/3.png" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
|
|
|
|
<div class="texts"> |
|
|
|
|
|
|
|
<span class="meta">2022-07-24 | 综合新闻</span> |
|
|
|
|
|
|
|
<h6>X射线自由电子激光已经成为了化学、生物、物理等领域不可或缺的研究手段</h6> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li> |
|
|
|
|
|
|
|
<img src="http://10.10.11.7/images/home/3.png" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
|
|
|
|
<div class="texts"> |
|
|
|
|
|
|
|
<span class="meta">2022-07-24 | 综合新闻</span> |
|
|
|
|
|
|
|
<h6>X射线自由电子激光已经成为了化学、生物、物理等领域不可或缺的研究手段</h6> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<div class="cover" |
|
|
|
|
|
|
|
@click="toSet(9)">点击更换标题与描述</div> |
|
|
|
|
|
|
|
</ul> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<Module ref="module" :data.sync="curData" :visible.sync="diaVisible" @moduleSubmit="moduleSubmit" /> |
|
|
|
<Module ref="module" |
|
|
|
|
|
|
|
:data.sync="curData" |
|
|
|
|
|
|
|
:visible.sync="diaVisible" |
|
|
|
|
|
|
|
@moduleSubmit="moduleSubmit" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
@ -86,12 +209,12 @@ import mixins from '@/mixins/page' |
|
|
|
import Modules from '@/const/modules' |
|
|
|
import Modules from '@/const/modules' |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
mixins: [mixins], |
|
|
|
mixins: [mixins], |
|
|
|
data() { |
|
|
|
data () { |
|
|
|
return { |
|
|
|
return { |
|
|
|
modules: Modules.industrial |
|
|
|
modules: Modules.industrial |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
mounted () { |
|
|
|
this.$store.commit('user/setCrumbs', [ |
|
|
|
this.$store.commit('user/setCrumbs', [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
name: '站点管理', |
|
|
|
name: '站点管理', |
|
|
@ -117,99 +240,175 @@ export default { |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
<style lang="scss" scoped> |
|
|
|
@import "../../../styles/page/page.scss"; |
|
|
|
@import '../../../styles/page/page.scss'; |
|
|
|
.history { |
|
|
|
.history { |
|
|
|
h2 { |
|
|
|
h2 { |
|
|
|
font-size: 1.8rem; |
|
|
|
font-size: 1.8rem; |
|
|
|
color: #333; |
|
|
|
color: #333; |
|
|
|
} |
|
|
|
} |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
justify-content: space-between; |
|
|
|
justify-content: space-between; |
|
|
|
padding: 82px 57px 30px; |
|
|
|
padding: 82px 57px 30px; |
|
|
|
margin-top: 20px; |
|
|
|
margin-top: 20px; |
|
|
|
background-color: #fff; |
|
|
|
background-color: #fff; |
|
|
|
border-radius: 100px 0px 0px 0px; |
|
|
|
border-radius: 100px 0px 0px 0px; |
|
|
|
transition: .3s; |
|
|
|
transition: 0.3s; |
|
|
|
&:hover { |
|
|
|
&:hover { |
|
|
|
transform: scale(1.05); |
|
|
|
transform: scale(1.05); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.left { |
|
|
|
|
|
|
|
width: 695px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.des { |
|
|
|
|
|
|
|
margin: 20px 0; |
|
|
|
|
|
|
|
font-size: 1.2rem; |
|
|
|
|
|
|
|
color: #181818; |
|
|
|
|
|
|
|
line-height: 31px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.bg { |
|
|
|
|
|
|
|
margin: -122px 0 0 0; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.left { |
|
|
|
|
|
|
|
width: 695px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.des { |
|
|
|
|
|
|
|
margin: 20px 0; |
|
|
|
|
|
|
|
font-size: 1.2rem; |
|
|
|
|
|
|
|
color: #181818; |
|
|
|
|
|
|
|
line-height: 31px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.bg { |
|
|
|
|
|
|
|
margin: -122px 0 0 0; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.land { |
|
|
|
.land { |
|
|
|
.inner { |
|
|
|
.inner { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
} |
|
|
|
} |
|
|
|
.pic { |
|
|
|
.pic { |
|
|
|
width: 50%; |
|
|
|
width: 50%; |
|
|
|
height: 450px; |
|
|
|
height: 450px; |
|
|
|
} |
|
|
|
} |
|
|
|
.right { |
|
|
|
.right { |
|
|
|
width: 50%; |
|
|
|
width: 50%; |
|
|
|
} |
|
|
|
} |
|
|
|
h6 { |
|
|
|
h6 { |
|
|
|
margin-left: 50px; |
|
|
|
margin-left: 50px; |
|
|
|
font-size: 1.3rem; |
|
|
|
font-size: 1.3rem; |
|
|
|
font-family: PingFangSC-Semibold, PingFang SC; |
|
|
|
font-family: PingFangSC-Semibold, PingFang SC; |
|
|
|
color: #333; |
|
|
|
color: #333; |
|
|
|
@include ellipsis(); |
|
|
|
@include ellipsis(); |
|
|
|
} |
|
|
|
} |
|
|
|
.text { |
|
|
|
.text { |
|
|
|
height: 405px; |
|
|
|
height: 405px; |
|
|
|
padding: 50px; |
|
|
|
padding: 50px; |
|
|
|
margin-top: 1rem; |
|
|
|
margin-top: 1rem; |
|
|
|
background: rgba(242,246,248,0.45); |
|
|
|
background: rgba(242, 246, 248, 0.45); |
|
|
|
border-radius: 0px 100px 0px 0px; |
|
|
|
border-radius: 0px 100px 0px 0px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.plan { |
|
|
|
.plan { |
|
|
|
li { |
|
|
|
li { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
height: 500px; |
|
|
|
|
|
|
|
margin-bottom: 60px; |
|
|
|
|
|
|
|
color: #333; |
|
|
|
|
|
|
|
background-color: #fff; |
|
|
|
|
|
|
|
border-radius: 100px 0px 0px 0px; |
|
|
|
|
|
|
|
&:nth-child(even) { |
|
|
|
|
|
|
|
flex-direction: row-reverse; |
|
|
|
|
|
|
|
.pic { |
|
|
|
|
|
|
|
margin: -20px 0 0 -20px; |
|
|
|
|
|
|
|
border-radius: 0 100px 0 0; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.left { |
|
|
|
|
|
|
|
width: 50%; |
|
|
|
|
|
|
|
padding: 50px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
h6 { |
|
|
|
|
|
|
|
font-size: 1.4rem; |
|
|
|
|
|
|
|
font-family: PingFangSC-Medium, PingFang SC; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.text { |
|
|
|
|
|
|
|
margin: 1rem 0; |
|
|
|
|
|
|
|
font-size: 1rem; |
|
|
|
|
|
|
|
line-height: 1.6; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.pic { |
|
|
|
|
|
|
|
width: 48%; |
|
|
|
|
|
|
|
height: 500px; |
|
|
|
|
|
|
|
margin: -20px -20px 0 0; |
|
|
|
|
|
|
|
border-radius: 100px 0 0 0; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.app-inner { |
|
|
|
|
|
|
|
width: 1558px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.app { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
height: 500px; |
|
|
|
flex-wrap: wrap; |
|
|
|
margin-bottom: 60px; |
|
|
|
li { |
|
|
|
color: #333; |
|
|
|
position: relative; |
|
|
|
background-color: #fff; |
|
|
|
display: flex; |
|
|
|
border-radius: 100px 0px 0px 0px; |
|
|
|
flex-direction: column; |
|
|
|
&:nth-child(even) { |
|
|
|
justify-content: center; |
|
|
|
flex-direction: row-reverse; |
|
|
|
align-items: center; |
|
|
|
.pic { |
|
|
|
width: 368px; |
|
|
|
margin: -20px 0 0 -20px; |
|
|
|
height: 252px; |
|
|
|
border-radius: 0 100px 0 0; |
|
|
|
margin: 0 14px 14px 0; |
|
|
|
} |
|
|
|
transition: 0.3s; |
|
|
|
|
|
|
|
&:hover { |
|
|
|
|
|
|
|
transform: scale(1.05); |
|
|
|
|
|
|
|
.icon { |
|
|
|
|
|
|
|
transform: rotateY(180deg); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
&:nth-child(4n) { |
|
|
|
|
|
|
|
margin-right: 0; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.left { |
|
|
|
.bg { |
|
|
|
width: 50%; |
|
|
|
position: absolute; |
|
|
|
padding: 50px; |
|
|
|
top: 0; |
|
|
|
|
|
|
|
left: 0; |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
height: 100%; |
|
|
|
} |
|
|
|
} |
|
|
|
h6 { |
|
|
|
.icon { |
|
|
|
font-size: 1.4rem; |
|
|
|
position: relative; |
|
|
|
font-family: PingFangSC-Medium, PingFang SC; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.text { |
|
|
|
.text { |
|
|
|
margin: 1rem 0; |
|
|
|
position: relative; |
|
|
|
font-size: 1rem; |
|
|
|
margin-top: 20px; |
|
|
|
line-height: 1.6; |
|
|
|
font-size: 32px; |
|
|
|
|
|
|
|
color: #fff; |
|
|
|
} |
|
|
|
} |
|
|
|
.pic { |
|
|
|
} |
|
|
|
width: 48%; |
|
|
|
.news { |
|
|
|
height: 500px; |
|
|
|
position: relative; |
|
|
|
margin: -20px -20px 0 0; |
|
|
|
display: flex; |
|
|
|
border-radius: 100px 0 0 0; |
|
|
|
flex-wrap: wrap; |
|
|
|
|
|
|
|
li { |
|
|
|
|
|
|
|
width: calc((100% - 34px) / 3); |
|
|
|
|
|
|
|
margin: 0 17px 20px 0; |
|
|
|
|
|
|
|
background-color: #fff; |
|
|
|
|
|
|
|
&:nth-child(3n) { |
|
|
|
|
|
|
|
margin-right: 0; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
img { |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
height: 220px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.texts { |
|
|
|
|
|
|
|
padding: 20px 24px; |
|
|
|
|
|
|
|
background-color: #fff; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
h6 { |
|
|
|
|
|
|
|
margin-top: 8px; |
|
|
|
|
|
|
|
font-size: 1rem; |
|
|
|
|
|
|
|
color: #333; |
|
|
|
|
|
|
|
text-shadow: 0px 0px 20px rgba(176, 176, 176, 0.21); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.meta { |
|
|
|
|
|
|
|
font-size: 0.9rem; |
|
|
|
|
|
|
|
color: #666; |
|
|
|
|
|
|
|
text-shadow: 0px 0px 20px rgba(176, 176, 176, 0.21); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |
|
|
|