diff --git a/pages/detail/index.vue b/pages/detail/index.vue
index f6e78f1..74f14b6 100644
--- a/pages/detail/index.vue
+++ b/pages/detail/index.vue
@@ -112,7 +112,7 @@
import { ref, onMounted } from "vue";
import { getBavBarHeight } from "@/utils/system";
import { onLoad } from "@dcloudio/uni-app";
-import { getCardDetail } from "@/api/card.js";
+import { getPageDetail } from "@/api/system.js";
const navBarHeight = ref(44);
const statusBarHeight = ref(20);
@@ -122,7 +122,7 @@ const cardDetail = ref({});
onLoad(async (options) => {
if (options.shareToken) {
- const card = await getCardDetail(options.shareToken);
+ const card = await getPageDetail(options.shareToken);
cardId.value = card.id;
cardDetail.value = card;
}
diff --git a/pages/make/index.vue b/pages/make/index.vue
index f6cc54c..bdef8a5 100644
--- a/pages/make/index.vue
+++ b/pages/make/index.vue
@@ -25,7 +25,7 @@
fontSize: fontSize + 'rpx',
lineHeight: fontSize * 1.5 + 'rpx',
}"
- >{{ targetName + "\n " + blessingText }}{{ targetName + "\n " + blessingText.content }}
@@ -138,11 +138,15 @@
v-for="(text, index) in displayedGreetings"
:key="index"
class="greeting-card"
- :class="{ active: blessingText === text }"
+ :class="{ active: blessingText === text.content }"
@tap="selectGreeting(text)"
>
- {{ text }}
- ✔
+ {{ text.content }}
+ ✔
@@ -270,25 +274,34 @@
class="hidden-canvas"
style="width: 540px; height: 960px"
/>
+
+