bug
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="DetailCard" v-if="pageShow">
|
<div class="DetailCard" v-if="pageShow">
|
||||||
|
<div class="top"></div>
|
||||||
<div class="middle">
|
<div class="middle">
|
||||||
<div class="hint">家庭地址</div>
|
<div class="hint">家庭地址</div>
|
||||||
<div class="areaHint">
|
<div class="areaHint">
|
||||||
@@ -51,17 +52,18 @@
|
|||||||
export default {
|
export default {
|
||||||
name: 'DetailCard',
|
name: 'DetailCard',
|
||||||
|
|
||||||
|
appName: '居民信息',
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
id: '',
|
id: '',
|
||||||
data: [],
|
data: [],
|
||||||
pageShow: false,
|
|
||||||
resident: {},
|
resident: {},
|
||||||
|
pageShow: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
onLoad (o) {
|
onLoad (o) {
|
||||||
document.title = '居民信息'
|
|
||||||
this.id = o.id
|
this.id = o.id
|
||||||
this.$dict.load('householdRelation', 'fileStatus').then(() => {
|
this.$dict.load('householdRelation', 'fileStatus').then(() => {
|
||||||
this.getDetail()
|
this.getDetail()
|
||||||
@@ -86,7 +88,9 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
toDetailPeople (item) {
|
toDetailPeople (item) {
|
||||||
uni.navigateTo({ url: `./DetailPeople?id=${item.id}` })
|
uni.navigateTo({
|
||||||
|
url: `./DetailPeople?id=${item.id}`
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -94,9 +98,19 @@
|
|||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.DetailCard {
|
.DetailCard {
|
||||||
|
height: 100%;
|
||||||
|
.top {
|
||||||
|
height: 112px;
|
||||||
|
background: #3975c6;
|
||||||
|
}
|
||||||
|
|
||||||
.middle {
|
.middle {
|
||||||
padding: 48px 32px 32px;
|
margin: -80px 32px 0 32px;
|
||||||
|
padding: 38px 30px 78px 28px;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
|
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.02);
|
||||||
|
border-radius: 16px;
|
||||||
|
z-index: 999;
|
||||||
.hint {
|
.hint {
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
|||||||
Reference in New Issue
Block a user