Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
hxyj-admin-fe
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hxyj
hxyj-admin-fe
Commits
fd0a3eeb
Commit
fd0a3eeb
authored
Jun 09, 2025
by
tyyin lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 轮播图管理页面
parent
55b357aa
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
10 deletions
+24
-10
index.html
index.html
+1
-1
lint-staged.config.js
lint-staged.config.js
+4
-0
sidebar.vue
src/layout/components/sidebar/sidebar.vue
+1
-9
home.ts
src/router/modules/home.ts
+11
-0
carousel-management.vue
src/views/carousel-management/carousel-management.vue
+7
-0
No files found.
index.html
View file @
fd0a3eeb
...
...
@@ -4,7 +4,7 @@
<meta
charset=
"UTF-8"
/>
<link
rel=
"icon"
href=
"/favicon.ico"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<link
rel=
"stylesheet"
href=
"//at.alicdn.com/t/c/font_4939750_9
nzhie7u3y
.css"
/>
<link
rel=
"stylesheet"
href=
"//at.alicdn.com/t/c/font_4939750_9
hx3rkhtkzu
.css"
/>
<title>
%APP_NAME%
</title>
</head>
...
...
lint-staged.config.js
View file @
fd0a3eeb
/**
* @filename: lint-staged.config.js
* @type {import('lint-staged').Configuration}
*/
export
default
{
'*.md'
:
[
'prettier --write'
],
'package.json'
:
[
'prettier --write'
],
...
...
src/layout/components/sidebar/sidebar.vue
View file @
fd0a3eeb
...
...
@@ -20,20 +20,12 @@ watch(
},
)
// function handleUpdateValue(_key: string, menuItemOption: MenuOption) {
// router.push({ name: menuItemOption.routeName })
// // menuValue.value = key
// }
function
handleLogoClick
()
{
router
.
push
({
name
:
'Root'
})
}
function
handleMenuItemClick
(
routeName
:
any
)
{
console
.
log
(
'💥💥💥💥💥💥jtest💥💥💥💥💥💥'
)
console
.
log
(
routeName
)
// router.push({ name: routeName })
router
.
push
({
name
:
routeName
})
}
</
script
>
...
...
src/router/modules/home.ts
View file @
fd0a3eeb
...
...
@@ -23,6 +23,17 @@ export default [
},
component
:
Home
,
},
{
path
:
'/carousel-management'
,
name
:
'CarouselManagement'
,
meta
:
{
rank
:
1001
,
title
:
'轮播图管理'
,
icon
:
'icon-carousel'
,
},
component
:
()
=>
import
(
'@/views/carousel-management/carousel-management.vue'
),
},
],
},
]
as
RouteRecordRaw
[]
src/views/carousel-management/carousel-management.vue
0 → 100644
View file @
fd0a3eeb
<
script
setup
lang=
"ts"
></
script
>
<
template
>
<div>
轮播图管理
</div>
</
template
>
<
style
lang=
"scss"
scoped
></
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment