Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
af6bd001
提交
af6bd001
authored
12月 11, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refactor(ceshi): cehsi
上级
8e5b58f9
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
57 行增加
和
35 行删除
+57
-35
index.vue
src/components/CommonMenu/index.vue
+1
-0
Logo.vue
src/layout/components/Sidebar/Logo.vue
+1
-1
index.js
src/router/index.js
+36
-29
ceshi.vue
src/views/ceshi.vue
+19
-0
index.js
src/views/mobile/router/index.js
+0
-5
没有找到文件。
src/components/CommonMenu/index.vue
浏览文件 @
af6bd001
...
...
@@ -101,6 +101,7 @@ const rightChange = (val) => {
height
:
100%
;
.el-card__header
{
font-size
:
18px
;
.custom
{
float
:
right
;
padding
:
3px
0
;
...
...
src/layout/components/Sidebar/Logo.vue
浏览文件 @
af6bd001
...
...
@@ -77,7 +77,7 @@ const getLogoTextColor = computed(() => {
// width: 32px;
// height: 32px;
width
:
120px
;
height
:
6
0
px
;
height
:
6
8
px
;
vertical-align
:
middle
;
// margin-right: 12px;
}
...
...
src/router/index.js
浏览文件 @
af6bd001
...
...
@@ -2,7 +2,7 @@ import { createWebHashHistory, createRouter, createWebHistory } from 'vue-router
/* Layout */
import
Layout
from
'@/layout'
import
{
isMobile
}
from
'@/utils'
import
{
constantMobileRoutes
}
from
'@/views/mobile/router/index.js'
import
{
constantMobileRoutes
}
from
'@/views/mobile/router/index.js'
// 移动端路由表
/**
* Note: 路由配置项
...
...
@@ -26,21 +26,40 @@ import { constantMobileRoutes } from '@/views/mobile/router/index.js'
}
*/
// 使用的公共静态路由
export
let
constantRoutes
=
[{
path
:
'/report/jmreport/view/:id'
,
component
:
()
=>
import
(
'@/views/jimureport/entry.vue'
),
hidden
:
true
},
{
path
:
'/report/jmreport/index/:id'
,
component
:
()
=>
import
(
'@/views/jimureport/entry.vue'
),
hidden
:
true
},
{
path
:
'/report/jmreport/shareView/:id'
,
component
:
()
=>
import
(
'@/views/jimureport/entry.vue'
),
hidden
:
true
}]
export
let
constantRoutes
=
[
{
path
:
'/ceshi'
,
component
:
()
=>
import
(
'@/views/ceshi.vue'
),
hidden
:
true
},
{
path
:
''
,
component
:
Layout
,
redirect
:
'/index'
,
children
:
[
{
path
:
'/index'
,
component
:
()
=>
import
(
'@/views/index'
),
name
:
'Index'
,
meta
:
{
title
:
'首页'
,
icon
:
'dashboard'
,
affix
:
true
}
}
]
},
{
path
:
'/report/jmreport/view/:id'
,
component
:
()
=>
import
(
'@/views/jimureport/entry.vue'
),
hidden
:
true
},
{
path
:
'/report/jmreport/index/:id'
,
component
:
()
=>
import
(
'@/views/jimureport/entry.vue'
),
hidden
:
true
},
{
path
:
'/report/jmreport/shareView/:id'
,
component
:
()
=>
import
(
'@/views/jimureport/entry.vue'
),
hidden
:
true
}]
// PC端 静态路由
export
const
constantPCRoutes
=
[
...
constantRoutes
,
...
...
@@ -70,19 +89,7 @@ export const constantPCRoutes = [
component
:
()
=>
import
(
'@/views/error/401'
),
hidden
:
true
},
{
path
:
''
,
component
:
Layout
,
redirect
:
'/index'
,
children
:
[
{
path
:
'/index'
,
component
:
()
=>
import
(
'@/views/index'
),
name
:
'Index'
,
meta
:
{
title
:
'首页'
,
icon
:
'dashboard'
,
affix
:
true
}
}
]
},
{
path
:
'/user'
,
component
:
Layout
,
...
...
src/views/ceshi.vue
0 → 100644
浏览文件 @
af6bd001
<
template
>
<iframe
class=
"ifame-tag"
:src=
"url"
></iframe>
</
template
>
<
script
setup
>
const
url
=
computed
(()
=>
{
const
key
=
'988ff83d-ea13-45fd-9890-87f107644fbe'
return
`https://bi.aliyun.com/token3rd/dashboard/view/pc.htm?pageId=c3442504-ef1c-4eee-8cf9-691526c09524&embedDisplayParam=%7B%22showTitle%22%3Afalse%7D&accessTicket=
${
key
}
`
})
</
script
>
<
style
scoped
lang=
"scss"
>
.ifame-tag
{
width
:
100%
;
height
:
100%
;
}
</
style
>
\ No newline at end of file
src/views/mobile/router/index.js
浏览文件 @
af6bd001
// 移动端 静态路由
export
const
constantMobileRoutes
=
[
{
path
:
'/index'
,
redirect
:
'/menu'
},
{
path
:
'/login'
,
component
:
()
=>
import
(
'@/views/login'
),
...
...
@@ -18,7 +14,6 @@ export const constantMobileRoutes = [
{
path
:
'/'
,
component
:
()
=>
import
(
'@/views/mobile/index'
),
redirect
:
'/menu'
,
children
:
[
{
path
:
'menu'
,
// 菜单页
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论