From 1946978eca1fc518ebf9c551c948cf69406d9103 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Fri, 11 Mar 2022 09:05:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/saas/AppResidentDocument/DetailPeople.vue | 235 ++++++------------ 1 file changed, 76 insertions(+), 159 deletions(-) diff --git a/src/saas/AppResidentDocument/DetailPeople.vue b/src/saas/AppResidentDocument/DetailPeople.vue index 0617b571..98e5c3c2 100644 --- a/src/saas/AppResidentDocument/DetailPeople.vue +++ b/src/saas/AppResidentDocument/DetailPeople.vue @@ -1,11 +1,11 @@ @@ -140,23 +116,9 @@ 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: '残疾人员', - // }, - - tabIndex: 0, } }, - computed: { - }, + computed: {}, watch: {}, onLoad(o) { this.id = o.id @@ -172,21 +134,9 @@ export default { this.$http.post(`/app/appresident/detail?id=${this.id}`).then((res) => { if (res.code == 0) { this.data = res.data - if (res.data.resident.tsrqInfos) { - this.tabList = res.data.resident.tsrqInfos - let info = { - icon: require('./components/img/icon1n@2x.png'), - activeIcon: require('./components/img/icon1h@2x.png'), - name: '基本信息', - } - this.tabList.unshift(info) - } else { - this.tabList =[{ - icon: require('./components/img/icon1n@2x.png'), - activeIcon: require('./components/img/icon1h@2x.png'), - name: '基本信息', - }] - } + // this.$nextTick(() => { + // this.currentAreaName = res.data.resident.currentAreaName + // }) } }) }, @@ -201,38 +151,6 @@ 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; @@ -279,7 +197,6 @@ export default { .hint { padding: 32px 0; - font-weight: 600; } .contents {