Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
company-portal-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
company-portal-ui
Commits
1b31bc7a
Commit
1b31bc7a
authored
Mar 05, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改导航
parent
13f82c47
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
admin/src/components/common/header/Header.vue
admin/src/components/common/header/Header.vue
+3
-3
admin/src/views/portal/NewsView.vue
admin/src/views/portal/NewsView.vue
+2
-1
No files found.
admin/src/components/common/header/Header.vue
View file @
1b31bc7a
...
...
@@ -6,11 +6,11 @@
<el-row
:span=
"24"
type=
"flex"
justify=
"center"
align=
"middle"
style=
"height: 80px;margin-top: 20px;"
>
<el-col
:span=
"4"
>
<img
src=
"../../../assets/images/logo_portal.png"
style=
"width: 80%;float: right"
alt=
""
>
<img
src=
"../../../assets/images/logo_portal.png"
style=
"width: 80%;float: right
;
"
alt=
""
>
</el-col>
<el-col
:span=
"16"
>
<el-menu
router
:default-active=
"$route.path"
text-color=
"#111"
active-text-color=
"#2f1ce5"
mode=
"horizontal"
>
<el-menu
style=
"margin-left: 100px"
router
:default-active=
"$route.path"
text-color=
"#111"
active-text-color=
"#2f1ce5"
mode=
"horizontal"
>
<el-menu-item
style=
"width: 15% ;font-size: 16px;font-weight: bold"
index=
"/index"
>
网站首页
</el-menu-item>
<el-submenu
style=
"width: 15%;font-weight: bold"
index=
"/product"
>
<template
slot=
"title"
>
产品中心
</
template
>
...
...
admin/src/views/portal/NewsView.vue
View file @
1b31bc7a
...
...
@@ -16,10 +16,11 @@
<el-row
type=
"flex"
justify=
"center"
v-for=
"(article,index) in articles.data"
:key=
"index"
>
<el-col
:span=
"18"
>
<div
class=
"section--header"
>
<h1
class=
"section--title"
style=
"text-align: center;"
>
<strong>
{{
article
.
title
}}
</strong></h1>
<p
class=
"section--description"
style=
"text-align: center;"
>
{{
article
.
author
}}
</p>
<img
:src=
"article.cover"
style=
"width: 100%"
alt=
""
/>
</div>
</el-col>
</el-row>
...
...
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