样式更新统计分析

This commit is contained in:
978184212@qq.com 2025-12-02 15:15:37 +08:00
parent 94553b2b13
commit 746765861f
1 changed files with 56 additions and 29 deletions

View File

@ -86,38 +86,18 @@
</picker>
</view>
</view>
<view style="width: 100%;height: 12rpx;border-bottom: 2rpx solid #f6f8f8;"></view>
<view class="list_item_bot">
<view class="scrolltop">
<view class="tabitem" v-for="(item,index) in tabList" :key="index">
{{item}}
</view>
</view>
<scroll-view style="height: 530rpx;" scroll-y="true" class="scroll-Y" @scrolltolower="lower">
<view class="lists_item" v-for="(item,index) in list" :key="index">
<block>
<view class="jczbs" v-if="item.fullDeviceName">
{{item.fullDeviceName}}
<view class="litCovv">
<text class="yujTit">{{item.fullDeviceName?item.fullDeviceName:''}}</text>
<view class="yujTwo">
<text class="yujxiangm">{{item.alertContent[0].name?item.alertContent[0].name:''}}</text>
<text class="yujdanw">{{item.alertContent[0].val}}{{item.alertContent[0].unit}}</text>
<text class="yujiTime">{{item.datetime}}</text>
</view>
<view class="jczbs" v-else></view>
</block>
<block>
<view class="zbz" v-if="item.alertContent">
{{item.alertContent[0].name}}
</view>
<view class="zbz" v-else></view>
</block>
<block>
<view class="zbzs" v-if="item.alertContent">
{{item.alertContent[0].val}}{{item.alertContent[0].unit}}
</view>
<view class="zbzs" v-else></view>
</block>
<block>
<view class="sbsj" v-if="item.datetime">
{{item.datetime}}
</view>
<view class="sbsj" v-else></view>
</block>
</view>
</view>
<view class="load">
<uni-load-more :status="loadStatus"></uni-load-more>
@ -1053,7 +1033,54 @@
.lists_item {
padding-top: 35rpx;
box-sizing: border-box;
display: flex;
.litCovv{
width: 100%;
height: 120rpx;
border-radius: 16rpx;
background-color: #f6f6f6;
overflow: hidden;
.yujTit{
display: block;
margin-left: 2%;
margin-top: 10rpx;
font-size: 28rpx;
color: #333;
margin-bottom: 10rpx;
font-weight: 500;
}
.yujTwo{
width: 96%;
height: 60rpx;
line-height: 60rpx;
margin-left: 2%;
overflow: hidden;
.yujxiangm{
display: inline-block;
padding: 6rpx 10rpx;
background-color: #22BB8A;
height: 30rpx;
line-height: 30rpx;
color: #fff;
font-size: 24rpx;
border-radius: 10rpx;
}
.yujdanw{
height: 50rpx;
line-height: 50rpx;
color:#FF4242;
font-size: 28rpx;
margin-left: 3%;
}
.yujiTime{
font-size: 16rpx;
color: #999;
float: right;
height: 50rpx;
line-height: 50rpx;
font-size: 24rpx;
}
}
}
}
// .lists_item:first-child {