Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
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
李俊赕
self-support
Commits
a5f0799c
Commit
a5f0799c
authored
Jun 26, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
我的备件页申请按钮
parent
d5541fa1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
4 deletions
+24
-4
spare.vue
src/pages/mine/warehouse/spare.vue
+24
-4
No files found.
src/pages/mine/warehouse/spare.vue
View file @
a5f0799c
...
...
@@ -20,7 +20,7 @@
</view>
</view>
<view
class=
"tab-view"
>
<scroll-view
scroll-y
style=
"height: 100%;width: 100%;"
scroll-anchoring
enable-back-to-top
>
<scroll-view
scroll-y
style=
"height: 100%;width: 100%;"
scroll-anchoring
enable-back-to-top
@
scroll=
"scroll"
>
<view
class=
"loading-view"
v-if=
"!loaded"
>
<u-loading
mode=
"flower"
></u-loading>
</view>
...
...
@@ -42,6 +42,9 @@
@
submit=
"$u.throttle(handleSubmit, 500)"
/>
</view>
</template>
<view
class=
"fixed-button"
>
<ApplyButton
:type=
"buttonType"
@
click=
"handleClickApply"
/>
</view>
</view>
</template>
...
...
@@ -50,13 +53,15 @@
import
NoOrder
from
"@/components/order/noOrder.vue"
import
SubmitBar
from
"@/components/submit-bar/index"
import
SpareCell
from
"@/components/parts/spareCell.vue"
import
ApplyButton
from
"@/components/parts/applyButton.vue"
export
default
{
components
:
{
// AppliedCell,
NoOrder
,
SubmitBar
,
SpareCell
SpareCell
,
ApplyButton
},
data
()
{
return
{
...
...
@@ -65,7 +70,8 @@
showBounce
:
false
,
keyword
:
''
,
searchedKeyword
:
''
,
selectedParts
:
[]
selectedParts
:
[],
buttonType
:
'expand'
// 申请按钮宽 collapse': '80rpx', 'expand': '220rpx''
};
},
computed
:
{
...
...
@@ -217,6 +223,14 @@
url
:
'pages/parts/returnParts'
,
})
},
handleClickApply
()
{
uni
.
navigateTo
({
url
:
'pages/parts/application'
})
},
scroll
()
{
this
.
buttonType
=
'collapse'
},
}
};
</
script
>
...
...
@@ -290,5 +304,11 @@
position
:
absolute
;
}
}
.fixed-button
{
position
:
fixed
;
right
:
20rpx
;
bottom
:
140rpx
;
}
}
</
style
>
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