From c75aa28551b01c0b78c0282751b46ae0529fabe1 Mon Sep 17 00:00:00 2001 From: wayn <1669738430@qq.com> Date: Sat, 22 Jul 2023 15:15:07 +0800 Subject: [PATCH] init --- src/views/order/confirm/modules/ListItem.vue | 1 + src/views/order/detail/index.vue | 10 +++++----- src/views/order/list/index.vue | 1 + 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/order/confirm/modules/ListItem.vue b/src/views/order/confirm/modules/ListItem.vue index b75f18c..e3d418d 100644 --- a/src/views/order/confirm/modules/ListItem.vue +++ b/src/views/order/confirm/modules/ListItem.vue @@ -72,6 +72,7 @@ export default { // 对于使用了keep-alive的组件 // 使用activated这个生命周期钩子刷新地址 this.getGoodsList() + this.message = '' }, methods: { getGoodsList() { diff --git a/src/views/order/detail/index.vue b/src/views/order/detail/index.vue index 2f666a4..84753f3 100644 --- a/src/views/order/detail/index.vue +++ b/src/views/order/detail/index.vue @@ -97,14 +97,14 @@ export default { align-items: center; } .order-detail { - padding: 10px 10px 20px 40px; - > div:nth-child(-n + 9) { - margin-top: 15px; + padding: 1vw 2vh; + > div:nth-child(-n + 10) { + margin-top: 1vh; } van-card { - margin-top: 20px; + margin-top: 2vh; } - .van-card__footer { + .van-card__header { text-align: right; .van-button { margin-left: 10px; diff --git a/src/views/order/list/index.vue b/src/views/order/list/index.vue index d1f88c0..d3d762a 100644 --- a/src/views/order/list/index.vue +++ b/src/views/order/list/index.vue @@ -12,6 +12,7 @@ swipeable offset-top="46" type="line" + @change="handleTabClick" @click="handleTabClick" >