Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
hs-app-project
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
李星剑
hs-app-project
Commits
c9e02d4b
Commit
c9e02d4b
authored
Dec 02, 2021
by
阮藤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
相关问题解决
parent
61c74de7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
3 deletions
+20
-3
styleEntrustment.vue
src/pages/home/styleEntrustment.vue
+20
-3
No files found.
src/pages/home/styleEntrustment.vue
View file @
c9e02d4b
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
</view>
</view>
</view>
</view>
<!-- tabs -->
<!-- tabs -->
<u-sticky
class=
"bd_rad"
style=
"background: #fff;"
>
<u-sticky
offset-top=
"88"
class=
"bd_rad"
style=
"background: #fff;"
>
<u-tabs
:list=
"list"
font-size=
"28"
:show-bar=
"false"
active-color=
"#AF8D66"
:current=
"current"
@
change=
"change"
></u-tabs>
<u-tabs
:list=
"list"
font-size=
"28"
:show-bar=
"false"
active-color=
"#AF8D66"
:current=
"current"
@
change=
"change"
></u-tabs>
</u-sticky>
</u-sticky>
</view>
</view>
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
<!-- list -->
<!-- list -->
<view
class=
"u-m-t-20 u-m-l-30 u-m-r-30 u-m-b-20"
>
<view
class=
"u-m-t-20 u-m-l-30 u-m-r-30 u-m-b-20"
>
<!-- v-for -->
<!-- v-for -->
<view
class=
"u-m-b-20 posi_rela bd_rad1 u-p-30"
v-for=
"item in
4
"
:key=
"item.id"
style=
"background: #fff;"
>
<view
class=
"u-m-b-20 posi_rela bd_rad1 u-p-30"
v-for=
"item in
entrustmentList
"
:key=
"item.id"
style=
"background: #fff;"
>
<view
class=
"u-m-b-30 u-flex justify-between"
>
<view
class=
"u-m-b-30 u-flex justify-between"
>
<view
class=
"entrus_list_title u-font-32"
>
{{ item.materialName }}
</view>
<view
class=
"entrus_list_title u-font-32"
>
{{ item.materialName }}
</view>
<view
class=
"u-font-28"
>
{{ item.status | filterStatus }}
</view>
<view
class=
"u-font-28"
>
{{ item.status | filterStatus }}
</view>
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
</view>
</view>
</view>
</view>
<!--底部按钮-->
<!--底部按钮-->
<view
class=
"footer"
id=
"footer"
>
<view
v-if=
"statusBtn"
class=
"footer"
id=
"footer"
>
<view
class=
"footer-btn"
>
<view
class=
"footer-btn"
>
<view
class=
"custom-style-round-circle custom-style-btn custom-style"
>
<view
class=
"custom-style-round-circle custom-style-btn custom-style"
>
<view
class=
"custom-style-right"
@
click=
"dateilEnt"
><view
class=
"title"
>
新增委托
</view></view>
<view
class=
"custom-style-right"
@
click=
"dateilEnt"
><view
class=
"title"
>
新增委托
</view></view>
...
@@ -87,6 +87,8 @@ export default {
...
@@ -87,6 +87,8 @@ export default {
mixins
:
[
dom
],
mixins
:
[
dom
],
data
()
{
data
()
{
return
{
return
{
statusBtn
:
true
,
timeOut
:
null
,
background
:
{
backgroundColor
:
'rgba(245,245,245,0)'
},
background
:
{
backgroundColor
:
'rgba(245,245,245,0)'
},
modal
:
{
modal
:
{
show
:
false
,
show
:
false
,
...
@@ -144,6 +146,21 @@ export default {
...
@@ -144,6 +146,21 @@ export default {
this
.
entrustmentPage
();
this
.
entrustmentPage
();
}
}
},
},
onPageScroll
(
object
)
{
this
.
statusBtn
=
false
;
if
(
this
.
timeOut
)
{
clearTimeout
(
this
.
timeOut
);
}
this
.
timeOut
=
setTimeout
(()
=>
{
this
.
statusBtn
=
true
;
},
1000
);
let
a
=
JSON
.
stringify
(
object
);
if
(
object
.
scrollTop
>=
this
.
headerHeight
)
{
this
.
background
.
backgroundColor
=
'rgba(245,245,245,1)'
;
}
else
{
this
.
background
.
backgroundColor
=
'rgba(245,245,245,0)'
;
}
},
filters
:
{
filters
:
{
filterStatus
(
v
)
{
filterStatus
(
v
)
{
switch
(
v
)
{
switch
(
v
)
{
...
...
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