Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-www-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-www-pc
Commits
c4b1680e
提交
c4b1680e
authored
5月 28, 2024
作者:
lhh
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
2c049f3c
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
20 行增加
和
9 行删除
+20
-9
Head.vue
components/Head.vue
+20
-9
没有找到文件。
components/Head.vue
浏览文件 @
c4b1680e
...
...
@@ -7,10 +7,11 @@
<img
:src=
"
$cookies.get('lang') == 'en-US'
? 'https://webapp-pub.
ezijing.com/www/pc
/en-logo.png'
: 'https://
zws-imgs-pub.ezijing.com/static/public/0411340f9306b908eda54b5d66668f50
.png'
? 'https://webapp-pub.
oss-cn-beijing.aliyuncs.com/www/pc/logo
/en-logo.png'
: 'https://
webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/logo/us-logo
.png'
"
@
click=
"goPage('/')"
/>
@
click=
"goPage('/')"
/>
</div>
<template
v-if=
"$route.path === '/roadmap'"
>
<client-only>
...
...
@@ -52,12 +53,14 @@
:class=
"$route.path === level2Item.path || level2Item.isShow ? 'li active' : 'li'"
:key=
"level2Index + 'level2'"
@
mouseenter=
"levelShow(level2Item)"
@
mouseleave=
"levelShow(level2Item, 'out')"
>
@
mouseleave=
"levelShow(level2Item, 'out')"
>
<div
@
click=
"goPage(level2Item.path, level2Item.pathType)"
class=
"name"
:class=
"isEn === true ? 'name1' : ''"
v-html=
"level2Item.name"
></div>
v-html=
"level2Item.name"
></div>
<div
class=
"el-icon-arrow-right"
v-if=
"level2Item.children"
></div>
</div>
</
template
>
...
...
@@ -68,12 +71,14 @@
:key=
"level2Index + 'two-level2'"
v-if=
"level2Item.isShow"
@
mouseenter=
"level3Show"
@
mouseleave=
"level3Show(level2Item, 'out')"
>
@
mouseleave=
"level3Show(level2Item, 'out')"
>
<div
@
click=
"goPage(level3Item.path, level3Item.pathType)"
:class=
"isEn === true ? 'name1' : 'name'"
v-for=
"(level3Item, level3Index) in level2Item.children"
:key=
"level3Index + level3Item"
>
:key=
"level3Index + level3Item"
>
{{
level3Item
.
name
}}
</div>
</div>
...
...
@@ -594,10 +599,16 @@ export default {
return
this
.
$store
.
state
.
user
||
{}
},
loginURL
()
{
return
process
.
client
?
`
${
process
.
env
.
loginURL
}
/login/index?redirect_uri=
${
encodeURIComponent
(
location
.
origin
+
this
.
$route
.
fullPath
)}
`
:
''
return
process
.
client
?
`
${
process
.
env
.
loginURL
}
/login/index?redirect_uri=
${
encodeURIComponent
(
location
.
origin
+
this
.
$route
.
fullPath
)}
`
:
''
},
registerURL
()
{
return
process
.
client
?
`
${
process
.
env
.
loginURL
}
/register?redirect_uri=
${
encodeURIComponent
(
location
.
origin
+
this
.
$route
.
fullPath
)}
`
:
''
return
process
.
client
?
`
${
process
.
env
.
loginURL
}
/register?redirect_uri=
${
encodeURIComponent
(
location
.
origin
+
this
.
$route
.
fullPath
)}
`
:
''
}
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论