Commit 61ab3971 authored by 琉璃丶c's avatar 琉璃丶c

1.修改路由文件eslint问题

2.修改物流页面路由问题
parent 1dc0da38
......@@ -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
......@@ -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>
......
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment