From ae92fcf4f065649262a93ff56dd55b3bcd81643f Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期六, 26 八月 2023 15:43:48 +0800 Subject: [PATCH] modified: src/views/experiment/checkTheReport/index.vue modified: src/views/standardLibrary/index.vue --- src/layout/index.vue | 30 ++++++++++++++++++++++++++++-- 1 files changed, 28 insertions(+), 2 deletions(-) diff --git a/src/layout/index.vue b/src/layout/index.vue index f8ca9cf..37ab14d 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -8,8 +8,12 @@ </div> <div class="clearFixed" /> <!-- 娓呴櫎瀹氫綅鐨勫奖鍝� --> - <Breadcrumb class="breadcrumb-container" /> - <app-main /> + <div class="breadcrumb"> + <Breadcrumb class="breadcrumb-container" ref="breadcrumb" /> + </div> + <div class="app-main"> + <app-main ref="main" @triggerCombackBtn="triggerCombackBtn"/> + </div> </div> </div> </template> @@ -50,6 +54,18 @@ methods: { handleClickOutside() { this.$store.dispatch('app/closeSideBar', { withoutAnimation: false }) + }, + combackPlan(){ + this.$refs.main.childMethod() + }, + indexAdd(){ + this.$refs.main.mainAdd() + }, + showIndexAdd(){ + this.$refs.breadcrumb.showadd() + }, + triggerCombackBtn(){ + this.$refs.breadcrumb.triggerBtnPlan() } } } @@ -72,10 +88,20 @@ box-shadow: 0 0 0.857143rem rgba(0,0,0,.12); } .main-container{ + position: relative; background: #f0f2f5; .clearFixed{ height: 50px; } + .breadcrumb{ + position: fixed; + left: 0.57rem !important; + width: 93.8%; + z-index: 999; + } + .app-main{ + margin-top: 4vh; + } } } .drawer-bg { -- Gitblit v1.9.3