Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bjz1014
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
bjz1014
Commits
2c044eeb
Commit
2c044eeb
authored
Oct 14, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
98d8d876
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
5 deletions
+12
-5
app.jsx
src/app.jsx
+1
-1
alert.jsx
src/components/alert/alert.jsx
+7
-2
alert.less
src/components/alert/alert.less
+2
-1
rule.less
src/components/rule/rule.less
+2
-1
No files found.
src/app.jsx
View file @
2c044eeb
...
...
@@ -4,7 +4,7 @@ import "./app.less";
import
Modal
from
'./modal/modal'
;
import
MD
from
'../MD'
;
MD
();
import
modalStore
from
'./store/modal'
;
import
"../monitor.js"
;
//前端错误监控
import
getQueryParams
from
"./utils/getQueryParams"
;
//此处为spark-cli动态生成
...
...
src/components/alert/alert.jsx
View file @
2c044eeb
...
...
@@ -13,12 +13,17 @@ class Alert extends React.Component {
constructor
(
props
)
{
super
(
props
);
}
onClick_close
=
()
=>
{
modalStore
.
closePop
();
}
render
()
{
return
(
<
div
className=
"alert"
>
<
span
className=
"alert_bg"
></
span
>
<
span
className=
"alert_ok"
></
span
>
<
span
className=
"alert_close"
></
span
>
<
span
onClick=
{
this
.
onClick_close
}
className=
"alert_ok"
></
span
>
<
span
onClick=
{
this
.
onClick_close
}
className=
"alert_close"
></
span
>
</
div
>
);
}
...
...
src/components/alert/alert.less
View file @
2c044eeb
...
...
@@ -3,7 +3,8 @@
width: 659px;
height: 489px;
left: 46px;
top: 527px;
top: 50%;
transform: translateY(-50%);
position: absolute;
.alert_bg {
width: 657px;
...
...
src/components/rule/rule.less
View file @
2c044eeb
...
...
@@ -3,7 +3,8 @@
width: 667px;
height: 654px;
left: 41px;
top: 416px;
top: 50%;
transform: translateY(-50%);
position: absolute;
.rule_bg {
width: 667px;
...
...
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