部分样式

This commit is contained in:
Zy
2026-08-29 14:31:54 +08:00
parent 427418ebc1
commit 738e3bbd7d
4 changed files with 21 additions and 16 deletions

View File

@@ -20,18 +20,18 @@
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 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>
<!-- 可滚动内容区 -->
<view class="scroll-content">
@@ -91,11 +91,11 @@
<text class="num">{{ allCount }}</text>
<text class="label">全部巡检</text>
</view>
<view class="statistics-item" @click="goToDaysInspection">
<view class="statistics-item" @click="goToDaysInspection(0)">
<text class="num">{{ pendingCount }}</text>
<text class="label">待巡检</text>
</view>
<view class="statistics-item">
<view class="statistics-item" @click="goToDaysInspection(1)">
<text class="num">{{ InspectedCount }}</text>
<text class="label">已巡检</text>
</view>
@@ -199,9 +199,9 @@ const goToMyTicket = () => {
})
}
// 跳转到 今日巡检
const goToDaysInspection = () => {
const goToDaysInspection = type => {
uni.navigateTo({
url: '/pageSubPack/inspection/toDays_inscpection?type=0'
url: '/pageSubPack/inspection/toDays_inscpection?type=' + type
})
}
// 跳转到 巡检记录