Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
cc2ab1fd
提交
cc2ab1fd
authored
2月 24, 2022
作者:
pengxiaohui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
增加官网链接
上级
1687d3b5
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
40 行增加
和
16 行删除
+40
-16
Header.vue
components/layout/h5/Header.vue
+6
-3
Head.vue
components/layout/pc/Head.vue
+34
-13
没有找到文件。
components/layout/h5/Header.vue
浏览文件 @
cc2ab1fd
...
...
@@ -3,8 +3,8 @@
<header
class=
"main-header"
>
<template
v-if=
"!searchVisible"
>
<div
class=
"logo-box"
>
<img
@
click=
"goWebsite"
src=
"http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/ezijing/logo/ezijing-logo.svg"
/>
<nuxt-link
to=
"/"
class=
"logo"
>
<img
src=
"http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/ezijing/logo/ezijing-logo.svg"
/>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/seg-shms/seg-shms-logo.png"
/>
</nuxt-link>
</div>
...
...
@@ -54,6 +54,9 @@ export default {
}
},
methods
:
{
goWebsite
()
{
window
.
location
.
href
=
'http://www.ezijing.com'
},
toggleSearch
()
{
this
.
$store
.
commit
(
'toggleMenu'
,
false
)
this
.
$store
.
commit
(
'toggleSearch'
,
!
this
.
searchVisible
)
...
...
@@ -95,8 +98,8 @@ export default {
height
:
0
.26rem
;
cursor
:
pointer
;
display
:
block
;
&
:nth-child
(
2
)
{
margin-
lef
t
:
0
.1rem
;
&
:nth-child
(
1
)
{
margin-
righ
t
:
0
.1rem
;
}
}
}
...
...
components/layout/pc/Head.vue
浏览文件 @
cc2ab1fd
...
...
@@ -3,10 +3,17 @@
<div
class=
"color-bar"
></div>
<div
class=
"head-top-content"
>
<div
class=
"max-width-content"
>
<nuxt-link
to=
"/"
>
<
!--
<
nuxt-link
to=
"/"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/ciis/ezijing-logo.png"
/>
<img
style=
"margin-left:20px"
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/seg-shms/seg-shms-logos.png"
/>
</nuxt-link>
</nuxt-link>
-->
<div
class=
"logo-box"
>
<img
@
click=
"goWebsite"
src=
"http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/ezijing/logo/ezijing-logo.svg"
/>
<nuxt-link
to=
"/"
class=
"logo"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/seg-shms/seg-shms-logos.png"
/>
</nuxt-link>
</div>
<div
class=
"user"
v-if=
"user.id"
>
<span>
{{
user
.
realname
||
user
.
nickname
}}
</span
><em>
|
</em><span
class=
"logout"
@
click=
"logout"
>
{{
$t
(
'menu.out'
)
}}
</span>
...
...
@@ -40,6 +47,9 @@ export default {
return
{}
},
methods
:
{
goWebsite
()
{
window
.
location
.
href
=
'http://www.ezijing.com'
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
...
...
@@ -91,17 +101,28 @@ li {
.max-width-content
{
display
:
flex
;
align-items
:
center
;
::v-deep
{
a
{
display
:
flex
;
img
{
height
:
55px
;
cursor
:
pointer
;
display
:
block
;
}
img
:first-child
{
margin-right
:
10px
;
}
// ::v-deep {
// a {
// display: flex;
// img {
// height: 55px;
// cursor: pointer;
// display: block;
// }
// img:first-child {
// margin-right: 10px;
// }
// }
// }
.logo-box
{
display
:flex
;
img
{
height
:
55px
;
cursor
:
pointer
;
display
:
block
;
}
img
:first-child
{
margin-right
:
30px
;
}
}
.user
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论