bug
This commit is contained in:
@@ -179,7 +179,8 @@ export default {
|
|||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$u.toast('提交成功')
|
this.$u.toast('提交成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.navigateBack({})
|
uni.navigateBack()
|
||||||
|
uni.$emit('update')
|
||||||
}, 600)
|
}, 600)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -168,6 +168,9 @@ export default {
|
|||||||
'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType').then(() => {
|
'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType').then(() => {
|
||||||
this.getBuilding()
|
this.getBuilding()
|
||||||
})
|
})
|
||||||
|
uni.$on('update', () => {
|
||||||
|
this.getBuilding()
|
||||||
|
})
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = "以房找人"
|
document.title = "以房找人"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ export default {
|
|||||||
size: 10 * 1024 * 1024,
|
size: 10 * 1024 * 1024,
|
||||||
fileList: [],
|
fileList: [],
|
||||||
numInfo: {},
|
numInfo: {},
|
||||||
params: {}
|
params: {},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: { ...mapState(['user']) },
|
computed: { ...mapState(['user']) },
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
</AiTopFixed>
|
</AiTopFixed>
|
||||||
<div class="album-list">
|
<div class="album-list">
|
||||||
<div class="item" v-for="(item, index) in list" :key="index" v-if="item.total" @click="toDetail(item)">
|
<div class="item" v-for="(item, index) in list" :key="index" v-if="item.total" @click="toDetail(item)">
|
||||||
<img :src="item.url" alt="">
|
<img :src="`${cdn}/dvcp/album/album${item.type}.png`" alt="">
|
||||||
<p class="text">{{item.name}}</p>
|
<p class="text">{{item.name}}</p>
|
||||||
<div class="tips">共{{item.total}}张</div>
|
<div class="tips">共{{item.total}}张</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -30,7 +30,8 @@ export default {
|
|||||||
return {
|
return {
|
||||||
list: [],
|
list: [],
|
||||||
areaId: '',
|
areaId: '',
|
||||||
areaName: ''
|
areaName: '',
|
||||||
|
cdn: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: { ...mapState(['user']) },
|
computed: { ...mapState(['user']) },
|
||||||
@@ -41,6 +42,7 @@ export default {
|
|||||||
uni.$on('updateList', () => {
|
uni.$on('updateList', () => {
|
||||||
this.getList()
|
this.getList()
|
||||||
})
|
})
|
||||||
|
this.cdn = this.$cdn.replace("/dvcp/h5","");
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = "乡村相册"
|
document.title = "乡村相册"
|
||||||
@@ -64,7 +66,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
toDetail(item) {
|
toDetail(item) {
|
||||||
uni.navigateTo({url: `./detail?type=${item.type}&areaId=${this.areaId}&title=${item.name}&titleImgUrl=${item.url}`})
|
uni.navigateTo({url: `./detail?type=${item.type}&areaId=${this.areaId}&title=${item.name}&titleImgUrl=${this.cdn}/dvcp/album/album${item.type}.png`})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
|
|||||||
@@ -75,7 +75,6 @@ export default {
|
|||||||
},
|
},
|
||||||
watch: {},
|
watch: {},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
document.title = '居民活动'
|
|
||||||
this.$dict.load(['villageActivityStatus']).then(() => {
|
this.$dict.load(['villageActivityStatus']).then(() => {
|
||||||
this.getList()
|
this.getList()
|
||||||
})
|
})
|
||||||
@@ -84,6 +83,9 @@ export default {
|
|||||||
this.getList()
|
this.getList()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
onShow() {
|
||||||
|
document.title = '居民活动'
|
||||||
|
},
|
||||||
mounted() {},
|
mounted() {},
|
||||||
methods: {
|
methods: {
|
||||||
getList() {
|
getList() {
|
||||||
|
|||||||
Reference in New Issue
Block a user