support wechat and alipay payment for mobile page

This commit is contained in:
RockYang
2024-09-30 16:20:40 +08:00
parent 8923e938d2
commit 5a04a935be
8 changed files with 120 additions and 45 deletions

View File

@@ -6,8 +6,13 @@
<script setup>
import {useRouter} from "vue-router";
import {isMobile} from "@/utils/libs";
const router = useRouter()
console.log(router.currentRoute.value.query)
window.close()
if (isMobile()) {
router.push('/mobile/profile')
} else {
window.close()
}
</script>