详情页
This commit is contained in:
@@ -11,28 +11,11 @@
|
|||||||
<div class="rightTop">
|
<div class="rightTop">
|
||||||
<span class="names">{{ data.resident && data.resident.name }}<span v-if="data.resident.fileStatus == 1" class="fileStatuss"> 已注销 </span></span>
|
<span class="names">{{ data.resident && data.resident.name }}<span v-if="data.resident.fileStatus == 1" class="fileStatuss"> 已注销 </span></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rightBottom" v-if="data.resident && data.resident.phone">{{ data.resident.phone }}</div>
|
<div class="rightBottom" v-if="data.resident && data.resident.phone">{{ data.resident.phone }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="line"></div>
|
<div class="line"></div>
|
||||||
|
|
||||||
<div class="tab-list">
|
|
||||||
<div v-for="(item, index) in tabList" :key="index" :class="tabIndex == index ? 'tab-item active' : 'tab-item' " @click="tabIndex=index">
|
|
||||||
<div v-if="index == 0">
|
|
||||||
<img :src="item.activeIcon" alt="" v-if="tabIndex==0">
|
|
||||||
<img :src=" item.icon" alt="" v-if="tabIndex!=0">
|
|
||||||
</div>
|
|
||||||
<div v-if="index != 0">
|
|
||||||
<img src="./components/img/tsrq备份@2x.png" alt="" v-if="tabIndex==index && index != 0">
|
|
||||||
<img src="./components/img/tsrq@2x.png" alt="" v-if="tabIndex!=index && index != 0">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<p v-if="index==0">{{item.name}}</p>
|
|
||||||
<p v-else class="type">{{item.applicationName}}</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- 基本信息 -->
|
<!-- 基本信息 -->
|
||||||
<div v-if="tabIndex == 0">
|
<div v-if="tabIndex == 0">
|
||||||
<div class="middle">
|
<div class="middle">
|
||||||
@@ -168,8 +151,6 @@ export default {
|
|||||||
tabIndex: 0,
|
tabIndex: 0,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {},
|
|
||||||
watch: {},
|
|
||||||
onLoad(o) {
|
onLoad(o) {
|
||||||
this.id = o.id
|
this.id = o.id
|
||||||
this.type = o.type
|
this.type = o.type
|
||||||
@@ -181,7 +162,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = '家庭成员信息'
|
document.title = '居民详情'
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getDetail() {
|
getDetail() {
|
||||||
|
|||||||
Reference in New Issue
Block a user