Commit a46310da authored by renjintao's avatar renjintao

Merge branch 'product' of git.mes123.com:zhouyx/mes-ui into product

parents 3862d11c a066d392
...@@ -9,7 +9,9 @@ ...@@ -9,7 +9,9 @@
<ul class="top_menu"> <ul class="top_menu">
<li v-for="(item,i) in filterSider"> <li v-for="(item,i) in filterSider">
<ul class="row_ul"> <ul class="row_ul">
<li class="title">{{item.title}}</li> <b :class="item.children.length<6 ? 'title' : item.children.length<11 ? 'title02': item.children.length>11 ? 'title03' : '' " >{{item.title}}</b>
<!-- <b class="title02" >{{item.title}}</b> -->
<!-- <li class="title">{{item.title}}</li> -->
<li v-for="(li,j) in item.children"> <li v-for="(li,j) in item.children">
<a >{{li.title}}</a> <a >{{li.title}}</a>
</li> </li>
...@@ -280,9 +282,7 @@ export default { ...@@ -280,9 +282,7 @@ export default {
}; };
</script> </script>
<style lang="less"> <style lang="less">
.i-layout-header-trigger:hover {
background: #343b4a!important;
}
.product-layout { .product-layout {
.ivu-layout-header { .ivu-layout-header {
height: 50px; height: 50px;
...@@ -334,8 +334,11 @@ export default { ...@@ -334,8 +334,11 @@ export default {
list-style: none; list-style: none;
text-align: left; text-align: left;
li:first-of-type{ li:first-of-type{
border-top-left-radius: 5px;
border-top-right-radius: 5px;
ul:first-of-type{ ul:first-of-type{
li:first-of-type{ border-top-right-radius: 5px;
b:first-of-type{
border-top-left-radius: 5px; border-top-left-radius: 5px;
} }
} }
...@@ -374,10 +377,26 @@ export default { ...@@ -374,10 +377,26 @@ export default {
width: 104px; width: 104px;
color: white; color: white;
text-align: center; text-align: center;
font-weight: bold; margin: 0 10px 0 0;
} }
.title:hover{ .title:hover{
color: #ddd; color: #ddd;
}
.title02{
background: #515a6e;
width: 104px;
color: white;
text-align: center;
float: left;
margin: 0 10px 10px 0;
}
.title03{
background: #515a6e;
width: 104px;
color: white;
text-align: center;
float: left;
margin: 0 10px 70px 0;
} }
} }
} }
...@@ -410,6 +429,10 @@ export default { ...@@ -410,6 +429,10 @@ export default {
color: white; color: white;
height: 50px; height: 50px;
line-height: 50px; line-height: 50px;
// background: #343b4a!important;
}
.i-layout-header-trigger:hover {
background: #343b4a;
} }
.ivu-tooltip { .ivu-tooltip {
color: white; color: white;
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
</template> </template>
<script> <script>
import MainLayout from "./basic-layout"; import MainLayout from "./basic-layout";
// import MainLayout from "./basic-layout/product";
// 配置 // 配置
import Setting from "@/setting"; import Setting from "@/setting";
// 方法 // 方法
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment