|
@@ -3,10 +3,11 @@ export enum SceneType {
|
|
|
SWKJ,
|
|
|
SWSS,
|
|
|
SWMX,
|
|
|
+ SWSSMX
|
|
|
// QJKK
|
|
|
}
|
|
|
|
|
|
-export type QuoteSceneType = SceneType.SWKJ | SceneType.SWKK | SceneType.SWSS
|
|
|
+export type QuoteSceneType = SceneType.SWKJ | SceneType.SWKK | SceneType.SWSS | SceneType.SWSSMX
|
|
|
export type ModelSceneType = SceneType.SWMX
|
|
|
|
|
|
export const SceneTypeDesc: { [key in SceneType]: string } = {
|
|
@@ -14,6 +15,7 @@ export const SceneTypeDesc: { [key in SceneType]: string } = {
|
|
|
[SceneType.SWKJ]: '四维看见',
|
|
|
[SceneType.SWSS]: '四维深时',
|
|
|
[SceneType.SWMX]: '三维模型',
|
|
|
+ [SceneType.SWSSMX]: '四维深时模型'
|
|
|
// [SceneType.QJKK]: '全景看看',
|
|
|
}
|
|
|
|
|
@@ -22,6 +24,7 @@ export const SceneTypeDomain: { [key in SceneType]: string } = {
|
|
|
[SceneType.SWKJ]: window.location.href,
|
|
|
[SceneType.SWSS]: window.location.href,
|
|
|
[SceneType.SWMX]: process.env.NODE_ENV === 'development' ? 'http://localhost:5173' : window.location.href,
|
|
|
+ [SceneType.SWSSMX]: process.env.NODE_ENV === 'development' ? 'http://localhost:5173' : window.location.href,
|
|
|
}
|
|
|
|
|
|
export const SceneTypePaths: { [key in SceneType]: string[] } = {
|
|
@@ -29,6 +32,7 @@ export const SceneTypePaths: { [key in SceneType]: string[] } = {
|
|
|
[SceneType.SWKJ]: ['/swkk/spg.html', '/swkk/epg.html'],
|
|
|
[SceneType.SWSS]: ['/swss/index.html', '/swss/index.html'],
|
|
|
[SceneType.SWMX]: process.env.NODE_ENV === 'development' ? ['index.html', 'index.html'] : ['/code/index.html', '/code/index.html'],
|
|
|
+ [SceneType.SWSSMX]: process.env.NODE_ENV === 'development' ? ['index.html', 'index.html'] : ['/code/index.html', '/code/index.html'],
|
|
|
}
|
|
|
|
|
|
|