add弹窗登录

This commit is contained in:
2025-12-26 14:26:54 +08:00
parent 87aac154cf
commit c0fc989c8f
4 changed files with 352 additions and 5 deletions

View File

@@ -3,11 +3,14 @@ import { ref, onMounted, onBeforeMount } from "vue";
import { useRoute } from "vue-router";
import { storeToRefs } from 'pinia';
import { useUserStore } from '@/stores/userStore';
import { useDialogStore } from '@/stores/dialogStore';
import InquireForm from "@/components/InquireForm.vue";
import LoginDialog from "@/components/LoginDialog.vue";
const route = useRoute();
const router = useRouter();
const userStore = useUserStore();
const dialogStore = useDialogStore();
const { mobile: userStoreMobile } = storeToRefs(userStore);
const linkIdentifier = ref("");
@@ -59,4 +62,5 @@ async function getProduct() {
<template>
<InquireForm :type="'promotion'" :feature="feature" :link-identifier="linkIdentifier" :feature-data="featureData" />
<LoginDialog />
</template>