提交 a0dc3f7f authored 作者: lidongxu's avatar lidongxu

Merge branch 'help'

...@@ -14,21 +14,42 @@ ...@@ -14,21 +14,42 @@
<div class="right-menu"> <div class="right-menu">
<template v-if="appStore.device !== 'mobile'"> <template v-if="appStore.device !== 'mobile'">
<!-- 新版本 --> <!-- 新版本 -->
<div class="right-menu-item hover-effect new-version" <el-tooltip content="版本说明"
@click="showVersionFn"> effect="dark"
<svg-icon icon-class="new-version" /> placement="bottom">
</div> <div class="right-menu-item hover-effect new-version"
@click="showVersionFn">
<svg-icon icon-class="new-version" />
</div>
</el-tooltip>
<version-notice v-model="showVersionNoticeVisible" <version-notice v-model="showVersionNoticeVisible"
:nowVersion="nowVersion" :nowVersion="nowVersion"
:versionList="showVersionList" :versionList="showVersionList"
@confirm="saveNowVersion" /> @confirm="saveNowVersion" />
<header-search id="header-search" <el-tooltip content="帮助文档"
class="right-menu-item" /> effect="dark"
placement="bottom">
<div class="right-menu-item hover-effect question"
@click="handleHelpClick">
<svg-icon icon-class="question" />
</div>
</el-tooltip>
<screenfull id="screenfull" <el-tooltip content="搜索菜单"
class="right-menu-item hover-effect" /> effect="dark"
placement="bottom">
<header-search id="header-search"
class="right-menu-item" />
</el-tooltip>
<el-tooltip content="全屏模式"
effect="dark"
placement="bottom">
<screenfull id="screenfull"
class="right-menu-item hover-effect" />
</el-tooltip>
<el-tooltip content="主题模式" <el-tooltip content="主题模式"
effect="dark" effect="dark"
...@@ -131,6 +152,11 @@ const saveNowVersion = () => { ...@@ -131,6 +152,11 @@ const saveNowVersion = () => {
showVersionNoticeVisible.value = false showVersionNoticeVisible.value = false
} }
// 帮助文档跳转打开
const handleHelpClick = () => {
window.open('https://wangxiaolu.feishu.cn/docx/CHsWdujGroT3U8xwKmycnSWbnxh', '_blank')
}
function toggleSideBar() { function toggleSideBar() {
appStore.toggleSideBar() appStore.toggleSideBar()
} }
...@@ -219,6 +245,14 @@ function toggleTheme() { ...@@ -219,6 +245,14 @@ function toggleTheme() {
padding-top: 2px !important; padding-top: 2px !important;
} }
.question {
padding-top: 2px !important;
svg {
font-size: 22px;
}
}
&:focus { &:focus {
outline: none; outline: none;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论