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