居民需求
This commit is contained in:
@@ -76,88 +76,11 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
uni-page-body {
|
||||
height: 100%;
|
||||
}
|
||||
.AppResidentFile {
|
||||
height: 100%;
|
||||
|
||||
.currentTabBar0 {
|
||||
padding-bottom: 98px;
|
||||
.peopleGroup,
|
||||
.people {
|
||||
.topcard {
|
||||
position: relative;
|
||||
background: url(http://respub.sinoecare.net/20211221/4-20211221095551.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
height: 320px;
|
||||
.cards {
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
bottom: -35px;
|
||||
width: 92%;
|
||||
box-sizing: border-box;
|
||||
margin: 0 32px;
|
||||
height: 232px;
|
||||
background: #ffffff;
|
||||
border-radius: 8px;
|
||||
z-index: 999;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
.items {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
span {
|
||||
font-size: 30px;
|
||||
font-weight: 500;
|
||||
color: #999999;
|
||||
}
|
||||
.items1 {
|
||||
font-size: 40px;
|
||||
font-weight: bold;
|
||||
color: #354fc7;
|
||||
}
|
||||
.items2 {
|
||||
font-size: 40px;
|
||||
font-weight: bold;
|
||||
color: #868686;
|
||||
}
|
||||
.items3 {
|
||||
font-size: 40px;
|
||||
font-weight: bold;
|
||||
color: #5fba95;
|
||||
}
|
||||
.items4 {
|
||||
font-size: 40px;
|
||||
font-weight: bold;
|
||||
color: #f09535;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.echartes {
|
||||
margin-top: 64px;
|
||||
padding-bottom: 20px;
|
||||
height: 616px;
|
||||
background: #fff;
|
||||
box-sizing: border-box;
|
||||
|
||||
.echartss {
|
||||
margin: 0 32px;
|
||||
height: 100%;
|
||||
padding-top: 16px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.currentTabBar1 {
|
||||
height: 100%;
|
||||
padding-bottom: 98px;
|
||||
background: #fff;
|
||||
::v-deep .AiTopFixed {
|
||||
b.title {
|
||||
@@ -174,7 +97,7 @@ uni-page-body {
|
||||
|
||||
::v-deep .mainPane {
|
||||
background: #fff;
|
||||
padding: 0 32px 88px;
|
||||
padding: 0 32px 0;
|
||||
|
||||
.AiCell {
|
||||
flex-shrink: 0;
|
||||
@@ -232,110 +155,6 @@ uni-page-body {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.currentTabBar2 {
|
||||
padding-bottom: 98px;
|
||||
::v-deep .AiTopFixed {
|
||||
b.title {
|
||||
color: #333;
|
||||
font-size: 32px;
|
||||
|
||||
& > i {
|
||||
color: #267fce;
|
||||
font-style: normal;
|
||||
margin: 0 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
::v-deep .mainPane {
|
||||
background: #fff;
|
||||
padding: 0 32px;
|
||||
|
||||
.AiCell {
|
||||
align-items: center;
|
||||
height: 230px;
|
||||
justify-content: flex-start;
|
||||
|
||||
.content {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
height: 100%;
|
||||
max-width: unset;
|
||||
border-bottom: 1px solid rgba(221, 221, 221, 1);
|
||||
}
|
||||
}
|
||||
|
||||
.card {
|
||||
height: 100%;
|
||||
justify-content: center;
|
||||
|
||||
b {
|
||||
font-size: 36px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.tag {
|
||||
justify-content: center;
|
||||
background: #f3f4f7;
|
||||
border-radius: 4px;
|
||||
padding: 0 16px;
|
||||
font-size: 28px;
|
||||
font-weight: 400;
|
||||
color: #333;
|
||||
margin-left: 16px;
|
||||
height: 56px;
|
||||
}
|
||||
|
||||
.groupName {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.owner,
|
||||
.trends {
|
||||
margin-top: 8px;
|
||||
font-size: 28px;
|
||||
font-weight: 400;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.personCount {
|
||||
flex-shrink: 0;
|
||||
font-size: 30px;
|
||||
font-weight: 400;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.trends {
|
||||
* + * {
|
||||
margin-left: 24px;
|
||||
}
|
||||
|
||||
em {
|
||||
font-style: normal;
|
||||
color: #5fba95;
|
||||
}
|
||||
|
||||
p {
|
||||
color: #f09535;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.AiImage {
|
||||
margin-right: 24px;
|
||||
|
||||
image {
|
||||
width: 112px;
|
||||
height: 112px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tabs {
|
||||
width: 100%;
|
||||
height: 98px;
|
||||
|
||||
@@ -25,7 +25,10 @@
|
||||
<div class="card">
|
||||
<AiCell title label="联络信息" />
|
||||
<AiCell label="联系方式">{{ resident.phone }}</AiCell>
|
||||
<AiCell label="现住址">{{ resident.currentAreaName + resident.currentAddress }}</AiCell>
|
||||
<AiCell label="现住址">{{ resident.currentAreaName }}
|
||||
<span v-if="resident.currentAddressGroup">{{resident.currentAddressGroup}}组</span>
|
||||
<span v-if="resident.currentAddressNo">{{resident.currentAddressNo}}户</span>
|
||||
</AiCell>
|
||||
</div>
|
||||
<div class="card">
|
||||
<AiCell title label="家庭信息" />
|
||||
@@ -73,7 +76,7 @@ export default {
|
||||
return obj
|
||||
},
|
||||
family() {
|
||||
return this.top.detail?.residentInfo?.family?.map((e) => ({ ...e, householdRelation: e.householdRelation || '户主' }))
|
||||
return this.top.detail?.residentInfo?.family?.map((e) => ({ ...e, householdRelation: e.householdRelation || '户主', idNumber : e.idNumber?.replace(/(\d{10}).+/g, '$1******')}))
|
||||
},
|
||||
},
|
||||
data() {
|
||||
|
||||
@@ -15,8 +15,6 @@
|
||||
<AiCell class="half" top-label label="添加时间">{{ top.detail.createTime }}</AiCell>
|
||||
<AiCell class="half" top-label label="真实姓名">{{ top.detail.realName }}</AiCell>
|
||||
<AiCell class="half" top-label label="手机号码">{{ resident.phone || '-' }}</AiCell>
|
||||
<AiCell class="half" top-label label="家庭积分">{{ resident.familyIntegral }}</AiCell>
|
||||
<AiCell class="half" top-label label="个人积分">{{ resident.personalIntegral }}</AiCell>
|
||||
</u-row>
|
||||
</div>
|
||||
<div class="card">
|
||||
|
||||
Reference in New Issue
Block a user