diff --git a/packDetail/pages/analysis/index.vue b/packDetail/pages/analysis/index.vue index 9744218..c0433ea 100644 --- a/packDetail/pages/analysis/index.vue +++ b/packDetail/pages/analysis/index.vue @@ -86,38 +86,18 @@ + - - - {{item}} - - - - - {{item.fullDeviceName}} + + {{item.fullDeviceName?item.fullDeviceName:''}} + + {{item.alertContent[0].name?item.alertContent[0].name:''}} + {{item.alertContent[0].val}}{{item.alertContent[0].unit}} + {{item.datetime}} - - - - - {{item.alertContent[0].name}} - - - - - - {{item.alertContent[0].val}}{{item.alertContent[0].unit}} - - - - - - {{item.datetime}} - - - + @@ -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 {