Commit 8c0b5609e73eb3b5ec0ae7303f5678584b9d65ce
Merge branch 'fix/video-control-scale' into 'main_dev'
fix: 修复视频云台控制全屏时的点击全屏按钮时没有进行放大 See merge request yunteng/thingskit-front!1206
Showing
2 changed files
with
7 additions
and
2 deletions
| ... | ... | @@ -102,7 +102,7 @@ |
| 102 | 102 | </script> |
| 103 | 103 | |
| 104 | 104 | <template> |
| 105 | - <div :class="prefixCls" class="w-full h-full" :style="getWidthHeight"> | |
| 105 | + <div :class="prefixCls" class="!w-full h-full" :style="getWidthHeight" style="min-height: 100%"> | |
| 106 | 106 | <video |
| 107 | 107 | ref="videoPlayEl" |
| 108 | 108 | class="video-js vjs-big-play-centered vjs-show-big-play-button-on-pause !w-full !h-full" | ... | ... |
| ... | ... | @@ -146,7 +146,12 @@ |
| 146 | 146 | </script> |
| 147 | 147 | |
| 148 | 148 | <template> |
| 149 | - <div :class="prefixCls" class="!w-full h-full flex" :style="getWidthHeight"> | |
| 149 | + <div | |
| 150 | + :class="prefixCls" | |
| 151 | + class="!w-full h-full flex" | |
| 152 | + :style="getWidthHeight" | |
| 153 | + style="min-height: 100%" | |
| 154 | + > | |
| 150 | 155 | <video |
| 151 | 156 | ref="videoPlayEl" |
| 152 | 157 | class="video-js vjs-big-play-centered vjs-show-big-play-button-on-pause !w-8/10 !h-full" | ... | ... |