| | |
| | | <template> |
| | | <div class="myModal"> |
| | | <a-modal v-model="visible" title="视频盒子" :width="myWidth" :footer="null" :mask="false" :maskClosable="true" |
| | | :bodyStyle="{'overflow':'overlay','height': '700px'}" :afterClose="afterClose"> |
| | | <a-modal v-drag-modal v-model="visible" title="视频盒子" :width="myWidth" :footer="null" :mask="false" |
| | | :maskClosable="true" :bodyStyle="{'overflow':'overlay','height': '700px'}" :afterClose="afterClose"> |
| | | <videoDetail ref="videoDetail" :showFade="showFade"></videoDetail> |
| | | </a-modal> |
| | | </div> |
| | |
| | | afterClose() { |
| | | //关闭视频播放 |
| | | this.$refs.videoDetail.$refs.videoPlayBox.pauseMyVideo() |
| | | |
| | | |
| | | this.$emit("closeMyVideo") |
| | | } |
| | | }, |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | |
| | | |
| | | |
| | | |
| | | <style lang="less"> |
| | | |
| | | </style> |