解决巡检上传记录固定,不能滑动

This commit is contained in:
Zy
2026-08-17 08:25:41 +08:00
parent 7741de8993
commit fa834b4e74
4 changed files with 40 additions and 44 deletions

View File

@@ -2,8 +2,8 @@
"name" : "花开管家",
"appid" : "__UNI__5F224F3",
"description" : "智慧社区管家端,专为小区物业管理人员打造,支持多小区灵活切换管理。集成账号密码、手机号密码双重登录模式,内置忘记密码找回功能,保障账号安全。涵盖消息通知、日常巡检、故障报修、一键开门、工单流转、投诉处理等核心办公功能,物业人员可在线完成巡检打卡、问题上报、工单派发跟进、投诉对接处理等日常工作,同时支持查看个人上报记录、巡检历史,便捷修改账号信息与登录密码。高效简化社区物业办公流程,提升小区服务与管理效率,打造便捷智能的社区管理服务平台。",
"versionName" : "1.0.4",
"versionCode" : 104,
"versionName" : "1.0.5",
"versionCode" : 105,
"transformPx" : false,
"app-plus" : {
"usingComponents" : true,

View File

@@ -1,7 +1,7 @@
<template>
<!-- 顶部导航栏 -->
<view class="page_padding">
<view class="inspection_record_box flex-1 flex flex-col">
<view class="inspection_record_box flex flex-col">
<navBar @clickLeft="navBack" title="巡检记录"></navBar>
<TabsComponents
:activeValue="activeValue"
@@ -26,8 +26,8 @@
</uni-datetime-picker>
</view>
</view>
<view v-if="list.length > 0">
<scroll-view
v-if="list.length > 0"
class="record_body record-list"
scroll-y
lower-threshold="160"
@@ -59,7 +59,6 @@
</view>
</view>
</scroll-view>
</view>
<view class="nodata" v-if="list.length <= 0">
<text>暂无数据</text>
</view>
@@ -100,7 +99,7 @@ const activeValue = ref(2)
// ---------------------------------------------------------------------
const list = ref([])
const queryParmas = ref({
date: '',
date: parseTime(new Date(), '{y}-{m}-{d}'),
status: 2,
pageNum: 1,
pageSize: 10
@@ -190,11 +189,6 @@ function handleChangeTabs(val: number) {
}
// ---------------------------------------------------------------------
function init() {
queryParmas.value.date = parseTime(new Date(), '{y}-{m}-{d}')
getlist()
}
onShow(() => {
hasMore.value = true
resetList()
@@ -203,9 +197,8 @@ function resetList() {
list.value = []
queryParmas.value.status = 2
queryParmas.value.pageSize = 10
queryParmas.value.pageSize = 10
hasMore.value = true
init()
getlist()
}
// 返回上一页
@@ -276,7 +269,6 @@ const navBack = () => {
overflow: hidden;
overflow-y: auto;
box-sizing: border-box;
.record_list_item {
margin-bottom: 20rpx;
background: #ffffff;

View File

@@ -95,7 +95,7 @@
<view class="submitbox" @tap="handleSubmit(ite)" v-if="!ite.complated">
<text>提交</text>
</view>
<view class="line" v-if="ind + 1 === baseFormData.length"> </view>
<view class="line" v-if="ind + 1 < item.points.length"> </view>
</view>
</view>
</view>

View File

@@ -354,6 +354,9 @@ function handlePrivew(imgs) {
font-size: 32rpx;
color: #222222;
line-height: 40rpx;
max-width: 500rpx;
overflow: hidden;
text-overflow: ellipsis;
}
/* 状态标签 */
@@ -411,6 +414,7 @@ function handlePrivew(imgs) {
color: #666666;
line-height: 40rpx;
letter-spacing: 2rpx;
word-wrap: break-word;
}
/* 图片 */
.card-image {