Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
上
上药订单生命周期升级
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
sph
上药订单生命周期升级
Commits
12b486c5
Commit
12b486c5
authored
Mar 22, 2021
by
琉璃丶c
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.物流详情页面 添加:市内、 市外判断
2.订单列表添加位置暂存
parent
22ba1b64
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
src/views/myOrder/detail/logisticsDetail.vue
src/views/myOrder/detail/logisticsDetail.vue
+1
-1
src/views/myOrder/myOrderList.vue
src/views/myOrder/myOrderList.vue
+9
-1
No files found.
src/views/myOrder/detail/logisticsDetail.vue
View file @
12b486c5
...
...
@@ -26,7 +26,7 @@
<span
class=
"logistic-values"
>
{{
shippingInfo
.
estimatedArrivalTime
}}
</span>
</div>
</span>
<span
class=
"logistic-type"
>
市内
</span>
<span
class=
"logistic-type"
>
{{
shippingInfo
.
roadType
===
'
D
'
?
'
市内
'
:
'
市外
'
}}
</span>
</div>
</div>
<div
id=
"stepLine"
:class=
"stepList.length>2?'logistics-step-line':'logistics-step-line_show'"
v-if=
"stepList"
>
...
...
src/views/myOrder/myOrderList.vue
View file @
12b486c5
<
template
>
<div
id=
"myOrderList"
>
<div
class=
"content"
>
<div
class=
"content"
ref=
"wrapper"
>
<van-pull-refresh
class=
"list"
ref=
"supplierList"
v-model=
"isRefreshing"
@
refresh=
"onRefresh"
>
<van-list
v-model=
"isLoading"
...
...
@@ -82,6 +82,7 @@ export default {
finished
:
false
,
error
:
false
,
logInfoShow
:
false
,
scrollPos
:
0
,
orderList
:
[],
orderItem
:
{},
sphImage
:
require
(
'
@/assets/img/u48.png
'
),
...
...
@@ -117,6 +118,10 @@ export default {
return
time
}
},
activated
()
{
this
.
$refs
.
wrapper
.
scrollTop
=
this
.
scrollPos
console
.
log
(
'
位置还原
'
,
this
.
scrollPos
)
},
mounted
()
{
// this.onLoad()
let
_this
=
this
...
...
@@ -138,6 +143,9 @@ export default {
},
// 单个发票点击事件
orderItemAction
(
model
)
{
let
wrapperScrollTop
=
this
.
$refs
.
wrapper
.
scrollTop
this
.
scrollPos
=
wrapperScrollTop
console
.
log
(
'
点击时列表位置
'
,
this
.
scrollPos
)
this
.
$emit
(
'
orderItemAction
'
,
model
)
},
onRefresh
()
{
...
...
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