|
@@ -2,10 +2,10 @@ |
|
|
<div> |
|
|
<div> |
|
|
<el-carousel trigger="click" height="400px"> |
|
|
<el-carousel trigger="click" height="400px"> |
|
|
<el-carousel-item v-for="(item,index) in lunBoList" :key="index"> |
|
|
<el-carousel-item v-for="(item,index) in lunBoList" :key="index"> |
|
|
<img :src="item.aboutImg"/> |
|
|
|
|
|
|
|
|
<img :src="item.aboutImgUrl"/> |
|
|
</el-carousel-item> |
|
|
</el-carousel-item> |
|
|
</el-carousel> |
|
|
</el-carousel> |
|
|
<el-main style="width: 960px;margin: 0 auto"> |
|
|
|
|
|
|
|
|
<el-main style="width: 1200px;margin: 0 auto"> |
|
|
<el-row class="card_style1"> |
|
|
<el-row class="card_style1"> |
|
|
<el-col :span="6"><div class="grid-content bg-purple"></div> |
|
|
<el-col :span="6"><div class="grid-content bg-purple"></div> |
|
|
<el-card class="box-card" shadow="never" :body-style="{ padding: '0px 20px' }"> |
|
|
<el-card class="box-card" shadow="never" :body-style="{ padding: '0px 20px' }"> |
|
@@ -14,7 +14,7 @@ |
|
|
<el-button style="float: right; padding: 3px 0;color: #fff;font-size: 12px" type="text">更多>></el-button> |
|
|
<el-button style="float: right; padding: 3px 0;color: #fff;font-size: 12px" type="text">更多>></el-button> |
|
|
</div> |
|
|
</div> |
|
|
<div v-for="(o, index) in importList" :key="index" class="text item"> |
|
|
<div v-for="(o, index) in importList" :key="index" class="text item"> |
|
|
{{index+1}}、{{o.title}} |
|
|
|
|
|
|
|
|
<router-link :to='"/detail?id="+o.id'>{{index+1}}、{{o.title}}</router-link> |
|
|
</div> |
|
|
</div> |
|
|
</el-card> |
|
|
</el-card> |
|
|
</el-col> |
|
|
</el-col> |
|
@@ -33,7 +33,7 @@ |
|
|
<router-link to="/news" style="float: right; padding: 3px 0;color: #fff;font-size: 12px" type="text">更多>></router-link> |
|
|
<router-link to="/news" style="float: right; padding: 3px 0;color: #fff;font-size: 12px" type="text">更多>></router-link> |
|
|
</div> |
|
|
</div> |
|
|
<div v-for="(item, index) in newsList" :key="index" class="text item"> |
|
|
<div v-for="(item, index) in newsList" :key="index" class="text item"> |
|
|
{{index+1}}、{{item.title}} |
|
|
|
|
|
|
|
|
<router-link :to='"/detail?id="+item.id'>{{index+1}}、{{item.title}}</router-link> |
|
|
</div> |
|
|
</div> |
|
|
</el-card> |
|
|
</el-card> |
|
|
</el-col> |
|
|
</el-col> |
|
@@ -46,7 +46,9 @@ |
|
|
<span><el-divider direction="vertical"></el-divider>行业动态</span> |
|
|
<span><el-divider direction="vertical"></el-divider>行业动态</span> |
|
|
<router-link to="/trode" style="float: right; padding: 3px 0;color: #999999;font-size: 12px" type="text">更多>></router-link> |
|
|
<router-link to="/trode" style="float: right; padding: 3px 0;color: #999999;font-size: 12px" type="text">更多>></router-link> |
|
|
</div> |
|
|
</div> |
|
|
<h2>{{hangDamic.title}}</h2> |
|
|
|
|
|
|
|
|
<h2> |
|
|
|
|
|
<router-link :to='"/detail?id="+hangDamic.id'>{{hangDamic.title}}</router-link> |
|
|
|
|
|
</h2> |
|
|
<p v-html="hangDamic.content"></p> |
|
|
<p v-html="hangDamic.content"></p> |
|
|
<img :src="hangDamic.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
<img :src="hangDamic.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
</el-card> |
|
|
</el-card> |
|
@@ -59,7 +61,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div class="list" v-for="(item, index) in chanList" :key="index"> |
|
|
<div class="list" v-for="(item, index) in chanList" :key="index"> |
|
|
<h2 style="display: flex; flex-direction: row"> |
|
|
<h2 style="display: flex; flex-direction: row"> |
|
|
<span style="flex: 1">{{item.title}}</span> |
|
|
|
|
|
|
|
|
<router-link :to='"/detail?id="+item.id'><span style="flex: 1">{{item.title}}</span></router-link> |
|
|
<span class="time">{{item.publishTime}}</span> |
|
|
<span class="time">{{item.publishTime}}</span> |
|
|
</h2> |
|
|
</h2> |
|
|
<p v-html="item.content"></p> |
|
|
<p v-html="item.content"></p> |
|
@@ -79,7 +81,9 @@ |
|
|
</el-card> |
|
|
</el-card> |
|
|
<el-card class="box-card" shadow="never" v-for="(item, index) in hezuoList" :key="index" |
|
|
<el-card class="box-card" shadow="never" v-for="(item, index) in hezuoList" :key="index" |
|
|
:body-style="{ padding: '0px 20px' }"> |
|
|
:body-style="{ padding: '0px 20px' }"> |
|
|
<h2>{{item.title}}</h2> |
|
|
|
|
|
|
|
|
<h2> |
|
|
|
|
|
<router-link :to='"/detail?id="+item.id'><span style="flex: 1">{{item.title}}</span></router-link> |
|
|
|
|
|
</h2> |
|
|
<p v-html="item.content"></p> |
|
|
<p v-html="item.content"></p> |
|
|
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
</el-card> |
|
|
</el-card> |
|
@@ -96,7 +100,9 @@ |
|
|
</el-card> |
|
|
</el-card> |
|
|
<el-card class="box-card" shadow="never" v-for="(item, index) in zhishiList" :key="index" |
|
|
<el-card class="box-card" shadow="never" v-for="(item, index) in zhishiList" :key="index" |
|
|
:body-style="{ padding: '0px 20px' }"> |
|
|
:body-style="{ padding: '0px 20px' }"> |
|
|
<h2>{{item.title}}</h2> |
|
|
|
|
|
|
|
|
<h2> |
|
|
|
|
|
<router-link :to='"/detail?id="+item.id'>{{item.title}}</router-link> |
|
|
|
|
|
</h2> |
|
|
<p v-html="item.content"></p> |
|
|
<p v-html="item.content"></p> |
|
|
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
</el-card> |
|
|
</el-card> |
|
@@ -113,7 +119,8 @@ |
|
|
</el-card> |
|
|
</el-card> |
|
|
<el-card class="box-card" shadow="never" v-for="(item, index) in huiyuanList" :key="index" |
|
|
<el-card class="box-card" shadow="never" v-for="(item, index) in huiyuanList" :key="index" |
|
|
:body-style="{ padding: '0px 20px' }"> |
|
|
:body-style="{ padding: '0px 20px' }"> |
|
|
<h2>{{item.title}}</h2> |
|
|
|
|
|
|
|
|
<h2><router-link :to='"/detail?id="+item.id'>{{item.title}}</router-link> |
|
|
|
|
|
</h2> |
|
|
<p v-html="item.content"></p> |
|
|
<p v-html="item.content"></p> |
|
|
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
</el-card> |
|
|
</el-card> |
|
@@ -130,8 +137,11 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div class="list" v-for="(item, index) in hezuoList" :key="index"> |
|
|
<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"> |
|
|
|
|
|
<router-link :to='"/detail?id="+item.id'> |
|
|
<span style="flex: 1">{{item.title}}</span> |
|
|
<span style="flex: 1">{{item.title}}</span> |
|
|
|
|
|
</router-link> |
|
|
<span class="time">{{item.publishTime}}</span> |
|
|
<span class="time">{{item.publishTime}}</span> |
|
|
|
|
|
|
|
|
</h2> |
|
|
</h2> |
|
|
<p v-html="item.content"></p> |
|
|
<p v-html="item.content"></p> |
|
|
</div> |
|
|
</div> |
|
@@ -146,8 +156,11 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div class="list" v-for="(item, index) in qiyeList" :key="index"> |
|
|
<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"> |
|
|
<span style="flex: 1">{{item.title}}</span> |
|
|
|
|
|
|
|
|
<router-link :to='"/detail?id="+item.id'> |
|
|
|
|
|
<span style="flex: 1">{{item.title}}</span> |
|
|
|
|
|
</router-link> |
|
|
<span class="time">{{item.publishTime}}</span> |
|
|
<span class="time">{{item.publishTime}}</span> |
|
|
|
|
|
|
|
|
</h2> |
|
|
</h2> |
|
|
<p v-html="item.content"></p> |
|
|
<p v-html="item.content"></p> |
|
|
</div> |
|
|
</div> |
|
@@ -166,8 +179,12 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div class="list" v-for="(item, index) in hangyeList" :key="index"> |
|
|
<div class="list" v-for="(item, index) in hangyeList" :key="index"> |
|
|
<h2 style="display: flex; flex-direction: row"> |
|
|
<h2 style="display: flex; flex-direction: row"> |
|
|
<span style="flex: 1">{{item.title}}</span> |
|
|
|
|
|
<span class="time">{{item.title}}</span> |
|
|
|
|
|
|
|
|
<router-link :to='"/detail?id="+item.id'> |
|
|
|
|
|
|
|
|
|
|
|
<span style="flex: 1">{{item.title}}</span> |
|
|
|
|
|
</router-link> |
|
|
|
|
|
<span class="time">{{item.publishTime}}</span> |
|
|
|
|
|
|
|
|
</h2> |
|
|
</h2> |
|
|
<p v-html="item.content"></p> |
|
|
<p v-html="item.content"></p> |
|
|
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
@@ -182,8 +199,11 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div class="list" v-for="(item, index) in renliList" :key="index"> |
|
|
<div class="list" v-for="(item, index) in renliList" :key="index"> |
|
|
<h2 style="display: flex; flex-direction: row"> |
|
|
<h2 style="display: flex; flex-direction: row"> |
|
|
<span style="flex: 1">{{item.title}}</span> |
|
|
|
|
|
<span class="time">{{item.title}}</span> |
|
|
|
|
|
|
|
|
<router-link :to='"/detail?id="+item.id'> |
|
|
|
|
|
<span style="flex: 1">{{item.title}}</span> |
|
|
|
|
|
</router-link> |
|
|
|
|
|
<span class="time">{{item.publishTime}}</span> |
|
|
|
|
|
|
|
|
</h2> |
|
|
</h2> |
|
|
<p v-html="item.content"></p> |
|
|
<p v-html="item.content"></p> |
|
|
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
@@ -226,7 +246,7 @@ |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import {getChannelInformationsRequest, getChannelsRequest, |
|
|
|
|
|
|
|
|
import {getChannelInformationsRequest, getChannelsRequest, |
|
|
getDetailRequest, getPositionRequest} from "../api/data"; |
|
|
getDetailRequest, getPositionRequest} from "../api/data"; |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
@@ -239,7 +259,6 @@ export default { |
|
|
hezuoList: [], |
|
|
hezuoList: [], |
|
|
zhishiList: [], |
|
|
zhishiList: [], |
|
|
huiyuanList: [], |
|
|
huiyuanList: [], |
|
|
hezuoList: [], |
|
|
|
|
|
qiyeList: [], |
|
|
qiyeList: [], |
|
|
hangyeList: [], |
|
|
hangyeList: [], |
|
|
renliList: [], |
|
|
renliList: [], |
|
@@ -321,7 +340,7 @@ export default { |
|
|
}else if(weizhi == "N"){ |
|
|
}else if(weizhi == "N"){ |
|
|
// 轮播 |
|
|
// 轮播 |
|
|
this.lunBoList = res.data.records |
|
|
this.lunBoList = res.data.records |
|
|
console.log(JSON.stringify(this.hezuoList)) |
|
|
|
|
|
|
|
|
console.log(JSON.stringify(this.lunBoList)) |
|
|
console.log(id) |
|
|
console.log(id) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|