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
99a8a6a8
Commit
99a8a6a8
authored
Jun 25, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
搜索页
parent
6f9ee5b1
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
14 deletions
+17
-14
pages.json
src/pages.json
+3
-1
mine.vue
src/pages/index/mine.vue
+1
-1
index.vue
src/pages/mine/warehouse/index.vue
+4
-3
return.vue
src/pages/mine/warehouse/return.vue
+1
-4
searchParts.vue
src/pages/mine/warehouse/searchParts.vue
+7
-1
spare.vue
src/pages/mine/warehouse/spare.vue
+1
-4
No files found.
src/pages.json
View file @
99a8a6a8
...
@@ -290,9 +290,11 @@
...
@@ -290,9 +290,11 @@
{
{
"path"
:
"warehouse/searchParts"
,
"path"
:
"warehouse/searchParts"
,
"style"
:
{
"style"
:
{
"navigationStyle"
:
"custom"
,
"navigationBarTitleText"
:
" "
,
//
配件单搜索
"navigationBarTitleText"
:
" "
,
//
配件单搜索
"enablePullDownRefresh"
:
false
,
"enablePullDownRefresh"
:
false
,
"navigationBarBackgroundColor"
:
"#F4F5F7"
"navigationBarBackgroundColor"
:
"#F4F5F7"
,
"disableScroll"
:
true
}
}
},
},
{
{
...
...
src/pages/index/mine.vue
View file @
99a8a6a8
...
@@ -160,7 +160,7 @@
...
@@ -160,7 +160,7 @@
},
},
{
{
pathName
:
'warehouse/records'
,
pathName
:
'warehouse/records'
,
title
:
'出入
库
记录'
,
title
:
'出入记录'
,
value
:
''
,
value
:
''
,
icon
:
process
.
uniEnv
.
qn_base_url
+
'churuku.png'
,
icon
:
process
.
uniEnv
.
qn_base_url
+
'churuku.png'
,
imageStyle
:
'width:50rpx;height:54rpx'
imageStyle
:
'width:50rpx;height:54rpx'
...
...
src/pages/mine/warehouse/index.vue
View file @
99a8a6a8
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
<view
class=
"ware-house"
>
<view
class=
"ware-house"
>
<u-navbar
back-icon-color=
"#333333"
background=
"#FFFFFF"
title=
"我的配件"
titleColor=
"#333333"
<u-navbar
back-icon-color=
"#333333"
background=
"#FFFFFF"
title=
"我的配件"
titleColor=
"#333333"
:border-bottom=
"false"
title-bold
></u-navbar>
:border-bottom=
"false"
title-bold
></u-navbar>
<view
class=
"search-view"
>
<view
class=
"search-view"
@
click
.
self=
"handleClickSearch"
>
<u-search
:clearabled=
"false"
@
focus=
"handleClickSearch"
@
custom=
"handleClickSearch"
placeholder=
"请输入关键字"
:action-style=
"actionStyle"
placeholder-color=
"#999999"
<u-search
:clearabled=
"false"
disabled
@
custom=
"handleClickSearch"
placeholder=
"请输入关键字"
:action-style=
"actionStyle"
placeholder-color=
"#999999"
color=
"#333333"
bg-color=
"#FFFFFF"
height=
"72"
search-icon-color=
"#999999"
>
color=
"#333333"
bg-color=
"#FFFFFF"
height=
"72"
search-icon-color=
"#999999"
>
</u-search>
</u-search>
</view>
</view>
...
@@ -179,7 +179,8 @@
...
@@ -179,7 +179,8 @@
url
:
'pages/parts/application'
url
:
'pages/parts/application'
})
})
},
},
handleClickSearch
()
{
handleClickSearch
()
{
var
pages
=
getCurrentPages
();
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'pages/mine/warehouse/searchParts'
url
:
'pages/mine/warehouse/searchParts'
})
})
...
...
src/pages/mine/warehouse/return.vue
View file @
99a8a6a8
...
@@ -11,10 +11,7 @@
...
@@ -11,10 +11,7 @@
</view>
</view>
<NoOrder
v-if=
"noParts"
imageName=
"wupeijianxinxi.png"
text=
"当前暂无返件信息"
:customStyle=
"noPartsCustomStyle"
/>
<NoOrder
v-if=
"noParts"
imageName=
"wupeijianxinxi.png"
text=
"当前暂无返件信息"
:customStyle=
"noPartsCustomStyle"
/>
<view
v-else
class=
"tab-view"
>
<view
v-else
class=
"tab-view"
>
<scroll-view
scroll-y
style=
"height: 100%;width: 100%;"
@
scrolltolower=
"reachBottom"
scroll-anchoring
<scroll-view
scroll-y
style=
"height: 100%;width: 100%;"
scroll-anchoring
enable-back-to-top
>
refresher-enabled=
"true"
:refresher-triggered=
"triggered"
:refresher-threshold=
"100"
:scroll-top=
"scrollTop"
refresher-background=
"#F4F5F7"
@
refresherpulling=
"triggered = true"
@
refresherrefresh=
"onRefresh"
@
refresherrestore=
"onRestore"
enable-back-to-top
>
<view
class=
"loading-view"
v-if=
"!loaded"
>
<view
class=
"loading-view"
v-if=
"!loaded"
>
<u-loading
mode=
"flower"
></u-loading>
<u-loading
mode=
"flower"
></u-loading>
</view>
</view>
...
...
src/pages/mine/warehouse/searchParts.vue
View file @
99a8a6a8
<!-- 工单-搜索页 -->
<!-- 工单-搜索页 -->
<
template
>
<
template
>
<view
class=
"search-parts"
>
<view
class=
"search-parts"
>
<u-navbar
back-icon-color=
"#333333"
background=
"#FFFFFF"
title=
" "
titleColor=
"#333333"
:border-bottom=
"false"
title-bold
></u-navbar>
<view
class=
"top-item"
>
<view
class=
"top-item"
>
<u-search
<u-search
v-model=
"search.keyword"
v-model=
"search.keyword"
...
@@ -125,9 +127,13 @@
...
@@ -125,9 +127,13 @@
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.search-parts
{
.search-parts
{
display
:
flex
;
flex-direction
:
column
;
height
:
100vh
;
.top-item
{
.top-item
{
height
:
100100%
;
position
:
sticky
;
position
:
sticky
;
padding
:
2
0rpx
0
;
padding
:
1
0rpx
0
;
top
:
0rpx
;
top
:
0rpx
;
background-color
:
#F4F5F7
;
background-color
:
#F4F5F7
;
z-index
:
2
;
z-index
:
2
;
...
...
src/pages/mine/warehouse/spare.vue
View file @
99a8a6a8
...
@@ -20,10 +20,7 @@
...
@@ -20,10 +20,7 @@
</view>
</view>
</view>
</view>
<view
class=
"tab-view"
>
<view
class=
"tab-view"
>
<scroll-view
scroll-y
style=
"height: 100%;width: 100%;"
@
scrolltolower=
"reachBottom"
scroll-anchoring
<scroll-view
scroll-y
style=
"height: 100%;width: 100%;"
scroll-anchoring
enable-back-to-top
>
refresher-enabled=
"true"
:refresher-triggered=
"triggered"
:refresher-threshold=
"100"
:scroll-top=
"scrollTop"
refresher-background=
"#F4F5F7"
@
refresherpulling=
"triggered = true"
@
refresherrefresh=
"onRefresh"
@
refresherrestore=
"onRestore"
enable-back-to-top
>
<view
class=
"loading-view"
v-if=
"!loaded"
>
<view
class=
"loading-view"
v-if=
"!loaded"
>
<u-loading
mode=
"flower"
></u-loading>
<u-loading
mode=
"flower"
></u-loading>
</view>
</view>
...
...
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