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
f977f50d
Commit
f977f50d
authored
Jun 28, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文案修改
parent
0e548fcc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
34 deletions
+35
-34
returnCell.vue
src/components/parts/returnCell.vue
+3
-3
pages.json
src/pages.json
+8
-5
mine.vue
src/pages/index/mine.vue
+1
-1
index.vue
src/pages/mine/warehouse/index.vue
+22
-24
spare.vue
src/pages/mine/warehouse/spare.vue
+1
-1
No files found.
src/components/parts/returnCell.vue
View file @
f977f50d
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<view
class=
"title-view"
>
<view
class=
"title-view"
>
<text
class=
"title-text"
>
{{
title
}}
</text>
<text
class=
"title-text"
>
{{
title
}}
</text>
<view>
<view>
<text>
返
件时间:
</text>
<text>
退
件时间:
</text>
<text>
{{
info
.
createTime
}}
</text>
<text>
{{
info
.
createTime
}}
</text>
</view>
</view>
</view>
</view>
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<view
class=
"line-view"
></view>
<view
class=
"line-view"
></view>
<view
class=
"info-item"
>
<view
class=
"info-item"
>
<view>
<view>
<text>
返
件编号:
</text>
<text>
退
件编号:
</text>
<text
@
longpress=
"handleLongpress"
>
{{
info
.
number
}}
</text>
<text
@
longpress=
"handleLongpress"
>
{{
info
.
number
}}
</text>
</view>
</view>
<text
class=
"copy-view"
@
click=
"$u.throttle(handleLongpress, 500)"
>
复制
</text>
<text
class=
"copy-view"
@
click=
"$u.throttle(handleLongpress, 500)"
>
复制
</text>
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
},
},
computed
:
{
computed
:
{
title
()
{
title
()
{
return
this
.
info
.
finished
?
'
已返件'
:
'返
件中'
return
this
.
info
.
finished
?
'
退件完成'
:
'退
件中'
},
},
total
()
{
// 合计
total
()
{
// 合计
var
i
=
0
var
i
=
0
...
...
src/pages.json
View file @
f977f50d
...
@@ -267,16 +267,18 @@
...
@@ -267,16 +267,18 @@
"path"
:
"warehouse/index"
,
"path"
:
"warehouse/index"
,
"style"
:
{
"style"
:
{
"navigationStyle"
:
"custom"
,
"navigationStyle"
:
"custom"
,
"navigationBarTitleText"
:
"我的配件"
,
"navigationBarTitleText"
:
"配件订单"
,
"enablePullDownRefresh"
:
false
"enablePullDownRefresh"
:
false
,
"disableScroll"
:
true
}
}
},
},
{
{
"path"
:
"warehouse/spare"
,
"path"
:
"warehouse/spare"
,
"style"
:
{
"style"
:
{
"navigationStyle"
:
"custom"
,
"navigationStyle"
:
"custom"
,
"navigationBarTitleText"
:
"我的备件"
,
"navigationBarTitleText"
:
"备件库"
,
"enablePullDownRefresh"
:
false
"enablePullDownRefresh"
:
false
,
"disableScroll"
:
true
}
}
},
},
{
{
...
@@ -284,7 +286,8 @@
...
@@ -284,7 +286,8 @@
"style"
:
{
"style"
:
{
"navigationStyle"
:
"custom"
,
"navigationStyle"
:
"custom"
,
"navigationBarTitleText"
:
"返件信息"
,
"navigationBarTitleText"
:
"返件信息"
,
"enablePullDownRefresh"
:
false
"enablePullDownRefresh"
:
false
,
"disableScroll"
:
true
}
}
},
},
{
{
...
...
src/pages/index/mine.vue
View file @
f977f50d
...
@@ -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 @
f977f50d
...
@@ -14,27 +14,25 @@
...
@@ -14,27 +14,25 @@
bar-width=
"44"
:offset=
"[0,0]"
:list=
"list"
count=
"total"
:current=
"currentIndex"
@
change=
"change"
bar-width=
"44"
:offset=
"[0,0]"
:list=
"list"
count=
"total"
:current=
"currentIndex"
@
change=
"change"
:is-scroll=
"false"
font-size=
"28"
bold
></u-tabs>
:is-scroll=
"false"
font-size=
"28"
bold
></u-tabs>
</view>
</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%;"
@
scrolltolower=
"reachBottom"
scroll-anchoring
refresher-enabled=
"true"
:refresher-triggered=
"triggered"
:refresher-threshold=
"100"
@
scroll=
"scroll"
refresher-enabled=
"true"
:refresher-triggered=
"triggered"
:refresher-threshold=
"100"
@
scroll=
"scroll"
:scroll-top=
"scrollTop"
refresher-background=
"#F4F5F7"
@
refresherpulling=
"triggered = true"
:scroll-top=
"scrollTop"
refresher-background=
"#F4F5F7"
@
refresherpulling=
"triggered = true"
@
refresherrefresh=
"onRefresh"
@
refresherrestore=
"onRestore"
enable-back-to-top
>
@
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>
<NoOrder
v-else-if=
"noParts"
imageName=
"wupeijianxinxi.png"
text=
"当前暂无配件信息"
:customStyle=
"noPartsCustomStyle"
/>
<template
v-else
>
<view
v-for=
"(item, index) in partsList"
:key=
"item.id"
>
<AppliedCell
@
operate=
"handleOperate"
:info=
"item"
@
action=
"handleClickCell"
@
express=
"handleClickExpress"
></AppliedCell>
</view>
</view>
<NoOrder
v-else-if=
"noParts"
imageName=
"wupeijianxinxi.png"
text=
"当前暂无配件信息"
<view
class=
"load-more-view"
>
:customStyle=
"noPartsCustomStyle"
/>
<u-loadmore
v-show=
"(pageNumber == 1 && loaded) || pageNumber > 2"
:status=
"loadStatus"
<template
v-else
>
bgColor=
"#F4F5F7"
></u-loadmore>
<view
v-for=
"(item, index) in partsList"
:key=
"item.id"
>
</view>
<AppliedCell
@
operate=
"handleOperate"
:info=
"item"
@
action=
"handleClickCell"
@
express=
"handleClickExpress"
></AppliedCell>
</
template
>
</view>
</scroll-view>
<view
class=
"load-more-view"
>
<u-loadmore
v-show=
"(pageNumber == 1 && loaded) || pageNumber > 2"
:status=
"loadStatus"
bgColor=
"#F4F5F7"
></u-loadmore>
</view>
</
template
>
</scroll-view>
</view>
<view
class=
"fixed-button"
>
<view
class=
"fixed-button"
>
<ApplyButton
:type=
"buttonType"
@
click=
"handleClickApply"
/>
<ApplyButton
:type=
"buttonType"
@
click=
"handleClickApply"
/>
</view>
</view>
...
@@ -281,9 +279,9 @@
...
@@ -281,9 +279,9 @@
margin-bottom
:
30rpx
;
margin-bottom
:
30rpx
;
}
}
.tab-view
{
//
.tab-view {
height
:
100%
;
//
height: 100%;
overflow
:
auto
;
//
overflow: auto;
.load-more-view
{
.load-more-view
{
margin-bottom
:
20rpx
;
margin-bottom
:
20rpx
;
...
@@ -297,7 +295,7 @@
...
@@ -297,7 +295,7 @@
margin-top
:
300rpx
;
margin-top
:
300rpx
;
position
:
absolute
;
position
:
absolute
;
}
}
}
//
}
.fixed-button
{
.fixed-button
{
position
:
fixed
;
position
:
fixed
;
...
...
src/pages/mine/warehouse/spare.vue
View file @
f977f50d
<
template
>
<
template
>
<!-- 我的备件 -->
<!-- 我的备件 -->
<view
class=
"ware-house-spare"
>
<view
class=
"ware-house-spare"
>
<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"
>
<u-search
v-model=
"keyword"
:action-text=
"searchButtonText"
@
search=
"handleClickSearch"
@
clear=
"handleClear"
<u-search
v-model=
"keyword"
:action-text=
"searchButtonText"
@
search=
"handleClickSearch"
@
clear=
"handleClear"
...
...
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