Commit 01eae88e authored by renjintao's avatar renjintao

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

parents 1750ea77 ccb72c08
...@@ -23,8 +23,7 @@ ...@@ -23,8 +23,7 @@
</tr> </tr>
<tr v-for="(item,i) in filterSider"> <tr v-for="(item,i) in filterSider">
<td class="t_title"> <td class="t_title">
<b class="title" <b class="title">{{item.title}}</b>
>{{item.title}}</b>
</td> </td>
<td> <td>
<ul class="table_row_ul"> <ul class="table_row_ul">
...@@ -35,7 +34,6 @@ ...@@ -35,7 +34,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</div> </div>
</span> </span>
</a> </a>
...@@ -52,7 +50,7 @@ ...@@ -52,7 +50,7 @@
<i-header-notice v-if="showNotice" /> <i-header-notice v-if="showNotice" />
<i-header-user /> <i-header-user />
<!-- <i-header-i18n v-if="showI18n" /> <!-- <i-header-i18n v-if="showI18n" />
<i-header-setting v-if="enableSetting && !isMobile" /> --> <i-header-setting v-if="enableSetting && !isMobile" />-->
</div> </div>
</Header> </Header>
<Content class="i-layout-content"> <Content class="i-layout-content">
...@@ -107,7 +105,7 @@ export default { ...@@ -107,7 +105,7 @@ export default {
}, },
data() { data() {
return { return {
isActive:0, isActive: 0,
showDrawer: false, showDrawer: false,
ticking: false, ticking: false,
headerVisible: true, headerVisible: true,
...@@ -288,14 +286,14 @@ export default { ...@@ -288,14 +286,14 @@ export default {
}); });
}, },
goPage(u) { goPage(u) {
this.$router.push(u.path) this.$router.push(u.path);
this.isActive = u.id this.isActive = u.id;
}, },
goIndex(){ goIndex() {
this.$router.push("/") this.$router.push("/");
}, },
goIndexTwo(){ goIndexTwo() {
this.$router.push("/home") this.$router.push("/home");
} }
}, },
mounted() { mounted() {
...@@ -312,6 +310,9 @@ export default { ...@@ -312,6 +310,9 @@ export default {
<style lang="less"> <style lang="less">
.product-layout { .product-layout {
.i-layout-content {
padding: 5px 10px;
}
.ivu-layout-header { .ivu-layout-header {
height: 50px; height: 50px;
line-height: 50px; line-height: 50px;
...@@ -335,7 +336,8 @@ export default { ...@@ -335,7 +336,8 @@ export default {
-webkit-transition: width 0.5s, height 0.5s, -webkit-transform 0.5s; /* Safari */ -webkit-transition: width 0.5s, height 0.5s, -webkit-transform 0.5s; /* Safari */
transition: width 0.5s, height 0.5s, transform 0.5s; transition: width 0.5s, height 0.5s, transform 0.5s;
i { i {
-webkit-transition: font-size 0.5s, margin 0.5s, -webkit-transform 0.5s; /* Safari */ -webkit-transition: font-size 0.5s, margin 0.5s,
-webkit-transform 0.5s; /* Safari */
transition: font-size 0.5s, margin 0.5s, transform 0.5s; transition: font-size 0.5s, margin 0.5s, transform 0.5s;
} }
} }
...@@ -348,10 +350,10 @@ export default { ...@@ -348,10 +350,10 @@ export default {
top: 57%; top: 57%;
min-width: 1084px; min-width: 1084px;
min-height: 300px; min-height: 300px;
box-shadow: 0px 5px 17px 5px rgba(0,0,0,0.28); box-shadow: 0px 5px 17px 5px rgba(0, 0, 0, 0.28);
background: #f5f6fa; background: #f5f6fa;
.t_table_box{ .t_table_box {
border-collapse:collapse; border-collapse: collapse;
border-radius: 5px; border-radius: 5px;
tr:first-of-type { tr:first-of-type {
border-top-right-radius: 5px; border-top-right-radius: 5px;
...@@ -365,15 +367,15 @@ export default { ...@@ -365,15 +367,15 @@ export default {
border-bottom-left-radius: 5px; border-bottom-left-radius: 5px;
} }
} }
tr{ tr {
// line-height: 35px; // line-height: 35px;
td{ td {
padding: 9px 10px 0px; padding: 9px 10px 0px;
.table_row_ul{ .table_row_ul {
list-style: none; list-style: none;
border-bottom: 1px solid #E0E0E0; border-bottom: 1px solid #e0e0e0;
text-align: left; text-align: left;
li{ li {
list-style: none; list-style: none;
display: inline-block; display: inline-block;
a { a {
...@@ -383,15 +385,15 @@ export default { ...@@ -383,15 +385,15 @@ export default {
margin: 0px 6px; margin: 0px 6px;
border-radius: 4px; border-radius: 4px;
} }
a:hover{ a:hover {
background: #2680eb; background: #2680eb;
color: white; color: white;
} }
a:visited{ a:visited {
background: #2680eb; background: #2680eb;
color: white; color: white;
} }
a.active{ a.active {
background: #2680eb; background: #2680eb;
color: white; color: white;
} }
...@@ -399,13 +401,13 @@ export default { ...@@ -399,13 +401,13 @@ export default {
} }
} }
} }
.t_title{ .t_title {
min-width: 120px; min-width: 120px;
background: #515a6e; background: #515a6e;
.a_goIndex{ .a_goIndex {
color: #fff; color: #fff;
} }
.title{ .title {
padding: 5px 10px; padding: 5px 10px;
} }
} }
......
<template> <template>
<Layout class="quotation"> <Layout class="quotation">
<!-- 左侧树 --> <!-- 左侧树 -->
<Sider hide-trigger :style="{background: '#fff',marginRight:'10px'}" width="260"> <Sider hide-trigger :style="{background: '#fff'}" width="260">
<Tree-Type @func="getMsgFormSon" :style="{ height: treeHeight + 'px' }"></Tree-Type> <Tree-Type @func="getMsgFormSon" :style="{ height: treeHeight + 'px' }"></Tree-Type>
</Sider> </Sider>
<!-- 右侧内容 --> <!-- 右侧内容 -->
...@@ -814,19 +814,5 @@ export default { ...@@ -814,19 +814,5 @@ export default {
} }
}; };
</script> </script>
<style lang="less" scoped>
.quotation {
margin-right: 10px;
.zh-tree {
margin-left: 15px;
height: inherit !important;
}
}
.table {
margin-top: 15px;
}
.seach {
margin-top: 15px;
}
</style>
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