Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-composition-api
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
宁路鹏
vue-composition-api
Commits
98ab0a1f
Commit
98ab0a1f
authored
Jun 22, 2022
by
wangshuangqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.媒体查询
2.调整字段的宽度 大小 高度
parent
33b47300
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
285 additions
and
221 deletions
+285
-221
src/styles/media/components/outpatientDetails.scss
+220
-216
src/views/outpatientDetails.vue
+65
-5
No files found.
src/styles/media/components/outpatientDetails.scss
View file @
98ab0a1f
@import
'../../mixin.scss'
;
// 1024
@media
screen
and
(
min-width
:
769px
)
and
(
max-width
:
1024px
)
{
.outpatientDetails
{
&
_top
{
.span1
{
font-size
:
14px
;
}
&
_message
{
&
_left
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t1
{
font-size
:
9px
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_centert
{
.iconfont
{
font-size
:
18px
;
}
&
_t2
{
font-size
:
9px
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_right
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t3
{
font-size
:
9px
!
important
;
text-align
:
start
!
important
;
span
{
color
:
#787e8a
;
}
...
...
@@ -54,89 +43,71 @@
}
}
}
&
_msg
{
.iconfont
{
font-size
:
18px
!
important
;
}
span
:nth-child
(
2
)
{
margin-left
:
21px
;
}
span
:nth-child
(
n
+
2
)
{
font-size
:
9px
!
important
;
}
span
:nth-child
(
n
+
7
)
{
margin-right
:
5px
;
}
}
&
_title
{
span
{
font-size
:
13px
;
}
}
&
_bottom
{
height
:
64%
!
important
;
// 无数据
&
_box
{
&
_img
{
width
:
200px
;
height
:
200px
;
}
&
_text
{
font-size
:
9px
!
important
;
}
}
// 有数据
&
_left
{
&
_ul
{
.active
{
flex-direction
:
column
!
important
;
align-items
:
flex-start
!
important
;
.fc2
{
width
:
100%
!
important
;
.iconfont
{
font-size
:
10px
!
important
;
}
}
.fc3
{
width
:
100%
!
important
;
}
}
}
li
{
font-size
:
9px
!
important
;
height
:
65px
!
important
;
div
{
font-size
:
9px
!
important
;
height
:
61px
!
important
;
flex-direction
:
column
!
important
;
.sp1
{
width
:
100%
!
important
;
}
.sp2
{
width
:
100%
!
important
;
justify-content
:
start
!
important
;
&
_avg
{
justify-content
:
start
!
important
;
padding-left
:
5px
!
important
;
}
&
_reto
{
display
:
flex
;
flex-direction
:
row
;
...
...
@@ -148,78 +119,61 @@
}
}
}
&
_right
{
width
:
50%
;
// 无数据样式
&
_box
{
&
_text
{
font-size
:
12px
!
important
;
}
}
&
_table
{
height
:
calc
(
100%
-
100px
);
}
.isverifyStyle
{
background-color
:
#f4f5f8
;
}
.paginations
{
text-align
:
right
;
}
}
&
_rght2
{
&
_top
{
height
:
27%
!
important
;
&
_title
{
font-size
:
12px
!
important
;
}
&
_mes
{
flex-direction
:
column
!
important
;
&
_span1
{
width
:
100%
!
important
;
font-size
:
12px
!
important
;
margin-bottom
:
5px
!
important
;
}
&
_span2
{
width
:
100%
!
important
;
font-size
:
12px
!
important
;
margin-bottom
:
5px
!
important
;
}
&
_span3
{
width
:
100%
!
important
;
font-size
:
12px
!
important
;
margin-bottom
:
5px
!
important
;
}
&
_span4
{
width
:
100%
!
important
;
font-size
:
12px
!
important
;
}
}
}
&
_bottom
{
margin-top
:
10px
!
important
;
&
_li
{
&
_title
{
width
:
54px
!
important
;
height
:
25px
!
important
;
font-size
:
16px
!
important
;
}
&
_cont
{
font-size
:
12px
!
important
;
}
...
...
@@ -230,54 +184,43 @@
}
}
//1280
@media
screen
and
(
max-width
:
1280px
)
{
.outpatientDetails
{
&
_top
{
.span1
{
font-size
:
14px
;
}
&
_message
{
&
_left
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t1
{
font-size
:
9px
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_centert
{
.iconfont
{
font-size
:
18px
;
}
&
_t2
{
font-size
:
9px
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_right
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t3
{
font-size
:
9px
!
important
;
text-align
:
start
!
important
;
span
{
color
:
#787e8a
;
}
...
...
@@ -285,89 +228,71 @@
}
}
}
&
_msg
{
.iconfont
{
font-size
:
18px
!
important
;
}
span
:nth-child
(
2
)
{
margin-left
:
21px
;
}
span
:nth-child
(
n
+
2
)
{
font-size
:
9px
!
important
;
}
span
:nth-child
(
n
+
7
)
{
margin-right
:
5px
;
}
}
&
_title
{
span
{
font-size
:
13px
;
}
}
&
_bottom
{
height
:
64%
!
important
;
// 无数据
&
_box
{
&
_img
{
width
:
200px
;
height
:
200px
;
}
&
_text
{
font-size
:
9px
!
important
;
}
}
// 有数据
&
_left
{
&
_ul
{
.active
{
flex-direction
:
column
!
important
;
align-items
:
flex-start
!
important
;
.fc2
{
width
:
100%
!
important
;
.iconfont
{
font-size
:
10px
!
important
;
}
}
.fc3
{
width
:
100%
!
important
;
}
}
}
li
{
font-size
:
9px
!
important
;
height
:
65px
!
important
;
div
{
font-size
:
9px
!
important
;
height
:
61px
!
important
;
flex-direction
:
column
!
important
;
.sp1
{
width
:
100%
!
important
;
}
.sp2
{
width
:
100%
!
important
;
justify-content
:
start
!
important
;
&
_avg
{
justify-content
:
start
!
important
;
padding-left
:
5px
!
important
;
}
&
_reto
{
display
:
flex
;
flex-direction
:
row
;
...
...
@@ -379,78 +304,61 @@
}
}
}
&
_right
{
width
:
50%
;
// 无数据样式
&
_box
{
&
_text
{
font-size
:
12px
!
important
;
}
}
&
_table
{
height
:
calc
(
100%
-
100px
);
}
.isverifyStyle
{
background-color
:
#f4f5f8
;
}
.paginations
{
text-align
:
right
;
}
}
&
_rght2
{
&
_top
{
height
:
27%
!
important
;
&
_title
{
font-size
:
12px
!
important
;
}
&
_mes
{
flex-direction
:
column
!
important
;
&
_span1
{
width
:
100%
!
important
;
font-size
:
12px
!
important
;
margin-bottom
:
5px
!
important
;
}
&
_span2
{
width
:
100%
!
important
;
font-size
:
12px
!
important
;
margin-bottom
:
5px
!
important
;
}
&
_span3
{
width
:
100%
!
important
;
font-size
:
12px
!
important
;
margin-bottom
:
5px
!
important
;
}
&
_span4
{
width
:
100%
!
important
;
font-size
:
12px
!
important
;
}
}
}
&
_bottom
{
margin-top
:
10px
!
important
;
&
_li
{
&
_title
{
width
:
54px
!
important
;
height
:
25px
!
important
;
font-size
:
16px
!
important
;
}
&
_cont
{
font-size
:
12px
!
important
;
}
...
...
@@ -462,53 +370,55 @@
}
// 1366px
@media
screen
and
(
min-width
:
1366px
)
and
(
max-width
:
1439px
)
{
.outpatientDetails
{
height
:
768px
!
important
;
&
_top
{
.span1
{
font-size
:
14px
;
}
&
_message
{
&
_left
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t1
{
font-size
:
9px
!
important
;
font-size
:
12px
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_centert
{
.iconfont
{
font-size
:
18px
;
}
&
_t2
{
font-size
:
9px
!
important
;
font-size
:
12px
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_right
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t3
{
font-size
:
9px
!
important
;
font-size
:
12px
!
important
;
text-align
:
start
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_low
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t4
{
font-size
:
12px
!
important
;
text-align
:
start
!
important
;
span
{
color
:
#787e8a
;
}
...
...
@@ -516,77 +426,61 @@
}
}
}
&
_msg
{
.iconfont
{
font-size
:
18px
!
important
;
}
span
:nth-child
(
2
)
{
margin-left
:
21px
;
}
span
:nth-child
(
n
+
2
)
{
font-size
:
9
px
!
important
;
font-size
:
12
px
!
important
;
}
span
:nth-child
(
n
+
7
)
{
margin-right
:
5px
;
}
}
&
_title
{
span
{
font-size
:
13px
;
}
}
&
_bottom
{
height
:
64%
!
important
;
height
:
55%
!
important
;
&
_leftShowBox
{
width
:
83%
!
important
;
// 无数据
&
_box
{
&
_img
{
width
:
200px
;
height
:
200px
;
}
&
_text
{
font-size
:
9px
!
important
;
}
}
// 有数据
&
_left
{
width
:
45%
!
important
;
&
_ul
{
.active
{
.fc2
{
.iconfont
{
font-size
:
10px
!
important
;
}
}
.fc3
{}
}
}
li
{
font-size
:
9px
!
important
;
div
{
font-size
:
9px
!
important
;
.sp1
{}
.sp2
{
&
_avg
{
padding-left
:
5px
!
important
;
}
&
_reto
{
display
:
flex
;
flex-direction
:
row
;
...
...
@@ -598,74 +492,61 @@
}
}
}
&
_right
{
width
:
50%
;
width
:
55%
!
important
;
height
:
90%
!
important
;
margin-bottom
:
10px
!
important
;
// 无数据样式
&
_box
{
&
_text
{
font-size
:
12px
!
important
;
}
}
&
_table
{
height
:
calc
(
100%
-
100px
);
}
.isverifyStyle
{
background-color
:
#f4f5f8
;
}
.paginations
{
text-align
:
right
;
}
}
}
&
_rght2
{
height
:
87%
!
important
;
width
:
17%
!
important
;
&
_top
{
height
:
30%
!
important
;
&
_title
{
font-size
:
13px
!
important
;
display
:
flex
!
important
;
justify-content
:
flex-start
!
important
;
align-items
:
center
!
important
;
}
&
_mes
{
&
_span1
{
font-size
:
12px
!
important
;
}
&
_span2
{
font-size
:
12px
!
important
;
}
&
_span3
{
font-size
:
12px
!
important
;
}
&
_span4
{
font-size
:
12px
!
important
;
}
}
}
&
_bottom
{
height
:
70%
!
important
;
&
_li
{
&
_title
{
width
:
54px
!
important
;
height
:
25px
!
important
;
font-size
:
16px
!
important
;
}
&
_cont
{
font-size
:
14px
!
important
;
}
...
...
@@ -673,27 +554,185 @@
}
}
}
}
}
//1400
@media
screen
and
(
min-width
:
1440px
)
and
(
max-width
:
1599px
)
{
.outpatientDetails
{
&
_top
{
.span1
{
font-size
:
14px
;
}
&
_message
{
&
_left
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t1
{
font-size
:
12px
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_centert
{
.iconfont
{
font-size
:
18px
;
}
&
_t2
{
font-size
:
12px
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_right
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t3
{
font-size
:
12px
!
important
;
text-align
:
start
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_low
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t4
{
font-size
:
12px
!
important
;
text-align
:
start
!
important
;
span
{
color
:
#787e8a
;
}
}
}
}
}
&
_msg
{
.iconfont
{
font-size
:
18px
!
important
;
}
span
:nth-child
(
2
)
{
margin-left
:
21px
;
}
span
:nth-child
(
n
+
2
)
{
font-size
:
12px
!
important
;
}
span
:nth-child
(
n
+
7
)
{
margin-right
:
5px
;
}
}
&
_bottom
{
// margin-top: 10px !important;
height
:
60%
!
important
;
&
_leftShowBox
{
width
:
83%
!
important
;
// 无数据
&
_box
{
&
_img
{
width
:
200px
;
height
:
200px
;
}
&
_text
{
font-size
:
9px
!
important
;
}
}
// 有数据
&
_left
{
width
:
45%
!
important
;
&
_ul
{
.active
{
.fc2
{
.iconfont
{
font-size
:
10px
!
important
;
}
}
.fc3
{}
}
}
li
{
font-size
:
9px
!
important
;
div
{
font-size
:
9px
!
important
;
.sp1
{}
.sp2
{
&
_avg
{
padding-left
:
5px
!
important
;
}
&
_reto
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
width
:
50%
;
justify-content
:
flex-end
;
}
}
}
}
}
&
_right
{
width
:
55%
!
important
;
height
:
90%
!
important
;
margin-bottom
:
10px
!
important
;
// 无数据样式
&
_box
{
&
_text
{
font-size
:
12px
!
important
;
}
}
&
_table
{
height
:
calc
(
100%
-
100px
);
}
.isverifyStyle
{
background-color
:
#f4f5f8
;
}
.paginations
{
text-align
:
right
;
}
}
}
&
_rght2
{
height
:
87%
!
important
;
width
:
17%
!
important
;
&
_top
{
height
:
30%
!
important
;
&
_title
{
font-size
:
13px
!
important
;
display
:
flex
!
important
;
justify-content
:
flex-start
!
important
;
align-items
:
center
!
important
;
}
&
_mes
{
&
_span1
{
font-size
:
12px
!
important
;
}
&
_span2
{
font-size
:
12px
!
important
;
}
&
_span3
{
font-size
:
12px
!
important
;
}
&
_span4
{
font-size
:
12px
!
important
;
}
}
}
&
_bottom
{
height
:
70%
!
important
;
&
_li
{
&
_title
{
width
:
54px
!
important
;
height
:
25px
!
important
;
font-size
:
16px
!
important
;
}
&
_cont
{
font-size
:
16px
!
important
;
font-size
:
14px
!
important
;
}
}
}
}
}
...
...
@@ -702,51 +741,53 @@
//1600
@media
screen
and
(
min-width
:
1600px
)
and
(
max-width
:
1919px
)
{
.outpatientDetails
{
&
_top
{
.span1
{
font-size
:
14px
;
}
&
_message
{
&
_left
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t1
{
font-size
:
9px
!
important
;
font-size
:
12px
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_centert
{
.iconfont
{
font-size
:
18px
;
}
&
_t2
{
font-size
:
9px
!
important
;
font-size
:
12px
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_right
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t3
{
font-size
:
9px
!
important
;
font-size
:
12px
!
important
;
text-align
:
start
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_low
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t4
{
font-size
:
12px
!
important
;
text-align
:
start
!
important
;
span
{
color
:
#787e8a
;
}
...
...
@@ -754,75 +795,58 @@
}
}
}
&
_msg
{
.iconfont
{
font-size
:
18px
!
important
;
}
span
:nth-child
(
2
)
{
margin-left
:
21px
;
}
span
:nth-child
(
n
+
2
)
{
font-size
:
9
px
!
important
;
font-size
:
12
px
!
important
;
}
span
:nth-child
(
n
+
7
)
{
margin-right
:
5px
;
}
}
&
_title
{
span
{
font-size
:
13px
;
}
}
&
_bottom
{
height
:
64%
!
important
;
&
_leftShowBox
{
// 无数据
&
_box
{
&
_img
{
width
:
200px
;
height
:
200px
;
}
&
_text
{
font-size
:
9px
!
important
;
}
}
// 有数据
&
_left
{
width
:
38%
!
important
;
&
_ul
{
.active
{
.fc2
{
.iconfont
{
font-size
:
10px
!
important
;
}
}
}
}
li
{
font-size
:
9px
!
important
;
div
{
font-size
:
9px
!
important
;
.sp2
{
&
_avg
{
padding-left
:
5px
!
important
;
}
&
_reto
{
display
:
flex
;
flex-direction
:
row
;
...
...
@@ -834,75 +858,55 @@
}
}
}
&
_right
{
width
:
50%
;
width
:
62%
!
important
;
// 无数据样式
&
_box
{
&
_text
{
font-size
:
12px
!
important
;
}
}
&
_table
{
height
:
calc
(
100%
-
100px
);
}
.isverifyStyle
{
background-color
:
#f4f5f8
;
}
.paginations
{
text-align
:
right
;
}
}
}
&
_rght2
{
&
_top
{
height
:
20%
!
important
;
&
_title
{
height
:
24px
!
important
;
font-size
:
16px
!
important
;
display
:
flex
!
important
;
justify-content
:
flex-start
!
important
;
align-items
:
center
!
important
;
}
&
_mes
{
&
_span1
{
font-size
:
12px
!
important
;
}
&
_span2
{
font-size
:
12px
!
important
;
}
&
_span3
{
font-size
:
12px
!
important
;
}
&
_span4
{
font-size
:
12px
!
important
;
}
}
}
&
_bottom
{
&
_li
{
&
_title
{
font-size
:
18px
!
important
;
}
&
_cont
{
font-size
:
16px
!
important
;
}
...
...
src/views/outpatientDetails.vue
View file @
98ab0a1f
...
...
@@ -170,6 +170,7 @@
style=
"width: 100%;"
height=
'98%'
row-key=
"id"
size=
"small"
:default-expand-all=
"false"
:highlight-current-row=
"true"
:tree-props=
"
{ children: 'inpat_FeeDatas', hasChildren: 'hasChildren' }"
...
...
@@ -211,7 +212,7 @@
style=
"width: 100%"
:default-sort=
"{ prop: 'date', order: 'descending' }"
:row-class-name=
"tableRowClassName"
height=
"575"
height=
'98%'
>
<el-table-column
label=
"开单日期"
...
...
@@ -641,7 +642,7 @@ export default {
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"../styles/mixin.scss"
;
//
@import
'../styles/media/components/outpatientDetails.scss'
;
@import
'../styles/media/components/outpatientDetails.scss'
;
//
左侧表格点击高亮背景色
...
...
@@ -836,8 +837,66 @@ color: #55a6da !important;
}
span
:nth-child
(
2
)
{
margin-left
:
21px
;
width
:
200px
;
height
:
39px
;
background-color
:
#fff
;
font-size
:
14px
;
color
:
#6d7381
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-family
:
PingFang
SC
;
margin-right
:
5px
;
}
span
:nth-child
(
3
)
{
width
:
200px
;
height
:
39px
;
background-color
:
#fff
;
font-size
:
14px
;
color
:
#6d7381
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-family
:
PingFang
SC
;
margin-right
:
5px
;
}
span
:nth-child
(
4
)
{
width
:
258px
;
height
:
39px
;
background-color
:
#fff
;
font-size
:
14px
;
color
:
#6d7381
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-family
:
PingFang
SC
;
margin-right
:
5px
;
}
span
:nth-child
(
5
)
{
width
:
200px
;
height
:
39px
;
background-color
:
#fff
;
font-size
:
14px
;
color
:
#6d7381
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-family
:
PingFang
SC
;
margin-right
:
5px
;
}
span
:nth-child
(
n
+
2
)
{
span
:nth-child
(
6
)
{
width
:
200px
;
height
:
39px
;
background-color
:
#fff
;
font-size
:
14px
;
color
:
#6d7381
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-family
:
PingFang
SC
;
margin-right
:
5px
;
}
span
:nth-child
(
n
+
7
)
{
width
:
258px
;
height
:
39px
;
background-color
:
#fff
;
...
...
@@ -1178,6 +1237,7 @@ color: #55a6da !important;
}
&
_right
{
width
:
65%
;
height
:
90%
;
//
无数据样式
&_box
{
width
:
100%
;
...
...
@@ -1213,7 +1273,7 @@ color: #55a6da !important;
width
:
20%
;
height
:
100%
;
border
:
1px
solid
#f6f6f8
;
padding
:
10px
;
padding
:
0
10px
;
&_top
{
height
:
20%
;
width
:
100%
;
...
...
@@ -1247,7 +1307,7 @@ color: #55a6da !important;
font-family
:
PingFang
SC
;
font-weight
:
400
;
color
:
#5d5d5d
;
margin-right
:
5px
;
//
margin-right
:
5px
;
cursor
:
pointer
;
/*鼠标移上有小手*/
}
&
_span1background
{
...
...
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