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
2fafa841
Commit
2fafa841
authored
Jan 12, 2021
by
庄欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成
parent
fb7dbea6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
93 additions
and
53 deletions
+93
-53
mp-remark/css/main.css
+31
-0
mp-remark/js/index.js
+55
-49
mp-remark/loading.png
+0
-0
mp-remark/manifest.json
+1
-1
mp-remark/ui.html
+6
-3
No files found.
mp-remark/css/main.css
View file @
2fafa841
...
...
@@ -134,4 +134,34 @@ input[type=radio] {
display
:
flex
;
justify-content
:
center
;
align-content
:
center
;
}
#___container
.mask
{
position
:
absolute
;
width
:
100%
;
height
:
100%
;
z-index
:
999
;
top
:
0
;
background-color
:
rgba
(
0
,
0
,
0
,
0.2
);
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
align-content
:
center
;
justify-items
:
center
;
color
:
#ffffff
;
}
.xuanzhuan
{
animation
:
xz
1s
linear
infinite
;
}
@keyframes
xz
{
from
{
transform
:
rotate
(
0deg
);
}
to
{
transform
:
rotate
(
360deg
);
}
}
\ No newline at end of file
mp-remark/js/index.js
View file @
2fafa841
This diff is collapsed.
Click to expand it.
mp-remark/loading.png
0 → 100644
View file @
2fafa841
7.93 KB
mp-remark/manifest.json
View file @
2fafa841
...
...
@@ -21,7 +21,7 @@
}
],
"web_accessible_resources"
:
[
"ui.html"
,
"icon.png"
,
"close.png"
"ui.html"
,
"icon.png"
,
"close.png"
,
"loading.png"
],
"browser_action"
:
{
"default_icon"
:
"icon.png"
,
...
...
mp-remark/ui.html
View file @
2fafa841
<div
v-if=
"showUiProp"
id=
"___container"
>
<div
class=
"mask"
v-if=
"loading"
>
<img
class=
"xuanzhuan"
:src=
"loadingimg"
style=
"width:10%;"
></img>
</div>
<div
class=
"x"
v-on:click=
"showUi"
><img
:src=
"closeX"
></div>
<div
class=
"danger"
v-if=
"err != ''"
>
{{err}}
</div>
<!------------------- 用户开始 -------->
...
...
@@ -49,7 +52,7 @@
</div>
</div>
<div
style=
"display: flex;justify-content: center;justify-items: center"
>
<button
class=
"btn btn-primary primary large"
v-on:click=
"submitUserRemark"
>
提交用户
备注
</button>
<button
class=
"btn btn-primary primary large"
v-on:click=
"submitUserRemark"
>
提交用户
设置
</button>
</div>
</div>
</div>
...
...
@@ -92,7 +95,7 @@
</div>
</div>
<div
class=
"form-group"
style=
"display: flex;justify-items: center;justify-content: center"
>
<button
class=
"btn btn-primary primary large"
v-on:click=
"submitRemark"
>
提交作品
备注
</button>
<button
class=
"btn btn-primary primary large"
v-on:click=
"submitRemark"
>
提交作品
设置
</button>
</div>
</div>
</div>
...
...
@@ -135,7 +138,7 @@
</div>
</div>
<div
class=
"form-group"
style=
"display: flex;justify-items: center;justify-content: center"
>
<button
class=
"btn btn-primary primary large"
v-on:click=
"submitRemark"
>
提交文章
备注
</button>
<button
class=
"btn btn-primary primary large"
v-on:click=
"submitRemark"
>
提交文章
设置
</button>
</div>
</div>
</div>
...
...
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