master
fanluyan 2 years ago
parent 4cc515973e
commit e2b166d4ce

@ -5,7 +5,13 @@
:close-on-click-modal="false"
width="80%"
>
<el-carousel :loop="false" :autoplay="false" height="600px" indicator-position="none" @change="changebtn">
<el-carousel
:loop="false"
:autoplay="false"
height="600px"
indicator-position="none"
@change="changebtn"
>
<el-carousel-item v-for="(item, index) in imglist" :key="index">
<el-image :src="item.path" fit="contain"></el-image>
</el-carousel-item>
@ -32,17 +38,15 @@ export default {
channelId: val.channelId,
termId: val.termId,
pageindex: this.page,
pagesize: this.pageSize
})
.then((res) => {
pagesize: this.pageSize,
}).then((res) => {
this.imglist = res.data.list;
this.total = res.data.total;
})
});
},
//
changebtn(e) {
console.log(e)
console.log(e);
},
display() {
this.isShow = true;
@ -57,5 +61,4 @@ export default {
.imgnr {
height: 600px;
}
</style>

Loading…
Cancel
Save