perf: 支持微信支付接口

This commit is contained in:
richarjiang
2026-04-05 14:09:36 +08:00
parent 9811c9a13b
commit 9eee4f6b87
9 changed files with 483 additions and 93 deletions

View File

@@ -40,7 +40,7 @@
<script setup lang="ts">
import { ref, computed } from 'vue'
import { onShow } from '@dcloudio/uni-app'
import { onShow, onShareAppMessage, onShareTimeline } from '@dcloudio/uni-app'
import CustomNavBar from '../../components/CustomNavBar.vue'
import BrandBanner from '../../components/BrandBanner.vue'
@@ -57,6 +57,22 @@ const userStore = useUserStore()
const studioStore = useStudioStore()
const bookingStore = useBookingStore()
// ─── 微信分享 ───────────────────────────────────────────────
onShareAppMessage(() => {
return {
title: '专注核心,遇见更好的自己 | Focus Core 普拉提',
path: '/pages/home/index',
imageUrl: '',
}
})
onShareTimeline(() => {
return {
title: '专注核心,遇见更好的自己 | Focus Core 普拉提',
query: '',
}
})
// ─── Layout ───────────────────────────────────────────────
const navBarHeight = ref('64px')