Skip to content

Commit e42f3e9

Browse files
committed
fix: 全屏视频滑动适配微信小程序
1 parent 97f5ff4 commit e42f3e9

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎pages/template/swiper-vertical/swiper-vertical.nvue‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,14 @@
144144
</script>
145145

146146
<style>
147+
/* #ifndef APP-PLUS */
148+
page {
149+
width: 100%;
150+
min-height: 100%;
151+
display: flex;
152+
}
153+
/* #endif */
154+
147155
.page {
148156
flex: 1;
149157
width: 750upx;
@@ -160,5 +168,6 @@
160168

161169
.video {
162170
flex: 1;
171+
width: 100%;
163172
}
164173
</style>

0 commit comments

Comments
 (0)