diff --git a/src/apps/AppCountryAlbum/AppCountryAlbum.vue b/src/apps/AppCountryAlbum/AppCountryAlbum.vue index 04e27b4c..3f74013e 100644 --- a/src/apps/AppCountryAlbum/AppCountryAlbum.vue +++ b/src/apps/AppCountryAlbum/AppCountryAlbum.vue @@ -24,7 +24,9 @@ export default { }, components: { Detail, List }, - + onShow() { + document.title = "乡村相册" + }, methods: { onChange(e) { this.params = e.params diff --git a/src/apps/AppGridManagement/AppGridManagement.vue b/src/apps/AppGridManagement/AppGridManagement.vue index f6901e23..2cf62a20 100644 --- a/src/apps/AppGridManagement/AppGridManagement.vue +++ b/src/apps/AppGridManagement/AppGridManagement.vue @@ -30,6 +30,9 @@ export default { this.component = e.type } }, + onShow() { + document.title = "网格管理" + } } diff --git a/src/apps/AppMarryAndDie/AllActiveList.vue b/src/apps/AppMarryAndDie/AllActiveList.vue index 2b28c546..3c9422de 100644 --- a/src/apps/AppMarryAndDie/AllActiveList.vue +++ b/src/apps/AppMarryAndDie/AllActiveList.vue @@ -45,14 +45,14 @@
- +
{{ $dict.getLabel('marriageType', item.type) }} - + {{ $dict.getLabel('modeType', item.modeType) }} @@ -147,6 +147,13 @@ export default { } }) }, + + previewImage(images, img) { + uni.previewImage({ + urls: images.map((v) => v.url), + current: img, + }) + }, }, onReachBottom() { this.current = this.current + 1 diff --git a/src/apps/AppMarryAndDie/AppMarryAndDie.vue b/src/apps/AppMarryAndDie/AppMarryAndDie.vue index a44b4a3e..a97171c1 100644 --- a/src/apps/AppMarryAndDie/AppMarryAndDie.vue +++ b/src/apps/AppMarryAndDie/AppMarryAndDie.vue @@ -80,14 +80,14 @@
- +
{{ $dict.getLabel('marriageType', item.type) }} - + {{ $dict.getLabel('modeType', item.modeType) }} @@ -297,6 +297,13 @@ export default { this.getList() } }, + + previewImage(images, img) { + uni.previewImage({ + urls: images.map((v) => v.url), + current: img, + }) + }, }, onReachBottom() { this.current = this.current + 1 diff --git a/src/apps/AppMarryAndDie/CadreList.vue b/src/apps/AppMarryAndDie/CadreList.vue index 8d004f53..cd25a060 100644 --- a/src/apps/AppMarryAndDie/CadreList.vue +++ b/src/apps/AppMarryAndDie/CadreList.vue @@ -45,14 +45,14 @@
- +
{{ $dict.getLabel('marriageType', item.type) }} - + {{ $dict.getLabel('modeType', item.modeType) }} @@ -147,6 +147,13 @@ export default { } }) }, + + previewImage(images, img) { + uni.previewImage({ + urls: images.map((v) => v.url), + current: img, + }) + }, }, onReachBottom() { this.current = this.current + 1 diff --git a/src/apps/AppMarryAndDie/FuneralList.vue b/src/apps/AppMarryAndDie/FuneralList.vue index bf79009e..80adde35 100644 --- a/src/apps/AppMarryAndDie/FuneralList.vue +++ b/src/apps/AppMarryAndDie/FuneralList.vue @@ -45,14 +45,14 @@
- +
{{ $dict.getLabel('marriageType', item.type) }} - + {{ $dict.getLabel('modeType', item.modeType) }} @@ -147,6 +147,13 @@ export default { } }) }, + + previewImage(images, img) { + uni.previewImage({ + urls: images.map((v) => v.url), + current: img, + }) + }, }, onReachBottom() { this.current = this.current + 1 diff --git a/src/apps/AppMarryAndDie/MarryList.vue b/src/apps/AppMarryAndDie/MarryList.vue index 93340984..a9bdc7ae 100644 --- a/src/apps/AppMarryAndDie/MarryList.vue +++ b/src/apps/AppMarryAndDie/MarryList.vue @@ -45,14 +45,14 @@
- +
{{ $dict.getLabel('marriageType', item.type) }} - + {{ $dict.getLabel('modeType', item.modeType) }} @@ -147,6 +147,13 @@ export default { } }) }, + + previewImage(images, img) { + uni.previewImage({ + urls: images.map((v) => v.url), + current: img, + }) + }, }, onReachBottom() { this.current = this.current + 1 diff --git a/src/apps/AppResidentActivitie/Add.vue b/src/apps/AppResidentActivitie/Add.vue index 63381ef9..8bf374db 100644 --- a/src/apps/AppResidentActivitie/Add.vue +++ b/src/apps/AppResidentActivitie/Add.vue @@ -80,7 +80,6 @@ export default { contactPhone: '', }, - showStartTime: false, showEndTime: false, flag: false, @@ -176,7 +175,6 @@ export default { content: this.forms.content, url: JSON.stringify(imgs) || [], areaId: this.forms.areaId, - beginTime: this.forms.beginTime, endTime: this.forms.endTime, address: this.forms.address, @@ -211,12 +209,7 @@ export default { }, areaSelect(e) { - if (e.type == 5) { - this.forms.areaId = e.id - } - if (e.type == 4) { - this.forms.areaId = e.id - } + this.forms.areaId = e.id }, }, } diff --git a/src/apps/AppResidentActivitie/AppResidentActivities.vue b/src/apps/AppResidentActivitie/AppResidentActivities.vue index cac9a182..40d83ab0 100644 --- a/src/apps/AppResidentActivitie/AppResidentActivities.vue +++ b/src/apps/AppResidentActivitie/AppResidentActivities.vue @@ -32,7 +32,7 @@
{{ item.areaName }}{{ item.address }}
- +
{{ $dict.getLabel('villageActivityStatus', item.status) }}
@@ -78,6 +78,7 @@ export default { this.$dict.load(['villageActivityStatus']).then(() => { this.getList() }) + uni.$on('updateList', () => { this.current = 1 this.getList() @@ -127,6 +128,13 @@ export default { toDetail(item) { uni.navigateTo({ url: `./Detail?id=${item.id}&createUserId=${item.createUserId}` }) }, + + previewImage(images, img) { + uni.previewImage({ + urls: images.map((v) => v.url), + current: img, + }) + }, }, onReachBottom() { this.current = this.current + 1 diff --git a/src/apps/AppResidentActivitie/Detail.vue b/src/apps/AppResidentActivitie/Detail.vue index 69fcb46a..f1c536cb 100644 --- a/src/apps/AppResidentActivitie/Detail.vue +++ b/src/apps/AppResidentActivitie/Detail.vue @@ -2,7 +2,7 @@
- +
@@ -15,7 +15,7 @@
- {{ user.name }} + {{ detail.contactPerson }}
@@ -28,7 +28,6 @@
活动人数
{{ detail.realNum }} -
@@ -71,7 +70,7 @@
- +