部分样式
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
<view class="page_padding">
|
||||
<view class="flex-1 flex-col flex inspection_main_box">
|
||||
<view class="info_box">
|
||||
<view class="title_box flex flex-between">
|
||||
<view class="title_box">
|
||||
<view class="title flex">
|
||||
<text class="line"></text>
|
||||
<text>{{ info.villageName }} - {{ info.taskName }}</text>
|
||||
</view>
|
||||
<view class="inspection_status" style="flex: 100rpx"> <text>已巡检</text> </view>
|
||||
<view class="inspection_status" style="width: 100rpx"> <text>已巡检</text> </view>
|
||||
</view>
|
||||
<view class="info">
|
||||
<view class="item">
|
||||
@@ -186,12 +186,16 @@ function handlePrivew(lists, index) {
|
||||
border-radius: 16rpx;
|
||||
background-color: #fff;
|
||||
.title_box {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.title {
|
||||
font-weight: 550;
|
||||
font-size: 32rpx;
|
||||
color: #333333;
|
||||
min-height: 40rpx;
|
||||
line-height: 40rpx;
|
||||
|
||||
.line {
|
||||
display: block;
|
||||
width: 6rpx;
|
||||
|
||||
@@ -314,6 +314,8 @@ onShow(() => {
|
||||
text-align: center;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
border-radius: 25rpx;
|
||||
background: #4d5dfa;
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
:key="index"
|
||||
:src="item"
|
||||
class="images"
|
||||
@tap="handlePrivew(record.repairImageUrlList, index)"
|
||||
@tap.stop="handlePrivew(record.repairImageUrlList, index)"
|
||||
mode="scaleToFill"
|
||||
></image>
|
||||
</view>
|
||||
@@ -385,7 +385,6 @@ function handlePrivew(items, index) {
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.card-title {
|
||||
flex: 1;
|
||||
margin-right: 10rpx;
|
||||
font-size: 32rpx;
|
||||
color: #222222;
|
||||
|
||||
@@ -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
|
||||
})
|
||||
}
|
||||
// 跳转到 巡检记录
|
||||
|
||||
Reference in New Issue
Block a user