Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
xianyu-ufo-app-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
lea guo
6 years ago
Commit
3e49e6f149a3489c7701196f54c9e27bdff08431
1 parent
46b08e19
订单列表样式优化
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
apps/pages/order/order-list/components/status-nav.vue
apps/pages/order/order-list/order-list.vue
apps/pages/order/order-list/components/status-nav.vue
View file @
3e49e6f
...
...
@@ -65,6 +65,7 @@ export default {
.order-status-nav-scroll-wrap {
transform: rotate(0deg); // fix 子元素超出边框圆角部分不隐藏的问题
position: relative;
z-index: 10;
.list-wrapper {
white-space: nowrap;
...
...
@@ -78,7 +79,7 @@ export default {
.list-item {
display: inline-block;
padding: 2
2
px 0;
padding: 2
0
px 0;
margin-left: 38px;
&:last-child {
...
...
apps/pages/order/order-list/order-list.vue
View file @
3e49e6f
...
...
@@ -47,8 +47,8 @@ export default {
// 获取订单数据
asyncData({ store, router }) {
const { owner, status } = router.params;
store.dispatch("order/orderList/fetchOrderList", { owner, status });
// const { owner, status } = router.params;
// store.dispatch("order/orderList/fetchOrderList", { owner, status });
},
mounted() {
const { owner, status } = this.$route.params;
...
...
@@ -60,6 +60,14 @@ export default {
const { owner, status } = this.$route.params;
this.fetchOrderList({ owner, status });
}
},
watch: {
$route() {
console.log("---------route change----------");
const { owner, status } = this.$route.params;
this.fetchOrderList({ owner, status });
}
}
};
</script>
...
...
Please
register
or
login
to post a comment