Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
李洋
/
消息系统
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
61583f34
authored
Dec 26, 2025
by
肖康
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'feature/20251222/notice' into 'master'
公告 See merge request
!13
parents
7fc85806
33feaff0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
public/js/public_notice.js
public/js/public_notice.js
View file @
61583f34
...
@@ -29,11 +29,11 @@ layui.use([], function () {
...
@@ -29,11 +29,11 @@ layui.use([], function () {
.noticepoplk .layui-form-label{ padding: 9px 15px!important;}
.noticepoplk .layui-form-label{ padding: 9px 15px!important;}
.nrtx{line-height:38px;}
.nrtx{line-height:38px;}
.noticeitemxo{margin-right:30px;cursor: pointer;}
.noticeitemxo{margin-right:30px;cursor: pointer;}
.fbggank{position:fixed;top:0;right:
${
right2
}
px;z-index:9999;top:9px;}
.fbggank{position:fixed;top:0;right:
${
right2
}
px;z-index:9999;top:9px;
background: #FFC400;
}
#ann_box{position:fixed;top:0;left:
${
left
}
px;right:
${
right1
}
px;height:50px;line-height:50px;background:rgba(0,0,0,0);color:#333;overflow:hidden;z-index:9999;font-size:14px;}
#ann_box{position:fixed;top:0;left:
${
left
}
px;right:
${
right1
}
px;height:50px;line-height:50px;background:rgba(0,0,0,0);color:#333;overflow:hidden;z-index:9999;font-size:14px;}
#ann_txt{white-space:nowrap;display:inline-block;padding-left:100%;animation:ann_scroll 200s linear infinite;}
#ann_txt{white-space:nowrap;display:inline-block;padding-left:100%;animation:ann_scroll 200s linear infinite;}
@keyframes ann_scroll{0%{transform:translateX(0)}100%{transform:translateX(-100%)}}`
;
@keyframes ann_scroll{0%{transform:translateX(0)}100%{transform:translateX(-100%)}}`
;
const
html
=
`<div id="ann_box"><div id="ann_txt"></div></div><a class="layui-btn layui-btn-sm fbggank" href="http://message.ichunt.net/manage/businessNotice" target="_blank">发布公告</a>`
;
const
html
=
`<div id="ann_box"><div id="ann_txt"></div></div><a class="layui-btn layui-btn-sm fbggank" href="http
s
://message.ichunt.net/manage/businessNotice" target="_blank">发布公告</a>`
;
document
.
head
.
insertAdjacentHTML
(
'beforeend'
,
`<style>
${
css
}
</style>`
);
document
.
head
.
insertAdjacentHTML
(
'beforeend'
,
`<style>
${
css
}
</style>`
);
document
.
body
.
insertAdjacentHTML
(
'afterbegin'
,
html
);
document
.
body
.
insertAdjacentHTML
(
'afterbegin'
,
html
);
pageS
.
getList
()
pageS
.
getList
()
...
...
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