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

update

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