This commit is contained in:
yanran200730
2022-09-30 10:02:31 +08:00
parent 368ec56181
commit 5ed1532762
2 changed files with 15 additions and 55 deletions

View File

@@ -693,7 +693,7 @@ export default {
position: absolute; position: absolute;
top: 58px; top: 58px;
right: 10px; right: 10px;
width: 320px; width: 400px;
height: calc(100% - 117px); height: calc(100% - 117px);
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
@@ -728,7 +728,7 @@ export default {
} }
.community-info__header { .community-info__header {
min-height: 92px; margin: 0 20px;
padding: 12px; padding: 12px;
// background: #2266FF; // background: #2266FF;
// background-image: linear-gradient(270deg, #0B9EFF 0%, #0251E3 100%); // background-image: linear-gradient(270deg, #0B9EFF 0%, #0251E3 100%);
@@ -758,47 +758,6 @@ export default {
} }
} }
.community-info__table {
margin: 4px 0;
font-size: 0;
.community-info__table--item {
display: inline-block;
width: 25%;
font-size: 12px;
color: #333;
span {
display: block;
width: 80px;
height: 48px;
padding: 8px 10px;
text-align: center;
box-sizing: border-box;
background: #fff;
border-bottom: 1px solid #DEE6F3;
border-right: 1px solid #DEE6F3;
}
h2 {
width: 80px;
height: 40px;
line-height: 40px;
font-size: 12px;
text-align: center;
font-weight: normal;
box-sizing: border-box;
background: #F3F6F9;
border-bottom: 1px solid #DEE6F3;
border-right: 1px solid #DEE6F3;
}
&:last-child {
border-right: none;
}
}
}
.community-info__wrapper { .community-info__wrapper {
h2 { h2 {
height: 36px; height: 36px;
@@ -807,20 +766,21 @@ export default {
padding: 0 12px; padding: 0 12px;
font-size: 12px; font-size: 12px;
font-weight: 900; font-weight: 900;
background: #F3F6F9; // background: #F3F6F9;
} }
.community-info__item { .community-info__item {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: 10px 12px; margin: 0 20px;
font-size: 12px; padding: 12px 12px;
color: #333; font-size: 14px;
background: #fff; color: #fff;
background: rgba(63, 136, 255, 0.15);
&:nth-of-type(2n) { &:nth-of-type(2n) {
background: #F3F6F9; background: transparent;
} }
span { span {
@@ -830,7 +790,7 @@ export default {
label { label {
flex-shrink: 1; flex-shrink: 1;
color: #333; color: #82C5FF;
} }
} }

View File

@@ -78,11 +78,11 @@
areaList: [], areaList: [],
total: 10, total: 10,
colConfigs: [ colConfigs: [
{ prop: 'province', label: '省', align: 'left', width: '200px' }, { prop: 'province', label: '省', align: 'left', width: '200px' },
{ prop: 'city', label: '市', align: 'center' }, { prop: 'city', label: '市', align: 'center' },
{ prop: 'district', label: '区', align: 'center' }, { prop: 'district', label: '区', align: 'center' },
{ prop: 'town', label: '镇', align: 'center' }, { prop: 'town', label: '镇', align: 'center' },
{ prop: 'village', label: '村', align: 'center' }, { prop: 'village', label: '村', align: 'center' },
{ prop: 'address', label: '详细地址', align: 'center' }, { prop: 'address', label: '详细地址', align: 'center' },
{ prop: 'level', label: '等级', align: 'center', formart: v => this.dict.getLabel('epidemicDangerousAreaLevel', v) }, { prop: 'level', label: '等级', align: 'center', formart: v => this.dict.getLabel('epidemicDangerousAreaLevel', v) },
{ prop: 'createTime', label: '设置时间', align: 'center' }, { prop: 'createTime', label: '设置时间', align: 'center' },