Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
allCampaign
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
allCampaign
Commits
9dd56f96
Commit
9dd56f96
authored
Aug 06, 2020
by
Chao Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页数显示判断
parent
97b9bc59
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
158 additions
and
72 deletions
+158
-72
questionnaire/src/app/age/age.component.html
+5
-2
questionnaire/src/app/age/age.component.ts
+4
-1
questionnaire/src/app/children-health/children-health.component.html
+2
-1
questionnaire/src/app/children-health/children-health.component.ts
+8
-5
questionnaire/src/app/disease/disease.component.html
+2
-1
questionnaire/src/app/disease/disease.component.ts
+5
-1
questionnaire/src/app/family/family.component.html
+4
-1
questionnaire/src/app/family/family.component.ts
+18
-3
questionnaire/src/app/health/health.component.html
+2
-1
questionnaire/src/app/health/health.component.ts
+10
-12
questionnaire/src/app/income/income.component.html
+2
-1
questionnaire/src/app/income/income.component.ts
+6
-2
questionnaire/src/app/job/job.component.html
+4
-1
questionnaire/src/app/job/job.component.ts
+13
-5
questionnaire/src/app/live/live.component.html
+9
-6
questionnaire/src/app/live/live.component.ts
+18
-11
questionnaire/src/app/loan/loan.component.html
+2
-1
questionnaire/src/app/loan/loan.component.ts
+5
-2
questionnaire/src/app/smoking/smoking.component.html
+2
-1
questionnaire/src/app/smoking/smoking.component.ts
+5
-2
questionnaire/src/app/social-security/social-security.component.html
+2
-1
questionnaire/src/app/social-security/social-security.component.ts
+6
-2
questionnaire/src/styles.css
+24
-9
No files found.
questionnaire/src/app/age/age.component.html
View file @
9dd56f96
<div
class=
"layout"
>
<div
class=
"layout"
>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"questionTitle"
>
{{ this.curPageData?.pageName }}
</div>
<div
class=
"questionTitle"
>
<div
class=
"titleName"
>
{{ curPageData?.pageName }}
</div>
<div
class=
"page"
>
2/{{this.totalPage}}
</div>
</div>
<ul
class=
"ageContent"
>
<ul
class=
"ageContent"
>
<li
*
ngFor=
"let optionsList of this.curPageData?.questions; index as i"
>
<li
*
ngFor=
"let optionsList of this.curPageData?.questions; index as i"
>
<div>
{{ optionsList.questionName }}
</div>
<div>
{{ optionsList.questionName }}
</div>
...
@@ -98,7 +101,7 @@
...
@@ -98,7 +101,7 @@
<!-- < -->
<!-- < -->
上一步
上一步
</div>
</div>
<div
[
ngStyle
]="{
color:
nextBtn =
=
false
?
'#
8a8a8a
'
:
'#
4242dd
'
}
"
(
click
)="
next
()"
>
下一步
</div>
<div
class=
"next
"
(
click
)="
next
()"
>
下一步
</div>
</div>
</div>
<div
class=
"toastWrapper toast"
*
ngIf=
"isShow"
(
click
)="
closeToast
()"
>
<div
class=
"toastWrapper toast"
*
ngIf=
"isShow"
(
click
)="
closeToast
()"
>
...
...
questionnaire/src/app/age/age.component.ts
View file @
9dd56f96
...
@@ -26,6 +26,7 @@ export class AgeComponent implements OnInit {
...
@@ -26,6 +26,7 @@ export class AgeComponent implements OnInit {
disabled
:
boolean
;
disabled
:
boolean
;
value2
:
number
=
25
;
value2
:
number
=
25
;
marks
:
any
;
marks
:
any
;
totalPage
:
any
;
constructor
(
private
commonService
:
CommonService
,
private
router
:
Router
,
private
route
:
ActivatedRoute
)
{
constructor
(
private
commonService
:
CommonService
,
private
router
:
Router
,
private
route
:
ActivatedRoute
)
{
/**
/**
* 1:单身贵族
* 1:单身贵族
...
@@ -35,6 +36,7 @@ export class AgeComponent implements OnInit {
...
@@ -35,6 +36,7 @@ export class AgeComponent implements OnInit {
* @type {any}
* @type {any}
*/
*/
this
.
type
=
this
.
route
.
snapshot
.
queryParams
[
'type'
];
this
.
type
=
this
.
route
.
snapshot
.
queryParams
[
'type'
];
this
.
totalPage
=
this
.
route
.
snapshot
.
queryParams
[
'totalPage'
];
this
.
totalChildLimitCount
=
2
;
this
.
totalChildLimitCount
=
2
;
this
.
questionSubId
=
0
;
this
.
questionSubId
=
0
;
this
.
pageAnswers
=
{
this
.
pageAnswers
=
{
...
@@ -177,6 +179,7 @@ export class AgeComponent implements OnInit {
...
@@ -177,6 +179,7 @@ export class AgeComponent implements OnInit {
}
else
{
}
else
{
this
.
nextBtn
=
false
;
this
.
nextBtn
=
false
;
}
}
this
.
totalPage
=
Number
(
this
.
totalPage
)
+
1
;
}
}
// 根据家庭结构处理展示数据
// 根据家庭结构处理展示数据
...
@@ -194,7 +197,7 @@ export class AgeComponent implements OnInit {
...
@@ -194,7 +197,7 @@ export class AgeComponent implements OnInit {
// 下一步
// 下一步
next
()
{
next
()
{
if
(
this
.
nextBtn
)
{
if
(
this
.
nextBtn
)
{
this
.
router
.
navigate
([
'/job'
],
{
queryParams
:
{
type
:
this
.
type
}
});
this
.
router
.
navigate
([
'/job'
],
{
queryParams
:
{
type
:
this
.
type
,
totalPage
:
this
.
totalPage
}
});
}
else
{
}
else
{
return
;
return
;
}
}
...
...
questionnaire/src/app/children-health/children-health.component.html
View file @
9dd56f96
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
<div
class=
"layout"
>
<div
class=
"layout"
>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"questionTitle"
>
<div
class=
"questionTitle"
>
{{ this.curPageData?.questions[0]['questionName'] }}
<div
class=
"titleName"
>
{{ this.curPageData?.questions[0]['questionName'] }}
</div>
<div
class=
"page"
>
{{this.curPage}}/{{this.totalPage}}
</div>
<!-- <span style="font-size: 14px;position: relative;top: 3px;color:#ec2d37;">(请在下列7种情况中选择)</span> -->
<!-- <span style="font-size: 14px;position: relative;top: 3px;color:#ec2d37;">(请在下列7种情况中选择)</span> -->
</div>
</div>
<div
class=
"subTitle"
>
(健康状况决定了能不能投保,共7项,可多选)
</div>
<div
class=
"subTitle"
>
(健康状况决定了能不能投保,共7项,可多选)
</div>
...
...
questionnaire/src/app/children-health/children-health.component.ts
View file @
9dd56f96
...
@@ -24,7 +24,8 @@ export class ChildrenHealthComponent implements OnInit {
...
@@ -24,7 +24,8 @@ export class ChildrenHealthComponent implements OnInit {
childTotalQuestions
:
Array
<
any
>
=
[];
childTotalQuestions
:
Array
<
any
>
=
[];
nextBtn
:
boolean
=
false
;
nextBtn
:
boolean
=
false
;
lastQuestions
:
Array
<
any
>
;
lastQuestions
:
Array
<
any
>
;
curPage
:
any
;
totalPage
:
any
;
constructor
(
constructor
(
private
commonService
:
CommonService
,
private
commonService
:
CommonService
,
private
router
:
Router
,
private
router
:
Router
,
...
@@ -39,6 +40,8 @@ export class ChildrenHealthComponent implements OnInit {
...
@@ -39,6 +40,8 @@ export class ChildrenHealthComponent implements OnInit {
*/
*/
this
.
type
=
this
.
route
.
snapshot
.
queryParams
[
"type"
];
this
.
type
=
this
.
route
.
snapshot
.
queryParams
[
"type"
];
this
.
id
=
this
.
route
.
snapshot
.
params
[
"childId"
];
this
.
id
=
this
.
route
.
snapshot
.
params
[
"childId"
];
this
.
totalPage
=
this
.
route
.
snapshot
.
queryParams
[
'totalPage'
];
this
.
curPage
=
this
.
route
.
snapshot
.
queryParams
[
'curPage'
];
this
.
pageAnswers
=
{
this
.
pageAnswers
=
{
pageId
:
""
,
pageId
:
""
,
questions
:
[
questions
:
[
...
@@ -179,6 +182,7 @@ export class ChildrenHealthComponent implements OnInit {
...
@@ -179,6 +182,7 @@ export class ChildrenHealthComponent implements OnInit {
// 下一步
// 下一步
next
()
{
next
()
{
this
.
curPage
=
Number
(
this
.
curPage
)
+
1
;
const
age
=
this
.
commonService
.
todosCopy
const
age
=
this
.
commonService
.
todosCopy
.
filter
(
item
=>
item
.
pageId
==
3
)
.
filter
(
item
=>
item
.
pageId
==
3
)
.
pop
();
.
pop
();
...
@@ -190,15 +194,13 @@ export class ChildrenHealthComponent implements OnInit {
...
@@ -190,15 +194,13 @@ export class ChildrenHealthComponent implements OnInit {
// 查看有几个孩子,一个直接跳到疾病页,多个跳多个孩子页
// 查看有几个孩子,一个直接跳到疾病页,多个跳多个孩子页
if
(
this
.
id
<
parseInt
(
this
.
childTotalCount
,
0
))
{
if
(
this
.
id
<
parseInt
(
this
.
childTotalCount
,
0
))
{
this
.
router
.
navigate
([
"/children_health"
,
parseInt
(
this
.
id
,
0
)
+
1
],
{
this
.
router
.
navigate
([
"/children_health"
,
parseInt
(
this
.
id
,
0
)
+
1
],
{
queryParams
:
{
queryParams
:
{
type
:
this
.
type
,
totalPage
:
this
.
totalPage
,
curPage
:
this
.
curPage
}
type
:
this
.
type
}
});
});
this
.
nextBtn
=
false
;
this
.
nextBtn
=
false
;
this
.
surveyInfo
();
this
.
surveyInfo
();
}
else
{
}
else
{
this
.
router
.
navigate
([
"/disease"
],
{
this
.
router
.
navigate
([
"/disease"
],
{
queryParams
:
{
type
:
this
.
type
}
queryParams
:
{
type
:
this
.
type
,
totalPage
:
this
.
totalPage
,
curPage
:
this
.
curPage
}
});
});
}
}
}
else
{
}
else
{
...
@@ -209,6 +211,7 @@ export class ChildrenHealthComponent implements OnInit {
...
@@ -209,6 +211,7 @@ export class ChildrenHealthComponent implements OnInit {
// 上一步
// 上一步
before
()
{
before
()
{
this
.
surveyInfo
();
this
.
surveyInfo
();
this
.
curPage
=
Number
(
this
.
curPage
)
-
1
;
this
.
commonService
.
before
();
this
.
commonService
.
before
();
}
}
}
}
questionnaire/src/app/disease/disease.component.html
View file @
9dd56f96
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
<div
class=
"layout"
>
<div
class=
"layout"
>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"questionTitle hospitalTitle"
>
<div
class=
"questionTitle hospitalTitle"
>
{{ this.curPageData?.pageName }}
<div
class=
"titleName"
>
{{ curPageData?.pageName }}
</div>
<div
class=
"page"
style=
"margin-top: -7%;"
>
{{this.curPage}}/{{this.totalPage}}
</div>
</div>
</div>
<ul
class=
"jobContent"
style=
"margin-top: 2.5em;"
>
<ul
class=
"jobContent"
style=
"margin-top: 2.5em;"
>
<li
*
ngFor=
"let options of this.options"
[
ngClass
]="{
selected:
options
['
selected
']
==
true
}"
<li
*
ngFor=
"let options of this.options"
[
ngClass
]="{
selected:
options
['
selected
']
==
true
}"
...
...
questionnaire/src/app/disease/disease.component.ts
View file @
9dd56f96
...
@@ -15,10 +15,14 @@ export class DiseaseComponent implements OnInit {
...
@@ -15,10 +15,14 @@ export class DiseaseComponent implements OnInit {
options
:
Array
<
any
>
;
options
:
Array
<
any
>
;
questions
:
Array
<
any
>
=
[];
questions
:
Array
<
any
>
=
[];
lastQuestions
:
Array
<
any
>
;
lastQuestions
:
Array
<
any
>
;
curPage
:
any
;
totalPage
:
any
;
constructor
(
private
commonService
:
CommonService
,
constructor
(
private
commonService
:
CommonService
,
private
router
:
Router
,
private
router
:
Router
,
private
route
:
ActivatedRoute
)
{
private
route
:
ActivatedRoute
)
{
this
.
type
=
this
.
route
.
snapshot
.
queryParams
[
'type'
];
this
.
type
=
this
.
route
.
snapshot
.
queryParams
[
'type'
];
this
.
totalPage
=
this
.
route
.
snapshot
.
queryParams
[
'totalPage'
];
this
.
curPage
=
this
.
route
.
snapshot
.
queryParams
[
'curPage'
];
this
.
pageAnswers
=
{
this
.
pageAnswers
=
{
pageId
:
''
,
pageId
:
''
,
questions
:
[{
questions
:
[{
...
@@ -158,7 +162,7 @@ export class DiseaseComponent implements OnInit {
...
@@ -158,7 +162,7 @@ export class DiseaseComponent implements OnInit {
next
()
{
next
()
{
if
(
this
.
nextBtn
==
true
)
{
if
(
this
.
nextBtn
==
true
)
{
this
.
router
.
navigate
([
'/smoke'
],
{
queryParams
:
{
type
:
this
.
type
}
})
this
.
router
.
navigate
([
'/smoke'
],
{
queryParams
:
{
type
:
this
.
type
,
totalPage
:
this
.
totalPage
,
curPage
:
Number
(
this
.
curPage
)
+
1
}
})
}
else
{
}
else
{
return
return
}
}
...
...
questionnaire/src/app/family/family.component.html
View file @
9dd56f96
<div
class=
"layout"
>
<div
class=
"layout"
>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"questionTitle"
>
{{ curPageData?.pageName }}
</div>
<div
class=
"questionTitle"
>
<div
class=
"titleName"
>
{{ curPageData?.pageName }}
</div>
<div
class=
"page"
>
1/{{this.totalPage}}
</div>
</div>
<ul
class=
"option_item"
style=
"margin-top: 20%;"
>
<ul
class=
"option_item"
style=
"margin-top: 20%;"
>
<li
*
ngFor=
"let options of curPageData?.questions[0]['options']"
(
click
)="
selectedFamily
(
options
)"
>
<li
*
ngFor=
"let options of curPageData?.questions[0]['options']"
(
click
)="
selectedFamily
(
options
)"
>
<div
class=
"imgBox"
>
<div
class=
"imgBox"
>
...
...
questionnaire/src/app/family/family.component.ts
View file @
9dd56f96
...
@@ -16,7 +16,7 @@ export class FamilyComponent implements OnInit {
...
@@ -16,7 +16,7 @@ export class FamilyComponent implements OnInit {
lastSelectedOptionId
:
any
;
lastSelectedOptionId
:
any
;
nextBtn
:
boolean
=
false
;
nextBtn
:
boolean
=
false
;
targetObj
:
any
=
{};
targetObj
:
any
=
{};
totalPage
:
any
;
constructor
(
private
commonService
:
CommonService
,
private
router
:
Router
)
{
constructor
(
private
commonService
:
CommonService
,
private
router
:
Router
)
{
this
.
pageAnswers
=
{
this
.
pageAnswers
=
{
...
@@ -30,6 +30,8 @@ export class FamilyComponent implements OnInit {
...
@@ -30,6 +30,8 @@ export class FamilyComponent implements OnInit {
}
}
ngOnInit
()
{
ngOnInit
()
{
//初始化总页数
this
.
totalPage
=
12
;
this
.
lastQuestions
=
this
.
commonService
.
todosCopy
.
filter
(
item
=>
item
.
pageId
==
2
).
pop
();
this
.
lastQuestions
=
this
.
commonService
.
todosCopy
.
filter
(
item
=>
item
.
pageId
==
2
).
pop
();
this
.
commonService
.
surveyInfo
().
then
(
res
=>
{
this
.
commonService
.
surveyInfo
().
then
(
res
=>
{
this
.
curPageData
=
res
[
'data'
][
'survey'
][
'pages'
].
filter
(
item
=>
item
.
pageId
===
2
).
pop
();
this
.
curPageData
=
res
[
'data'
][
'survey'
][
'pages'
].
filter
(
item
=>
item
.
pageId
===
2
).
pop
();
...
@@ -59,6 +61,18 @@ export class FamilyComponent implements OnInit {
...
@@ -59,6 +61,18 @@ export class FamilyComponent implements OnInit {
if
(
this
.
lastSelectedOptionId
!=
this
.
selectedOptionId
)
{
if
(
this
.
lastSelectedOptionId
!=
this
.
selectedOptionId
)
{
this
.
commonService
.
remove
();
this
.
commonService
.
remove
();
}
}
if
(
this
.
selectedOptionId
==
1
)
{
this
.
totalPage
=
10
;
}
if
(
this
.
selectedOptionId
==
2
)
{
this
.
totalPage
=
12
;
}
if
(
this
.
selectedOptionId
==
3
)
{
this
.
totalPage
=
11
;
}
if
(
this
.
selectedOptionId
==
4
)
{
this
.
totalPage
=
13
;
}
const
options
=
this
.
curPageData
[
'questions'
][
0
][
'options'
];
const
options
=
this
.
curPageData
[
'questions'
][
0
][
'options'
];
for
(
let
i
=
0
;
i
<
options
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
options
.
length
;
i
++
)
{
if
(
option
[
'optionId'
]
==
options
[
i
][
'optionId'
])
{
if
(
option
[
'optionId'
]
==
options
[
i
][
'optionId'
])
{
...
@@ -82,14 +96,15 @@ export class FamilyComponent implements OnInit {
...
@@ -82,14 +96,15 @@ export class FamilyComponent implements OnInit {
this
.
nextBtn
=
false
;
this
.
nextBtn
=
false
;
}
}
if
(
!
isReturn
)
{
if
(
!
isReturn
)
{
this
.
next
()
this
.
next
()
;
}
}
}
}
// 下一步
// 下一步
next
()
{
next
()
{
if
(
this
.
nextBtn
)
{
if
(
this
.
nextBtn
)
{
this
.
router
.
navigate
([
'/age'
],
{
queryParams
:
{
type
:
this
.
selectedOptionId
}
});
this
.
router
.
navigate
([
'/age'
],
{
queryParams
:
{
type
:
this
.
selectedOptionId
,
totalPage
:
this
.
totalPage
}
});
}
else
{
}
else
{
return
;
return
;
}
}
...
...
questionnaire/src/app/health/health.component.html
View file @
9dd56f96
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
<div
class=
"layout"
>
<div
class=
"layout"
>
<div
class=
"content healthContent"
>
<div
class=
"content healthContent"
>
<div
class=
"questionTitle"
>
<div
class=
"questionTitle"
>
{{ this.curPageData?.questions[0]['questionName'] }}
<div
class=
"titleName"
>
{{ this.curPageData?.questions[0]['questionName'] }}
</div>
<div
class=
"page"
>
{{this.curPage}}/{{this.totalPage}}
</div>
</div>
</div>
<div
class=
"subTitle"
>
<div
class=
"subTitle"
>
(健康决定了能不能投保,共16项,可多选)
(健康决定了能不能投保,共16项,可多选)
...
...
questionnaire/src/app/health/health.component.ts
View file @
9dd56f96
...
@@ -20,7 +20,8 @@ export class HealthComponent implements OnInit {
...
@@ -20,7 +20,8 @@ export class HealthComponent implements OnInit {
questions
:
Array
<
any
>
=
[];
questions
:
Array
<
any
>
=
[];
nextBtn
:
boolean
=
false
;
nextBtn
:
boolean
=
false
;
lastQuestions
:
Array
<
any
>
;
lastQuestions
:
Array
<
any
>
;
curPage
:
any
;
totalPage
:
any
;
constructor
(
private
commonService
:
CommonService
,
constructor
(
private
commonService
:
CommonService
,
private
router
:
Router
,
private
router
:
Router
,
private
route
:
ActivatedRoute
)
{
private
route
:
ActivatedRoute
)
{
...
@@ -33,6 +34,8 @@ export class HealthComponent implements OnInit {
...
@@ -33,6 +34,8 @@ export class HealthComponent implements OnInit {
*/
*/
this
.
type
=
this
.
route
.
snapshot
.
queryParams
[
'type'
];
this
.
type
=
this
.
route
.
snapshot
.
queryParams
[
'type'
];
this
.
id
=
this
.
route
.
snapshot
[
'data'
][
'0'
][
'id'
];
this
.
id
=
this
.
route
.
snapshot
[
'data'
][
'0'
][
'id'
];
this
.
totalPage
=
this
.
route
.
snapshot
.
queryParams
[
'totalPage'
];
this
.
curPage
=
this
.
route
.
snapshot
.
queryParams
[
'curPage'
];
this
.
pageAnswers
=
{
this
.
pageAnswers
=
{
pageId
:
''
,
pageId
:
''
,
questions
:
[{
questions
:
[{
...
@@ -105,7 +108,6 @@ export class HealthComponent implements OnInit {
...
@@ -105,7 +108,6 @@ export class HealthComponent implements OnInit {
// 选择健康情况(多选)
// 选择健康情况(多选)
selectedHealth
(
option
,
lastFlag
,
isReturn
?:
any
)
{
selectedHealth
(
option
,
lastFlag
,
isReturn
?:
any
)
{
console
.
log
(
option
)
if
(
lastFlag
===
false
)
{
if
(
lastFlag
===
false
)
{
option
[
'selected'
]
=
!
option
[
'selected'
];
option
[
'selected'
]
=
!
option
[
'selected'
];
}
}
...
@@ -170,27 +172,23 @@ export class HealthComponent implements OnInit {
...
@@ -170,27 +172,23 @@ export class HealthComponent implements OnInit {
// 先判断当前页是您的页还是配偶页
// 先判断当前页是您的页还是配偶页
if
(
this
.
id
==
1
)
{
if
(
this
.
id
==
1
)
{
if
(
this
.
type
==
2
||
this
.
type
==
4
)
{
if
(
this
.
type
==
2
||
this
.
type
==
4
)
{
this
.
router
.
navigate
([
'/spouse_health'
],
{
queryParams
:
{
type
:
this
.
type
}
});
this
.
router
.
navigate
([
'/spouse_health'
],
{
queryParams
:
{
type
:
this
.
type
,
totalPage
:
this
.
totalPage
,
curPage
:
Number
(
this
.
curPage
)
+
1
}
});
}
else
if
(
this
.
type
==
3
)
{
}
else
if
(
this
.
type
==
3
)
{
this
.
router
.
navigate
([
'/children_health'
,
1
],
{
this
.
router
.
navigate
([
'/children_health'
,
1
],
{
queryParams
:
{
queryParams
:
{
type
:
this
.
type
,
totalPage
:
this
.
totalPage
,
curPage
:
Number
(
this
.
curPage
)
+
1
}
type
:
this
.
type
}
});
});
}
else
if
(
this
.
type
==
1
)
{
}
else
if
(
this
.
type
==
1
)
{
this
.
router
.
navigate
([
'/disease'
],
{
queryParams
:
{
type
:
this
.
type
}
});
this
.
router
.
navigate
([
'/disease'
],
{
queryParams
:
{
type
:
this
.
type
,
totalPage
:
this
.
totalPage
,
curPage
:
Number
(
this
.
curPage
)
+
1
}
});
}
}
}
else
{
}
else
{
if
(
this
.
type
==
1
||
this
.
type
==
2
)
{
if
(
this
.
type
==
1
||
this
.
type
==
2
)
{
this
.
router
.
navigate
([
'/disease'
],
{
queryParams
:
{
type
:
this
.
type
}
});
this
.
router
.
navigate
([
'/disease'
],
{
queryParams
:
{
type
:
this
.
type
,
totalPage
:
this
.
totalPage
,
curPage
:
Number
(
this
.
curPage
)
+
1
}
});
}
else
if
(
this
.
type
==
3
||
this
.
type
==
4
)
{
}
else
if
(
this
.
type
==
3
||
this
.
type
==
4
)
{
this
.
router
.
navigate
([
'/children_health'
,
1
],
{
this
.
router
.
navigate
([
'/children_health'
,
1
],
{
queryParams
:
{
queryParams
:
{
type
:
this
.
type
,
totalPage
:
this
.
totalPage
,
curPage
:
Number
(
this
.
curPage
)
+
1
}
type
:
this
.
type
}
});
});
}
else
{
}
else
{
this
.
router
.
navigate
([
'/disease'
],
{
queryParams
:
{
type
:
this
.
type
}
});
this
.
router
.
navigate
([
'/disease'
],
{
queryParams
:
{
type
:
this
.
type
,
totalPage
:
this
.
totalPage
,
curPage
:
Number
(
this
.
curPage
)
+
1
}
});
}
}
}
}
}
else
{
}
else
{
...
...
questionnaire/src/app/income/income.component.html
View file @
9dd56f96
...
@@ -3,7 +3,8 @@
...
@@ -3,7 +3,8 @@
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"twoContent"
>
<div
class=
"twoContent"
>
<div
class=
"questionTitle"
>
<div
class=
"questionTitle"
>
{{ this.curPageData?.questions[0]['questionName'] }}
<div
class=
"titleName"
>
{{ this.curPageData?.questions[0]['questionName'] }}
</div>
<div
class=
"page"
>
{{this.curPage}}/{{this.totalPage}}
</div>
</div>
</div>
<div
class=
"subTitle"
>
(收入决定了所需保障额度)
</div>
<div
class=
"subTitle"
>
(收入决定了所需保障额度)
</div>
<ul
class=
"income"
>
<ul
class=
"income"
>
...
...
questionnaire/src/app/income/income.component.ts
View file @
9dd56f96
...
@@ -14,7 +14,9 @@ export class IncomeComponent implements OnInit {
...
@@ -14,7 +14,9 @@ export class IncomeComponent implements OnInit {
type
:
any
;
type
:
any
;
nextBtn
:
boolean
;
nextBtn
:
boolean
;
lastQuestions
:
Array
<
any
>
;
lastQuestions
:
Array
<
any
>
;
targetObj
:
Object
=
{}
targetObj
:
Object
=
{};
curPage
:
any
;
totalPage
:
any
;
constructor
(
private
commonService
:
CommonService
,
constructor
(
private
commonService
:
CommonService
,
private
router
:
Router
,
private
router
:
Router
,
private
route
:
ActivatedRoute
)
{
private
route
:
ActivatedRoute
)
{
...
@@ -26,6 +28,8 @@ export class IncomeComponent implements OnInit {
...
@@ -26,6 +28,8 @@ export class IncomeComponent implements OnInit {
* @type {any}
* @type {any}
*/
*/
this
.
type
=
this
.
route
.
snapshot
.
queryParams
[
'type'
];
this
.
type
=
this
.
route
.
snapshot
.
queryParams
[
'type'
];
this
.
totalPage
=
this
.
route
.
snapshot
.
queryParams
[
'totalPage'
];
this
.
curPage
=
this
.
route
.
snapshot
.
queryParams
[
'curPage'
];
this
.
pageAnswers
=
{
this
.
pageAnswers
=
{
pageId
:
''
,
pageId
:
''
,
questions
:
[],
questions
:
[],
...
@@ -114,7 +118,7 @@ export class IncomeComponent implements OnInit {
...
@@ -114,7 +118,7 @@ export class IncomeComponent implements OnInit {
next
()
{
next
()
{
if
(
this
.
nextBtn
==
true
)
{
if
(
this
.
nextBtn
==
true
)
{
this
.
router
.
navigate
([
'/loan'
],
{
queryParams
:
{
type
:
this
.
type
}
})
this
.
router
.
navigate
([
'/loan'
],
{
queryParams
:
{
type
:
this
.
type
,
totalPage
:
this
.
totalPage
,
curPage
:
Number
(
this
.
curPage
)
+
1
}
})
}
else
{
}
else
{
return
;
return
;
}
}
...
...
questionnaire/src/app/job/job.component.html
View file @
9dd56f96
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"layout"
>
<div
class=
"layout"
>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"questionTitle"
>
{{ this.curPageData?.pageName }}
</div>
<div
class=
"questionTitle"
>
<div
class=
"titleName"
>
{{ curPageData?.pageName }}
</div>
<div
class=
"page"
>
{{this.curPage}}/{{this.totalPage}}
</div>
</div>
<div
class=
"subTitle"
>
(职业不同,风险保障侧重不同)
</div>
<div
class=
"subTitle"
>
(职业不同,风险保障侧重不同)
</div>
<ul
class=
"jobContent"
>
<ul
class=
"jobContent"
>
<li
[
ngClass
]="{
selected:
options
['
selected
']
}"
*
ngFor=
"let options of this.curPageData?.questions[0].options"
<li
[
ngClass
]="{
selected:
options
['
selected
']
}"
*
ngFor=
"let options of this.curPageData?.questions[0].options"
...
...
questionnaire/src/app/job/job.component.ts
View file @
9dd56f96
...
@@ -14,8 +14,9 @@ export class JobComponent implements OnInit {
...
@@ -14,8 +14,9 @@ export class JobComponent implements OnInit {
id
:
any
;
id
:
any
;
nextBtn
:
boolean
;
nextBtn
:
boolean
;
lastQuestions
:
Array
<
any
>
;
lastQuestions
:
Array
<
any
>
;
targetObj
:
Object
=
{}
targetObj
:
Object
=
{};
curPage
:
any
;
totalPage
:
any
;
constructor
(
private
commonService
:
CommonService
,
constructor
(
private
commonService
:
CommonService
,
private
router
:
Router
,
private
router
:
Router
,
private
route
:
ActivatedRoute
)
{
private
route
:
ActivatedRoute
)
{
...
@@ -32,7 +33,14 @@ export class JobComponent implements OnInit {
...
@@ -32,7 +33,14 @@ export class JobComponent implements OnInit {
* @id
* @id
* */
* */
this
.
type
=
this
.
route
.
snapshot
.
queryParams
[
'type'
];
this
.
type
=
this
.
route
.
snapshot
.
queryParams
[
'type'
];
this
.
totalPage
=
this
.
route
.
snapshot
.
queryParams
[
'totalPage'
];
this
.
id
=
this
.
route
.
snapshot
[
'data'
][
'0'
][
'id'
];
this
.
id
=
this
.
route
.
snapshot
[
'data'
][
'0'
][
'id'
];
if
(
this
.
id
==
1
)
{
this
.
curPage
=
3
;
}
if
(
this
.
id
==
2
)
{
this
.
curPage
=
4
;
}
this
.
pageAnswers
=
{
this
.
pageAnswers
=
{
pageId
:
''
,
pageId
:
''
,
questions
:
[{
questions
:
[{
...
@@ -128,12 +136,12 @@ export class JobComponent implements OnInit {
...
@@ -128,12 +136,12 @@ export class JobComponent implements OnInit {
if
(
this
.
nextBtn
==
true
)
{
if
(
this
.
nextBtn
==
true
)
{
if
(
this
.
id
==
1
)
{
if
(
this
.
id
==
1
)
{
if
(
this
.
type
==
2
||
this
.
type
==
4
)
{
if
(
this
.
type
==
2
||
this
.
type
==
4
)
{
this
.
router
.
navigate
([
'/spouse_job'
],
{
queryParams
:
{
type
:
this
.
type
}
})
this
.
router
.
navigate
([
'/spouse_job'
],
{
queryParams
:
{
type
:
this
.
type
,
totalPage
:
this
.
totalPage
}
})
}
else
{
}
else
{
this
.
router
.
navigate
([
'/income'
],
{
queryParams
:
{
type
:
this
.
type
}
})
this
.
router
.
navigate
([
'/income'
],
{
queryParams
:
{
type
:
this
.
type
,
totalPage
:
this
.
totalPage
,
curPage
:
Number
(
this
.
curPage
)
+
1
}
})
}
}
}
else
{
}
else
{
this
.
router
.
navigate
([
'/income'
],
{
queryParams
:
{
type
:
this
.
type
}
})
this
.
router
.
navigate
([
'/income'
],
{
queryParams
:
{
type
:
this
.
type
,
totalPage
:
this
.
totalPage
,
curPage
:
Number
(
this
.
curPage
)
+
1
}
})
}
}
}
else
{
}
else
{
return
;
return
;
...
...
questionnaire/src/app/live/live.component.html
View file @
9dd56f96
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
<div
class=
"layout "
>
<div
class=
"layout "
>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"questionTitle"
>
<div
class=
"questionTitle"
>
{{ this.curPageData?.questions[0]['questionName'] }}
<div
class=
"titleName"
>
{{ this.curPageData?.questions[0]['questionName'] }}
</div>
<div
class=
"page"
>
{{this.curPage}}/{{this.totalPage}}
</div>
</div>
</div>
<ul
class=
"cityContent"
>
<ul
class=
"cityContent"
>
<li
*
ngFor=
"let provinces of this.provinceList"
[
ngClass
]="{
selected:
provinces
['
selected
']
==
true
}"
<li
*
ngFor=
"let provinces of this.provinceList"
[
ngClass
]="{
selected:
provinces
['
selected
']
==
true
}"
...
@@ -30,14 +31,16 @@
...
@@ -30,14 +31,16 @@
</div>
</div>
<div
class=
"province"
style=
"position: relative;"
>
<div
class=
"province"
style=
"position: relative;"
>
<div>
{{ this.provinceName }}
</div>
<div>
{{ this.provinceName }}
</div>
<ul
class=
"city"
>
<div
style=
"text-align: left;border-bottom:2px #5566e9 solid;"
>
{{this.cityName}}
</div>
<li
*
ngFor=
"let city of this.cityList"
(
click
)="
closeToast
();
selectCity
(
city
);"
>
{{ city.cityName }}
</li>
</ul>
<div
style=
"height: 35px;line-height:35px;border-bottom:1px #e5e5e5 solid;width: 100%;position: absolute;"
>
<div
style=
"height: 35px;line-height:35px;border-bottom:1px #e5e5e5 solid;width: 100%;position: absolute;"
>
</div>
</div>
</div>
</div>
<ul
class=
"city"
>
<li
[
ngClass
]="{
selected:city
.
cityName =
=
this
.
cityName
}"
*
ngFor=
"let city of this.cityList"
(
click
)="
selectCity
(
city
);"
>
{{ city.cityName }}
</li>
</ul>
</div>
</div>
</div>
</div>
<!--提示框-->
<!--提示框-->
...
...
questionnaire/src/app/live/live.component.ts
View file @
9dd56f96
...
@@ -46,11 +46,15 @@ export class LiveComponent implements OnInit {
...
@@ -46,11 +46,15 @@ export class LiveComponent implements OnInit {
selfDisease
:
boolean
=
false
;
selfDisease
:
boolean
=
false
;
spouseDisease
:
boolean
=
false
;
spouseDisease
:
boolean
=
false
;
childrenDisease
:
boolean
=
false
;
childrenDisease
:
boolean
=
false
;
cityName
:
string
;
curPage
:
any
;
totalPage
:
any
;
constructor
(
private
commonService
:
CommonService
,
constructor
(
private
commonService
:
CommonService
,
private
router
:
Router
,
private
router
:
Router
,
private
route
:
ActivatedRoute
)
{
private
route
:
ActivatedRoute
)
{
this
.
type
=
this
.
route
.
snapshot
.
queryParams
[
'type'
];
this
.
type
=
this
.
route
.
snapshot
.
queryParams
[
'type'
];
this
.
totalPage
=
this
.
route
.
snapshot
.
queryParams
[
'totalPage'
];
this
.
curPage
=
this
.
route
.
snapshot
.
queryParams
[
'curPage'
];
this
.
pageAnswers
=
{
this
.
pageAnswers
=
{
pageId
:
''
,
pageId
:
''
,
questions
:
[{
questions
:
[{
...
@@ -109,10 +113,8 @@ export class LiveComponent implements OnInit {
...
@@ -109,10 +113,8 @@ export class LiveComponent implements OnInit {
}
}
},
300
)
},
300
)
}
}
}
}
})
})
}
}
showToast
()
{
showToast
()
{
...
@@ -120,16 +122,20 @@ export class LiveComponent implements OnInit {
...
@@ -120,16 +122,20 @@ export class LiveComponent implements OnInit {
}
}
selectProvince
(
option
)
{
selectProvince
(
option
)
{
this
.
provinceName
=
option
.
provinceName
;
if
(
this
.
provinceName
!=
option
.
provinceName
)
{
this
.
provinceId
=
option
.
provinceId
;
this
.
cityName
=
null
;
for
(
let
i
=
0
;
i
<
this
.
provinceList
.
length
;
i
++
)
{
this
.
provinceName
=
option
.
provinceName
;
if
(
option
[
'provinceId'
]
==
this
.
provinceList
[
i
][
'provinceId'
])
{
this
.
provinceId
=
option
.
provinceId
;
this
.
provinceList
[
i
][
'selected'
]
=
true
;
for
(
let
i
=
0
;
i
<
this
.
provinceList
.
length
;
i
++
)
{
}
else
{
if
(
option
[
'provinceId'
]
==
this
.
provinceList
[
i
][
'provinceId'
])
{
this
.
provinceList
[
i
][
'selected'
]
=
false
;
this
.
provinceList
[
i
][
'selected'
]
=
true
;
}
else
{
this
.
provinceList
[
i
][
'selected'
]
=
false
;
}
}
}
this
.
getCityqry
();
}
}
this
.
getCityqry
();
}
}
closeToast
()
{
closeToast
()
{
...
@@ -150,6 +156,7 @@ export class LiveComponent implements OnInit {
...
@@ -150,6 +156,7 @@ export class LiveComponent implements OnInit {
selectCity
(
e
,
isReturn
?:
any
)
{
selectCity
(
e
,
isReturn
?:
any
)
{
this
.
showAddress
=
true
;
this
.
showAddress
=
true
;
this
.
cityName
=
e
.
cityName
;
this
.
strAddress
=
this
.
provinceName
+
e
.
cityName
;
this
.
strAddress
=
this
.
provinceName
+
e
.
cityName
;
this
.
address
=
{
this
.
address
=
{
customerInput
:
this
.
provinceName
+
','
+
e
.
cityName
,
customerInput
:
this
.
provinceName
+
','
+
e
.
cityName
,
...
...
questionnaire/src/app/loan/loan.component.html
View file @
9dd56f96
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
<div
class=
"layout"
>
<div
class=
"layout"
>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"questionTitle"
>
<div
class=
"questionTitle"
>
{{ this.curPageData?.questions[0]['questionName'] }}
<div
class=
"titleName"
>
{{ this.curPageData?.questions[0]['questionName'] }}
</div>
<div
class=
"page"
>
{{this.curPage}}/{{this.totalPage}}
</div>
</div>
</div>
<div
class=
"subTitle"
>
(负债决定了所需保障额度)
</div>
<div
class=
"subTitle"
>
(负债决定了所需保障额度)
</div>
<ul
class=
"income"
>
<ul
class=
"income"
>
...
...
questionnaire/src/app/loan/loan.component.ts
View file @
9dd56f96
...
@@ -15,7 +15,8 @@ export class LoanComponent implements OnInit {
...
@@ -15,7 +15,8 @@ export class LoanComponent implements OnInit {
nextBtn
:
boolean
;
nextBtn
:
boolean
;
lastQuestions
:
Array
<
any
>
;
lastQuestions
:
Array
<
any
>
;
targetObj
:
Object
=
{}
targetObj
:
Object
=
{}
curPage
:
any
;
totalPage
:
any
;
constructor
(
private
commonService
:
CommonService
,
constructor
(
private
commonService
:
CommonService
,
private
router
:
Router
,
private
router
:
Router
,
private
route
:
ActivatedRoute
)
{
private
route
:
ActivatedRoute
)
{
...
@@ -27,6 +28,8 @@ export class LoanComponent implements OnInit {
...
@@ -27,6 +28,8 @@ export class LoanComponent implements OnInit {
* @type {any}
* @type {any}
*/
*/
this
.
type
=
this
.
route
.
snapshot
.
queryParams
[
'type'
];
this
.
type
=
this
.
route
.
snapshot
.
queryParams
[
'type'
];
this
.
totalPage
=
this
.
route
.
snapshot
.
queryParams
[
'totalPage'
];
this
.
curPage
=
this
.
route
.
snapshot
.
queryParams
[
'curPage'
];
this
.
pageAnswers
=
{
this
.
pageAnswers
=
{
pageId
:
''
,
pageId
:
''
,
questions
:
[],
questions
:
[],
...
@@ -104,7 +107,7 @@ export class LoanComponent implements OnInit {
...
@@ -104,7 +107,7 @@ export class LoanComponent implements OnInit {
next
()
{
next
()
{
if
(
this
.
nextBtn
==
true
)
{
if
(
this
.
nextBtn
==
true
)
{
this
.
router
.
navigate
([
'/social'
],
{
queryParams
:
{
type
:
this
.
type
}
})
this
.
router
.
navigate
([
'/social'
],
{
queryParams
:
{
type
:
this
.
type
,
totalPage
:
this
.
totalPage
,
curPage
:
Number
(
this
.
curPage
)
+
1
}
})
}
else
{
}
else
{
return
;
return
;
}
}
...
...
questionnaire/src/app/smoking/smoking.component.html
View file @
9dd56f96
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
<div
class=
"layout"
>
<div
class=
"layout"
>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"questionTitle smokeTitle"
>
<div
class=
"questionTitle smokeTitle"
>
{{ this.curPageData?.pageName.substr(0,5) }}
<div
class=
"titleName"
>
{{ curPageData?.pageName.substr(0,5) }}
</div>
<div
class=
"page"
>
{{this.curPage}}/{{this.totalPage}}
</div>
</div>
</div>
<div
class=
"subTitle"
>
(抽烟大于400支年,支年 = 抽烟支数/每日*烟龄)
</div>
<div
class=
"subTitle"
>
(抽烟大于400支年,支年 = 抽烟支数/每日*烟龄)
</div>
<ul
class=
"jobContent"
>
<ul
class=
"jobContent"
>
...
...
questionnaire/src/app/smoking/smoking.component.ts
View file @
9dd56f96
...
@@ -15,11 +15,14 @@ export class SmokingComponent implements OnInit {
...
@@ -15,11 +15,14 @@ export class SmokingComponent implements OnInit {
options
:
Array
<
any
>
;
options
:
Array
<
any
>
;
questions
:
Array
<
any
>
=
[];
questions
:
Array
<
any
>
=
[];
lastQuestions
:
Array
<
any
>
;
lastQuestions
:
Array
<
any
>
;
curPage
:
any
;
totalPage
:
any
;
constructor
(
private
commonService
:
CommonService
,
constructor
(
private
commonService
:
CommonService
,
private
router
:
Router
,
private
router
:
Router
,
private
route
:
ActivatedRoute
)
{
private
route
:
ActivatedRoute
)
{
this
.
type
=
this
.
route
.
snapshot
.
queryParams
[
'type'
];
this
.
type
=
this
.
route
.
snapshot
.
queryParams
[
'type'
];
this
.
totalPage
=
this
.
route
.
snapshot
.
queryParams
[
'totalPage'
];
this
.
curPage
=
this
.
route
.
snapshot
.
queryParams
[
'curPage'
];
this
.
pageAnswers
=
{
this
.
pageAnswers
=
{
pageId
:
''
,
pageId
:
''
,
questions
:
[{
questions
:
[{
...
@@ -157,7 +160,7 @@ export class SmokingComponent implements OnInit {
...
@@ -157,7 +160,7 @@ export class SmokingComponent implements OnInit {
next
()
{
next
()
{
if
(
this
.
nextBtn
==
true
)
{
if
(
this
.
nextBtn
==
true
)
{
this
.
router
.
navigate
([
'/live'
],
{
queryParams
:
{
type
:
this
.
type
}
})
this
.
router
.
navigate
([
'/live'
],
{
queryParams
:
{
type
:
this
.
type
,
totalPage
:
this
.
totalPage
,
curPage
:
Number
(
this
.
curPage
)
+
1
}
})
}
else
{
}
else
{
return
;
return
;
}
}
...
...
questionnaire/src/app/social-security/social-security.component.html
View file @
9dd56f96
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
<div
class=
"layout"
>
<div
class=
"layout"
>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"questionTitle"
>
<div
class=
"questionTitle"
>
{{ this.curPageData?.questions[0]['questionName'] }}
<div
class=
"titleName"
>
{{ this.curPageData?.questions[0]['questionName'] }}
</div>
<div
class=
"page"
>
{{this.curPage}}/{{this.totalPage}}
</div>
</div>
</div>
<div
class=
"subTitle"
>
<div
class=
"subTitle"
>
(城镇居民和新农合都算)
(城镇居民和新农合都算)
...
...
questionnaire/src/app/social-security/social-security.component.ts
View file @
9dd56f96
...
@@ -14,7 +14,9 @@ export class SocialSecurityComponent implements OnInit {
...
@@ -14,7 +14,9 @@ export class SocialSecurityComponent implements OnInit {
nextBtn
:
boolean
;
nextBtn
:
boolean
;
pageAnswers
:
any
;
pageAnswers
:
any
;
lastQuestions
:
Array
<
any
>
;
lastQuestions
:
Array
<
any
>
;
targetObj
:
Object
=
{}
targetObj
:
Object
=
{};
curPage
:
any
;
totalPage
:
any
;
constructor
(
private
commonService
:
CommonService
,
constructor
(
private
commonService
:
CommonService
,
private
router
:
Router
,
private
router
:
Router
,
private
route
:
ActivatedRoute
)
{
private
route
:
ActivatedRoute
)
{
...
@@ -26,6 +28,8 @@ export class SocialSecurityComponent implements OnInit {
...
@@ -26,6 +28,8 @@ export class SocialSecurityComponent implements OnInit {
* @type {any}
* @type {any}
*/
*/
this
.
type
=
this
.
route
.
snapshot
.
queryParams
[
'type'
];
this
.
type
=
this
.
route
.
snapshot
.
queryParams
[
'type'
];
this
.
totalPage
=
this
.
route
.
snapshot
.
queryParams
[
'totalPage'
];
this
.
curPage
=
this
.
route
.
snapshot
.
queryParams
[
'curPage'
];
this
.
pageAnswers
=
{
this
.
pageAnswers
=
{
pageId
:
''
,
pageId
:
''
,
questions
:
[],
questions
:
[],
...
@@ -112,7 +116,7 @@ export class SocialSecurityComponent implements OnInit {
...
@@ -112,7 +116,7 @@ export class SocialSecurityComponent implements OnInit {
next
()
{
next
()
{
if
(
this
.
nextBtn
==
true
)
{
if
(
this
.
nextBtn
==
true
)
{
this
.
router
.
navigate
([
'/health'
],
{
queryParams
:
{
type
:
this
.
type
}
})
this
.
router
.
navigate
([
'/health'
],
{
queryParams
:
{
type
:
this
.
type
,
totalPage
:
this
.
totalPage
,
curPage
:
Number
(
this
.
curPage
)
+
1
}
})
}
else
{
}
else
{
return
;
return
;
}
}
...
...
questionnaire/src/styles.css
View file @
9dd56f96
...
@@ -129,12 +129,22 @@ ol li {
...
@@ -129,12 +129,22 @@ ol li {
} */
} */
.questionTitle
{
.questionTitle
{
color
:
#4446e2
;
color
:
#4446e2
;
font-size
:
2
4
px
;
font-size
:
2
0
px
;
height
:
50px
;
height
:
50px
;
line-height
:
60px
;
line-height
:
60px
;
width
:
100%
;
width
:
100%
;
display
:
flex
;
display
:
flex
;
padding-left
:
10px
;
padding
:
0
10px
;
justify-content
:
space-between
;
align-items
:
center
;
}
.questionTitle
.page
{
width
:
65px
;
height
:
28px
;
line-height
:
28px
;
background
:
#5566e9
;
color
:
#fff
;
text-align
:
center
;
}
}
.subTitle
{
.subTitle
{
color
:
#999999
;
color
:
#999999
;
...
@@ -161,7 +171,7 @@ ol li {
...
@@ -161,7 +171,7 @@ ol li {
width
:
100%
;
width
:
100%
;
position
:
fixed
;
position
:
fixed
;
bottom
:
0
;
bottom
:
0
;
background-color
:
#f
6f6f6
;
background-color
:
#f
8f8ff
;
min-width
:
320px
;
min-width
:
320px
;
max-width
:
640px
;
max-width
:
640px
;
margin
:
0
auto
;
margin
:
0
auto
;
...
@@ -221,7 +231,7 @@ ol li {
...
@@ -221,7 +231,7 @@ ol li {
align-items
:
center
;
align-items
:
center
;
padding
:
0
3%
;
padding
:
0
3%
;
font-size
:
14px
;
font-size
:
14px
;
background
:
#f
2f1f1
;
background
:
#f
4f4f4
;
}
}
...
@@ -235,7 +245,7 @@ ol li {
...
@@ -235,7 +245,7 @@ ol li {
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding-left
:
5%
;
padding-left
:
5%
;
font-size
:
14px
;
font-size
:
14px
;
background
:
#f
2f1f1
;
background
:
#f
4f4f4
;
}
}
.jobContent
li
.selected
,
.jobContent
li
.selected
,
...
@@ -351,13 +361,14 @@ ol li {
...
@@ -351,13 +361,14 @@ ol li {
}
}
.toastContent
.province
div
{
.toastContent
.province
div
{
width
:
45%
;
font-size
:
16px
;
font-size
:
16px
;
text-align
:
center
;
text-align
:
center
;
height
:
35px
;
height
:
35px
;
line-height
:
35px
;
line-height
:
35px
;
}
}
.toastContent
.province
div
:nth-child
(
1
)
{
width
:
40%
;
}
/* .toastContent .province span.selected{
/* .toastContent .province span.selected{
border-bottom:2px solid #ff0000;
border-bottom:2px solid #ff0000;
} */
} */
...
@@ -384,9 +395,11 @@ ol li {
...
@@ -384,9 +395,11 @@ ol li {
.toastContent
ul
.city
{
.toastContent
ul
.city
{
margin
:
0
;
margin
:
0
;
margin-left
:
40%
;
overflow
:
scroll
;
overflow
:
scroll
;
max-height
:
250px
;
/* max-height: 250px; */
-webkit-overflow-scrolling
:
touch
;
-webkit-overflow-scrolling
:
touch
;
max-height
:
80%
;
}
}
.toastContent
ul
.city
li
{
.toastContent
ul
.city
li
{
...
@@ -399,7 +412,9 @@ ol li {
...
@@ -399,7 +412,9 @@ ol li {
text-align
:
left
;
text-align
:
left
;
font-size
:
16px
;
font-size
:
16px
;
}
}
.toastContent
ul
.city
li
.selected
{
color
:
#5566e9
;
}
.address
{
.address
{
width
:
80%
;
width
:
80%
;
margin
:
2%
auto
;
margin
:
2%
auto
;
...
...
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