提交 4c308fce authored 作者: lihuihui's avatar lihuihui

update

上级 9ed4007c
......@@ -57,7 +57,7 @@ const changeVideo = (index: number) => {
:key="item.id"
@click="changeVideo(index)"
>
<div :class="item.id === props.data.currentId ? 'border active' : 'border'"></div>
<div :class="index === videoIndex ? 'border active' : 'border'"></div>
</div>
</div>
</div>
......@@ -71,6 +71,7 @@ const changeVideo = (index: number) => {
height: 100px;
background-size: cover;
margin-right: 20px;
margin-top: 20px;
cursor: pointer;
.border {
width: 100%;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论