From 84aedf23b13386576a70b21ebdf5d6ddd9c947ec Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 20 十月 2025 09:43:32 +0800
Subject: [PATCH] fix: bug
---
apps/bMiniApp/src/subpackages/businessCard/components/BusinessCardView.vue | 25 +++++++++++++++----------
1 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/apps/bMiniApp/src/subpackages/businessCard/components/BusinessCardView.vue b/apps/bMiniApp/src/subpackages/businessCard/components/BusinessCardView.vue
index aa1186c..b933c79 100644
--- a/apps/bMiniApp/src/subpackages/businessCard/components/BusinessCardView.vue
+++ b/apps/bMiniApp/src/subpackages/businessCard/components/BusinessCardView.vue
@@ -1,7 +1,18 @@
<template>
<LoadingLayout :loading="isLoading" :error="isError" :loadError="refetch">
- <BusinessCardDetailInfoView @edit="goEditBusinessCard"></BusinessCardDetailInfoView>
- <PageFooterBtn type="primary" class="business-card-btn">閫掑悕鐗�</PageFooterBtn>
+ <BusinessCardDetailInfoView>
+ <template #actions>
+ <nut-button
+ class="business-card-detail-info-edit-button"
+ type="primary"
+ @click="goEditBusinessCard"
+ >缂栬緫</nut-button
+ >
+ </template>
+ </BusinessCardDetailInfoView>
+ <PageFooter>
+ <PageFooterBtn type="primary" class="business-card-btn">閫掑悕鐗�</PageFooterBtn>
+ </PageFooter>
</LoadingLayout>
</template>
@@ -43,18 +54,12 @@
url: `${RouterPath.businessCardEdit}?id=${id}`,
});
}
-
-function handleBusinessCard() {}
</script>
<style lang="scss">
@import '@/styles/common.scss';
-.businessCard-page-wrapper {
- .business-card-btn {
- width: 100%;
- margin: 40px auto 0;
- font-size: 28px;
- }
+.business-card-detail-info-edit-button {
+ height: 52px;
}
</style>
--
Gitblit v1.9.1