diff --git a/config/index.js b/config/index.js index cea2bed..d8101c0 100644 --- a/config/index.js +++ b/config/index.js @@ -5,10 +5,10 @@ const config = { BASE_URL: 'http://192.168.110.172:8000',//http://139.224.253.23:8000 API_PREFIX: '', // MQTT 配置 - MQTT_HOST: 'www.cnxhyc.com', - MQTT_PORT: 8083, + MQTT_HOST: '47.120.79.150', + MQTT_PORT: 9083, MQTT_USERNAME: 'admin', - MQTT_PASSWORD: '#YtvpSfCNG' + MQTT_PASSWORD: '#YtvpSfCNG' }, // 生产环境 production: { diff --git a/pages/100J/HBY100-J.vue b/pages/100J/HBY100-J.vue index 79fd685..204cbc2 100644 --- a/pages/100J/HBY100-J.vue +++ b/pages/100J/HBY100-J.vue @@ -43,26 +43,26 @@ {{ deviceInfo.onlineStatus === 0 ? '离线' : deviceInfo.onlineStatus === 2 ? '故障' : '在线' }} - - 定位信息 - - - {{ deviceInfo && deviceInfo.longitude ? Number(deviceInfo.longitude).toFixed(4) : '' }} - {{ deviceInfo && deviceInfo.latitude ? Number(deviceInfo.latitude).toFixed(4) : '' }} - - - - {{ deviceInfo.address }} - + + 定位信息 + + + {{ deviceInfo && deviceInfo.longitude ? Number(deviceInfo.longitude).toFixed(4) : '' }} + {{ deviceInfo && deviceInfo.latitude ? Number(deviceInfo.latitude).toFixed(4) : '' }} - + + + {{ deviceInfo.address }} + + + - {{ deviceInfo.chargeState === 1 ? '报警中' : '强制报警' }} + {{ deviceInfo.voiceStrobeAlarm === 1 ? '报警中' : '强制报警' }} 解除 @@ -80,7 +80,7 @@ @@ -148,32 +148,32 @@ 亮度 - {{ formData.sta_LightDimmer }}% + {{ formData.lightBrightness }}% - 频率 - {{ formData.sta_LightFreq }}HZ + {{ formData.strobeFrequency }}HZ - 音量 - {{ formData.sta_VoiceVolume }} + {{ formData.volume }} - + 产品信息 @@ -211,6 +211,7 @@ - \ No newline at end of file