| | |
| | | <AplayerBox /> |
| | | <tagFooter /> |
| | | <MyVideo ref="MyVideo" /> |
| | | <a-button v-if="miniVideoPlayData!=null" class="fadeInRight" |
| | | style="position: fixed;right: 0px;bottom: 120px;" @click="showMyVideo(miniVideoPlayData)"> |
| | | 视频盒子 |
| | | <a-icon type="youtube" /> |
| | | </a-button> |
| | | </a-layout-footer> |
| | | |
| | | <a-back-top> |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | |
| | | miniVideoPlayData: null, |
| | | showMiniBox: false |
| | | } |
| | | }, |
| | | methods: { |
| | | showMyVideo(param) { |
| | | this.miniVideoPlayData = param; |
| | | console.log("开启mini盒子"); |
| | | |
| | | |
| | | this.$refs.MyVideo.showModal(param); |
| | | if (!this.showMiniBox) { |
| | | this.$notification.info({ |
| | | message: '这里是盒子的最小化啦..', |
| | | placement: 'bottomRight', |
| | | }); |
| | | this.showMiniBox = true; |
| | | } |
| | | }, |
| | | // 下载文件 |
| | | down: function() { |