Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fe-app-h5
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
万亚飞
fe-app-h5
Commits
fac43759
Commit
fac43759
authored
May 28, 2019
by
万亚飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9a407488
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3 additions
and
12 deletions
+3
-12
App.jsx
src/App.jsx
+3
-0
DepositPay.js
src/pages/deposit/DepositPay.js
+0
-3
DepositUser.js
src/pages/deposit/DepositUser.js
+0
-3
Train.js
src/pages/user/Train.js
+0
-3
TrainList.js
src/pages/user/TrainList.js
+0
-3
photoswipe.css
src/static/styles/photoswipe.css
+0
-0
No files found.
src/App.jsx
View file @
fac43759
...
...
@@ -33,8 +33,11 @@ class App extends React.Component {
search
=
search
.
substr
(
1
).
split
(
'&'
);
let
obj
=
{};
search
.
forEach
(
item
=>
{
if
(
item
)
{
console
.
log
(
item
);
let
it
=
item
.
match
(
/
(
.+
)
=
(
.+
)
/
);
obj
[
it
[
1
]]
=
it
[
2
];
}
});
return
obj
;
}
...
...
src/pages/deposit/DepositPay.js
View file @
fac43759
import
React
,
{
Component
}
from
'react'
;
import
Layout
from
'../../Components/static/Layout/Layout'
;
import
{
List
,
Icon
,
Button
,
Toast
}
from
'antd-mobile'
;
import
app
from
'../../static/js/native'
;
import
fetch
from
'../../api/fetch'
;
...
...
@@ -185,7 +184,6 @@ export default class DepositPay extends Component {
<
/div
>
);
return
(
<
Layout
title
=
{
title
}
border
=
"true"
>
<
div
className
=
"bg-grey-bj deposit-wrap"
>
{
isQualityType
?
(
<
div
>
...
...
@@ -209,7 +207,6 @@ export default class DepositPay extends Component {
<
/div
>
{
/* <div className={"h100"}/> */
}
<
/div
>
<
/Layout
>
);
}
}
src/pages/deposit/DepositUser.js
View file @
fac43759
import
React
,
{
Component
}
from
'react'
;
import
Layout
from
'../../Components/static/Layout/Layout'
;
import
{
List
,
Icon
,
Toast
}
from
'antd-mobile'
;
import
app
from
'../../static/js/native'
;
import
Tips
from
'../../Components/common/Tips/Tips'
;
...
...
@@ -68,7 +67,6 @@ export default class DepositPay extends Component {
render
()
{
let
{
depositMoney
,
qualityDepositMoney
,
depositList
,
depositAmountNeedPay
}
=
this
.
state
;
return
(
<
Layout
title
=
"我的保证金"
border
=
"true"
>
<
div
className
=
{
'deposit-user'
}
>
<
Tips
money
=
{
depositAmountNeedPay
}
/
>
<
div
className
=
"pt10 box-c tal"
>
...
...
@@ -151,7 +149,6 @@ export default class DepositPay extends Component {
})}
<
/List
>
<
/div
>
<
/Layout
>
);
}
}
src/pages/user/Train.js
View file @
fac43759
...
...
@@ -4,7 +4,6 @@ import { List, DatePicker, Toast, Modal } from 'antd-mobile';
import
moment
from
'moment'
;
import
classNames
from
'classnames'
;
import
app
from
'../../static/js/native'
;
import
Layout
from
'../../Components/static/Layout/Layout'
;
import
UpLoad
from
'../../Components/common/Upload/Upload'
;
import
{
getParam
,
getImgNaturalDimensions
}
from
'@/utils/tools'
;
import
{
getParameterByName
}
from
'../../utils/common'
;
...
...
@@ -187,7 +186,6 @@ class Train extends Component {
render
()
{
const
{
startTime
,
endTime
,
backgroundArea
,
certificateFiles
,
viewImages
}
=
this
.
state
;
return
(
<
Layout
title
=
"受训背景"
>
<
div
className
=
"train-warp"
>
<
List
className
=
{
classNames
({
startActive
:
startTime
,
endActive
:
endTime
})}
>
<
DatePicker
mode
=
"month"
minDate
=
{
min
}
maxDate
=
{
now
}
value
=
{
startTime
}
extra
=
"开始时间"
title
=
"开始时间"
format
=
{
this
.
formatShowDate
}
onChange
=
{
date
=>
this
.
changeTime
(
'startTime'
,
date
)}
>
...
...
@@ -218,7 +216,6 @@ class Train extends Component {
<
/button
>
<
/div
>
<
/div
>
<
/Layout
>
);
}
}
...
...
src/pages/user/TrainList.js
View file @
fac43759
...
...
@@ -3,7 +3,6 @@ import { Link } from 'react-router-dom';
import
{
Modal
,
Toast
}
from
'antd-mobile'
;
import
{
linkTo
}
from
'@/utils/tools'
;
import
Layout
from
'../../Components/static/Layout/Layout'
;
import
TrainItem
from
'../../Components/page/user/TrainItem'
;
import
app
from
'../../static/js/native'
;
...
...
@@ -65,7 +64,6 @@ class TrainList extends Component {
render
()
{
const
{
trainList
,
delDialogObj
}
=
this
.
state
;
return
(
<
Layout
title
=
"受训背景"
>
<
div
className
=
"train-warp"
>
{
trainList
.
length
?
(
<
div
className
=
"train-list"
>
...
...
@@ -120,7 +118,6 @@ class TrainList extends Component {
<
/a
>
)}
<
/div
>
<
/Layout
>
);
}
}
...
...
src/static/styles/photoswipe.css
deleted
100644 → 0
View file @
9a407488
This diff is collapsed.
Click to expand it.
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