diff --git a/src/project/saas/AppBuilding/components/gridMap.vue b/src/project/saas/AppBuilding/components/gridMap.vue index ef9e2c5e..9f4e4b26 100644 --- a/src/project/saas/AppBuilding/components/gridMap.vue +++ b/src/project/saas/AppBuilding/components/gridMap.vue @@ -108,7 +108,7 @@ export default { search () { this.$loading() - this.$http.post(`/app/appgirdinfo/list?size=1000&girdName=${this.girdName}`).then((res) => { + this.$http.post(`/app/appgirdinfo/list?size=100&girdName=${this.girdName}`).then((res) => { if (res.code === 0) { if (res.data.records.length) { this.girdList = res.data.records diff --git a/src/project/saas/AppBuilding/components/searchMap.vue b/src/project/saas/AppBuilding/components/searchMap.vue index 559b4d65..e43228f7 100644 --- a/src/project/saas/AppBuilding/components/searchMap.vue +++ b/src/project/saas/AppBuilding/components/searchMap.vue @@ -11,18 +11,6 @@ -
-
- {{ name }} -
-
- -
-

{{ item.residentName }}

-

{{ item.areaName || '' }}{{ item.createAddress }}

-
-
-
楼栋
列表
@@ -112,6 +100,24 @@ + +
+
请选择居民
+ +
+ +
+

{{ item.residentName }}

+

{{ item.areaName || '' }}{{ item.createAddress }}

+
+
+
+
+
@@ -141,6 +147,7 @@ export default { showPop: false, retryMapCount: 0, building: {}, + isShowGrid: false, buildPopup: false } }, @@ -310,6 +317,7 @@ export default { }, search() { this.buildList = [] + this.$loading() this.$http.post('/app/appcommunityhouseinfo/queryHouseByName', null, { params: { current: 1, @@ -374,6 +382,72 @@ export default { box-sizing: border-box; } + .grid-wrapper { + height: 100%; + overflow: hidden; + + .title { + height: 80px; + line-height: 80px; + text-align: center; + color: #333; + font-size: 32px; + font-weight: 800; + } + + scroll-view { + height: calc(100% - 80px); + } + + .grid-item { + display: flex; + align-items: center; + padding: 20px 24px; + color: #333; + font-size: 28px; + font-weight: 500; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + border-bottom: 1px solid #eee; + + image { + width: 50px; + height: 50px; + margin-right: 16px; + } + + .right { + flex: 1; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + + h2 { + margin-bottom: 12px; + color: #333; + font-size: 30px; + font-weight: 600; + } + + p { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + color: #666; + } + } + + &:last-child { + border: none; + } + + &:active { + background: #eee; + } + } + } + .top { display: flex; position: fixed;