部分样式
This commit is contained in:
@@ -2,12 +2,12 @@
|
|||||||
<view class="page_padding">
|
<view class="page_padding">
|
||||||
<view class="flex-1 flex-col flex inspection_main_box">
|
<view class="flex-1 flex-col flex inspection_main_box">
|
||||||
<view class="info_box">
|
<view class="info_box">
|
||||||
<view class="title_box flex flex-between">
|
<view class="title_box">
|
||||||
<view class="title flex">
|
<view class="title flex">
|
||||||
<text class="line"></text>
|
<text class="line"></text>
|
||||||
<text>{{ info.villageName }} - {{ info.taskName }}</text>
|
<text>{{ info.villageName }} - {{ info.taskName }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="inspection_status" style="flex: 100rpx"> <text>已巡检</text> </view>
|
<view class="inspection_status" style="width: 100rpx"> <text>已巡检</text> </view>
|
||||||
</view>
|
</view>
|
||||||
<view class="info">
|
<view class="info">
|
||||||
<view class="item">
|
<view class="item">
|
||||||
@@ -186,12 +186,16 @@ function handlePrivew(lists, index) {
|
|||||||
border-radius: 16rpx;
|
border-radius: 16rpx;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
.title_box {
|
.title_box {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
.title {
|
.title {
|
||||||
font-weight: 550;
|
font-weight: 550;
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
min-height: 40rpx;
|
min-height: 40rpx;
|
||||||
line-height: 40rpx;
|
line-height: 40rpx;
|
||||||
|
|
||||||
.line {
|
.line {
|
||||||
display: block;
|
display: block;
|
||||||
width: 6rpx;
|
width: 6rpx;
|
||||||
|
|||||||
@@ -314,6 +314,8 @@ onShow(() => {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
|
border-radius: 25rpx;
|
||||||
|
background: #4d5dfa;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -80,7 +80,7 @@
|
|||||||
:key="index"
|
:key="index"
|
||||||
:src="item"
|
:src="item"
|
||||||
class="images"
|
class="images"
|
||||||
@tap="handlePrivew(record.repairImageUrlList, index)"
|
@tap.stop="handlePrivew(record.repairImageUrlList, index)"
|
||||||
mode="scaleToFill"
|
mode="scaleToFill"
|
||||||
></image>
|
></image>
|
||||||
</view>
|
</view>
|
||||||
@@ -385,7 +385,6 @@ function handlePrivew(items, index) {
|
|||||||
margin-bottom: 20rpx;
|
margin-bottom: 20rpx;
|
||||||
}
|
}
|
||||||
.card-title {
|
.card-title {
|
||||||
flex: 1;
|
|
||||||
margin-right: 10rpx;
|
margin-right: 10rpx;
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
color: #222222;
|
color: #222222;
|
||||||
|
|||||||
@@ -20,18 +20,18 @@
|
|||||||
style="height: 100%; width: 100%"
|
style="height: 100%; width: 100%"
|
||||||
></image>
|
></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="community-selector">
|
<view class="community-selector">
|
||||||
<text class="community-name">{{ currentCommunity }}</text>
|
<text class="community-name">{{ currentCommunity }}</text>
|
||||||
<view class="community-icon">
|
<view class="community-icon">
|
||||||
<image
|
<image
|
||||||
src="https://wuyeadmin.bugtc.com/images/imgs/三角形.png"
|
src="https://wuyeadmin.bugtc.com/images/imgs/三角形.png"
|
||||||
style="height: 100%; width: 100%"
|
style="height: 100%; width: 100%"
|
||||||
></image>
|
></image>
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
<!-- 可滚动内容区 -->
|
<!-- 可滚动内容区 -->
|
||||||
<view class="scroll-content">
|
<view class="scroll-content">
|
||||||
@@ -91,11 +91,11 @@
|
|||||||
<text class="num">{{ allCount }}</text>
|
<text class="num">{{ allCount }}</text>
|
||||||
<text class="label">全部巡检</text>
|
<text class="label">全部巡检</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="statistics-item" @click="goToDaysInspection">
|
<view class="statistics-item" @click="goToDaysInspection(0)">
|
||||||
<text class="num">{{ pendingCount }}</text>
|
<text class="num">{{ pendingCount }}</text>
|
||||||
<text class="label">待巡检</text>
|
<text class="label">待巡检</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="statistics-item">
|
<view class="statistics-item" @click="goToDaysInspection(1)">
|
||||||
<text class="num">{{ InspectedCount }}</text>
|
<text class="num">{{ InspectedCount }}</text>
|
||||||
<text class="label">已巡检</text>
|
<text class="label">已巡检</text>
|
||||||
</view>
|
</view>
|
||||||
@@ -199,9 +199,9 @@ const goToMyTicket = () => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 跳转到 今日巡检
|
// 跳转到 今日巡检
|
||||||
const goToDaysInspection = () => {
|
const goToDaysInspection = type => {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pageSubPack/inspection/toDays_inscpection?type=0'
|
url: '/pageSubPack/inspection/toDays_inscpection?type=' + type
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 跳转到 巡检记录
|
// 跳转到 巡检记录
|
||||||
|
|||||||
Reference in New Issue
Block a user