修改缺省

This commit is contained in:
18796357645 2025-07-19 11:51:32 +08:00
parent 536700b882
commit 7bdca483f6
4 changed files with 48 additions and 6 deletions

View File

@ -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_IMG_URL = "https://online.totustec.com/upload";
export const BASE_STOKECT_URL = "ws://online.totustec.com/webSocket/vue" export const BASE_STOKECT_URL = "wss://online.totustec.com/webSocket/vue"

View File

@ -142,6 +142,14 @@
</view> </view>
</view> </view>
<view class="device_status_warp" v-if="deviceType == 2">
<view class="empty_state_warp">
<image class="empty_state_icon" src="https://online.totustec.com/upload/deviceManage/empty_log_icon.png"></image>
<view class="empty_state_title">暂无日志数据</view>
<!-- <view class="empty_state_desc">设备运行日志将在这里显示</view> -->
</view>
</view>
<!-- 设备控制 --> <!-- 设备控制 -->
<view class="device_control_warp" v-if="deviceType == 3"> <view class="device_control_warp" v-if="deviceType == 3">
<view class="deviceN_input_warp"> <view class="deviceN_input_warp">
@ -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 { .operation_btn_icon {
width: 40rpx; width: 40rpx;
height: 40rpx; height: 40rpx;

View File

@ -313,7 +313,7 @@ export default {
}, },
onShareAppMessage () { onShareAppMessage () {
return { return {
title: '欢迎是有Totustec', title: '欢迎使用Totustec',
path: '/pages/index/index', path: '/pages/index/index',
imageUrl: 'https://online.totustec.com/upload/indexPage/logo.png' imageUrl: 'https://online.totustec.com/upload/indexPage/logo.png'
} }

View File

@ -80,10 +80,10 @@ export default {
icon: "https://online.totustec.com/upload/minePage/area1_content_icon1.png", icon: "https://online.totustec.com/upload/minePage/area1_content_icon1.png",
text: "设备管理", text: "设备管理",
}, },
{ // {
icon: "https://online.totustec.com/upload/minePage/area1_content_icon2.png", // icon: "https://online.totustec.com/upload/minePage/area1_content_icon2.png",
text: "预警管理", // text: "",
}, // },
// { // {
// icon: "https://online.totustec.com/upload/minePage/area1_content_icon3.png", // icon: "https://online.totustec.com/upload/minePage/area1_content_icon3.png",
// text: "", // text: "",