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
61ab3971
Commit
61ab3971
authored
Mar 08, 2021
by
琉璃丶c
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改路由文件eslint问题
2.修改物流页面路由问题
parent
1dc0da38
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
19 deletions
+37
-19
src/router/myOrder/index.js
src/router/myOrder/index.js
+5
-6
src/views/myOrder/detail/logisticsDetail.vue
src/views/myOrder/detail/logisticsDetail.vue
+12
-0
src/views/myOrder/detail/orderDetail.vue
src/views/myOrder/detail/orderDetail.vue
+20
-13
No files found.
src/router/myOrder/index.js
View file @
61ab3971
...
...
@@ -18,11 +18,11 @@ const myOrder = [
component
:
resolve
=>
require
([
'
@/views/myOrder/detail/orderDetail
'
],
resolve
)
},
{
path
:
"
/goodsInfo
"
,
name
:
"
goodsInfo
"
,
meta
:{
title
:
'
商品信息
'
,
auth
:
false
path
:
'
/goodsInfo
'
,
name
:
'
goodsInfo
'
,
meta
:
{
title
:
'
商品信息
'
,
auth
:
false
},
component
:
resolve
=>
require
([
'
@/views/myOrder/goodsInfo
'
],
resolve
)
},
...
...
@@ -35,6 +35,5 @@ const myOrder = [
},
component
:
resolve
=>
require
([
'
@/views/myOrder/detail/logisticsDetail
'
],
resolve
)
}
]
export
default
myOrder
src/views/myOrder/detail/logisticsDetail.vue
View file @
61ab3971
...
...
@@ -23,6 +23,18 @@ export default {
logo
:
require
(
'
@/assets/img/u48.png
'
)
}
}
},
mounted
()
{
// 设置标题栏关闭返回按钮
this
.
$store
.
commit
(
'
setNavBar
'
,
{
show
:
true
,
leftArrow
:
true
,
rightIcon
:
false
,
title
:
''
,
leftText
:
'
物流详情
'
,
leftClick
:
null
,
rightClick
:
null
})
}
}
</
script
>
...
...
src/views/myOrder/detail/orderDetail.vue
View file @
61ab3971
...
...
@@ -59,17 +59,17 @@
全部
<van-icon
class=
"title-arrow"
name=
"arrow"
/>
</div>
<goods-simple-item
/>
<goods-simple-item
/>
<goods-simple-item/>
<goods-simple-item/>
</div>
<!-- 订单发票信息
-->
<!-- 订单发票信息
-->
<div
class=
"order-common order-invoice"
>
<div
class=
"invoice-all"
>
<span
class=
"all-title"
>
发票信息
</span>
全部
<van-icon
class=
"title-arrow"
name=
"arrow"
/>
</div>
<invoice-simple-item
/>
<invoice-simple-item/>
</div>
</div>
</
template
>
...
...
@@ -110,8 +110,9 @@ export default {
<
style
lang=
"scss"
scoped
>
.order-detail
{
overflow
:
auto
;
font-size
:
12px
;
font-size
:
12px
;
height
:
calc
(
100vh
-
46px
);
.order-common
{
padding
:
10px
;
border-radius
:
4px
;
...
...
@@ -275,37 +276,43 @@ export default {
.goods-all
{
display
:
flex
;
align-items
:
center
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
.all-title
{
flex
:
1
;
font-size
:
14px
;
color
:
#000
;
color
:
#000
;
font-weight
:
400
;
}
.title-arrow
{
font-size
:
15px
;
//margin-top: 1px;
margin-left
:
6px
;
margin-left
:
6px
;
}
}
}
/*订单发票*/
.order-invoice
{
margin-bottom
:
20px
;
margin-bottom
:
20px
;
.invoice-all
{
display
:
flex
;
align-items
:
center
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
.all-title
{
flex
:
1
;
font-size
:
14px
;
color
:
#000
;
color
:
#000
;
font-weight
:
400
;
}
.title-arrow
{
font-size
:
15px
;
//margin-top: 1px;
margin-left
:
6px
;
margin-left
:
6px
;
}
}
...
...
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