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

fix bug

parents dae7ef1b 0dddd61b
......@@ -4,11 +4,27 @@
max-height: 400px;
overflow: auto;
&::-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 {
.item {
overflow: hidden;
padding: 0px;
cursor: pointer;
.meta {
width: 100%;
......@@ -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 {
padding: 73px 0 88px;
color: @text-color-secondary;
......
......@@ -30,7 +30,8 @@
color: #1ba6f9;
margin-right: 10px;
}
margin-bottom: 5px;
margin-bottom: 3px;
font-size: 12px;
}
.messageTime {
float: right;
......
......@@ -225,7 +225,7 @@ function () {
while (1) {
switch (_context2.prev = _context2.next) {
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.MQTTClient = new _mqttws["default"].Client(hostname, port, path, clientId);
this.MQTTOptions = {
......
......@@ -160,7 +160,7 @@ class Notifier {
cleanSession = true,
ssl = this._siteConfig.IsSSL,
userName = 'mao2080',
password = '123',
password = "123",
path = this._siteConfig.mqtt_path;
this.MQTTCount = 0;
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