From 49bec39b6bfefc5692418c24e59cf76ad0885850 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期三, 31 十二月 2025 10:03:16 +0800
Subject: [PATCH] fix: bug
---
apps/housekeepingMiniApp/src/subpackages/sercice/addStandardOrder/InnerPage.vue | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/apps/housekeepingMiniApp/src/subpackages/sercice/addStandardOrder/InnerPage.vue b/apps/housekeepingMiniApp/src/subpackages/sercice/addStandardOrder/InnerPage.vue
index 00687db..efad113 100644
--- a/apps/housekeepingMiniApp/src/subpackages/sercice/addStandardOrder/InnerPage.vue
+++ b/apps/housekeepingMiniApp/src/subpackages/sercice/addStandardOrder/InnerPage.vue
@@ -121,9 +121,9 @@
@selected="selected"
exist-address-title="閫夋嫨鍦板潃"
>
- <template #bottom>
+ <template #bottom v-if="!infiniteLoadingProps?.flattenListData?.length">
<div class="select-address-bottom">
- <nut-button type="primary" @click="goSelectAddress">鏂板鍦板潃</nut-button>
+ <nut-button type="primary" @click="goAddAddress">鏂板鍦板潃</nut-button>
</div>
</template>
</nut-address>
@@ -247,6 +247,12 @@
form.selectAddressVisible = true;
}
+function goAddAddress() {
+ Taro.navigateTo({
+ url: `${RouterPath.editAddress}`,
+ });
+}
+
const selected = (prevExistAdd, nowExistAdd, arr) => {
form.addressId = nowExistAdd.id;
};
@@ -356,5 +362,11 @@
}
}
}
+
+ .select-address-bottom {
+ display: flex;
+ justify-content: center;
+ padding: 40px 0;
+ }
}
</style>
--
Gitblit v1.10.0