调整消息推送

This commit is contained in:
guanj
2026-04-03 14:48:45 +08:00
parent 9f593bd428
commit db097bc64a
20 changed files with 324 additions and 267 deletions

View File

@@ -36,7 +36,10 @@
<text class="event-id">{{ item.date }}发生告警终端{{ item.warnNums }}</text>
</view>
</view>
<view class="event-action"> <uni-icons type="search" size="25"></uni-icons> </view>
<view class="event-action">
<!-- <uni-icons type="search" size="25" color="#376cf3"></uni-icons> -->
🔍
</view>
</view>
</uni-card>
<uni-load-more

View File

@@ -50,11 +50,12 @@
</view>
</view>
<view class="event-action">
<uni-icons type="search" size="25"></uni-icons>
<!-- <uni-icons type="search" size="25" color="#376cf3"></uni-icons> -->
🔍
</view>
</view>
<!-- 详情区域 -->
<view class="event-detail">
<view class="event-detail textBox">
<text>{{ item.statisticsDate }}发生 {{ item.overLimitDesc }} </text>
</view>
</uni-card>
@@ -191,4 +192,14 @@ export default {
/deep/ .uni-scroll-view-refresher {
display: none;
}
.textBox {
max-height: 110rpx;
overflow: hidden;
/* 下面是溢出显示省略号关键样式 */
display: -webkit-box;
-webkit-line-clamp: 3; /* 控制最多显示几行,你可以改 2/3/4 */
-webkit-box-orient: vertical;
text-overflow: ellipsis;
word-break: break-all;
}
</style>

View File

@@ -87,7 +87,10 @@
<text>监测点名称:{{ item.lineName }}</text>
</view>
</view>
<view class="event-action"> <uni-icons type="search" size="25" color="#376cf3"></uni-icons> </view>
<view class="event-action">
<!-- <uni-icons type="search" size="25" color="#376cf3"></uni-icons> -->
🔍
</view>
</view>
<!-- 详情区域 -->
<view class="event-detail">
@@ -293,5 +296,4 @@ export default {
/deep/ .uni-scroll-view-refresher {
display: none;
}
</style>