Commit 7092084b authored by zhengke's avatar zhengke

修改页面样式

parent 27fc6bfe
<style>
.mimipage .el-tabs__header{
padding: 0 20px;
height: 56px;
line-height: 56px;
background-color: #fff;
margin-bottom:15px;
}
.mimipage .panelDiv{
display: flex;
flex-wrap: wrap;
}
.mimipage .panel_item{
background-color: #fff;
width: 33%;
min-height: 185px;
margin-bottom: 10px;
position: relative;
padding: 20px;
margin-right: 0.33%;
}
.mimipage .panel_name{
background-color: #F4F4F5;
color: #909399;
width: auto;
display: inline-block;
padding: 0 10px;
height: 32px;
line-height: 32px;
text-align: center;
font-size: 12px;
border-radius: 3px;
border: 1px solid #E0E0E3;
margin-bottom: 5px;
}
.mimipage .el-form-item{
margin-bottom:0;
}
</style>
<template> <template>
<div class="mimipage"> <div class="mimipage">
<el-tabs v-model="activeName" @tab-click="handleClick"> <el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane v-for="(item,index) in dataList" :label="item.PageTypeName" :name="item.PageTypeId+''" :key="index"> <el-tab-pane v-for="(item,index) in dataList" :label="item.PageTypeName" :name="item.PageTypeId+''" :key="index">
<template v-for="(subItem,subIndex) in item.SubMenuList"> <div class="panelDiv">
<div :key="subIndex"> <div class="panel_item" v-for="(subItem,subIndex) in item.SubMenuList" :key="subIndex">
<span v-if="subItem.SelfPageName">{{subItem.SelfPageName}}</span> <div class="panel_name">
<span v-else>{{subItem.PageName}} </span> <span v-if="subItem.SelfPageName">{{subItem.SelfPageName}}</span>
{{subItem.PageUrl}} <br /> <span v-else>{{subItem.PageName}} </span>
<span v-if="subItem.IsParameter==1"> </div>
<el-input v-model="subItem.ParameterValue"></el-input> <el-form label-width="50px">
</span> <el-form-item label="路径">
</div> <span>{{subItem.PageUrl}}</span>
</template> </el-form-item>
<el-form-item label="参数1" v-if="subItem.IsParameter==1">
<el-input size="small" v-model="subItem.ParameterValue"></el-input>
</el-form-item>
</el-form>
</div>
</div>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
...@@ -46,51 +91,4 @@ ...@@ -46,51 +91,4 @@
this.getList(); this.getList();
} }
}; };
</script> </script>
<style>
.navNavIconImg {
width: 80px;
height: 80px;
}
.navNavIconImg NavIconImg {
width: 100%;
height: 100%;
}
.mimipage .blue {
color: #409EFF;
}
.mimipage .content .searchInput {
border: 1px solid #DCDFE6;
border-radius: 4px;
}
.mimipage .content .searchInput .el-input__inner {
border: none;
outline: none;
height: 30px;
line-height: 30px;
}
.mimipage .content .searchInput {
line-height: normal;
display: inline-table;
width: 100%;
border-collapse: separate;
border-spacing: 0;
width: 250px;
margin-right: 20px;
}
.mimipage .content {
background: #fff;
margin-top: 10px;
padding: 20px;
box-sizing: border-box;
}
</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