Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend
Project
Project
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
Schedules
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
h5-communicate
frontend
Commits
4b567224
Commit
4b567224
authored
Jun 08, 2020
by
熊成伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
af99de5f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
16 additions
and
32 deletions
+16
-32
workspace.xml
.idea/workspace.xml
+0
-0
index.html
public/index.html
+1
-26
index.less
src/components/TodoCard/index.less
+1
-1
index.css
src/index.css
+1
-1
Footer.jsx
src/layout/Footer.jsx
+1
-1
index.less
src/layout/index.less
+5
-0
Option.jsx
src/pages/EventProcessing/Option.jsx
+7
-3
SubmitDetail.jsx
src/pages/EventProcessing/SubmitDetail.jsx
+0
-0
variable
src/variable
+0
-0
No files found.
.idea/workspace.xml
View file @
4b567224
This diff is collapsed.
Click to expand it.
public/index.html
View file @
4b567224
...
@@ -3,30 +3,12 @@
...
@@ -3,30 +3,12 @@
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
/>
<!--<meta name="theme-color" content="#000000">-->
<!--
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
-->
<link
rel=
"manifest"
href=
"%PUBLIC_URL%/manifest.json"
>
<link
rel=
"manifest"
href=
"%PUBLIC_URL%/manifest.json"
>
<link
rel=
"shortcut icon"
href=
"%PUBLIC_URL%/favicon.ico"
>
<link
rel=
"shortcut icon"
href=
"%PUBLIC_URL%/favicon.ico"
>
<!--
<!--<title>React App</title>-->
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>
React App
</title>
</head>
</head>
<body>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div
id=
"root"
></div>
<div
id=
"root"
></div>
</body>
</body>
<script
src=
"https://as.alipayobjects.com/g/component/fastclick/1.0.6/fastclick.js"
></script>
<script
src=
"https://as.alipayobjects.com/g/component/fastclick/1.0.6/fastclick.js"
></script>
<script>
<script>
...
@@ -39,11 +21,4 @@
...
@@ -39,11 +21,4 @@
document
.
writeln
(
'<script src="https://as.alipayobjects.com/g/component/es6-promise/3.2.2/es6-promise.min.js"'
+
'>'
+
'<'
+
'/'
+
'script>'
);
document
.
writeln
(
'<script src="https://as.alipayobjects.com/g/component/es6-promise/3.2.2/es6-promise.min.js"'
+
'>'
+
'<'
+
'/'
+
'script>'
);
}
}
</script>
</script>
<!--<script>-->
<!--window.onload = function () {-->
<!--var load = document.body.clientHeight-->
<!--var view = document.getElementById('foot')-->
<!--view.style.height = load + 'px'-->
<!--}-->
<!--</script>-->
</html>
</html>
src/components/TodoCard/index.less
View file @
4b567224
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
}
}
.todo-tag{
.todo-tag{
line-height: 18px;
line-height: 18px;
//width: 60
px;
height: 18
px;
font-size: 9px;
font-size: 9px;
padding: 0 5px;
padding: 0 5px;
background: #2087ED;
background: #2087ED;
...
...
src/index.css
View file @
4b567224
...
@@ -11,7 +11,7 @@ body {
...
@@ -11,7 +11,7 @@ body {
html
,
html
,
body
,
body
,
#root
{
#root
{
position
:
fixed
;
position
:
fixed
;
top
:
0
;
left
:
0
;
right
:
0
;
bottom
:
0
;
top
:
0
;
left
:
0
;
right
:
0
;
bottom
:
0
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
...
...
src/layout/Footer.jsx
View file @
4b567224
...
@@ -25,7 +25,7 @@ class Footer extends Component {
...
@@ -25,7 +25,7 @@ class Footer extends Component {
];
];
return
(
return
(
<
div
style=
{
{
position
:
'fixed'
,
width
:
'100%'
,
bottom
:
0
}
}
>
<
div
className=
"footer"
>
<
TabBar
<
TabBar
unselectedTintColor=
"#949494"
unselectedTintColor=
"#949494"
tintColor=
"#2E67EA"
tintColor=
"#2E67EA"
...
...
src/layout/index.less
View file @
4b567224
...
@@ -14,3 +14,8 @@
...
@@ -14,3 +14,8 @@
.am-activity-indicator.am-activity-indicator-toast{
.am-activity-indicator.am-activity-indicator-toast{
background: rgba(35,35,35, 0.5);
background: rgba(35,35,35, 0.5);
}
}
.footer{
width: 100%;
position: fixed;
bottom: 0;
}
src/pages/EventProcessing/Option.jsx
View file @
4b567224
...
@@ -12,7 +12,11 @@ class Option extends Component {
...
@@ -12,7 +12,11 @@ class Option extends Component {
onChange
=
()
=>
{
onChange
=
()
=>
{
const
input
=
document
.
getElementsByClassName
(
"option-text"
);
const
input
=
document
.
getElementsByClassName
(
"option-text"
);
this
.
props
.
onChange
(
input
[
0
].
value
)
this
.
props
.
onChange
(
input
[
0
].
value
)
}
};
setValue
=
(
val
)
=>
{
const
input
=
document
.
getElementsByClassName
(
"option-text"
);
input
[
0
].
value
=
val
};
render
()
{
render
()
{
return
(
return
(
<
div
>
<
div
>
...
@@ -22,8 +26,8 @@ class Option extends Component {
...
@@ -22,8 +26,8 @@ class Option extends Component {
<
a
<
a
className=
"option-fast"
className=
"option-fast"
onClick=
{
()
=>
operation
([
onClick=
{
()
=>
operation
([
{
text
:
'默认一'
,
onPress
:
()
=>
console
.
log
(
'默认一被点击了
'
)
},
{
text
:
'默认一'
,
onPress
:
()
=>
this
.
setValue
(
'默认一
'
)
},
{
text
:
'默认二'
,
onPress
:
()
=>
console
.
log
(
'默认二被点击了
'
)
},
{
text
:
'默认二'
,
onPress
:
()
=>
this
.
setValue
(
'默认二
'
)
},
])
}
])
}
>
>
常用阅办意见
<
img
alt=
""
src=
"/img/option-icon.png"
className=
"option-icon"
/>
常用阅办意见
<
img
alt=
""
src=
"/img/option-icon.png"
className=
"option-icon"
/>
...
...
src/pages/EventProcessing/SubmitDetail.jsx
View file @
4b567224
src/variable
deleted
100644 → 0
View file @
af99de5f
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