From 7bdca483f66f4bb7aa19769c959fd815365d9c96 Mon Sep 17 00:00:00 2001 From: 18796357645 <674126018@qq.com> Date: Sat, 19 Jul 2025 11:51:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BC=BA=E7=9C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.js | 2 +- pages/deviceManage/index.vue | 42 ++++++++++++++++++++++++++++++++++++ pages/index/index.vue | 2 +- pages/mine/index.vue | 8 +++---- 4 files changed, 48 insertions(+), 6 deletions(-) diff --git a/config.js b/config.js index 8239b4c..09777d6 100644 --- a/config.js +++ b/config.js @@ -6,4 +6,4 @@ export const BASE_API_URL = "https://online.totustec.com/api"; // 静态数据 export const BASE_IMG_URL = "https://online.totustec.com/upload"; -export const BASE_STOKECT_URL = "ws://online.totustec.com/webSocket/vue" \ No newline at end of file +export const BASE_STOKECT_URL = "wss://online.totustec.com/webSocket/vue" \ No newline at end of file diff --git a/pages/deviceManage/index.vue b/pages/deviceManage/index.vue index f2b09c5..4b18d80 100644 --- a/pages/deviceManage/index.vue +++ b/pages/deviceManage/index.vue @@ -142,6 +142,14 @@ + + + + 暂无日志数据 + + + + @@ -723,6 +731,40 @@ export default { } } +/* 缺省状态样式 */ +.empty_state_warp { + width: 100%; + height: 400rpx; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + padding: 60rpx 0; +} + +.empty_state_icon { + width: 120rpx; + height: 120rpx; + margin-bottom: 30rpx; + opacity: 0.6; +} + +.empty_state_title { + font-family: PingFang SC, PingFang SC; + font-weight: 500; + font-size: 32rpx; + color: #999999; + margin-bottom: 16rpx; +} + +.empty_state_desc { + font-family: PingFang SC, PingFang SC; + font-weight: 400; + font-size: 26rpx; + color: #cccccc; + text-align: center; +} + .operation_btn_icon { width: 40rpx; height: 40rpx; diff --git a/pages/index/index.vue b/pages/index/index.vue index 72d42dc..71dd53f 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -313,7 +313,7 @@ export default { }, onShareAppMessage () { return { - title: '欢迎是有Totustec', + title: '欢迎使用Totustec', path: '/pages/index/index', imageUrl: 'https://online.totustec.com/upload/indexPage/logo.png' } diff --git a/pages/mine/index.vue b/pages/mine/index.vue index 1967f5f..3d1ecbf 100644 --- a/pages/mine/index.vue +++ b/pages/mine/index.vue @@ -80,10 +80,10 @@ export default { icon: "https://online.totustec.com/upload/minePage/area1_content_icon1.png", text: "设备管理", }, - { - icon: "https://online.totustec.com/upload/minePage/area1_content_icon2.png", - text: "预警管理", - }, + // { + // icon: "https://online.totustec.com/upload/minePage/area1_content_icon2.png", + // text: "预警管理", + // }, // { // icon: "https://online.totustec.com/upload/minePage/area1_content_icon3.png", // text: "我的收藏",