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
7c0a2003
Commit
7c0a2003
authored
Mar 08, 2020
by
marsandheart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改样式
parent
c2511c7e
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
35 additions
and
7 deletions
+35
-7
return.png
src/assets/img/return.png
+0
-0
DoubleRecord.jsx
src/pages/DoubleRecord.jsx
+9
-4
InsuredInfo.jsx
src/pages/InsuredInfo.jsx
+9
-1
InsuredInfo.module.scss
src/pages/InsuredInfo.module.scss
+15
-0
ProductListModal.jsx
src/pages/insuredsInfo.components/ProductListModal.jsx
+1
-1
TableTitle.module.scss
src/pages/insuredsInfo.components/TableTitle.module.scss
+1
-1
No files found.
src/assets/img/return.png
0 → 100644
View file @
7c0a2003
3.71 KB
src/pages/DoubleRecord.jsx
View file @
7c0a2003
...
@@ -170,7 +170,7 @@ const defaultSteps = [
...
@@ -170,7 +170,7 @@ const defaultSteps = [
questions
:
[
questions
:
[
{
{
questionId
:
'1'
,
questionId
:
'1'
,
needPlay
:
fals
e
,
needPlay
:
tru
e
,
needCheck
:
false
,
needCheck
:
false
,
playStatus
:
'0'
,
playStatus
:
'0'
,
checked
:
false
,
checked
:
false
,
...
@@ -183,7 +183,7 @@ const defaultSteps = [
...
@@ -183,7 +183,7 @@ const defaultSteps = [
至少3秒,保证标题清晰后给投保人阅读
至少3秒,保证标题清晰后给投保人阅读
</
span
>
</
span
>
),
),
voice
:
''
voice
:
'
请销售人员点击链接向镜头展示《免除保险人责任条款》至少3秒,保证标题清晰后给投保人阅读
'
}
}
]
]
},
},
...
@@ -221,7 +221,7 @@ export default function(props) {
...
@@ -221,7 +221,7 @@ export default function(props) {
setTimeout
(()
=>
{
setTimeout
(()
=>
{
playQuestion
(
questionId
);
playQuestion
(
questionId
);
},
1000
);
},
1000
);
},
[
questionId
]);
},
[
stepId
,
questionId
]);
// 朗读当前问题
// 朗读当前问题
const
playQuestion
=
(
questionId
)
=>
{
const
playQuestion
=
(
questionId
)
=>
{
...
@@ -446,6 +446,11 @@ export default function(props) {
...
@@ -446,6 +446,11 @@ export default function(props) {
}
}
};
};
const
toStep
=
(
sId
)
=>
{
setStepId
(
sId
);
setQuestionId
(
'1'
);
}
return
(
return
(
<
div
className=
{
styles
.
page
}
>
<
div
className=
{
styles
.
page
}
>
<
div
className=
{
styles
.
header
}
>
<
div
className=
{
styles
.
header
}
>
...
@@ -462,7 +467,7 @@ export default function(props) {
...
@@ -462,7 +467,7 @@ export default function(props) {
key=
{
item
.
id
}
key=
{
item
.
id
}
className=
{
stepId
===
item
.
id
?
styles
.
stepIndexSelected
:
styles
.
stepIndex
}
className=
{
stepId
===
item
.
id
?
styles
.
stepIndexSelected
:
styles
.
stepIndex
}
onClick=
{
()
=>
{
onClick=
{
()
=>
{
setStepId
(
item
.
id
);
toStep
(
item
.
id
);
}
}
}
}
>
>
<
img
<
img
...
...
src/pages/InsuredInfo.jsx
View file @
7c0a2003
...
@@ -10,6 +10,8 @@ import IconCalculate from '../assets/img/calculate.png';
...
@@ -10,6 +10,8 @@ import IconCalculate from '../assets/img/calculate.png';
import
IconCustomer
from
'assets/img/customer.png'
;
import
IconCustomer
from
'assets/img/customer.png'
;
import
IconFile
from
'assets/img/file.png'
;
import
IconFile
from
'assets/img/file.png'
;
import
IconMoney
from
'assets/img/money.png'
;
import
IconMoney
from
'assets/img/money.png'
;
import
IconReturn
from
'assets/img/return.png'
;
import
IconHome
from
'assets/img/home.png'
;
import
TouchOpacity
from
'../components/TouchOpacity'
;
import
TouchOpacity
from
'../components/TouchOpacity'
;
import
TabTitle
from
'./InsuredsInfo.components/TabTitle'
;
import
TabTitle
from
'./InsuredsInfo.components/TabTitle'
;
...
@@ -124,7 +126,13 @@ export default function(props) {
...
@@ -124,7 +126,13 @@ export default function(props) {
<
img
alt=
"pay"
src=
{
IconMoney
}
className=
{
styles
.
titleIcon
}
/>
<
img
alt=
"pay"
src=
{
IconMoney
}
className=
{
styles
.
titleIcon
}
/>
<
span
>
借/领/退款
</
span
>
<
span
>
借/领/退款
</
span
>
</
TabTitle
>
</
TabTitle
>
<
div
>
C161361507
</
div
>
<
div
className=
{
styles
.
user
}
>
<
div
>
<
img
src=
{
IconReturn
}
alt=
"return"
></
img
>
<
img
src=
{
IconHome
}
alt=
"home"
></
img
>
</
div
>
<
span
>
C161361507
</
span
>
</
div
>
</
div
>
</
div
>
<
div
className=
{
styles
.
headerExt
}
></
div
>
<
div
className=
{
styles
.
headerExt
}
></
div
>
<
div
className=
{
styles
.
main
}
>
<
div
className=
{
styles
.
main
}
>
...
...
src/pages/InsuredInfo.module.scss
View file @
7c0a2003
...
@@ -36,6 +36,21 @@
...
@@ -36,6 +36,21 @@
background-color
:
$primaryColor
;
background-color
:
$primaryColor
;
}
}
.user
{
color
:
white
;
margin-right
:
0
.1rem
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
font-size
:
0
.24rem
;
img
{
width
:
0
.22rem
;
height
:
0
.22rem
;
margin-right
:
0
.2rem
;
}
}
.main
{
.main
{
background
:
#EDE9E3
;
background
:
#EDE9E3
;
margin
:
-0
.2rem
0
.05rem
;
margin
:
-0
.2rem
0
.05rem
;
...
...
src/pages/insuredsInfo.components/ProductListModal.jsx
View file @
7c0a2003
...
@@ -134,7 +134,7 @@ export default function(props) {
...
@@ -134,7 +134,7 @@ export default function(props) {
))
}
))
}
</
div
>
</
div
>
<
div
className=
{
styles
.
footer
}
>
<
div
className=
{
styles
.
footer
}
>
<
TouchOpacity
className=
{
styles
.
btnCancel
}
>
取消
</
TouchOpacity
>
<
TouchOpacity
className=
{
styles
.
btnCancel
}
onClick=
{
close
}
>
取消
</
TouchOpacity
>
<
TouchOpacity
className=
{
styles
.
btn
}
onClick=
{
submit
}
>
<
TouchOpacity
className=
{
styles
.
btn
}
onClick=
{
submit
}
>
确定
确定
</
TouchOpacity
>
</
TouchOpacity
>
...
...
src/pages/insuredsInfo.components/TableTitle.module.scss
View file @
7c0a2003
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
align-items
:
center
;
align-items
:
center
;
line-height
:
0
.6rem
;
line-height
:
0
.6rem
;
color
:
#FFFFFF
;
color
:
#FFFFFF
;
padding
:
0
.05rem
0
.2rem
;
padding
:
0
0
.2rem
;
border-radius
:
0
.05rem
;
border-radius
:
0
.05rem
;
}
}
...
...
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