|
@@ -11,13 +11,18 @@ interface MenuItem {
|
|
|
|
|
|
const menu = ref<Array<MenuItem>>([
|
|
const menu = ref<Array<MenuItem>>([
|
|
{ text: '基础用法', name: 'basic' },
|
|
{ text: '基础用法', name: 'basic' },
|
|
|
|
+ { text: '固定截图', name: 'screenshot' },
|
|
|
|
+ { text: '动态截图', name: 'extract' },
|
|
|
|
+ { text: '场景滤镜', name: 'filter' },
|
|
|
|
+ { text: '漫游可行', name: 'roam' },
|
|
|
|
+ { text: '地面图标', name: 'floorlogo' },
|
|
{
|
|
{
|
|
text: '热点管理',
|
|
text: '热点管理',
|
|
name: 'tag',
|
|
name: 'tag',
|
|
next: [
|
|
next: [
|
|
- { text: '添加热点', name: 'tag-add' },
|
|
|
|
- { text: '编辑热点', name: 'tag-add' },
|
|
|
|
- { text: '删除热点', name: 'tag-delete' },
|
|
|
|
|
|
+ { text: '添加热点', name: 'tag/add' },
|
|
|
|
+ { text: '编辑热点', name: 'tag/edit' },
|
|
|
|
+ { text: '删除热点', name: 'tag/delete' },
|
|
],
|
|
],
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -28,8 +33,14 @@ const menu = ref<Array<MenuItem>>([
|
|
{ text: '播放导览', name: 'tour/play' },
|
|
{ text: '播放导览', name: 'tour/play' },
|
|
],
|
|
],
|
|
},
|
|
},
|
|
- { text: '固定截图', name: 'screenshot' },
|
|
|
|
- { text: '动态截图', name: 'extract' },
|
|
|
|
|
|
+ {
|
|
|
|
+ text: '空间装饰',
|
|
|
|
+ name: 'space',
|
|
|
|
+ next: [
|
|
|
|
+ { text: '添加视频', name: 'space/video' },
|
|
|
|
+ { text: '添加图片', name: 'space/image' },
|
|
|
|
+ ],
|
|
|
|
+ },
|
|
{ text: '户型图', name: 'cad/index' },
|
|
{ text: '户型图', name: 'cad/index' },
|
|
])
|
|
])
|
|
|
|
|
|
@@ -58,7 +69,6 @@ window.onhashchange = () => {
|
|
menuSearch(undefined)
|
|
menuSearch(undefined)
|
|
}
|
|
}
|
|
menuSearch(undefined)
|
|
menuSearch(undefined)
|
|
-console.log(menu)
|
|
|
|
let params = (window.location.hash || '').replace(/#\/?/, '')
|
|
let params = (window.location.hash || '').replace(/#\/?/, '')
|
|
if (params.indexOf('app') === -1) {
|
|
if (params.indexOf('app') === -1) {
|
|
params = `app=${menu.value[0].name}`
|
|
params = `app=${menu.value[0].name}`
|