diff --git a/property-uniapp-project/manifest.json b/property-uniapp-project/manifest.json
index 6d141c8..7c5ce8f 100644
--- a/property-uniapp-project/manifest.json
+++ b/property-uniapp-project/manifest.json
@@ -2,8 +2,8 @@
"name" : "花开物业",
"appid" : "__UNI__29C3D60",
"description" : "智慧社区居民端面向小区业主使用,支持注册、验证码、账号密码多种登录方式,提供密码找回功能,账号使用安全便捷。支持多小区切换,首页设有轮播 banner、社区公告,集成远程开门、生活缴费、在线报修、访客邀请、社区活动常用服务。全服务板块统一涵盖门禁开门、线上缴费、报修申报、访客预约、投诉反馈、问卷调研、活动报名、社区公示、一键联系物业功能。个人中心可管理房屋、住户、车位、车辆信息,支持更换手机号、修改密码、消息通知设置、版本更新及账号退出,一站式满足业主居家生活、社区服务、房产车辆管理需求,实现社区生活数字化、便捷化。",
- "versionName" : "1.1.7",
- "versionCode" : 130,
+ "versionName" : "1.1.8",
+ "versionCode" : 131,
"transformPx" : false,
"uniCloud" : {
"provider" : "aliyun",
diff --git a/property-uniapp-project/pageSubPack/activity-list/activityList.vue b/property-uniapp-project/pageSubPack/activity-list/activityList.vue
index 18a77dc..c4b716f 100644
--- a/property-uniapp-project/pageSubPack/activity-list/activityList.vue
+++ b/property-uniapp-project/pageSubPack/activity-list/activityList.vue
@@ -1,15 +1,8 @@
-
-
-
-
-
-
+
@@ -121,13 +114,13 @@
-
+
-
diff --git a/property-uniapp-project/pages.json b/property-uniapp-project/pages.json
index 866ad37..2a7adea 100644
--- a/property-uniapp-project/pages.json
+++ b/property-uniapp-project/pages.json
@@ -4,7 +4,8 @@
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "",
- "navigationStyle": "custom"
+ "navigationStyle": "custom",
+ "enablePullDownRefresh": true
}
},
{
@@ -79,7 +80,8 @@
"pages": [{
"path": "onlineRepair",
"style": {
- "navigationBarTitleText": "在线报修"
+ "navigationBarTitleText": "在线报修",
+ "enablePullDownRefresh": true
}
},
{
@@ -125,7 +127,8 @@
"pages": [{
"path": "visitor-list",
"style": {
- "navigationBarTitleText": "访客邀请"
+ "navigationBarTitleText": "访客邀请",
+ "enablePullDownRefresh": true
}
},
{
@@ -154,7 +157,7 @@
"path": "activityList",
"style": {
"navigationBarTitleText": "活动列表",
- "navigationStyle": "custom"
+ "enablePullDownRefresh": true
}
},
{
@@ -179,7 +182,8 @@
"path": "noticeList",
"style": {
"navigationBarTitleText": "通知公告",
- "navigationStyle": "custom"
+ "navigationBarBackgroundColor": "#F9F9F9",
+ "enablePullDownRefresh": true
}
},
{
@@ -287,9 +291,8 @@
}, {
"path": "myParkingSpaceIndex",
"style": {
- "navigationBarTitleText": "我的车位"
- // "enablePullDownRefresh ": true
- // "navigationStyle": "custom"
+ "navigationBarTitleText": "我的车位",
+ "enablePullDownRefresh": true
}
},
{
@@ -334,7 +337,8 @@
{
"path": "myCarIndex",
"style": {
- "navigationBarTitleText": "我的车辆"
+ "navigationBarTitleText": "我的车辆",
+ "enablePullDownRefresh": true
}
@@ -396,8 +400,8 @@
{
"path": "paymentRecord",
"style": {
- "navigationBarTitleText": "",
- "navigationStyle": "custom"
+ "navigationBarTitleText": "缴费记录"
+ // "navigationStyle": "custom"
}
},
{
@@ -413,6 +417,7 @@
"navigationBarTitleText": "生活缴费",
"navigationBarBackgroundColor": "#dfedfd",
"navigationBarTextStyle": "black",
+ "enablePullDownRefresh": true,
"app-plus": {
"titleNView": {
"autoBackButton": true
@@ -453,7 +458,8 @@
"pages": [{
"path": "complaintsSuggestionsIndex",
"style": {
- "navigationBarTitleText": "投诉建议"
+ "navigationBarTitleText": "投诉建议",
+ "enablePullDownRefresh": true
}
}, {
"path": "complaintsDetail",
@@ -469,7 +475,8 @@
}, {
"path": "questionnaireSurveyIndex",
"style": {
- "navigationBarTitleText": "问卷调查"
+ "navigationBarTitleText": "问卷调查",
+ "enablePullDownRefresh": true
}
},
{
@@ -498,7 +505,7 @@
"path": "inspection",
"style": {
"navigationBarTitleText": "巡检记录",
- "navigationStyle": "custom"
+ "enablePullDownRefresh": true
}
},
{
@@ -510,7 +517,8 @@
{
"path": "public-revenue",
"style": {
- "navigationBarTitleText": "公区收益"
+ "navigationBarTitleText": "公区收益",
+ "enablePullDownRefresh": true
}
},
{
diff --git a/property-uniapp-project/pages/index/index.vue b/property-uniapp-project/pages/index/index.vue
index 1df8173..681a2dd 100644
--- a/property-uniapp-project/pages/index/index.vue
+++ b/property-uniapp-project/pages/index/index.vue
@@ -6,9 +6,11 @@
+
+
+
@@ -150,7 +150,8 @@
import {
onLoad,
onUnload,
- onShow
+ onShow,
+ onPullDownRefresh
} from '@dcloudio/uni-app'
import moment from 'moment'
import {
@@ -165,7 +166,6 @@
// 列表数据状态
const isDropdownOpen = ref(false)
- const refreshing = ref(false)
const activityList = ref([])
const serviceItems = [
@@ -354,16 +354,12 @@
getNoticeData()
getNewActivityList()
getbannarData()
- refreshing.value = false
+ uni.stopPullDownRefresh()
}
- const onRefresh = async () => {
- refreshing.value = true
- await nextTick()
- await refreshAllData()
- await nextTick()
- refreshing.value = false
- }
+ onPullDownRefresh(() => {
+ refreshAllData()
+ })
const resetPageData = () => {
currentCommunity.value = '请绑定房屋'
@@ -381,7 +377,6 @@
const currentUserId = uni.getStorageSync('userId') || ''
const userIdChanged = lastUserId.value !== currentUserId
const needReload = uni.getStorageSync('needReloadUserInfo')
- refreshing.value = false
if (userIdChanged) {
resetPageData()
refreshAllData()
@@ -477,13 +472,7 @@