提交 6e20ac9d 编写于 作者: DCloud_JSON's avatar DCloud_JSON

Update swiper-vertical-video.uvue

上级 4088572f
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
doStop(index : number) { doStop(index : number) {
(this.$refs["video"] as VideoNode[])[index].stop() (this.$refs["video"] as VideoNode[])[index].stop()
console.log("doPause video-" + index); console.log("doPause video-" + index);
// TODO 临时方案:解决.stop()时触发了doPause的问题 // TODO 临时方案:解决.stop()时触发了doPause的问题
setTimeout(()=>{ setTimeout(()=>{
this.state[index] = 'unPlay' this.state[index] = 'unPlay'
...@@ -191,7 +191,7 @@ ...@@ -191,7 +191,7 @@
width: 750rpx; width: 750rpx;
flex: 1; flex: 1;
} }
.swiper, .swiper,
.swiper-item, .swiper-item,
.video-box, .video-box,
...@@ -215,7 +215,7 @@ ...@@ -215,7 +215,7 @@
align-items: center; align-items: center;
align-content: center; align-content: center;
} }
.play-btn { .play-btn {
width: 80rpx; width: 80rpx;
height: 80rpx; height: 80rpx;
...@@ -244,22 +244,22 @@ ...@@ -244,22 +244,22 @@
color:red; color:red;
padding: 15px; padding: 15px;
} }
.nav-back { .nav-back {
position: absolute; position: absolute;
top: 20px; top: 20px;
left: 8px; left: 8px;
background-color: rgba(220, 220, 220, 0.8); background-color: rgba(220, 220, 220, 0.8);
border-radius: 100px; border-radius: 100px;
width: 24px; width: 28px;
height: 24px; height: 28px;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
z-index: 10; z-index: 10;
} }
.nav-back .back-img { .nav-back .back-img {
width: 14px; width: 18px;
height: 14px; height: 18px;
} }
</style> </style>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册