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
878d9872
Commit
878d9872
authored
Mar 07, 2020
by
marsandheart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加图片
parent
b86e8e2e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
33 additions
and
11 deletions
+33
-11
customer.png
src/assets/img/customer.png
+0
-0
file.png
src/assets/img/file.png
+0
-0
money.png
src/assets/img/money.png
+0
-0
InsuredInfo.jsx
src/pages/InsuredInfo.jsx
+15
-3
InsuredInfo.module.scss
src/pages/InsuredInfo.module.scss
+10
-0
TabTitle.jsx
src/pages/insuredsInfo.components/TabTitle.jsx
+2
-2
TableTitle.module.scss
src/pages/insuredsInfo.components/TableTitle.module.scss
+6
-6
No files found.
src/assets/img/customer.png
0 → 100644
View file @
878d9872
8.84 KB
src/assets/img/file.png
0 → 100644
View file @
878d9872
4.08 KB
src/assets/img/money.png
0 → 100644
View file @
878d9872
10.6 KB
src/pages/InsuredInfo.jsx
View file @
878d9872
...
@@ -7,6 +7,9 @@ import IconAIA from '../assets/img/aia-icon.jpg';
...
@@ -7,6 +7,9 @@ import IconAIA from '../assets/img/aia-icon.jpg';
import
IconDetail
from
'../assets/img/detail.png'
;
import
IconDetail
from
'../assets/img/detail.png'
;
import
IconCancel
from
'../assets/img/cancel.png'
;
import
IconCancel
from
'../assets/img/cancel.png'
;
import
IconCalculate
from
'../assets/img/calculate.png'
;
import
IconCalculate
from
'../assets/img/calculate.png'
;
import
IconCustomer
from
'assets/img/customer.png'
;
import
IconFile
from
'assets/img/file.png'
;
import
IconMoney
from
'assets/img/money.png'
;
import
TouchOpacity
from
'../components/TouchOpacity'
;
import
TouchOpacity
from
'../components/TouchOpacity'
;
import
TabTitle
from
'./InsuredsInfo.components/TabTitle'
;
import
TabTitle
from
'./InsuredsInfo.components/TabTitle'
;
...
@@ -109,9 +112,18 @@ export default function(props) {
...
@@ -109,9 +112,18 @@ export default function(props) {
<
div
className=
{
styles
.
page
}
>
<
div
className=
{
styles
.
page
}
>
<
div
className=
{
styles
.
header
}
>
<
div
className=
{
styles
.
header
}
>
<
img
alt=
"logo"
src=
{
IconAIA
}
className=
{
styles
.
headerImg
}
/>
<
img
alt=
"logo"
src=
{
IconAIA
}
className=
{
styles
.
headerImg
}
/>
<
TabTitle
title=
{
'客户信息'
}
/>
<
TabTitle
>
<
TabTitle
title=
{
'保单信息'
}
/>
<
img
alt=
"customer"
src=
{
IconCustomer
}
className=
{
styles
.
titleIcon
}
/>
<
TabTitle
title=
{
'借/领/退款'
}
/>
<
span
>
客户管理
</
span
>
</
TabTitle
>
<
TabTitle
>
<
img
alt=
"policy"
src=
{
IconFile
}
className=
{
styles
.
titleIcon
}
/>
<
span
>
保单信息
</
span
>
</
TabTitle
>
<
TabTitle
>
<
img
alt=
"pay"
src=
{
IconMoney
}
className=
{
styles
.
titleIcon
}
/>
<
span
>
借/领/退款
</
span
>
</
TabTitle
>
<
div
>
C161361507
</
div
>
<
div
>
C161361507
</
div
>
</
div
>
</
div
>
<
div
className=
{
styles
.
headerExt
}
></
div
>
<
div
className=
{
styles
.
headerExt
}
></
div
>
...
...
src/pages/InsuredInfo.module.scss
View file @
878d9872
@import
'assets/css/common.scss'
;
.page
{
.page
{
width
:
100vw
;
width
:
100vw
;
...
@@ -26,6 +27,15 @@
...
@@ -26,6 +27,15 @@
display
:
block
;
display
:
block
;
}
}
.titleIcon
{
margin-right
:
0
.1rem
;
width
:
0
.46rem
;
height
:
0
.46rem
;
border-radius
:
0
.23rem
;
border
:
1px
solid
#FFFFFF
;
background-color
:
$primaryColor
;
}
.main
{
.main
{
background
:
#EDE9E3
;
background
:
#EDE9E3
;
margin
:
-0
.2rem
0
.05rem
;
margin
:
-0
.2rem
0
.05rem
;
...
...
src/pages/insuredsInfo.components/TabTitle.jsx
View file @
878d9872
...
@@ -12,13 +12,13 @@ class TabTitle extends React.Component {
...
@@ -12,13 +12,13 @@ class TabTitle extends React.Component {
this
.
setState
({
selected
:
!
this
.
state
.
selected
});
this
.
setState
({
selected
:
!
this
.
state
.
selected
});
};
};
render
()
{
render
()
{
const
{
title
}
=
this
.
props
;
const
{
children
}
=
this
.
props
;
return
(
return
(
<
div
<
div
className=
{
this
.
state
.
selected
?
styles
.
titleContentSelected
:
styles
.
titleContent
}
className=
{
this
.
state
.
selected
?
styles
.
titleContentSelected
:
styles
.
titleContent
}
onClick=
{
this
.
toggleCurrentTab
}
onClick=
{
this
.
toggleCurrentTab
}
>
>
<
span
>
{
title
}
</
span
>
{
children
}
</
div
>
</
div
>
);
);
}
}
...
...
src/pages/insuredsInfo.components/TableTitle.module.scss
View file @
878d9872
.titleContent
{
.titleContent
{
width
:
10vw
;
user-select
:
none
;
height
:
7vh
;
height
:
0
.7rem
;
font-size
:
1
.5vw
;
font-size
:
0
.16rem
;
text-align
:
center
;
text-align
:
center
;
align-items
:
center
;
align-items
:
center
;
line-height
:
6vh
;
line-height
:
0
.6rem
;
color
:
#FFFFFF
;
color
:
#FFFFFF
;
padding
:
5px
;
padding
:
0
.05rem
0
.2rem
;
border-radius
:
5px
;
border-radius
:
0
.05rem
;
}
}
.titleContentSelected
{
.titleContentSelected
{
...
...
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