diff --git a/api/warn/autolog.js b/api/warn/autolog.js index 00f0419..ab17e9f 100644 --- a/api/warn/autolog.js +++ b/api/warn/autolog.js @@ -42,3 +42,10 @@ export function delAutolog(id) { method: 'delete' }) } +export function getAutoLogList(query) { + return request({ + url: '/warn/autolog/getAutoLogList', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/pages/news/subpages/deviceCenter/index.vue b/pages/news/subpages/deviceCenter/index.vue index 4039c36..cf03939 100644 --- a/pages/news/subpages/deviceCenter/index.vue +++ b/pages/news/subpages/deviceCenter/index.vue @@ -42,7 +42,7 @@ - + diff --git a/pages/news/subpages/deviceLog/log.vue b/pages/news/subpages/deviceLog/log.vue index da48093..b5d4de4 100644 --- a/pages/news/subpages/deviceLog/log.vue +++ b/pages/news/subpages/deviceLog/log.vue @@ -16,96 +16,81 @@ - - - + - 请选择大棚: + 请选择大棚: + - - - - - - - - + + + + + + + + + + + {{}} + {{}} + {{}} + {{}} + {{}} + + + + + + - - - - - {{ item.time }} - - - - - - - {{ item.device }} - {{ item.event }} - - - - - - - + @@ -232,11 +234,7 @@ export default { justify-content: space-between; padding: 20rpx 30rpx; } -.date-title { - font-size: 36rpx; - font-weight: 400; - color: #333; -} + .category-tabs { display: flex; align-items: center; @@ -249,86 +247,10 @@ export default { padding: 0 30rpx; height: calc(100vh - var(--status-bar-height) - 180rpx); } -.video-item { - display: flex; - align-items: flex-start; - margin-bottom: 30rpx; +.content { + padding: 15px; } -/* 时间轴 */ -.time-axis { - display: flex; - flex-direction: column; - align-items: center; - margin-right: 14rpx; - padding-top: 20rpx; -} -.axis-line { - width: 1rpx; - height: 170rpx; /* 适配时间+卡片高度 */ - background-color: #e0e0e0; - margin-top: 8rpx; -} - -/* 时间+卡片 垂直包裹 */ -.time-card-wrap { - flex: 1; - display: flex; - flex-direction: column; -} - -/* 时间信息(在卡片正上方) */ -.time-info { - display: flex; - align-items: center; - margin-bottom: 15rpx; -} -.time-text { - font-size: 30rpx; - color: #333; - margin-top: 20rpx; -} -.unread-dot { - width: 12rpx; - height: 12rpx; - background-color: #ff3b30; - border-radius: 50%; - margin-left: 10rpx; -} - -/* 视频卡片 */ -.video-card { - display: flex; - background-color: #f7f8fd; - border-radius: 12rpx; - padding: 20rpx; -} -.video-info { - flex: 1; - display: flex; - flex-direction: column; - justify-content: center; - width: 0; -} -.device-name { - font-size: 28rpx; - color: #8f8f8f; - margin-bottom: 10rpx; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - padding-right: 10rpx; -} -.event-type { - font-size: 28rpx; - color: #333; - font-weight: 500; -} -.video-cover { - width: 320rpx; - height: 180rpx; - border-radius: 8rpx; -} /deep/.uni-select__input-placeholder { font-size: 24rpx !important; } diff --git a/pages/news/subpages/eventCenter/index.vue b/pages/news/subpages/eventCenter/index.vue index 87f6d75..69f70a5 100644 --- a/pages/news/subpages/eventCenter/index.vue +++ b/pages/news/subpages/eventCenter/index.vue @@ -37,7 +37,7 @@ - + diff --git a/pages/news/subpages/sysNotice/index.vue b/pages/news/subpages/sysNotice/index.vue index a6c92fb..1d3a386 100644 --- a/pages/news/subpages/sysNotice/index.vue +++ b/pages/news/subpages/sysNotice/index.vue @@ -51,7 +51,7 @@ - + diff --git a/pages/news/subpages/videoCenter/index.vue b/pages/news/subpages/videoCenter/index.vue index 1cd610f..c6c76cf 100644 --- a/pages/news/subpages/videoCenter/index.vue +++ b/pages/news/subpages/videoCenter/index.vue @@ -16,9 +16,7 @@ - - - + - + @@ -237,11 +235,6 @@ export default { justify-content: space-between; padding: 20rpx 30rpx; } -.date-title { - font-size: 36rpx; - font-weight: 400; - color: #333; -} .category-tabs { display: flex; align-items: center; diff --git a/static/scss/index.scss b/static/scss/index.scss index 4b499ae..f69acdc 100644 --- a/static/scss/index.scss +++ b/static/scss/index.scss @@ -89,4 +89,7 @@ .modal-btn.confirm { background: #007aff; color: #fff; +} +.empty__view { + margin-top: 100rpx; } \ No newline at end of file