Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivWeb
Commits
9a582b20
Commit
9a582b20
authored
Nov 23, 2020
by
邓晓峰
Browse files
Options
Browse Files
Download
Plain Diff
fix bug
parents
dae7ef1b
0dddd61b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
4 deletions
+33
-4
NoticeList.less
src/components/NoticeIcon/NoticeList.less
+29
-1
common.less
src/components/NoticeIcon/Templates/common.less
+2
-1
index.dev.js
src/components/Notifier/dist/index.dev.js
+1
-1
index.js
src/components/Notifier/index.js
+1
-1
No files found.
src/components/NoticeIcon/NoticeList.less
View file @
9a582b20
...
...
@@ -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;
...
...
src/components/NoticeIcon/Templates/common.less
View file @
9a582b20
...
...
@@ -30,7 +30,8 @@
color: #1ba6f9;
margin-right: 10px;
}
margin-bottom: 5px;
margin-bottom: 3px;
font-size: 12px;
}
.messageTime {
float: right;
...
...
src/components/Notifier/dist/index.dev.js
View file @
9a582b20
...
...
@@ -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
=
{
...
...
src/components/Notifier/index.js
View file @
9a582b20
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment