css
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</AiTopFixed>
|
</AiTopFixed>
|
||||||
|
|
||||||
<template>
|
<template >
|
||||||
<AiCard v-for="(item, i) in datas" :key="i" @click.native="goDetail(item, 1)">
|
<AiCard v-for="(item, i) in datas" :key="i" @click.native="goDetail(item, 1)">
|
||||||
<template #custom>
|
<template #custom>
|
||||||
<div class="card-top">
|
<div class="card-top">
|
||||||
@@ -101,7 +101,7 @@ export default {
|
|||||||
this.current = 1
|
this.current = 1
|
||||||
this.getList()
|
this.getList()
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.$dict.load('clapEventStatus', 'clapEventStatusAll', 'clapEventStatusHistory').then(() => {
|
this.$dict.load('clapEventStatus', 'clapEventStatusAll', 'clapEventStatusHistory').then(() => {
|
||||||
|
|||||||
@@ -78,8 +78,10 @@ export default {
|
|||||||
this.$http.post(`/app/appresident/detail?id=${this.id}`).then((res) => {
|
this.$http.post(`/app/appresident/detail?id=${this.id}`).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.data = res.data
|
this.data = res.data
|
||||||
|
this.$forceUpdate()
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.resident = res.data.resident
|
this.resident = res.data.resident
|
||||||
|
this.$forceUpdate()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -12,6 +12,8 @@
|
|||||||
</u-form>
|
</u-form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="liness"></div>
|
||||||
|
|
||||||
<template v-if="datas.length > 0">
|
<template v-if="datas.length > 0">
|
||||||
<AiCard v-for="(item, i) in datas" :ref="item.id" :key="i" @click.native="toAdd(item, 1)">
|
<AiCard v-for="(item, i) in datas" :ref="item.id" :key="i" @click.native="toAdd(item, 1)">
|
||||||
<template #custom>
|
<template #custom>
|
||||||
@@ -37,7 +39,7 @@
|
|||||||
<u-loadmore :status="loadmore" color="#999" font-size="24" margin-top="32" margin-bottom="80" />
|
<u-loadmore :status="loadmore" color="#999" font-size="24" margin-top="32" margin-bottom="80" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<AiEmpty description="暂无数据" v-else></AiEmpty>
|
<AiEmpty description="暂无数据" class="emptyWrap" v-else></AiEmpty>
|
||||||
|
|
||||||
<AiFixedBtn>
|
<AiFixedBtn>
|
||||||
<div class="addBtn iconfont iconfont-iconfangda" @tap.stop="toAdd()" />
|
<div class="addBtn iconfont iconfont-iconfangda" @tap.stop="toAdd()" />
|
||||||
@@ -214,8 +216,10 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
uni-page-body {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
.AppVillageDiscuss {
|
.AppVillageDiscuss {
|
||||||
padding-bottom: 10px;
|
|
||||||
background: #f2f2f2;
|
background: #f2f2f2;
|
||||||
|
|
||||||
::v-deep .AiCard {
|
::v-deep .AiCard {
|
||||||
@@ -231,7 +235,6 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 16px;
|
|
||||||
|
|
||||||
.u-form {
|
.u-form {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -264,6 +267,11 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.liness {
|
||||||
|
height: 16px;
|
||||||
|
background: #f5f5f5;
|
||||||
|
}
|
||||||
|
|
||||||
.avatar {
|
.avatar {
|
||||||
height: 64px;
|
height: 64px;
|
||||||
width: 64px;
|
width: 64px;
|
||||||
@@ -301,6 +309,13 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.emptyWrap {
|
||||||
|
background: #f5f5f5 !important;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
::v-deep.AiTopFixed {
|
::v-deep.AiTopFixed {
|
||||||
.content {
|
.content {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user