This commit is contained in:
2024-06-24 17:36:32 +08:00
parent 6cc4a65a3a
commit d9991596d7
12 changed files with 6245 additions and 1578 deletions

View File

@@ -10,7 +10,7 @@
<view
v-for="(v, i) in dataList"
:class="`video_item ${currentVideo.id == v.id ? 'hot' : ''}`"
:class="`video_item ${currentVideo&&currentVideo.id == v.id ? 'hot' : ''}`"
@click="handleClick(v,i)"
>
@@ -203,9 +203,9 @@ export default {
margin-right: 10rpx;
margin-bottom: 20rpx;
float: left;
border: 2rpx solid #018f89;
border: 2rpx solid #2979ff;
background: #fff;
color: #018f89;
color: #2979ff;
text-align: center;
border-radius: 10rpx;
box-shadow: 0px 0px 6rpx 0px rgba(255, 255, 255, 1);
@@ -216,7 +216,7 @@ export default {
}
}
.hot {
background-color: #018f89 !important;
background-color: #2979ff !important;
color: #fff !important;
}
</style>