diff --git a/src/project/huizhili/AppEnteringCommunity/AppEnteringCommunity.vue b/src/project/huizhili/AppEnteringCommunity/AppEnteringCommunity.vue index 30ff804..fc43f9c 100644 --- a/src/project/huizhili/AppEnteringCommunity/AppEnteringCommunity.vue +++ b/src/project/huizhili/AppEnteringCommunity/AppEnteringCommunity.vue @@ -65,6 +65,43 @@ +
+ 居民活动 +
+ 更多活动 + +
+
+ +
+ +
+ {{ item.title }} +
+
+ +
+
+ 乡村相册 +
+
+
+ +
共{{ item.total }}张
+
{{ item.name }}
+
+ +
@@ -83,6 +120,8 @@ export default { areaName: '', areaId: '', $areaId: '', + albumList: [], + activityList: [], publicList: [], moduleId: "", isInit: false @@ -96,8 +135,14 @@ export default { this.autoLogin() this.$nextTick(() => { + this.getAlbumList() + this.getActiveList() this.getName() }) + + uni.$on('update', () => { + this.getAlbumList() + }) }, computed: { @@ -198,11 +243,45 @@ export default { this.newsList = [] this.$nextTick(() => { + this.getActiveList() + this.getAlbumList() this.getPublicList() uni.setStorageSync('areaId', this.areaId) uni.setStorageSync('areaName', this.areaName) }) }, + + getAlbumList() { + this.$instance.post(`/app/appvillagepicturealbum/queryAlbumMenu?areaId=${this.areaId}`).then(res => { + if (res.code == 0) { + this.albumList = res.data.map(v => { + return { + ...v, + coverImg: `${this.$cdn}/dvcp/album/album${v.type}.png` + } + }) + } + }) + }, + + getActiveList() { + this.$instance.post(`/app/appvillageactivityinfo/listUp`, null, { + params: { + current: 1, + size: 6, + areaId: this.areaId + } + }).then(res => { + if (res.code == 0) { + this.activityList = res.data.records.map(v => { + return { + ...v, + url: v.url ? JSON.parse(v.url)[0].url : '' + } + }) + } + }) + } }, onShareAppMessage() { @@ -507,6 +586,67 @@ export default { } } + .album-list { + box-sizing: border-box; + padding: 0 32px 32px; + display: flex; + align-items: center; + flex-wrap: wrap; + gap: 16px; + + .album { + position: relative; + width: 218px; + height: 240px; + background: #FFFFFF; + box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.02); + border-radius: 16px; + overflow: hidden; + + image { + position: absolute; + left: 0; + top: 0; + z-index: 1; + width: 100%; + height: 100%; + } + + .total { + display: flex; + position: absolute; + align-items: center; + justify-content: center; + right: 8px; + top: 8px; + z-index: 2; + width: 74px; + height: 40px; + background: rgba(0, 0, 0, .6); + border-radius: 8px; + font-size: 22px; + font-weight: 400; + color: #FFFFFF; + } + + .desc { + position: absolute; + bottom: 16px; + left: 0; + z-index: 2; + width: 100%; + height: 40px; + line-height: 40px; + padding: 0 12px; + font-size: 32px; + text-align: center; + color: #FFFFFF; + font-weight: 600; + box-sizing: border-box; + } + } + } + ::v-deep .AiArea { padding-top: 64px; height: 88px; diff --git a/src/project/huizhili/AppEnteringCommunity/AppPhotoAlbum.vue b/src/project/huizhili/AppEnteringCommunity/AppPhotoAlbum.vue new file mode 100644 index 0000000..1c24767 --- /dev/null +++ b/src/project/huizhili/AppEnteringCommunity/AppPhotoAlbum.vue @@ -0,0 +1,385 @@ + + + + + diff --git a/src/project/huizhili/AppMine/AppMine.vue b/src/project/huizhili/AppMine/AppMine.vue new file mode 100644 index 0000000..1b93268 --- /dev/null +++ b/src/project/huizhili/AppMine/AppMine.vue @@ -0,0 +1,353 @@ + + + diff --git a/src/project/huizhili/AppMine/me.png b/src/project/huizhili/AppMine/me.png new file mode 100644 index 0000000..03b531e Binary files /dev/null and b/src/project/huizhili/AppMine/me.png differ diff --git a/src/project/huizhili/AppMine/me_selected.png b/src/project/huizhili/AppMine/me_selected.png new file mode 100644 index 0000000..dff9fca Binary files /dev/null and b/src/project/huizhili/AppMine/me_selected.png differ diff --git a/src/project/huizhili/AppMine/myFamily.vue b/src/project/huizhili/AppMine/myFamily.vue new file mode 100644 index 0000000..a544cf9 --- /dev/null +++ b/src/project/huizhili/AppMine/myFamily.vue @@ -0,0 +1,180 @@ + + + diff --git a/src/project/huizhili/AppMine/myHometown.vue b/src/project/huizhili/AppMine/myHometown.vue new file mode 100644 index 0000000..82c3c97 --- /dev/null +++ b/src/project/huizhili/AppMine/myHometown.vue @@ -0,0 +1,123 @@ + + + + + diff --git a/src/project/huizhili/AppMine/userInfo.vue b/src/project/huizhili/AppMine/userInfo.vue new file mode 100644 index 0000000..6226418 --- /dev/null +++ b/src/project/huizhili/AppMine/userInfo.vue @@ -0,0 +1,222 @@ + + + diff --git a/src/project/huizhili/AppPolice/AppPolice.vue b/src/project/huizhili/AppPolice/AppPolice.vue new file mode 100644 index 0000000..3df8942 --- /dev/null +++ b/src/project/huizhili/AppPolice/AppPolice.vue @@ -0,0 +1,222 @@ + + + + +