inleft
2022-08-11 af029bdfb645bd2b75fbab687c1a5f45b428d801
src/components/layouts/baseLayout.vue
@@ -5,11 +5,19 @@
         <tag-Header />
      </a-layout-header>
      <router-view></router-view>
      <keep-alive>
         <router-view @showMyVideo="showMyVideo"></router-view>
      </keep-alive>
      <a-layout-footer>
         <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>
@@ -23,19 +31,35 @@
   import tagHeader from "../fixed/header.vue"
   import tagFooter from "../fixed/footer.vue"
   import AplayerBox from "../mini/Aplayer.vue"
   import MyVideo from "../group/MyVideo.vue"
   export default {
      components: {
         tagHeader,
         tagFooter,
         AplayerBox,
         MyVideo,
      },
      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() {
            console.log(111);