修复bug

This commit is contained in:
zhouyanli
2026-08-17 16:32:12 +08:00
parent 365391b490
commit a4c7318ff6
8 changed files with 30 additions and 27 deletions

View File

@@ -2,8 +2,8 @@
"name" : "花开物业", "name" : "花开物业",
"appid" : "__UNI__29C3D60", "appid" : "__UNI__29C3D60",
"description" : "智慧社区居民端面向小区业主使用,支持注册、验证码、账号密码多种登录方式,提供密码找回功能,账号使用安全便捷。支持多小区切换,首页设有轮播 banner、社区公告集成远程开门、生活缴费、在线报修、访客邀请、社区活动常用服务。全服务板块统一涵盖门禁开门、线上缴费、报修申报、访客预约、投诉反馈、问卷调研、活动报名、社区公示、一键联系物业功能。个人中心可管理房屋、住户、车位、车辆信息支持更换手机号、修改密码、消息通知设置、版本更新及账号退出一站式满足业主居家生活、社区服务、房产车辆管理需求实现社区生活数字化、便捷化。", "description" : "智慧社区居民端面向小区业主使用,支持注册、验证码、账号密码多种登录方式,提供密码找回功能,账号使用安全便捷。支持多小区切换,首页设有轮播 banner、社区公告集成远程开门、生活缴费、在线报修、访客邀请、社区活动常用服务。全服务板块统一涵盖门禁开门、线上缴费、报修申报、访客预约、投诉反馈、问卷调研、活动报名、社区公示、一键联系物业功能。个人中心可管理房屋、住户、车位、车辆信息支持更换手机号、修改密码、消息通知设置、版本更新及账号退出一站式满足业主居家生活、社区服务、房产车辆管理需求实现社区生活数字化、便捷化。",
"versionName" : "1.1.4", "versionName" : "1.1.5",
"versionCode" : 127, "versionCode" : 128,
"transformPx" : false, "transformPx" : false,
"uniCloud" : { "uniCloud" : {
"provider" : "aliyun", "provider" : "aliyun",

View File

@@ -939,7 +939,8 @@ const showToastMessage = (message) => {
} }
.rich-content { .rich-content {
white-space: normal !important; white-space: normal !important;
word-break: normal !important; word-break: break-all !important;
overflow-wrap: break-word !important;
overflow: hidden; overflow: hidden;
/* 富文本内嵌的所有元素不超出容器 */ /* 富文本内嵌的所有元素不超出容器 */
* { * {

View File

@@ -2,8 +2,8 @@ import { navigateToLogin } from '@/common/checkLogin.js'
let baseUrl = ''; let baseUrl = '';
if (process.env.NODE_ENV === 'development') { if (process.env.NODE_ENV === 'development') {
baseUrl = 'http://192.168.1.6:8080'; // 开发环境 // baseUrl = 'http://192.168.1.6:8080'; // 开发环境
// baseUrl = 'http://192.168.1.222:8080'; baseUrl = 'http://192.168.1.222:8080';
} else { } else {
baseUrl = 'https://wuyeapi.ckdzkj.com'; // 生产环境 baseUrl = 'https://wuyeapi.ckdzkj.com'; // 生产环境
} }

View File

@@ -1,6 +1,6 @@
// 服务器地址(与 request.js 保持一致) // 服务器地址(与 request.js 保持一致)
const baseUrl = 'https://wuyeapi.ckdzkj.com'; // const baseUrl = 'https://wuyeapi.ckdzkj.com';
// const baseUrl = "http://192.168.1.6:8080" const baseUrl = "http://192.168.1.222:8080"
/** /**
* 图片上传 Hook * 图片上传 Hook

View File

@@ -75,7 +75,7 @@ const onDeleteAccount = () => {
if (res.code === 200) { if (res.code === 200) {
uni.showToast({ title: '注销成功', icon: 'success' }) uni.showToast({ title: '注销成功', icon: 'success' })
setTimeout(() => { setTimeout(() => {
uni.navigateTo({ uni.reLaunch({
url: '/pageSubPack/loginSub/login?mode=pwd' url: '/pageSubPack/loginSub/login?mode=pwd'
}) })
}, 1500) }, 1500)

View File

@@ -153,6 +153,8 @@
noMoreData.value = false noMoreData.value = false
getList() getList()
uni.setStorageSync('houseIsDefault', e.detail.value) uni.setStorageSync('houseIsDefault', e.detail.value)
// 标记首页需要重新加载用户信息,返回首页后 onShow 会自动刷新小区
uni.setStorageSync('needReloadUserInfo', true)
uni.showToast({ uni.showToast({
title: res.msg || '设置默认房屋成功', title: res.msg || '设置默认房屋成功',
icon: 'none' icon: 'none'

View File

@@ -1,11 +1,11 @@
<template> <template>
<view class="contentStyle"> <view class="contentStyle">
<view class="topbox"> <view class="topbox">
<image class="titleImg" src="https://wuyeadmin.bugtc.com/images/propertyImgs/payTitle.png"></image> <image class="titleImg" src="https://wuye.ckdzkj.com/images/propertyImgs/payTitle.png"></image>
<image class="payImg" src="https://wuyeadmin.bugtc.com/images/propertyImgs/payImg.png"></image> <image class="payImg" src="https://wuye.ckdzkj.com/images/propertyImgs/payImg.png"></image>
<!-- 小区选择 --> <!-- 小区选择 -->
<view class="community-bar" @click="navigateToSelectHome"> <view class="community-bar" @click="navigateToSelectHome">
<image src="https://wuyeadmin.bugtc.com/images/home/adress.png" class="location-icon"></image> <image src="https://wuye.ckdzkj.com/images/home/adress.png" class="location-icon"></image>
<text class="community-name">{{ currentCommunity }}</text> <text class="community-name">{{ currentCommunity }}</text>
<u-icon name="arrow-down-fill" size="14" color="#222222"></u-icon> <u-icon name="arrow-down-fill" size="14" color="#222222"></u-icon>
</view> </view>
@@ -13,13 +13,13 @@
<view class="page"> <view class="page">
<view class="container"> <view class="container">
<!-- /电费列表 --> <!-- /电费列表 -->
<scroll-view class="details-scroll" scroll-y="true" @scrolltolower="onPayLoadMore"> <scroll-view class="details-scroll" scroll-y="true" @scrolltolower="onPayLoadMore" :style="{ height: paymentList.length ? '550rpx' : '180rpx' }">
<view class="bill-list"> <view class="bill-list">
<template v-if="paymentList.length != 0"> <template v-if="paymentList.length != 0">
<view class="bill-item" @click="goToBill(item)" v-for="item,index in paymentList" :key="index"> <view class="bill-item" @click="goToBill(item)" v-for="item,index in paymentList" :key="index">
<image class="billIcon" src="https://wuyeadmin.bugtc.com/images/propertyImgs/water.png" <image class="billIcon" src="https://wuye.ckdzkj.com/images/propertyImgs/water.png"
v-if="item.type=='水费'"></image> v-if="item.type=='水费'"></image>
<image class="billIcon" src="https://wuyeadmin.bugtc.com/images/propertyImgs/electric.png" <image class="billIcon" src="https://wuye.ckdzkj.com/images/propertyImgs/electric.png"
v-if="item.type=='电费'"></image> v-if="item.type=='电费'"></image>
<view class="bill-info"> <view class="bill-info">
<view class="bill-title">{{item.type}} <view class="bill-title">{{item.type}}
@@ -45,11 +45,11 @@
</view> </view>
</scroll-view> </scroll-view>
<!-- 物业费/垃圾处理费列表 --> <!-- 物业费/垃圾处理费列表 -->
<scroll-view class="details-scroll-bill" scroll-y="true" @scrolltolower="onLoadMore"> <scroll-view class="details-scroll-bill" scroll-y="true" @scrolltolower="onLoadMore" :style="{ height: detailslist.length ? '550rpx' : '180rpx' }">
<view class="bill-list"> <view class="bill-list">
<template v-if="detailslist.length != 0"> <template v-if="detailslist.length != 0">
<view class="bill-item" :class="{ 'bill-paid': !item.amount }" @click="!item.amount ? null : goToBill(item)" v-for="item,index in detailslist" :key="index"> <view class="bill-item" :class="{ 'bill-paid': !item.amount }" @click="!item.amount ? null : goToBill(item)" v-for="item,index in detailslist" :key="index">
<image class="billIcon" src="https://wuyeadmin.bugtc.com/images/propertyImgs/property.png"></image> <image class="billIcon" src="https://wuye.ckdzkj.com/images/propertyImgs/property.png"></image>
<view class="bill-info"> <view class="bill-info">
<view class="bill-title">{{ item.name }} <view class="bill-title">{{ item.name }}
<view class="bill-status debt" v-if="item.amount">未缴纳</view> <view class="bill-status debt" v-if="item.amount">未缴纳</view>
@@ -125,7 +125,7 @@ const paymentList = ref([
name: '电费', name: '电费',
status: '已欠费', status: '已欠费',
address: '山东省日照市东港区桂花园别墅2号楼2层', address: '山东省日照市东港区桂花园别墅2号楼2层',
icon: "https://wuyeadmin.bugtc.com/images/propertyImgs/electric.png", icon: "https://wuye.ckdzkj.com/images/propertyImgs/electric.png",
} }
]) ])
@@ -134,13 +134,13 @@ const paymentList = ref([
{ {
name: "水表", name: "水表",
type: "water", type: "water",
icon: "https://wuyeadmin.bugtc.com/images/propertyImgs/water.png", icon: "https://wuye.ckdzkj.com/images/propertyImgs/water.png",
iconClass: "water" iconClass: "water"
}, },
{ {
name: "电表", name: "电表",
type: "electric", type: "electric",
icon: "https://wuyeadmin.bugtc.com/images/propertyImgs/electric.png", icon: "https://wuye.ckdzkj.com/images/propertyImgs/electric.png",
iconClass: "electric" iconClass: "electric"
}, },
@@ -576,7 +576,7 @@ page {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
padding: 80rpx 0; height: 120rpx;
} }
.empty-text { .empty-text {

View File

@@ -110,13 +110,13 @@
// 图标映射 // 图标映射
const iconMap = { const iconMap = {
'电费': 'https://wuyeadmin.bugtc.com/images/propertyImgs/electric.png', '电费': 'https://wuye.ckdzkj.com/images/propertyImgs/electric.png',
'水费': 'https://wuyeadmin.bugtc.com/images/propertyImgs/water.png', '水费': 'https://wuye.ckdzkj.com/images/propertyImgs/water.png',
'物业费': 'https://wuyeadmin.bugtc.com/images/propertyImgs/property.png', '物业费': 'https://wuye.ckdzkj.com/images/propertyImgs/property.png',
'车位费': 'https://wuyeadmin.bugtc.com/images/propertyImgs/parking.png', '车位费': 'https://wuye.ckdzkj.com/images/propertyImgs/parking.png',
'垃圾处理费': 'https://wuyeadmin.bugtc.com/images/propertyImgs/garbage.png', '垃圾处理费': 'https://wuye.ckdzkj.com/images/propertyImgs/garbage.png',
'充值': 'https://wuyeadmin.bugtc.com/images/propertyImgs/water.png', '充值': 'https://wuye.ckdzkj.com/images/propertyImgs/water.png',
'账单': 'https://wuyeadmin.bugtc.com/images/propertyImgs/property.png' '账单': 'https://wuye.ckdzkj.com/images/propertyImgs/property.png'
} }
// 获取缴费记录loadMore=true 时分页追加) // 获取缴费记录loadMore=true 时分页追加)