Commit 8fcc684b by lijiabin

【需求 25171】 feat:加入文化手册

parent a1da6bbf
...@@ -55,6 +55,26 @@ ...@@ -55,6 +55,26 @@
</div> </div>
</RewardButton> </RewardButton>
<el-tooltip content="点击此处查看/下载最新版企业文化文件" placement="bottom">
<a
:href="cultureManualUrl"
target="_blank"
rel="noopener noreferrer"
class="group flex items-center cursor-pointer px-2 py-1 sm:px-3 sm:py-2 rounded-lg text-gray-700 no-underline transition-all duration-200 hover:shadow-lg hover:bg-white/60"
>
<img
class="w-7.5 h-7.5 object-contain flex-shrink-0 transition-transform duration-200 group-hover:scale-105"
src="@/assets/img/culture/culture_manual.png"
alt="文化手册"
/>
<span
class="ml-2 text-sm whitespace-nowrap hidden lg:inline transition-all duration-200 ease-out group-hover:translate-y--0.5"
>
文化手册
</span>
</a>
</el-tooltip>
<div <div
v-if="!isWareHouse" v-if="!isWareHouse"
class="group flex items-center cursor-pointer px-2 py-1 sm:px-3 sm:py-2 rounded-lg transition-all duration-200 hover:shadow-lg hover:bg-white/60" class="group flex items-center cursor-pointer px-2 py-1 sm:px-3 sm:py-2 rounded-lg transition-all duration-200 hover:shadow-lg hover:bg-white/60"
...@@ -185,6 +205,8 @@ const isHomePage = computed(() => route.path.includes('/homePage')) ...@@ -185,6 +205,8 @@ const isHomePage = computed(() => route.path.includes('/homePage'))
const search = ref('') const search = ref('')
const showSearchInupt = computed(() => route.path !== '/searchPage') const showSearchInupt = computed(() => route.path !== '/searchPage')
const cultureManualUrl =
'http://oatest.yswg.com.cn/oa-nas/OA/readName/pdf/2026/09/15/Common/1789437785012.pdf'
// 获取二级路由的 key // 获取二级路由的 key
const getSecondLevelKey = (route: RouteLocationNormalizedLoadedGeneric) => { const getSecondLevelKey = (route: RouteLocationNormalizedLoadedGeneric) => {
// 取第一级作为key homePage // 取第一级作为key homePage
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment