Commit 9a582b20 authored by 邓晓峰's avatar 邓晓峰

fix bug

parents dae7ef1b 0dddd61b
...@@ -4,11 +4,27 @@ ...@@ -4,11 +4,27 @@
max-height: 400px; max-height: 400px;
overflow: auto; overflow: auto;
&::-webkit-scrollbar { &::-webkit-scrollbar {
display: none; width: 5px;
height: 5px;
}
&::-webkit-scrollbar-thumb {
/*滚动条里面小方块*/
border-radius: 10px;
background: rgba(0,0,0,0.1);
-webkit-box-shadow: inset 0 0 6px rgba(177,177,177,0.5);
box-shadow: inset 0 0 6px rgba(177,177,177,0.5);
}
&::-webkit-scrollbar-track {
/*滚动条里面轨道*/
-webkit-box-shadow: inset 0 0 6px rgba(193,193,193,0.3);
box-shadow: inset 0 0 6px rgba(193,193,193,0.3);
border-radius: 10px;
} }
.list { .list {
.item { .item {
overflow: hidden; overflow: hidden;
padding: 0px;
cursor: pointer; cursor: pointer;
.meta { .meta {
width: 100%; width: 100%;
...@@ -33,6 +49,18 @@ ...@@ -33,6 +49,18 @@
} }
.notFound {
padding: 73px 0 88px;
color: @text-color-secondary;
text-align: center;
border-radius: 0 !important;
img {
display: inline-block;
height: 76px;
margin-bottom: 16px;
}
}
.notFound { .notFound {
padding: 73px 0 88px; padding: 73px 0 88px;
color: @text-color-secondary; color: @text-color-secondary;
......
...@@ -30,7 +30,8 @@ ...@@ -30,7 +30,8 @@
color: #1ba6f9; color: #1ba6f9;
margin-right: 10px; margin-right: 10px;
} }
margin-bottom: 5px; margin-bottom: 3px;
font-size: 12px;
} }
.messageTime { .messageTime {
float: right; float: right;
......
...@@ -225,7 +225,7 @@ function () { ...@@ -225,7 +225,7 @@ function () {
while (1) { while (1) {
switch (_context2.prev = _context2.next) { switch (_context2.prev = _context2.next) {
case 0: case 0:
hostname = this._siteConfig.TcpIP, port = this._siteConfig.TcpPort, clientId = 'client-' + this._createGuid(), timeout = 50, keepAlive = 60, cleanSession = true, ssl = this._siteConfig.IsSSL, userName = 'mao2080', password = '123', path = this._siteConfig.mqtt_path; hostname = this._siteConfig.TcpIP, port = this._siteConfig.TcpPort, clientId = 'client-' + this._createGuid(), timeout = 50, keepAlive = 60, cleanSession = true, ssl = this._siteConfig.IsSSL, userName = 'mao2080', password = "123", path = this._siteConfig.mqtt_path;
this.MQTTCount = 0; this.MQTTCount = 0;
this.MQTTClient = new _mqttws["default"].Client(hostname, port, path, clientId); this.MQTTClient = new _mqttws["default"].Client(hostname, port, path, clientId);
this.MQTTOptions = { this.MQTTOptions = {
......
...@@ -160,7 +160,7 @@ class Notifier { ...@@ -160,7 +160,7 @@ class Notifier {
cleanSession = true, cleanSession = true,
ssl = this._siteConfig.IsSSL, ssl = this._siteConfig.IsSSL,
userName = 'mao2080', userName = 'mao2080',
password = '123', password = "123",
path = this._siteConfig.mqtt_path; path = this._siteConfig.mqtt_path;
this.MQTTCount = 0; this.MQTTCount = 0;
this.MQTTClient = new MqttClient.Client(hostname, port, path, clientId); this.MQTTClient = new MqttClient.Client(hostname, port, path, clientId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment