diff --git a/src/saas/AppResidentDocument/DetailPeople.vue b/src/saas/AppResidentDocument/DetailPeople.vue index 98e5c3c2..c54325f6 100644 --- a/src/saas/AppResidentDocument/DetailPeople.vue +++ b/src/saas/AppResidentDocument/DetailPeople.vue @@ -1,11 +1,11 @@ @@ -116,6 +139,29 @@ export default { return { id: '', data: [], + tabList: [ + { + icon: require('./components/img/icon1n@2x.png'), + activeIcon: require('./components/img/icon1h@2x.png'), + name: '基本信息', + }, + { + icon: require('./components/img/tsrq@2x.png'), + activeIcon: require('./components/img/tsrq备份@2x.png'), + name: '残疾人员', + }, + { + icon: require('./components/img/tsrq@2x.png'), + activeIcon: require('./components/img/tsrq备份@2x.png'), + name: '精神病人', + }, + { + icon: require('./components/img/tsrq@2x.png'), + activeIcon: require('./components/img/tsrq备份@2x.png'), + name: '吸毒人员', + }, + ], + tabIndex: 0, } }, computed: {}, @@ -134,9 +180,6 @@ export default { this.$http.post(`/app/appresident/detail?id=${this.id}`).then((res) => { if (res.code == 0) { this.data = res.data - // this.$nextTick(() => { - // this.currentAreaName = res.data.resident.currentAreaName - // }) } }) }, @@ -151,6 +194,38 @@ export default { .DetailPeople { height: 100%; background: #fff; + .tab-list{ + height: 100%; + padding: 32px 0; + .tab-item{ + display: inline-block; + width: 148px; + height: 136px; + background-color: #F8F9FB; + border-radius: 8px; + text-align: center; + margin-left: 32px; + img{ + width: 40px; + height: 40px; + margin-top: 30px; + } + p{ + font-size: 22px; + font-family: PingFangSC-Medium, PingFang SC; + font-weight: 500; + color: #C5C9CD; + line-height: 32px; + margin-top: 8px; + } + } + .active{ + background-color: #357CE3; + p{ + color: #fff; + } + } + } .top { display: flex; padding: 48px 32px 32px 32px; @@ -197,6 +272,7 @@ export default { .hint { padding: 32px 0; + font-weight: 600; } .contents { diff --git a/src/saas/AppResidentDocument/components/img/icon1h@2x.png b/src/saas/AppResidentDocument/components/img/icon1h@2x.png new file mode 100644 index 00000000..c245cabd Binary files /dev/null and b/src/saas/AppResidentDocument/components/img/icon1h@2x.png differ diff --git a/src/saas/AppResidentDocument/components/img/icon1n@2x.png b/src/saas/AppResidentDocument/components/img/icon1n@2x.png new file mode 100644 index 00000000..556b0245 Binary files /dev/null and b/src/saas/AppResidentDocument/components/img/icon1n@2x.png differ diff --git a/src/saas/AppResidentDocument/components/img/tsrq@2x.png b/src/saas/AppResidentDocument/components/img/tsrq@2x.png new file mode 100644 index 00000000..34f11370 Binary files /dev/null and b/src/saas/AppResidentDocument/components/img/tsrq@2x.png differ diff --git a/src/saas/AppResidentDocument/components/img/tsrq备份@2x.png b/src/saas/AppResidentDocument/components/img/tsrq备份@2x.png new file mode 100644 index 00000000..4e215d2a Binary files /dev/null and b/src/saas/AppResidentDocument/components/img/tsrq备份@2x.png differ