| | |
| | | <template> |
| | | <div class="myModal"> |
| | | <a-modal v-model="visible" title="视频盒子" :width="myWidth" :footer="null" :mask="false" :maskClosable="true" |
| | | :bodyStyle="{'overflow':'overlay','height': '750px'}" :afterClose="afterClose" > |
| | | :bodyStyle="{'overflow':'overlay','height': '700px'}" :afterClose="afterClose"> |
| | | <videoDetail ref="videoDetail" :showFade="showFade"></videoDetail> |
| | | </a-modal> |
| | | </div> |
| | |
| | | } |
| | | }, |
| | | showModal(param) { |
| | | if (this.$route.path == "/videoDetail") { |
| | | this.$message.info("已经在播放页面啦..") |
| | | return |
| | | } |
| | | this.visible = true; |
| | | this.$nextTick(function() { |
| | | this.$refs.videoDetail.showVideo(param) |