From 85d35dcc5899e54128e63a11ad8da2fec6e9394f Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期六, 26 八月 2023 15:43:56 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.110.209:9001/r/lims-before
---
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