@@ -153,9 +155,11 @@ export default {
const { data: { message, data } } = await videoList()
if (message === 'success') {
for (const iter of data.list) {
+ console.log(iter)
this.carvideoList.push({
title: iter.title,
- img: iter.image
+ img: iter.image,
+ video: iter.link
})
}
}
@@ -376,15 +380,23 @@ export default {
}
:deep .el-carousel__indicators--outside, .el-carousel__indicators--horizontal {
display: none;
+ }
+ .el-carousel__mask {
+ background-color: #00000000 !important;
}
.el-carousel__item {
display: flex;
flex-direction: column;
// justify-content: center;
align-items: center;
- img {
- width: 800px;
- height: 80%;
+ .carvideo {
+ width: 700px;
+ height: 70%;
+ border-radius: 20px;
+ video {
+ width: 100%;
+ height: 100%;
+ }
}
a {
font-size: 24px;