Merge branch 'master' of http://gitea.bugtc.com/zhouyanli/property-manager-side
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
"name" : "花开管家",
|
"name" : "花开管家",
|
||||||
"appid" : "__UNI__5F224F3",
|
"appid" : "__UNI__5F224F3",
|
||||||
"description" : "智慧社区管家端,专为小区物业管理人员打造,支持多小区灵活切换管理。集成账号密码、手机号密码双重登录模式,内置忘记密码找回功能,保障账号安全。涵盖消息通知、日常巡检、故障报修、一键开门、工单流转、投诉处理等核心办公功能,物业人员可在线完成巡检打卡、问题上报、工单派发跟进、投诉对接处理等日常工作,同时支持查看个人上报记录、巡检历史,便捷修改账号信息与登录密码。高效简化社区物业办公流程,提升小区服务与管理效率,打造便捷智能的社区管理服务平台。",
|
"description" : "智慧社区管家端,专为小区物业管理人员打造,支持多小区灵活切换管理。集成账号密码、手机号密码双重登录模式,内置忘记密码找回功能,保障账号安全。涵盖消息通知、日常巡检、故障报修、一键开门、工单流转、投诉处理等核心办公功能,物业人员可在线完成巡检打卡、问题上报、工单派发跟进、投诉对接处理等日常工作,同时支持查看个人上报记录、巡检历史,便捷修改账号信息与登录密码。高效简化社区物业办公流程,提升小区服务与管理效率,打造便捷智能的社区管理服务平台。",
|
||||||
"versionName" : "1.1.0",
|
"versionName" : "1.1.2",
|
||||||
"versionCode" : 110,
|
"versionCode" : 112,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
"usingComponents" : true,
|
"usingComponents" : true,
|
||||||
|
|||||||
@@ -5,7 +5,13 @@
|
|||||||
"navigationBarTitleText": "工作台",
|
"navigationBarTitleText": "工作台",
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": true,
|
||||||
"backgroundTextStyle": "dark"
|
// "backgroundTextStyle": "dark"
|
||||||
|
"app-plus": {
|
||||||
|
"pullToRefresh": {
|
||||||
|
"style": "circle",
|
||||||
|
"offset": "90px"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,10 +8,10 @@
|
|||||||
<view class="page-content">
|
<view class="page-content">
|
||||||
<view class="sticky-header">
|
<view class="sticky-header">
|
||||||
<!-- 状态栏占位 -->
|
<!-- 状态栏占位 -->
|
||||||
<view class="status_bar" :style="{ height: statusBarHeight + 'px' }"></view>
|
<!-- <view class="status_bar" :style="{ height: statusBarHeight + 'px' }"></view> -->
|
||||||
<!-- 导航栏 -->
|
<!-- 导航栏 -->
|
||||||
<view class="nav-bar">
|
<view class="nav-bar">
|
||||||
<text class="nav-title">首页</text>
|
<text class="nav-title"></text>
|
||||||
</view>
|
</view>
|
||||||
<!-- 小区选择 -->
|
<!-- 小区选择 -->
|
||||||
<view class="header-container" @click="navigateToPage">
|
<view class="header-container" @click="navigateToPage">
|
||||||
@@ -22,6 +22,14 @@
|
|||||||
style="height: 100%; width: 100%"
|
style="height: 100%; width: 100%"
|
||||||
></image>
|
></image>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="community-selector">
|
||||||
|
<text class="community-name">{{ currentCommunity }}</text>
|
||||||
|
<view class="community-icon">
|
||||||
|
<image
|
||||||
|
src="https://wuyeadmin.bugtc.com/images/imgs/adress.png"
|
||||||
|
style="height: 100%; width: 100%"
|
||||||
|
></image>
|
||||||
|
</view>
|
||||||
<view class="community-selector">
|
<view class="community-selector">
|
||||||
<text class="community-name">{{ currentCommunity }}</text>
|
<text class="community-name">{{ currentCommunity }}</text>
|
||||||
<view class="community-icon">
|
<view class="community-icon">
|
||||||
@@ -34,6 +42,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
<!-- 可滚动内容区 -->
|
<!-- 可滚动内容区 -->
|
||||||
<view class="scroll-content">
|
<view class="scroll-content">
|
||||||
@@ -355,7 +364,7 @@ const getNoticeData = () => {
|
|||||||
.then(res => {
|
.then(res => {
|
||||||
const notice =
|
const notice =
|
||||||
res.code === 200 && res.data
|
res.code === 200 && res.data
|
||||||
? `${res.data.notice || ''} : ${res.data.item || ''}`
|
? [res.data.notice, res.data.item].filter(Boolean).join(' : ') || '暂无公告'
|
||||||
: '暂无公告'
|
: '暂无公告'
|
||||||
// 仅在内容真正变化时才更新
|
// 仅在内容真正变化时才更新
|
||||||
if (noticeText.value !== notice) {
|
if (noticeText.value !== notice) {
|
||||||
@@ -420,12 +429,13 @@ function getMyOrderNum() {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 接收选择小区返回的参数
|
// 切换小区返回的参数
|
||||||
const slelctHomeData = data => {
|
const slelctHomeData = data => {
|
||||||
currentCommunity.value = data.villageName
|
currentCommunity.value = data.villageName
|
||||||
uni.setStorageSync('currentVillage', JSON.stringify(data))
|
uni.setStorageSync('currentVillage', JSON.stringify(data))
|
||||||
getNoticeData()
|
getNoticeData()
|
||||||
getInspectionData()
|
getInspectionData()
|
||||||
|
getbannarData(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
onShow(() => {
|
onShow(() => {
|
||||||
@@ -435,10 +445,8 @@ onShow(() => {
|
|||||||
getbannarData()
|
getbannarData()
|
||||||
getMyOrderNum()
|
getMyOrderNum()
|
||||||
permStore.initPerm() // 刷新权限缓存
|
permStore.initPerm() // 刷新权限缓存
|
||||||
// currentVillageData 和 getInspectionData 已在 onLoad 中调用,不再重复
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// 从其他页面返回 / 从后台恢复:只刷新可能变化的数据
|
|
||||||
getbannarData()
|
getbannarData()
|
||||||
getMyOrderNum()
|
getMyOrderNum()
|
||||||
getNoticeData()
|
getNoticeData()
|
||||||
@@ -461,7 +469,7 @@ onLoad(() => {
|
|||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// 已登录:确保 tabBar 显示(未登录启动时曾被 hideTabBar 隐藏,switchTab 不会自动恢复)
|
// 已登录:确保 tabBar 显示
|
||||||
uni.showTabBar({ animation: false })
|
uni.showTabBar({ animation: false })
|
||||||
uni.$on('confirm', slelctHomeData)
|
uni.$on('confirm', slelctHomeData)
|
||||||
currentVillageData()
|
currentVillageData()
|
||||||
@@ -469,7 +477,6 @@ onLoad(() => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
onReady(() => {
|
onReady(() => {
|
||||||
// 已登录:首页即最终页,渲染完成后关闭启动屏(未登录由引导页 onReady 关闭)
|
|
||||||
if (isLoggedIn.value) {
|
if (isLoggedIn.value) {
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
plus.navigator.closeSplashscreen()
|
plus.navigator.closeSplashscreen()
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="content-style">
|
<view class="content-style">
|
||||||
<view class="status-bar" :style="{ height: statusBarHeight + 'px' }"></view>
|
<!-- <view class="status-bar" :style="{ height: statusBarHeight + 'px' }"></view> -->
|
||||||
<uni-nav-bar title="我的" backgroundColor="transparent" :border="false" />
|
<uni-nav-bar backgroundColor="transparent" :border="false" />
|
||||||
<scroll-view class="page" scroll-y>
|
<scroll-view class="page" scroll-y>
|
||||||
<view class="user-card">
|
<view class="user-card">
|
||||||
<image src="https://wuyeadmin.bugtc.com/images/guanjia-logo.png" class="avatar" />
|
<image src="https://wuyeadmin.bugtc.com/images/guanjia-logo.png" class="avatar" />
|
||||||
@@ -105,7 +105,7 @@ const onItemClick = item => {
|
|||||||
.user-card {
|
.user-card {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 40rpx 0;
|
padding: 40rpx 0 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.avatar {
|
.avatar {
|
||||||
|
|||||||
Reference in New Issue
Block a user