diff --git a/packages/community/choseCommunity/index.css b/packages/community/choseCommunity/index.css
index 781d1c02..2e68b4cc 100644
--- a/packages/community/choseCommunity/index.css
+++ b/packages/community/choseCommunity/index.css
@@ -98,7 +98,7 @@ image {
align-items: center;
justify-content: center;
flex-direction: column;
- background-color: #fff;
+ /* background-color: #fff; */
padding-bottom: 200rpx;
margin-top: 20rpx;
padding-top: 111rpx;
diff --git a/packages/community/choseCommunity/index.vue b/packages/community/choseCommunity/index.vue
index 9a5655c8..810add8f 100644
--- a/packages/community/choseCommunity/index.vue
+++ b/packages/community/choseCommunity/index.vue
@@ -27,7 +27,7 @@
-
+
未找到相关信息的小区
diff --git a/packages/community/index/index.vue b/packages/community/index/index.vue
index fa5005a9..f716e6ff 100644
--- a/packages/community/index/index.vue
+++ b/packages/community/index/index.vue
@@ -171,6 +171,9 @@ import {
} from "../../../utils";
import { apiArr } from "../../../api/v2Community";
+import {
+ apiArr as apiArr2
+} from '../../../api/community';
export default {
data() {
@@ -212,16 +215,29 @@ export default {
};
},
async onLoad(options) {
+ await request(apiArr2.commInfo, "POST", {
+ user_id: uni.getStorageSync("userId"),
+ longitude: uni.getStorageSync("location").lng,
+ latitude: uni.getStorageSync("location").lat,
+ page_num: this.page_num,
+ page_size: this.page_size,
+ }).then((res) => {
+ this.communityList = res.rows;
+ });
const meun = menuButtonInfo();
this.top = meun.top;
// this.top = meun.height + meun.top;
this.localHeight = meun.height;
// this.getCommunityList()
- if (!uni.getStorageSync("changeCommData").id) {
- uni.setStorageSync("changeCommData", { name: "森呼吸二期", id: 14 });
- }
+ if (this.communityList.length == 0) {
+ this.communityVal = "添加我的房产";
+ } else {
+ if (!uni.getStorageSync("changeCommData").id) {
+ uni.setStorageSync("changeCommData", { name: "森呼吸二期", id: 14 });
+ }
- this.communityVal = uni.getStorageSync("changeCommData").name;
+ this.communityVal = uni.getStorageSync("changeCommData").name;
+ }
this.getfunctionNum();
this.getAdvertising();
this.getCategoryList();
diff --git a/packages/homeServer/searchShop/index.vue b/packages/homeServer/searchShop/index.vue
index 1dc6fbb9..7012037f 100644
--- a/packages/homeServer/searchShop/index.vue
+++ b/packages/homeServer/searchShop/index.vue
@@ -4,7 +4,7 @@
{{ shop.title }}
- {{ shop.ratingCount }}条评价
+ {{ shop.ratingCount }}条评价
★
@@ -18,182 +18,194 @@
-
+