feat: 3d模型

This commit is contained in:
2025-12-09 17:13:20 +08:00
parent 5f603bc69d
commit 358639a8ac
492 changed files with 74670 additions and 190 deletions
+11
View File
@@ -51,4 +51,15 @@ export default {
nodeModulesTransform: { type: 'none' },
mfsu: false,
fastRefresh: {},
// Cesium 静态资源配置
chainWebpack: (config: any) => {
// 配置 Cesium 资源路径
config.plugin('define').tap((definitions: any) => {
Object.assign(definitions[0], {
'process.env.CESIUM_BASE_URL': JSON.stringify(isDev ? '/' : (APP_BASE.endsWith('/') ? APP_BASE : APP_BASE + '/')),
});
return definitions;
});
return config;
},
} as any;
+4
View File
@@ -32,6 +32,8 @@ export default [
{ path: '/orders/editTask.html', component: '@/pages/orders/EditTask' },
{ path: '/orders/wxMessage.html', component: '@/pages/orders/WxMessage' },
{ path: '/orders/coupon.html', component: '@/pages/orders/Coupon' },
// 导游管理模块(包含导游列表、佣金明细、提现审核)
{ path: '/orders/guide.html', component: '@/pages/orders/Guide' },
],
},
{
@@ -39,6 +41,8 @@ export default [
routes: [
{ path: '/device/wayline.html', component: '@/pages/device/Wayline' },
{ path: '/device/device.html', component: '@/pages/device/Device' },
// 3D模型管理
{ path: '/device/3dModel.html', name: '3D模型管理', component: '@/pages/device/ThreeDModel' },
// 景区地图仪表盘
{ path: '/device/mapDashboard.html', name: '地图仪表盘', component: '@/pages/device/mapDashboard', exact: true },
{ path: '/device/mapDashboard/tourismDeviceDetail/:tourismId', component: '@/pages/device/mapDashboard/TourismDeviceDetail' },