|
|
@@ -2,7 +2,7 @@ |
|
|
|
<div> |
|
|
|
<el-carousel trigger="click" height="400px"> |
|
|
|
<el-carousel-item v-for="(item,index) in lunBoList" :key="index"> |
|
|
|
<img :src="item.aboutImgUrl"/> |
|
|
|
<img :src="item.aboutImgUrl" /> |
|
|
|
</el-carousel-item> |
|
|
|
</el-carousel> |
|
|
|
<el-main style="width: 1200px;margin: 0 auto"> |
|
|
@@ -20,7 +20,7 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"><div class="grid-content bg-purple-light"></div> |
|
|
|
<el-card class="box-card" shadow="never" style="margin: 0 10px; position: relative;" :body-style="{ padding: '0px',height:'418px' }"> |
|
|
|
<img :src="imgObj.aboutImgUrl"/> |
|
|
|
<img :src="imgObj.aboutImgUrl" /> |
|
|
|
<div class="img_info"> |
|
|
|
<span class="img_text">{{imgObj.title}}</span> |
|
|
|
</div> |
|
|
@@ -49,7 +49,7 @@ |
|
|
|
<h2> |
|
|
|
<router-link :to='"/detail?id="+hangDamic.id'>{{hangDamic.title}}</router-link> |
|
|
|
</h2> |
|
|
|
<p v-html="hangDamic.content"></p> |
|
|
|
<p v-html="hangDamic.content" class="max2"></p> |
|
|
|
<img :src="hangDamic.aboutImgUrl" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
|
</el-card> |
|
|
|
</el-col> |
|
|
@@ -60,11 +60,13 @@ |
|
|
|
<router-link to="/policy" style="float: right; padding: 3px 0;color: #999999;font-size: 12px" type="text">更多>></router-link> |
|
|
|
</div> |
|
|
|
<div class="list" v-for="(item, index) in chanList" :key="index"> |
|
|
|
<h2 style="display: flex; flex-direction: row"> |
|
|
|
<router-link :to='"/detail?id="+item.id'><span style="flex: 1">{{item.title}}</span></router-link> |
|
|
|
<h2 style="display: flex; flex-direction: row; |
|
|
|
width: 100%; align-items: center;"> |
|
|
|
<router-link :to='"/detail?id="+item.id'><span class="max2">{{item.title}}</span></router-link> |
|
|
|
<span style="flex: 1"></span> |
|
|
|
<span class="time">{{item.publishTime}}</span> |
|
|
|
</h2> |
|
|
|
<p v-html="item.content"></p> |
|
|
|
<p v-html="item.content" class="max2"></p> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</el-col> |
|
|
@@ -82,10 +84,13 @@ |
|
|
|
<el-card class="box-card" shadow="never" v-for="(item, index) in hezuoList" :key="index" |
|
|
|
:body-style="{ padding: '0px 20px' }"> |
|
|
|
<h2> |
|
|
|
<router-link :to='"/detail?id="+item.id'><span style="flex: 1">{{item.title}}</span></router-link> |
|
|
|
<router-link :to='"/detail?id="+item.id'> |
|
|
|
<span style="flex: 1">{{item.title}}</span> |
|
|
|
</router-link> |
|
|
|
</h2> |
|
|
|
<p v-html="item.content"></p> |
|
|
|
<img :src="item.aboutImgUrl" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
|
<p v-html="item.content" class="max2"></p> |
|
|
|
<img :src="item.aboutImgUrl" |
|
|
|
style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
|
</el-card> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
@@ -103,7 +108,7 @@ |
|
|
|
<h2> |
|
|
|
<router-link :to='"/detail?id="+item.id'>{{item.title}}</router-link> |
|
|
|
</h2> |
|
|
|
<p v-html="item.content"></p> |
|
|
|
<p v-html="item.content" class="max2"></p> |
|
|
|
<img :src="item.aboutImgUrl" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
|
</el-card> |
|
|
|
</el-col> |
|
|
@@ -121,7 +126,7 @@ |
|
|
|
:body-style="{ padding: '0px 20px' }"> |
|
|
|
<h2><router-link :to='"/detail?id="+item.id'>{{item.title}}</router-link> |
|
|
|
</h2> |
|
|
|
<p v-html="item.content"></p> |
|
|
|
<p v-html="item.content" class="max2"></p> |
|
|
|
<img :src="item.aboutImgUrl" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
|
</el-card> |
|
|
|
</el-col> |
|
|
@@ -136,14 +141,16 @@ |
|
|
|
<router-link to="/exchange" style="float: right; padding: 3px 0;color: #999999;font-size: 12px" type="text">更多>></router-link> |
|
|
|
</div> |
|
|
|
<div class="list" v-for="(item, index) in hezuoList" :key="index"> |
|
|
|
<h2 style="display: flex; flex-direction: row"> |
|
|
|
<h2 style="display: flex; flex-direction: row; |
|
|
|
width: 100%; align-items: center;"> |
|
|
|
<router-link :to='"/detail?id="+item.id'> |
|
|
|
<span style="flex: 1">{{item.title}}</span> |
|
|
|
<span >{{item.title}}</span> |
|
|
|
</router-link> |
|
|
|
<span style="flex: 1"></span> |
|
|
|
<span class="time">{{item.publishTime}}</span> |
|
|
|
|
|
|
|
</h2> |
|
|
|
<p v-html="item.content"></p> |
|
|
|
<p v-html="item.content" class="max2"></p> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
<div style="border-right: 1px solid #eee;width:1px;height: 320px;position: absolute;top:15px;right: 0"></div> |
|
|
@@ -155,14 +162,15 @@ |
|
|
|
<router-link to="/company" style="float: right; padding: 3px 0;color: #999999;font-size: 12px" type="text">更多>></router-link> |
|
|
|
</div> |
|
|
|
<div class="list" v-for="(item, index) in qiyeList" :key="index"> |
|
|
|
<h2 style="display: flex; flex-direction: row"> |
|
|
|
<h2 style="display: flex; flex-direction: row;width: 100%; align-items: center;"> |
|
|
|
<router-link :to='"/detail?id="+item.id'> |
|
|
|
<span style="flex: 1">{{item.title}}</span> |
|
|
|
</router-link> |
|
|
|
<span style="flex: 1"></span> |
|
|
|
<span class="time">{{item.publishTime}}</span> |
|
|
|
|
|
|
|
</h2> |
|
|
|
<p v-html="item.content"></p> |
|
|
|
<p v-html="item.content" class="max2"></p> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</el-col> |
|
|
@@ -183,10 +191,11 @@ |
|
|
|
|
|
|
|
<span style="flex: 1">{{item.title}}</span> |
|
|
|
</router-link> |
|
|
|
<span style="flex: 1"></span> |
|
|
|
<span class="time">{{item.publishTime}}</span> |
|
|
|
|
|
|
|
</h2> |
|
|
|
<p v-html="item.content"></p> |
|
|
|
<p v-html="item.content" class="max2"></p> |
|
|
|
<img :src="item.aboutImgUrl" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
@@ -205,7 +214,7 @@ |
|
|
|
<span class="time">{{item.publishTime}}</span> |
|
|
|
|
|
|
|
</h2> |
|
|
|
<p v-html="item.content"></p> |
|
|
|
<p v-html="item.content" class="max2"></p> |
|
|
|
<img :src="item.aboutImgUrl" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
@@ -282,6 +291,9 @@ export default { |
|
|
|
let res = await getChannelInformationsRequest({channelId: id}); |
|
|
|
if(res.code == 200){ |
|
|
|
if(weizhi){ |
|
|
|
res.data.records.map((ite) => { |
|
|
|
ite.publishTime = this.$moment(Number(ite.publishTime)).format("MM-DD") |
|
|
|
}) |
|
|
|
if(weizhi == "A"){ |
|
|
|
// 重要信息 |
|
|
|
this.importList = res.data.records.slice(0, 10) |
|
|
@@ -302,15 +314,15 @@ export default { |
|
|
|
}else if(weizhi == "D"){ |
|
|
|
// 产业政策 |
|
|
|
this.chanList = res.data.records.slice(0, 4) |
|
|
|
this.chanList.map((ite) => { |
|
|
|
ite.publishTime = this.$moment(Number(ite.publishTime)).format("MM-DD") |
|
|
|
}) |
|
|
|
// this.chanList.map((ite) => { |
|
|
|
// ite.publishTime = this.$moment(Number(ite.publishTime)).format("MM-DD") |
|
|
|
// }) |
|
|
|
}else if(weizhi == "E"){ |
|
|
|
// 合作交流 |
|
|
|
this.hezuoList = res.data.records.slice(0, 4) |
|
|
|
this.hezuoList.map((ite) => { |
|
|
|
ite.publishTime = this.$moment(Number(ite.publishTime)).format("MM-DD") |
|
|
|
}) |
|
|
|
// this.hezuoList.map((ite) => { |
|
|
|
// ite.publishTime = this.$moment(Number(ite.publishTime)).format("MM-DD") |
|
|
|
// }) |
|
|
|
}else if(weizhi == "F"){ |
|
|
|
// 知识产权 |
|
|
|
this.zhishiList = res.data.records.slice(0, 2) |
|
|
@@ -322,9 +334,9 @@ export default { |
|
|
|
}else if(weizhi == "I"){ |
|
|
|
// 企业认定 |
|
|
|
this.qiyeList = res.data.records.slice(0, 4) |
|
|
|
this.qiyeList.map((ite) => { |
|
|
|
ite.publishTime = this.$moment(Number(ite.publishTime)).format("MM-DD") |
|
|
|
}) |
|
|
|
// this.qiyeList.map((ite) => { |
|
|
|
// ite.publishTime = this.$moment(Number(ite.publishTime)).format("MM-DD") |
|
|
|
// }) |
|
|
|
}else if(weizhi == "J"){ |
|
|
|
// 行业管理 |
|
|
|
this.hangyeList = res.data.records.slice(0, 1) |
|
|
|