Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tools
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
庄欣
tools
Commits
6502e6a2
Commit
6502e6a2
authored
Nov 25, 2022
by
庄欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加滚动
parent
1ec6f292
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletions
+13
-1
mp-fastquote/css/main.css
+1
-0
mp-fastquote/js/main.js
+12
-1
No files found.
mp-fastquote/css/main.css
View file @
6502e6a2
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
left
:
35%
;
left
:
35%
;
color
:
#23283f
;
color
:
#23283f
;
padding-top
:
10px
;
padding-top
:
10px
;
height
:
auto
;
}
}
#__extend_fast_quote
#__extend_fastquote_container
#_____mp_fastquote
div
{
#__extend_fast_quote
#__extend_fastquote_container
#_____mp_fastquote
div
{
...
...
mp-fastquote/js/main.js
View file @
6502e6a2
...
@@ -92,13 +92,21 @@ var addError = function(error, showUi) {
...
@@ -92,13 +92,21 @@ var addError = function(error, showUi) {
var
main
=
document
.
getElementById
(
"main-ui"
);
var
main
=
document
.
getElementById
(
"main-ui"
);
main
.
style
.
display
=
"none"
;
main
.
style
.
display
=
"none"
;
}
}
removeSuccess
();
}
}
var
addSuccess
=
function
(
msg
)
{
var
addSuccess
=
function
(
msg
)
{
var
errorDom
=
document
.
getElementById
(
"error"
);
errorDom
.
innerHTML
=
""
;
var
okDom
=
document
.
getElementById
(
"success"
);
var
okDom
=
document
.
getElementById
(
"success"
);
okDom
.
innerHTML
=
msg
;
okDom
.
innerHTML
=
msg
;
}
}
var
removeSuccess
=
function
()
{
var
okDom
=
document
.
getElementById
(
"success"
);
okDom
.
innerHTML
=
""
;
}
var
getData
=
(
api
,
data
,
callback
)
=>
{
var
getData
=
(
api
,
data
,
callback
)
=>
{
api
=
api
+
"?"
;
api
=
api
+
"?"
;
for
(
var
i
in
data
)
{
for
(
var
i
in
data
)
{
...
@@ -185,6 +193,7 @@ function removeLoading() {
...
@@ -185,6 +193,7 @@ function removeLoading() {
mask
.
remove
();
mask
.
remove
();
}
}
function
assertStatus
()
{
function
assertStatus
()
{
var
statusDom
=
document
.
getElementById
(
"status"
);
var
statusDom
=
document
.
getElementById
(
"status"
);
var
passTimeDom
=
document
.
getElementById
(
"passTime"
);
var
passTimeDom
=
document
.
getElementById
(
"passTime"
);
...
@@ -243,6 +252,7 @@ function goNext() {
...
@@ -243,6 +252,7 @@ function goNext() {
getCookie
(
"default_status"
,
function
(
res
)
{
getCookie
(
"default_status"
,
function
(
res
)
{
if
(
res
.
value
!=
null
)
{
if
(
res
.
value
!=
null
)
{
statusDom
.
value
=
res
.
value
;
statusDom
.
value
=
res
.
value
;
assertStatus
();
}
}
});
});
var
sendBtn
=
document
.
getElementById
(
"send"
)
var
sendBtn
=
document
.
getElementById
(
"send"
)
...
@@ -268,11 +278,12 @@ function goNext() {
...
@@ -268,11 +278,12 @@ function goNext() {
removeLoading
();
removeLoading
();
return
;
return
;
}
}
addSuccess
(
"
操作成功,
已添加到后台推送记录"
);
addSuccess
(
"已添加到后台推送记录"
);
removeLoading
();
removeLoading
();
setCookie
(
"default_admin"
,
postData
[
'admin_id'
]);
setCookie
(
"default_admin"
,
postData
[
'admin_id'
]);
setCookie
(
"default_status"
,
postData
[
'status'
]);
setCookie
(
"default_status"
,
postData
[
'status'
]);
setCookie
(
"default_channel"
,
postData
[
'channel_id'
]);
setCookie
(
"default_channel"
,
postData
[
'channel_id'
]);
prop
();
return
;
return
;
});
});
}
}
...
...
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