Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
frontend
/
qqxb-self-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
54b6e297
authored
Jun 23, 2020
by
cocomilk2012
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
7c89cffb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
6 deletions
src/views/FlexEmployee.vue
src/views/Index.vue
src/views/FlexEmployee.vue
View file @
54b6e297
...
...
@@ -112,7 +112,6 @@ export default class FlexEmployee extends Vue {
private
taskRecordList
:
any
=
null
;
private
showList
:
number
=
-
1
;
private
showPopup
:
boolean
=
true
;
private
expand
:
boolean
=
true
;
get
popupStyle
()
{
...
...
src/views/Index.vue
View file @
54b6e297
...
...
@@ -27,8 +27,16 @@
</p>
</div>
</div>
<div
class=
"index-bottom-box"
>
<div
class=
"close-box"
>
<van-popup
v-model=
"showPopup"
:overlay=
"!showPopup"
:close-on-click-overlay=
"!showPopup"
round
position=
"bottom"
:style=
"popupStyle"
>
<div
class=
"close-box"
@
click=
"expand_click"
>
<img
src=
"../assets/images/ic_unfold@2x.png"
/>
</div>
...
...
@@ -95,15 +103,18 @@
title=
"arrow"
/>
</router-link>
</
div
>
</
van-popup
>
</div>
</
template
>
<
script
lang=
'ts'
>
import
"../assets/css/labor.css"
;
import
{
Popup
}
from
"vant"
;
import
{
Component
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({
components
:
{}
components
:
{
[
Popup
.
name
]:
Popup
}
})
export
default
class
Index
extends
Vue
{
private
name
:
string
=
""
;
...
...
@@ -115,6 +126,20 @@ export default class Index extends Vue {
private
id_no
:
string
=
""
;
private
sp_id
:
string
=
""
;
private
ed_id
:
string
=
""
;
private
showPopup
:
boolean
=
true
;
private
expand
:
boolean
=
true
;
get
popupStyle
()
{
if
(
this
.
expand
)
{
return
{
height
:
"63%"
};
}
else
{
return
{
height
:
"86%"
};
}
}
private
expand_click
()
{
this
.
expand
=
!
this
.
expand
;
}
created
()
{
const
id_no
=
this
.
$route
.
query
.
id_no
as
string
;
...
...
@@ -155,7 +180,7 @@ body {
}
.info-card-box
{
width
:
100%
;
height
:
256
px
;
height
:
667
px
;
background
:
linear-gradient
(
180deg
,
rgba
(
51
,
205
,
139
,
1
)
0%
,
...
...
@@ -214,6 +239,7 @@ body {
width
:
100%
;
height
:
24px
;
padding-top
:
10px
;
padding-bottom
:
30px
;
cursor
:
pointer
;
}
.close-box
img
{
...
...
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