From c3aa826406d52957d6f98d0ecd4b77413d5ce908 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Mon, 29 Aug 2022 18:23:08 +0800 Subject: [PATCH] 统计模块异步加载 --- src/components/swichLabel/main2-music-search.vue | 35 +++++++++++++++++++---------------- 1 files changed, 19 insertions(+), 16 deletions(-) diff --git a/src/components/swichLabel/main2-music-search.vue b/src/components/swichLabel/main2-music-search.vue index 388e146..52c2777 100644 --- a/src/components/swichLabel/main2-music-search.vue +++ b/src/components/swichLabel/main2-music-search.vue @@ -2,12 +2,15 @@ <div class="blog-main"> <a-row> <a-col v-bind="colApiLeft"> - <box7 :searchType="searchType" class="fade"></box7> + <box7 :searchType="searchType" class="fade" > </box7> </a-col> <a-col v-bind="colApiMain" class="holdHeight"> <!-- <box8></box8> --> <!-- <boxLeft></boxLeft> --> - <myVideo></myVideo> + <!-- <myVideo v-on="$listeners"></myVideo> --> + <keep-alive> + <router-view v-on="$listeners"></router-view> + </keep-alive> </a-col> </a-row> @@ -19,7 +22,7 @@ import box8 from "../mini/box8-panal.vue" import myVideo from "../mini/box14-video.vue" import boxLeft from "../group/boxLeft.vue" - + export default { components: { box7, @@ -30,12 +33,12 @@ data() { return { - searchType: "乐谱搜索", + searchType: "月台搜索", colApiLeft: { xs: 24, sm: { - span: 10, - offset: 1, + span: 14, + offset: 5, }, md: { span: 14, @@ -57,28 +60,28 @@ colApiMain: { xs: { - span: 23, + span: 22, offset: 1, }, sm: { span: 22, - offset: 2, + offset: 1, }, md: { - span: 19, - offset: 5, + span: 22, + offset: 1, }, lg: { span: 22, - offset: 2, + offset: 1, }, xl: { - span: 15, - offset: 2, + span: 16, + offset: 1, }, xxl: { - span: 15, - offset: 2, + span: 16, + offset: 1, }, } } @@ -86,5 +89,5 @@ } </script> -<style > +<style> </style> -- Gitblit v1.9.1