feat(web-admin): add mobile paste-create for third-party vehicle bundles.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
866a87f747
commit
a382f3e730
2 files changed
+103
-25
No files matched your search
@@ -1,18 +1,32 @@
|
||||
<template>
|
||||
<MpWebviewShell>
|
||||
<p class="mp-wv-placeholder">三方人车快速创建加载中…</p>
|
||||
<PlPasteRecognizeDialog
|
||||
variant="page"
|
||||
mode="vehicle-bundle"
|
||||
:visible="true"
|
||||
@done="onDone"
|
||||
@close="onClose"
|
||||
/>
|
||||
</MpWebviewShell>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useRouter } from 'vue-router'
|
||||
import MpWebviewShell from '@/layouts/MpWebviewShell.vue'
|
||||
</script>
|
||||
import PlPasteRecognizeDialog from '@/components/business/pl-paste-recognize-dialog/index.vue'
|
||||
import '@/styles/mp-webview.scss'
|
||||
|
||||
<style scoped>
|
||||
.mp-wv-placeholder {
|
||||
margin: 24px 0 0;
|
||||
font-size: 14px;
|
||||
color: #6b7b74;
|
||||
text-align: center;
|
||||
const router = useRouter()
|
||||
|
||||
function onDone() {
|
||||
void router.replace('/m/pl/plan')
|
||||
}
|
||||
</style>
|
||||
|
||||
function onClose() {
|
||||
if (window.history.length > 1) {
|
||||
router.back()
|
||||
return
|
||||
}
|
||||
void router.replace('/m/pl/plan')
|
||||
}
|
||||
</script>
|
||||
Reference in new issue
Block a user