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
2365608a
Commit
2365608a
authored
Nov 25, 2022
by
庄欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ok
parent
57a0ea77
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
0 deletions
+27
-0
mp-fastquote/css/main.css
+4
-0
mp-fastquote/html/index.html
+5
-0
mp-fastquote/js/main.js
+18
-0
No files found.
mp-fastquote/css/main.css
View file @
2365608a
...
@@ -113,3 +113,6 @@
...
@@ -113,3 +113,6 @@
padding-left
:
10px
;
padding-left
:
10px
;
}
}
#__extend_fast_quote
#__extend_fastquote_container
#_____mp_fastquote
input
[
disabled
]
{
background-color
:
rgb
(
194
194
195
)
!important
;
}
\ No newline at end of file
mp-fastquote/html/index.html
View file @
2365608a
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
<label>
使用本组作品的张数
</label>
<label>
使用本组作品的张数
</label>
<input
type=
"number"
value=
"1"
id=
"quoteCount"
class=
"form-control"
/>
<input
type=
"number"
value=
"1"
id=
"quoteCount"
class=
"form-control"
/>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label>
使用时间
</label>
<label>
使用时间
</label>
<input
type=
"text"
id=
"today"
class=
"form-control"
/>
<input
type=
"text"
id=
"today"
class=
"form-control"
/>
...
@@ -42,6 +43,10 @@
...
@@ -42,6 +43,10 @@
</select>
</select>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label>
过审时间
</label>
<input
type=
"text"
id=
"passTime"
class=
"form-control"
disabled
/>
</div>
<div
class=
"form-group"
>
<label>
责编
</label>
<label>
责编
</label>
<select
class=
"form-control"
id=
"admins"
>
<select
class=
"form-control"
id=
"admins"
>
...
...
mp-fastquote/js/main.js
View file @
2365608a
...
@@ -185,6 +185,18 @@ function removeLoading() {
...
@@ -185,6 +185,18 @@ function removeLoading() {
mask
.
remove
();
mask
.
remove
();
}
}
function
assertStatus
()
{
var
statusDom
=
document
.
getElementById
(
"status"
);
var
passTimeDom
=
document
.
getElementById
(
"passTime"
);
if
(
parseInt
(
statusDom
.
value
)
===
1
)
{
passTimeDom
.
value
=
getToday
();
passTimeDom
.
removeAttribute
(
"disabled"
);
}
else
{
passTimeDom
.
value
=
""
passTimeDom
.
setAttribute
(
"disabled"
,
"disabled"
);
}
}
function
goNext
()
{
function
goNext
()
{
var
todayInput
=
document
.
getElementById
(
"today"
);
var
todayInput
=
document
.
getElementById
(
"today"
);
var
channelDom
=
document
.
getElementById
(
"channelId"
);
var
channelDom
=
document
.
getElementById
(
"channelId"
);
...
@@ -193,6 +205,11 @@ function goNext() {
...
@@ -193,6 +205,11 @@ function goNext() {
var
quoteCountDom
=
document
.
getElementById
(
"quoteCount"
);
var
quoteCountDom
=
document
.
getElementById
(
"quoteCount"
);
var
statusDom
=
document
.
getElementById
(
"status"
);
var
statusDom
=
document
.
getElementById
(
"status"
);
var
worksDom
=
document
.
getElementById
(
"worksId"
);
var
worksDom
=
document
.
getElementById
(
"worksId"
);
var
passTimeDom
=
document
.
getElementById
(
"passTime"
);
statusDom
.
onchange
=
function
()
{
assertStatus
();
}
assertStatus
();
getChannels
(
function
(
res
)
{
getChannels
(
function
(
res
)
{
var
channels
=
res
;
var
channels
=
res
;
for
(
var
i
in
channels
)
{
for
(
var
i
in
channels
)
{
...
@@ -239,6 +256,7 @@ function goNext() {
...
@@ -239,6 +256,7 @@ function goNext() {
"quote_count"
:
quoteCountDom
.
value
,
"quote_count"
:
quoteCountDom
.
value
,
"status"
:
statusDom
.
value
,
"status"
:
statusDom
.
value
,
"works_id"
:
worksDom
.
value
,
"works_id"
:
worksDom
.
value
,
"pass_time"
:
passTimeDom
.
value
};
};
if
(
isNaN
(
postData
[
'works_id'
])
||
postData
[
'works_id'
]
<=
0
)
{
if
(
isNaN
(
postData
[
'works_id'
])
||
postData
[
'works_id'
]
<=
0
)
{
addError
(
"作品id解析失败"
,
true
)
addError
(
"作品id解析失败"
,
true
)
...
...
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