|
|
@ -34,27 +34,35 @@ |
|
|
|
</a-input-group> |
|
|
|
</div> |
|
|
|
<div class="policy-box"> |
|
|
|
<div :key="index" v-for="(item, index) in lists"> |
|
|
|
<div class="date-box"> |
|
|
|
<div |
|
|
|
:key="index" |
|
|
|
class="list-box d-flex flex-row flex-nowrap align-center" |
|
|
|
v-for="(item, index) in lists" |
|
|
|
> |
|
|
|
<div class="date-box d-flex flex-column"> |
|
|
|
<p class="date-mon">{{ monthEnglish[item.publishTime.split('-')[1] - 1] }}.</p> |
|
|
|
<p class="date-day">{{ item.publishTime.split('-')[2] }}</p> |
|
|
|
</div> |
|
|
|
<p @click="LookSource(item.id)" class="item-title pointer">{{ item.title }}</p> |
|
|
|
<p @click="LookSource(item.id)" class="item-content pointer">{{ item.intro }}</p> |
|
|
|
<!-- <p class="item-content" v-html="item.content"></p> --> |
|
|
|
<p class="source-time"> |
|
|
|
<span |
|
|
|
@click="openWin(item.titleUrl)" |
|
|
|
class="baseColor source" |
|
|
|
>来源:{{ item.publishDepartName }}</span> |
|
|
|
<span class="time">{{ item.publishTime }}</span> |
|
|
|
</p> |
|
|
|
<p class="original baseColor"> |
|
|
|
<span @click="LookSource(item.id)"> |
|
|
|
了解更多 |
|
|
|
<a-icon type="arrow-right" /> |
|
|
|
</span> |
|
|
|
</p> |
|
|
|
<div class="d-flex flex-column flex-1"> |
|
|
|
<p @click="LookSource(item.id)" class="item-title pointer">{{ item.title }}</p> |
|
|
|
<!-- <p @click="LookSource(item.id)" class="item-content pointer">{{ item.intro }}</p> --> |
|
|
|
<!-- <p class="item-content" v-html="item.content"></p> --> |
|
|
|
<div class="d-flex flex-nowrap justify-space-between"> |
|
|
|
<p class="source-time"> |
|
|
|
<span |
|
|
|
@click="openWin(item.titleUrl)" |
|
|
|
class="baseColor source" |
|
|
|
>来源:{{ item.publishDepartName }}</span> |
|
|
|
<span class="time">{{ item.publishTime }}</span> |
|
|
|
</p> |
|
|
|
<p class="original baseColor"> |
|
|
|
<span @click="LookSource(item.id)"> |
|
|
|
了解更多 |
|
|
|
<a-icon type="arrow-right" /> |
|
|
|
</span> |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<a-pagination |
|
|
@ -80,7 +88,7 @@ export default { |
|
|
|
str: '这是创新政策界面', |
|
|
|
lists: [], |
|
|
|
total: 0, |
|
|
|
pageSize: 5, |
|
|
|
pageSize: 20, |
|
|
|
monthEnglish: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Spt', 'Oct', 'Nov', 'Dec'], |
|
|
|
pCode: ['title', 'area', 'area'], |
|
|
|
pStatus: { |
|
|
@ -119,7 +127,7 @@ export default { |
|
|
|
code: this.policyStatus.code, |
|
|
|
input: this.policyStatus.iptCon, |
|
|
|
pageNum: this.current, |
|
|
|
pageSize: 5, |
|
|
|
pageSize: 20, |
|
|
|
sx: this.policyStatus.sx, |
|
|
|
zg: this.policyStatus.zg, |
|
|
|
ty: this.policyStatus.ty, |
|
|
@ -171,7 +179,7 @@ export default { |
|
|
|
<style scoped lang="stylus"> |
|
|
|
.box { |
|
|
|
width: 100%; |
|
|
|
min-height: 1037px; |
|
|
|
margin-bottom: 100px; |
|
|
|
overflow: hidden; |
|
|
|
opacity: 1; |
|
|
|
} |
|
|
@ -192,32 +200,25 @@ export default { |
|
|
|
} |
|
|
|
|
|
|
|
.policy-box { |
|
|
|
div { |
|
|
|
position: relative; |
|
|
|
.list-box { |
|
|
|
width: 100%; |
|
|
|
height: 238px; |
|
|
|
overflow: hidden; |
|
|
|
background: #fff; |
|
|
|
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16); |
|
|
|
margin-top: 24px; |
|
|
|
padding: 25px; |
|
|
|
padding: 10px 25px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.item-title { |
|
|
|
margin-left: 200px; |
|
|
|
overflow: hidden; |
|
|
|
display: -webkit-box; |
|
|
|
margin-bottom: 10px; |
|
|
|
font-size: 24px; |
|
|
|
color: rgba(0, 0, 0, 0.65); |
|
|
|
font-family: Microsoft YaHei; |
|
|
|
font-weight: bold; |
|
|
|
-webkit-line-clamp: 1; |
|
|
|
-webkit-box-orient: vertical; |
|
|
|
} |
|
|
|
|
|
|
|
.item-content { |
|
|
|
margin-left: 200px; |
|
|
|
text-indent: 2em; |
|
|
|
font-size: 16px; |
|
|
|
line-height: 36px; |
|
|
@ -246,9 +247,6 @@ export default { |
|
|
|
} |
|
|
|
|
|
|
|
.original { |
|
|
|
position: absolute; |
|
|
|
right: 25px; |
|
|
|
bottom: 25px; |
|
|
|
font-size: 14px; |
|
|
|
font-family: Microsoft YaHei; |
|
|
|
font-weight: 400; |
|
|
@ -262,13 +260,11 @@ export default { |
|
|
|
} |
|
|
|
|
|
|
|
.date-box { |
|
|
|
height: 188px !important; |
|
|
|
width: 188px !important; |
|
|
|
position: absolute !important; |
|
|
|
top: 0 !important; |
|
|
|
// box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16); |
|
|
|
width: 160px !important; |
|
|
|
text-align: center; |
|
|
|
box-shadow: none !important; |
|
|
|
margin-top: 0 !important; |
|
|
|
padding: 0 !important; |
|
|
|
|
|
|
|
p { |
|
|
|
margin-bottom: 0 !important; |
|
|
@ -276,25 +272,22 @@ export default { |
|
|
|
} |
|
|
|
|
|
|
|
.date-mon { |
|
|
|
font-size: 40px; |
|
|
|
height: 40px; |
|
|
|
line-height: 40px; |
|
|
|
font-size: 26px; |
|
|
|
height: 26px; |
|
|
|
line-height: 26px; |
|
|
|
font-weight: 500; |
|
|
|
color: #13ACC4; |
|
|
|
} |
|
|
|
|
|
|
|
.date-day { |
|
|
|
font-size: 70px; |
|
|
|
height: 80px; |
|
|
|
line-height: 80px; |
|
|
|
font-size: 46px; |
|
|
|
height: 56px; |
|
|
|
line-height: 56px; |
|
|
|
font-weight: bold; |
|
|
|
color: #13ACC4; |
|
|
|
} |
|
|
|
|
|
|
|
.source-time { |
|
|
|
margin-left: 200px; |
|
|
|
position: absolute; |
|
|
|
bottom: 26px; |
|
|
|
margin-bottom: 0; |
|
|
|
} |
|
|
|
|
|
|
|