|
|
@@ -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.aboutImg"/> |
|
|
|
<img :src="item.aboutImgUrl"/> |
|
|
|
</el-carousel-item> |
|
|
|
</el-carousel> |
|
|
|
<el-main style="width: 960px;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.aboutImg"/> |
|
|
|
<img :src="imgObj.aboutImgUrl"/> |
|
|
|
<div class="img_info"> |
|
|
|
<span class="img_text">{{imgObj.title}}</span> |
|
|
|
</div> |
|
|
@@ -48,7 +48,7 @@ |
|
|
|
</div> |
|
|
|
<h2>{{hangDamic.title}}</h2> |
|
|
|
<p v-html="hangDamic.content"></p> |
|
|
|
<img :src="hangDamic.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
|
<img :src="hangDamic.aboutImgUrl" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
|
</el-card> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
@@ -81,7 +81,7 @@ |
|
|
|
:body-style="{ padding: '0px 20px' }"> |
|
|
|
<h2>{{item.title}}</h2> |
|
|
|
<p v-html="item.content"></p> |
|
|
|
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
|
<img :src="item.aboutImgUrl" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
|
</el-card> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
@@ -98,7 +98,7 @@ |
|
|
|
:body-style="{ padding: '0px 20px' }"> |
|
|
|
<h2>{{item.title}}</h2> |
|
|
|
<p v-html="item.content"></p> |
|
|
|
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
|
<img :src="item.aboutImgUrl" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
|
</el-card> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
@@ -115,7 +115,7 @@ |
|
|
|
:body-style="{ padding: '0px 20px' }"> |
|
|
|
<h2>{{item.title}}</h2> |
|
|
|
<p v-html="item.content"></p> |
|
|
|
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
|
<img :src="item.aboutImgUrl" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
|
</el-card> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@@ -170,7 +170,7 @@ |
|
|
|
<span class="time">{{item.title}}</span> |
|
|
|
</h2> |
|
|
|
<p v-html="item.content"></p> |
|
|
|
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
|
<img :src="item.aboutImgUrl" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</el-col> |
|
|
@@ -186,7 +186,7 @@ |
|
|
|
<span class="time">{{item.title}}</span> |
|
|
|
</h2> |
|
|
|
<p v-html="item.content"></p> |
|
|
|
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
|
<img :src="item.aboutImgUrl" style="border-radius: 10px;margin: 10px 0" width="100%"/> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</el-col> |
|
|
@@ -321,8 +321,6 @@ export default { |
|
|
|
}else if(weizhi == "N"){ |
|
|
|
// 轮播 |
|
|
|
this.lunBoList = res.data.records |
|
|
|
console.log(JSON.stringify(this.hezuoList)) |
|
|
|
console.log(id) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|