修复bug
This commit is contained in:
@@ -939,7 +939,8 @@ const showToastMessage = (message) => {
|
||||
}
|
||||
.rich-content {
|
||||
white-space: normal !important;
|
||||
word-break: normal !important;
|
||||
word-break: break-all !important;
|
||||
overflow-wrap: break-word !important;
|
||||
overflow: hidden;
|
||||
/* 富文本内嵌的所有元素不超出容器 */
|
||||
* {
|
||||
|
||||
@@ -2,8 +2,8 @@ import { navigateToLogin } from '@/common/checkLogin.js'
|
||||
|
||||
let baseUrl = '';
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
baseUrl = 'http://192.168.1.6:8080'; // 开发环境
|
||||
// baseUrl = 'http://192.168.1.222:8080';
|
||||
// baseUrl = 'http://192.168.1.6:8080'; // 开发环境
|
||||
baseUrl = 'http://192.168.1.222:8080';
|
||||
} else {
|
||||
baseUrl = 'https://wuyeapi.ckdzkj.com'; // 生产环境
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// 服务器地址(与 request.js 保持一致)
|
||||
const baseUrl = 'https://wuyeapi.ckdzkj.com';
|
||||
// const baseUrl = "http://192.168.1.6:8080"
|
||||
// const baseUrl = 'https://wuyeapi.ckdzkj.com';
|
||||
const baseUrl = "http://192.168.1.222:8080"
|
||||
|
||||
/**
|
||||
* 图片上传 Hook
|
||||
|
||||
@@ -75,7 +75,7 @@ const onDeleteAccount = () => {
|
||||
if (res.code === 200) {
|
||||
uni.showToast({ title: '注销成功', icon: 'success' })
|
||||
setTimeout(() => {
|
||||
uni.navigateTo({
|
||||
uni.reLaunch({
|
||||
url: '/pageSubPack/loginSub/login?mode=pwd'
|
||||
})
|
||||
}, 1500)
|
||||
|
||||
@@ -153,6 +153,8 @@
|
||||
noMoreData.value = false
|
||||
getList()
|
||||
uni.setStorageSync('houseIsDefault', e.detail.value)
|
||||
// 标记首页需要重新加载用户信息,返回首页后 onShow 会自动刷新小区
|
||||
uni.setStorageSync('needReloadUserInfo', true)
|
||||
uni.showToast({
|
||||
title: res.msg || '设置默认房屋成功',
|
||||
icon: 'none'
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<view class="contentStyle">
|
||||
<view class="topbox">
|
||||
<image class="titleImg" src="https://wuyeadmin.bugtc.com/images/propertyImgs/payTitle.png"></image>
|
||||
<image class="payImg" src="https://wuyeadmin.bugtc.com/images/propertyImgs/payImg.png"></image>
|
||||
<image class="titleImg" src="https://wuye.ckdzkj.com/images/propertyImgs/payTitle.png"></image>
|
||||
<image class="payImg" src="https://wuye.ckdzkj.com/images/propertyImgs/payImg.png"></image>
|
||||
<!-- 小区选择 -->
|
||||
<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>
|
||||
<u-icon name="arrow-down-fill" size="14" color="#222222"></u-icon>
|
||||
</view>
|
||||
@@ -13,13 +13,13 @@
|
||||
<view class="page">
|
||||
<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">
|
||||
<template v-if="paymentList.length != 0">
|
||||
<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>
|
||||
<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>
|
||||
<view class="bill-info">
|
||||
<view class="bill-title">{{item.type}}
|
||||
@@ -45,11 +45,11 @@
|
||||
</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">
|
||||
<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">
|
||||
<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-title">{{ item.name }}
|
||||
<view class="bill-status debt" v-if="item.amount">未缴纳</view>
|
||||
@@ -125,7 +125,7 @@ const paymentList = ref([
|
||||
name: '电费',
|
||||
status: '已欠费',
|
||||
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: "水表",
|
||||
type: "water",
|
||||
icon: "https://wuyeadmin.bugtc.com/images/propertyImgs/water.png",
|
||||
icon: "https://wuye.ckdzkj.com/images/propertyImgs/water.png",
|
||||
iconClass: "water"
|
||||
},
|
||||
{
|
||||
name: "电表",
|
||||
type: "electric",
|
||||
icon: "https://wuyeadmin.bugtc.com/images/propertyImgs/electric.png",
|
||||
icon: "https://wuye.ckdzkj.com/images/propertyImgs/electric.png",
|
||||
iconClass: "electric"
|
||||
},
|
||||
|
||||
@@ -576,7 +576,7 @@ page {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 80rpx 0;
|
||||
height: 120rpx;
|
||||
}
|
||||
|
||||
.empty-text {
|
||||
|
||||
@@ -110,13 +110,13 @@
|
||||
|
||||
// 图标映射
|
||||
const iconMap = {
|
||||
'电费': 'https://wuyeadmin.bugtc.com/images/propertyImgs/electric.png',
|
||||
'水费': 'https://wuyeadmin.bugtc.com/images/propertyImgs/water.png',
|
||||
'物业费': 'https://wuyeadmin.bugtc.com/images/propertyImgs/property.png',
|
||||
'车位费': 'https://wuyeadmin.bugtc.com/images/propertyImgs/parking.png',
|
||||
'垃圾处理费': 'https://wuyeadmin.bugtc.com/images/propertyImgs/garbage.png',
|
||||
'充值': 'https://wuyeadmin.bugtc.com/images/propertyImgs/water.png',
|
||||
'账单': 'https://wuyeadmin.bugtc.com/images/propertyImgs/property.png'
|
||||
'电费': 'https://wuye.ckdzkj.com/images/propertyImgs/electric.png',
|
||||
'水费': 'https://wuye.ckdzkj.com/images/propertyImgs/water.png',
|
||||
'物业费': 'https://wuye.ckdzkj.com/images/propertyImgs/property.png',
|
||||
'车位费': 'https://wuye.ckdzkj.com/images/propertyImgs/parking.png',
|
||||
'垃圾处理费': 'https://wuye.ckdzkj.com/images/propertyImgs/garbage.png',
|
||||
'充值': 'https://wuye.ckdzkj.com/images/propertyImgs/water.png',
|
||||
'账单': 'https://wuye.ckdzkj.com/images/propertyImgs/property.png'
|
||||
}
|
||||
|
||||
// 获取缴费记录(loadMore=true 时分页追加)
|
||||
|
||||
Reference in New Issue
Block a user