|
@@ -17,6 +17,39 @@ import { formatTimezone } from '@/utils/tools'
|
|
|
import { useThemeStore } from '@/stores/modules/theme'
|
|
import { useThemeStore } from '@/stores/modules/theme'
|
|
|
import ShareLinkDialog from './components/ShareLinkDialog.vue'
|
|
import ShareLinkDialog from './components/ShareLinkDialog.vue'
|
|
|
|
|
|
|
|
|
|
+import { driver } from 'driver.js'
|
|
|
|
|
+
|
|
|
|
|
+const driverObj = driver({
|
|
|
|
|
+ showProgress: true,
|
|
|
|
|
+ progressText: 'Step {{current}} of {{total}}',
|
|
|
|
|
+ stagePadding: 2,
|
|
|
|
|
+ showButtons: ['next', 'previous'],
|
|
|
|
|
+ steps: [
|
|
|
|
|
+ {
|
|
|
|
|
+ element: '#step-home-1',
|
|
|
|
|
+ popover: {
|
|
|
|
|
+ title: 'Animated Tour Example',
|
|
|
|
|
+ description: "Here is the code example showing animated tour. Let's walk you through it.",
|
|
|
|
|
+ side: 'left',
|
|
|
|
|
+ align: 'start'
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ element: '#step-home-2',
|
|
|
|
|
+ popover: {
|
|
|
|
|
+ title: 'Import the Library',
|
|
|
|
|
+ description: 'It works the same in vanilla JavaScript as well as frameworks.',
|
|
|
|
|
+ side: 'bottom',
|
|
|
|
|
+ align: 'start'
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+})
|
|
|
|
|
+
|
|
|
|
|
+const test = () => {
|
|
|
|
|
+ driverObj.drive()
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
const route = useRoute()
|
|
const route = useRoute()
|
|
|
|
|
|
|
|
const themeStore = useThemeStore()
|
|
const themeStore = useThemeStore()
|
|
@@ -136,7 +169,7 @@ const openShareDialog = () => {
|
|
|
<VTag large :type="allData?.transportInfo?.status">{{
|
|
<VTag large :type="allData?.transportInfo?.status">{{
|
|
|
allData?.transportInfo?.status
|
|
allData?.transportInfo?.status
|
|
|
}}</VTag>
|
|
}}</VTag>
|
|
|
- <div class="right-operation">
|
|
|
|
|
|
|
+ <div class="right-operation" id="step-home-1">
|
|
|
<el-button
|
|
<el-button
|
|
|
v-if="
|
|
v-if="
|
|
|
(allData?.canViewAMSLog || allData?.canViewISFLog) &&
|
|
(allData?.canViewAMSLog || allData?.canViewISFLog) &&
|
|
@@ -148,9 +181,10 @@ const openShareDialog = () => {
|
|
|
<span class="font_family icon-icon_log_b" style="margin-right: 4px"></span
|
|
<span class="font_family icon-icon_log_b" style="margin-right: 4px"></span
|
|
|
>AMS/ISF</el-button
|
|
>AMS/ISF</el-button
|
|
|
>
|
|
>
|
|
|
|
|
+ <el-button @click="test">测试</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="detail-info">
|
|
|
|
|
|
|
+ <div class="detail-info" id="step-home-2">
|
|
|
<div class="item transport-way">
|
|
<div class="item transport-way">
|
|
|
<div class="origin">
|
|
<div class="origin">
|
|
|
<div class="title">Origin</div>
|
|
<div class="title">Origin</div>
|