Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend-h5
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
songrui
frontend-h5
Commits
4537d996
Commit
4537d996
authored
Nov 04, 2024
by
gengchunlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
居民端小程序 初筛bug修复 筛查、随访 样式重新优化
parent
900e206c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
21 deletions
+24
-21
ResidentWX.vue
src/residentWX/ResidentWX.vue
+1
-1
FirstDetail.vue
src/residentWX/screening/detail/FirstDetail.vue
+9
-6
SecondDetail.vue
src/residentWX/screening/detail/SecondDetail.vue
+10
-8
common.less
src/residentWX/utils/common.less
+2
-1
GeneralFUDetail.vue
src/residentWX/visit/detail/GeneralFUDetail.vue
+1
-3
SeparateFUDetail.vue
src/residentWX/visit/detail/SeparateFUDetail.vue
+1
-2
No files found.
src/residentWX/ResidentWX.vue
View file @
4537d996
...
@@ -42,7 +42,7 @@ export default {
...
@@ -42,7 +42,7 @@ export default {
fieldLabelColor
:
'#262626'
,
fieldLabelColor
:
'#262626'
,
cellBorderColor
:
'#d9d9d9'
,
cellBorderColor
:
'#d9d9d9'
,
// 进度条
// 进度条
sliderActiveBackground
:
'#54CCBD'
sliderActiveBackground
:
'#54CCBD'
,
}
}
}
}
},
},
...
...
src/residentWX/screening/detail/FirstDetail.vue
View file @
4537d996
...
@@ -8,14 +8,12 @@
...
@@ -8,14 +8,12 @@
</div>
</div>
<div
class=
"px-4 py-3 flex shrink-0 base-info"
>
<div
class=
"px-4 py-3 flex shrink-0 base-info"
>
<div
class=
"flex w-full"
>
<div
class=
"flex w-full"
>
<img
src=
"@/assets/image/residentWX/avatar.png"
alt=
""
class=
"shrink-0"
<div
class=
"grow flex flex-col justify-between"
>
style=
"width: .56rem"
>
<div
class=
"grow flex flex-col justify-between pl-3"
>
<div
class=
"flex justify-between"
>
<div
class=
"flex justify-between"
>
<span
class=
"name"
>
{{
userInfo
.
residentName
}}
</span>
<span
class=
"name"
>
{{
userInfo
.
residentName
}}
</span>
<span>
筛查日期:
{{
info
.
screenDate
||
'-'
}}
</span>
</div>
</div>
<div>
<div
class=
'lh-22'
>
<div
class=
'mt-3'
>
筛查日期:
{{
info
.
screenDate
||
'-'
}}
</div>
<span>
慢病高危评估结果:
</span>
<span>
慢病高危评估结果:
</span>
<span
:class=
"
{'text-red': info.screenResult !== 1 }">
{{
info
.
screenResultName
}}
</span>
<span
:class=
"
{'text-red': info.screenResult !== 1 }">
{{
info
.
screenResultName
}}
</span>
</div>
</div>
...
@@ -167,9 +165,10 @@ export default {
...
@@ -167,9 +165,10 @@ export default {
},
},
methods
:
{
methods
:
{
init
()
{
init
()
{
this
.
collapseList
[
0
].
info
=
this
.
userInfo
firstScreenDetail
({
id
:
this
.
id
}).
then
(
res
=>
{
firstScreenDetail
({
id
:
this
.
id
}).
then
(
res
=>
{
this
.
info
=
res
.
data
||
{}
this
.
info
=
res
.
data
||
{}
this
.
collapseList
[
0
].
info
=
this
.
info
?.
residentsRecord
this
.
collapseList
[
1
].
info
=
this
.
info
this
.
collapseList
[
1
].
info
=
this
.
info
this
.
collapseList
[
2
].
info
=
this
.
info
this
.
collapseList
[
2
].
info
=
this
.
info
})
})
...
@@ -256,4 +255,8 @@ table {
...
@@ -256,4 +255,8 @@ table {
min-width: 5em;
min-width: 5em;
}
}
}
}
.lh-22 {
line-height: 22px;
}
</
style
>
</
style
>
src/residentWX/screening/detail/SecondDetail.vue
View file @
4537d996
...
@@ -8,14 +8,15 @@
...
@@ -8,14 +8,15 @@
</div>
</div>
<div
class=
'px-4 py-3 flex shrink-0 base-info'
>
<div
class=
'px-4 py-3 flex shrink-0 base-info'
>
<div
class=
'flex w-full'
>
<div
class=
'flex w-full'
>
<img
src=
'@/assets/image/residentWX/avatar.png'
alt=
''
class=
'shrink-0'
<div
class=
'grow flex flex-col justify-between'
>
style=
'width: .56rem;height: .56rem'
>
<div
class=
'grow flex flex-col justify-between pl-3'
>
<div
class=
'flex justify-between'
>
<div
class=
'flex justify-between'
>
<span
class=
'name'
>
{{
residentInfo
.
residentName
}}
</span>
<span
class=
'name'
>
{{
residentInfo
.
residentName
}}
</span>
<span
class=
'top-label'
>
报告日期:
<span
class=
'color-b'
>
{{
info
.
screenDate
||
'-'
}}
</span></span>
</div>
</div>
<div
class=
'top-label mt-3'
>
<div
class=
'top-label mt-3'
>
<span
>
报告日期:
<span
class=
'color-b'
>
{{
info
.
screenDate
||
'-'
}}
</span></span>
</div>
<div
class=
'top-label'
>
<span>
慢病高危评估结果:
</span>
<span>
慢病高危评估结果:
</span>
</div>
</div>
<div
class=
'top-label color-b'
>
<div
class=
'top-label color-b'
>
...
@@ -26,7 +27,7 @@
...
@@ -26,7 +27,7 @@
<div
v-if=
'info.specialScreenResult && info.specialScreenResult !=9'
<div
v-if=
'info.specialScreenResult && info.specialScreenResult !=9'
class=
'flex items-center flex-wrap gap-x-2.5 gap-y-1'
>
class=
'flex items-center flex-wrap gap-x-2.5 gap-y-1'
>
<div
v-for=
'(item, index) in highRiskList'
:key=
'index'
class=
'tag tag-red'
>
<div
v-for=
'(item, index) in highRiskList'
:key=
'index'
class=
'tag tag-red'
>
<span>
{{
item
.
name
}}
</span><span>
{{
item
.
num
||
0
}}
</span>
项
<span>
{{
item
.
name
}}
:
</span><span
class=
'color-red'
>
{{
item
.
num
||
0
}}
项
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -846,12 +847,13 @@ export default {
...
@@ -846,12 +847,13 @@ export default {
border-radius: 2px;
border-radius: 2px;
padding: 3px 8px;
padding: 3px 8px;
font-size: 12px;
font-size: 12px;
line-height: 18px;
}
}
.tag-red {
.tag-red {
border: 1px solid #
FFA39E
;
border: 1px solid #
EFF2F7
;
color: #
F5222D
;
color: #
262626
;
background-color: #
FFF1F0
;
background-color: #
EFF2F7
;
}
}
}
}
...
...
src/residentWX/utils/common.less
View file @
4537d996
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
}
}
.van-cell {
.van-cell {
padding: .1rem 0;
padding: .1rem 0;
color: #
595959
;
color: #
8C8C8C
;
background: transparent;
background: transparent;
&::after {
&::after {
display: none;
display: none;
...
@@ -46,6 +46,7 @@
...
@@ -46,6 +46,7 @@
.van-collapse-item {
.van-collapse-item {
.van-collapse-item__content {
.van-collapse-item__content {
padding: 0;
padding: 0;
color: #262626;
}
}
&::after {
&::after {
display: none;
display: none;
...
...
src/residentWX/visit/detail/GeneralFUDetail.vue
View file @
4537d996
...
@@ -9,9 +9,7 @@
...
@@ -9,9 +9,7 @@
</div>
</div>
<div
class=
'px-4 py-3 flex shrink-0 base-info'
>
<div
class=
'px-4 py-3 flex shrink-0 base-info'
>
<div
class=
'flex w-full'
>
<div
class=
'flex w-full'
>
<img
src=
'@/assets/image/residentWX/avatar.png'
alt=
''
class=
'shrink-0'
<div
class=
'grow flex flex-col justify-between'
>
style=
'width: .56rem;height: .56rem'
>
<div
class=
'grow flex flex-col justify-between pl-3'
>
<div
class=
'flex justify-between'
>
<div
class=
'flex justify-between'
>
<span
class=
'name'
>
{{
residentInfo
.
residentName
}}
</span>
<span
class=
'name'
>
{{
residentInfo
.
residentName
}}
</span>
</div>
</div>
...
...
src/residentWX/visit/detail/SeparateFUDetail.vue
View file @
4537d996
...
@@ -8,8 +8,7 @@
...
@@ -8,8 +8,7 @@
</div>
</div>
<div
class=
"px-4 py-3 flex shrink-0 base-info"
>
<div
class=
"px-4 py-3 flex shrink-0 base-info"
>
<div
class=
"flex w-full"
>
<div
class=
"flex w-full"
>
<img
src=
"@/assets/image/residentWX/avatar.png"
alt=
""
class=
"shrink-0"
style=
"width: .56rem; height: .56rem"
>
<div
class=
"grow flex flex-col justify-between"
>
<div
class=
"grow flex flex-col justify-between pl-3"
>
<div
class=
"flex justify-between"
>
<div
class=
"flex justify-between"
>
<span
class=
"name"
>
{{
residentInfo
.
residentName
}}
</span>
<span
class=
"name"
>
{{
residentInfo
.
residentName
}}
</span>
</div>
</div>
...
...
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