// store/guide.ts import { defineStore } from 'pinia' import { useDriver } from '@/utils/driverGuide' const oceanSteps: any = [ { element: '#driver-step-tracking-detail-1', popover: { title: '', description: 'Main operation button area', side: 'bottom', align: 'start' } }, { element: '#driver-step-tracking-detail-2', popover: { description: 'Key shipment status', side: 'bottom', align: 'start' } }, { element: '#driver-step-tracking-detail-3', popover: { description: 'Detail container status of each container', side: 'bottom', align: 'start' } }, { element: '#tracking-map', popover: { description: `
Send email to site staff
Enter contents you want to communicate with, click “Send Email” button to send out.
`, side: 'bottom', align: 'start' } }, { element: '#page-guide-btn-guide', popover: { title: '', description: 'After closing, you can still click the "Page Guide" button to view the page guide of the current page.', side: 'bottom' } } ] const airSteps: any = [ { element: '#driver-step-tracking-detail-1', popover: { title: '', description: 'Main operation button area', side: 'bottom', align: 'start' } }, { element: '#driver-step-tracking-detail-2', popover: { description: 'Key shipment status', side: 'bottom', align: 'start' } }, { element: '#tracking-map', popover: { description: `Send email to site staff
Enter contents you want to communicate with, click “Send Email” button to send out.
`, side: 'bottom', align: 'start' } }, { element: '#page-guide-btn-guide', popover: { title: '', description: 'After closing, you can still click the "Page Guide" button to view the page guide of the current page.', side: 'bottom' } } ] const guideTimer = ref