Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
addInsured-AIA-POC
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
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
liujianghai
addInsured-AIA-POC
Commits
6abf43ec
Commit
6abf43ec
authored
Feb 22, 2020
by
marsandheart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文件整理
parent
a2a49079
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
66 additions
and
20 deletions
+66
-20
common.scss
src/assets/css/common.scss
+2
-0
aia-icon.jpg
src/assets/img/aia-icon.jpg
+0
-0
LeftMenu.jsx
src/components/LeftMenu.jsx
+0
-0
PolicyListModal.jsx
src/components/PolicyListModal.jsx
+20
-0
PolicyListModal.module.scss
src/components/PolicyListModal.module.scss
+25
-0
TouchableButton.jsx
src/components/TouchableButton.jsx
+0
-0
InsuredInfo.jsx
src/pages/InsuredInfo.jsx
+19
-4
PolicyList.jsx
src/pages/PolicyList.jsx
+0
-16
No files found.
src/assets/css/common.scss
0 → 100644
View file @
6abf43ec
$pramyColor
:
#CE1F57
;
\ No newline at end of file
src/assets/aia-icon.jpg
→
src/assets/
img/
aia-icon.jpg
View file @
6abf43ec
File moved
src/components/LeftMenu.jsx
deleted
100644 → 0
View file @
a2a49079
src/components/PolicyListModal.jsx
0 → 100644
View file @
6abf43ec
import
React
from
'react'
;
import
styles
from
'./PolicyListModal.module.scss'
;
class
PolicyListModal
extends
React
.
Component
{
render
()
{
// if (!this.props.visible) {
// return <div></div>;
// }
return
(
<
div
className=
{
styles
.
mask
}
onClick=
{
this
.
props
.
close
}
>
<
div
className=
{
styles
.
main
}
>
<
div
className=
{
styles
.
title
}
>
title
</
div
>
<
div
>
list
</
div
>
</
div
>
</
div
>
);
}
}
export
default
PolicyListModal
;
src/components/PolicyListModal.module.scss
0 → 100644
View file @
6abf43ec
@import
'../assets/css/common.scss'
;
.mask
{
width
:
100vw
;
height
:
100vh
;
position
:
absolute
;
left
:
0
;
top
:
0
;
background-color
:
rgba
(
$color
:
#999999
,
$alpha
:
0
.3
);
}
.main
{
width
:
80vw
;
height
:
80vh
;
margin-left
:
10vw
;
margin-top
:
10vh
;
border-radius
:
3px
;
background-color
:
#999999
;
box-shadow
:
rgba
(
$color
:
#000000
,
$alpha
:
0
.3
)
1px
1px
2px
;
}
.title
{
height
:
8vh
;
background-color
:
$pramyColor
;
}
src/components/TouchableButton.jsx
deleted
100644 → 0
View file @
a2a49079
src/pages/InsuredInfo.jsx
View file @
6abf43ec
import
React
from
'react'
;
import
React
,
{
useState
}
from
'react'
;
import
{
Table
,
Divider
}
from
'antd'
;
import
'antd/dist/antd.css'
;
import
styles
from
'./InsuredInfo.module.scss'
;
import
TabTitle
from
'../components/TabTItle'
;
import
IconAIA
from
'../assets/aia-icon.jpg'
;
import
IconAIA
from
'../assets/
img/
aia-icon.jpg'
;
import
TouchOpacity
from
'../components/TouchOpacity'
import
TouchOpacity
from
'../components/TouchOpacity'
;
import
PolicyListModal
from
'../components/PolicyListModal'
;
const
data
=
[
{
...
...
@@ -68,6 +69,11 @@ const columns = [
];
export
default
function
()
{
const
[
modalVisible
,
setModalVisible
]
=
useState
(
false
);
const
addPolicy
=
()
=>
{
console
.
log
(
' add policy '
);
setModalVisible
(
!
modalVisible
);
};
return
(
<
div
className=
{
styles
.
page
}
>
<
div
className=
{
styles
.
header
}
>
...
...
@@ -90,7 +96,9 @@ export default function() {
<
span
className=
{
styles
.
descText
}
>
支付方式:月付
</
span
>
</
div
>
<
div
className=
{
styles
.
btns
}
>
<
TouchOpacity
className=
{
styles
.
btn
}
>
增加附加合同
</
TouchOpacity
>
<
TouchOpacity
onClick=
{
addPolicy
}
className=
{
styles
.
btn
}
>
增加附加合同
</
TouchOpacity
>
<
TouchOpacity
className=
{
styles
.
btn
}
>
变更支付方式
</
TouchOpacity
>
<
TouchOpacity
className=
{
styles
.
btn
}
>
复效/垫缴不足一期还款
</
TouchOpacity
>
<
TouchOpacity
className=
{
styles
.
btn
}
>
智选康康产品转换
</
TouchOpacity
>
...
...
@@ -108,6 +116,13 @@ export default function() {
<
div
className=
{
styles
.
footer
}
>
<
TouchOpacity
className=
{
styles
.
footerBtn
}
>
提交
</
TouchOpacity
>
</
div
>
<
PolicyListModal
visible=
{
modalVisible
}
close=
{
()
=>
{
setModalVisible
(
false
);
}
}
/>
</
div
>
);
}
src/pages/PolicyList.jsx
deleted
100644 → 0
View file @
a2a49079
import
React
from
'react'
;
import
{
connect
}
from
'react-redux'
;
const
PolicyList
=
(
props
)
=>
<
div
>
保单信息
</
div
>;
const
mapState
=
(
state
)
=>
({
count
:
state
.
count
});
const
mapDispatch
=
({
count
:
{
add
,
double
,
addAsync
,
doubleAsync
,
addThenDoubleAsync
}
})
=>
({
add
:
()
=>
add
(
1
),
double
,
addAsync
:
()
=>
addAsync
(
1
),
doubleAsync
,
addThenDoubleAsync
:
()
=>
addThenDoubleAsync
(
1
)
});
export
default
connect
(
mapState
,
mapDispatch
)(
PolicyList
);
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