|
|
@ -1,11 +1,7 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="wrap"> |
|
|
|
<div class="wrap"> |
|
|
|
<div v-if="info.columnBanner" |
|
|
|
<div v-if="info.columnBanner" class="banner"> |
|
|
|
class="banner"> |
|
|
|
<img width="100%" height="280" :src="info.columnBanner" alt=""> |
|
|
|
<img width="100%" |
|
|
|
|
|
|
|
height="280" |
|
|
|
|
|
|
|
:src="info.columnBanner" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
|
|
|
|
<div class="texts"> |
|
|
|
<div class="texts"> |
|
|
|
<p class="text">{{ info.columnName }}</p> |
|
|
|
<p class="text">{{ info.columnName }}</p> |
|
|
|
<p class="sub">{{ info.subtitle }}</p> |
|
|
|
<p class="sub">{{ info.subtitle }}</p> |
|
|
@ -14,23 +10,15 @@ |
|
|
|
|
|
|
|
|
|
|
|
<div class="inner"> |
|
|
|
<div class="inner"> |
|
|
|
<ul class="tabs"> |
|
|
|
<ul class="tabs"> |
|
|
|
<li v-for="(item, i) in tabs" |
|
|
|
<li v-for="(item, i) in tabs" :key="i" :class="{ active: active === i }" @click="tabChange(i)">{{ item }}</li> |
|
|
|
:key="i" |
|
|
|
|
|
|
|
:class="{active: active === i}" |
|
|
|
|
|
|
|
@click="tabChange(i)">{{ item }}</li> |
|
|
|
|
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
|
|
|
|
|
|
|
|
<ul class="list"> |
|
|
|
<ul class="list"> |
|
|
|
<li v-for="(item, i) in list" |
|
|
|
<li v-for="(item, i) in list" :key="i" @click="toArtice(item)"> |
|
|
|
:key="i" |
|
|
|
<img class="pic" :src="item.titleImg" alt=""> |
|
|
|
@click="toArtice(item)"> |
|
|
|
|
|
|
|
<img class="pic" |
|
|
|
|
|
|
|
:src="item.titleImg" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
|
|
|
|
<div class="texts"> |
|
|
|
<div class="texts"> |
|
|
|
<h6>{{ item.title }}</h6> |
|
|
|
<h6>{{ item.title }}</h6> |
|
|
|
<div v-html="item.quote" |
|
|
|
<div v-html="item.quote" class="des"></div> |
|
|
|
class="des"></div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
@ -89,33 +77,40 @@ export default { |
|
|
|
.wrap { |
|
|
|
.wrap { |
|
|
|
background: #f8f9fb; |
|
|
|
background: #f8f9fb; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.banner { |
|
|
|
.banner { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
height: 280px; |
|
|
|
height: 280px; |
|
|
|
color: #fff; |
|
|
|
color: #fff; |
|
|
|
|
|
|
|
|
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
top: 80px; |
|
|
|
top: 80px; |
|
|
|
left: 243px; |
|
|
|
left: 243px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.text { |
|
|
|
.text { |
|
|
|
font-size: 48px; |
|
|
|
font-size: 48px; |
|
|
|
font-weight: 600; |
|
|
|
font-weight: 600; |
|
|
|
@include ellipsis; |
|
|
|
@include ellipsis; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.sub { |
|
|
|
.sub { |
|
|
|
margin-top: 10px; |
|
|
|
margin-top: 10px; |
|
|
|
font-size: 28px; |
|
|
|
font-size: 28px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.inner { |
|
|
|
.inner { |
|
|
|
width: 1200px; |
|
|
|
width: 1200px; |
|
|
|
margin: 0 auto; |
|
|
|
margin: 0 auto; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.tabs { |
|
|
|
.tabs { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
margin-top: -64px; |
|
|
|
margin-top: -64px; |
|
|
|
|
|
|
|
|
|
|
|
li { |
|
|
|
li { |
|
|
|
width: 174px; |
|
|
|
width: 174px; |
|
|
|
line-height: 64px; |
|
|
|
line-height: 64px; |
|
|
@ -126,30 +121,36 @@ export default { |
|
|
|
color: #333333; |
|
|
|
color: #333333; |
|
|
|
background-color: #fff; |
|
|
|
background-color: #fff; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
|
|
|
|
&.active { |
|
|
|
&.active { |
|
|
|
color: #fff; |
|
|
|
color: #fff; |
|
|
|
background-color: #1583ff; |
|
|
|
background-color: #1583ff; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.list { |
|
|
|
.list { |
|
|
|
padding: 0 30px 50px; |
|
|
|
padding: 0 30px 50px; |
|
|
|
background: #fff; |
|
|
|
background: #fff; |
|
|
|
|
|
|
|
|
|
|
|
li { |
|
|
|
li { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
|
padding: 28px 0; |
|
|
|
padding: 28px 0; |
|
|
|
border-bottom: 1px solid #ddd; |
|
|
|
border-bottom: 1px solid #ddd; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
|
|
|
|
&:last-child { |
|
|
|
&:last-child { |
|
|
|
border-bottom: 0; |
|
|
|
border-bottom: 0; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.pic { |
|
|
|
.pic { |
|
|
|
width: 90px; |
|
|
|
width: 90px; |
|
|
|
height: 122px; |
|
|
|
height: 122px; |
|
|
|
margin-right: 20px; |
|
|
|
margin-right: 20px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
h6 { |
|
|
|
h6 { |
|
|
|
font-size: 20px; |
|
|
|
font-size: 20px; |
|
|
|
font-family: PingFangSC-Medium, PingFang SC; |
|
|
|
font-family: PingFangSC-Medium, PingFang SC; |
|
|
@ -157,6 +158,7 @@ export default { |
|
|
|
color: #1583ff; |
|
|
|
color: #1583ff; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.des { |
|
|
|
.des { |
|
|
|
margin-top: 15px; |
|
|
|
margin-top: 15px; |
|
|
|
font-size: 16px; |
|
|
|
font-size: 16px; |
|
|
|