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
bcc929e9
Commit
bcc929e9
authored
Jun 03, 2019
by
万亚飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
3724e420
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
151 deletions
+12
-151
webpack.prod.js
build/webpack.prod.js
+6
-6
Pay.js
src/pages/pay/Pay.js
+0
-62
pay.less
src/pages/pay/pay.less
+0
-81
Train.js
src/pages/user/Train.js
+3
-1
addMaterial.js
src/pages/user/addMaterial.js
+3
-1
No files found.
build/webpack.prod.js
View file @
bcc929e9
...
...
@@ -227,12 +227,12 @@ module.exports = merge(base, {
// name: 'async-commons',
// priority: 10
// },
commons
:
{
// 其他同步加载公共包
chunks
:
'initial'
,
priority
:
2
,
minChunks
:
2
}
//
commons: {
//
// 其他同步加载公共包
//
chunks: 'initial',
//
priority: 2,
//
minChunks: 2
//
}
}
}
}
...
...
src/pages/pay/Pay.js
deleted
100644 → 0
View file @
3724e420
import
React
,
{
Component
}
from
'react'
;
import
'./pay.less'
;
class
Pay
extends
Component
{
render
()
{
return
(
<
div
className
=
"pay-box"
>
<
ul
className
=
"y-cells"
>
<
li
>
<
div
className
=
"head-cell"
>
<
span
className
=
"b"
>
预约咨询(王尼玛)
<
/span
>
<
/div
>
<
div
className
=
"footer-cell"
>
<
span
className
=
"fs12"
>
¥
<
/span
>
<
span
>
129.00
<
/span
>
<
/div
>
<
/li
>
<
li
>
<
div
className
=
"head-cell"
/>
<
div
className
=
"footer-cell"
>
<
span
className
=
"c3"
>
还需支付
<
/span
>
<
span
>
¥
<
/span
>
<
span
className
=
"fs24"
>
129.00
<
/span
>
<
/div
>
<
/li
>
<
/ul
>
<
div
className
=
"fs12 separate"
>
选择支付方式
<
/div
>
<
ul
className
=
"y-cells pay-list"
>
<
li
>
<
label
for
=
"wechat"
>
<
i
className
=
"y-icon-wechat"
/>
<
span
className
=
"ml5 flex1"
>
微信支付
<
/span
>
<
input
id
=
"wechat"
checked
className
=
"y-checkbox"
type
=
"radio"
name
=
"payType"
value
=
"2"
/>
<
/label
>
<
/li
>
<
li
>
<
label
for
=
"alipay"
>
<
i
className
=
"y-icon-alipay"
/>
<
span
className
=
"ml5 flex1"
>
支付宝支付
<
/span
>
<
input
id
=
"alipay"
className
=
"y-checkbox"
type
=
"radio"
name
=
"payType"
value
=
"1"
/>
<
/label
>
<
/li
>
<
/ul
>
<
div
className
=
"fs12 box-c pt30 c6"
>
<
div
>
付款保障:
<
/div
>
<
ul
>
<
li
>
1
.
国内专业的心理服务平台,
300
万客户的选择;
<
/li
>
<
li
>
2
.
CCTV12
"我和你说"
栏目诚邀合作,信心保障;
<
/li
>
<
li
>
3
.
咨询不满意,随时退款
!<
/li
>
<
/ul
>
<
/div
>
<
div
className
=
"bottom-operate bottom-cover"
>
<
div
className
=
"customer"
>
<
span
>
客服
<
/span
>
<
/div
>
<
button
className
=
"am-button am-button-primary"
>
(
¥
36.00
)
确认付款
<
/button
>
<
/div
>
<
/div
>
);
}
}
export
default
Pay
;
src/pages/pay/pay.less
deleted
100644 → 0
View file @
3724e420
.pay-box {
height: 100%;
background-color: #f6f6f6;
}
.y-cells {
background: #fff;
}
.y-cells li {
position: relative;
padding: 15px;
display: flex;
font-size: 15px;
}
.y-cells li label {
width: 100%;
display: flex;
align-items: center;
}
.y-cells li:not(:last-child)::after,
.pay-list li:not(:last-child)::after {
content: ' ';
position: absolute;
left: 15px;
right: 15px;
bottom: 0;
height: 1px;
border-bottom: 1px solid #e0e0e0;
transform: scaleY(0.5);
}
.y-cells li .head-cell {
color: #242424;
}
.y-cells li .footer-cell {
flex: 1;
color: #333;
text-align: right;
}
.y-cells li.access .footer-cell:after {
content: ' ';
display: inline-block;
height: 8px;
width: 8px;
border-width: 2px 2px 0 0;
border-color: #b2b2b2;
border-style: solid;
-webkit-transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
position: relative;
top: -2px;
position: absolute;
top: 50%;
margin-top: -5px;
right: 15px;
}
.access .footer-cell {
padding-right: 15px;
}
.separate {
background: #f7f7f7;
height: 30px;
color: #666;
line-height: 30px;
padding-left: 15px;
padding-right: 15px;
}
.pay-box {
.bottom-operate {
height: 55px;
.customer {
font-size: 14px;
text-align: center;
width: 125px;
}
.am-button {
height: 55px;
line-height: 55px;
}
}
}
src/pages/user/Train.js
View file @
bcc929e9
...
...
@@ -179,7 +179,9 @@ class Train extends Component {
};
delFile
=
()
=>
{
this
.
setState
({
certificateFiles
:
[]
certificateFiles
:
[],
viewImages
:
[],
imgUrls
:
[]
});
this
.
hansChangeForm
();
};
...
...
src/pages/user/addMaterial.js
View file @
bcc929e9
...
...
@@ -110,7 +110,9 @@ class AddMaterial extends Component {
};
delFile
=
()
=>
{
this
.
setState
({
certificateFiles
:
[]
certificateFiles
:
[],
viewImages
:
[],
imgUrls
:
[]
});
this
.
hansChangeForm
();
};
...
...
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