style: 添加常见问题链接

This commit is contained in:
kailong321200875 2023-12-26 11:04:14 +08:00
parent 608bf50e1c
commit 16b93757d3
2 changed files with 13 additions and 11 deletions

View File

@ -4,7 +4,7 @@ import { useAppStore } from '@/store/modules/app'
import { ConfigGlobal } from '@/components/ConfigGlobal' import { ConfigGlobal } from '@/components/ConfigGlobal'
import { useDesign } from '@/hooks/web/useDesign' import { useDesign } from '@/hooks/web/useDesign'
import { useDark } from '@vueuse/core' import { useDark } from '@vueuse/core'
// import { ElNotification } from 'element-plus' import { ElNotification } from 'element-plus'
const { getPrefixCls } = useDesign() const { getPrefixCls } = useDesign()
@ -22,14 +22,14 @@ const isDark = useDark({
}) })
isDark.value = appStore.getIsDark isDark.value = appStore.getIsDark
// ElNotification({ ElNotification({
// title: '', title: '提示',
// type: 'warning', type: 'warning',
// duration: 0, duration: 0,
// dangerouslyUseHTMLString: true, dangerouslyUseHTMLString: true,
// message: message:
// '<div><p><strong></strong></p><p><a href="https://www.baidu.com" target="_blank"></a></p></div>' '<div><p><strong>遇事不决,请先查阅常见问题,说不定你能找到相关解答</strong></p><p><a href="https://element-plus-admin-doc.cn/guide/fqa.html" target="_blank">链接地址</a></p></div>'
// }) })
</script> </script>
<template> <template>

View File

@ -50,14 +50,16 @@ const getIconifyStyle = computed(() => {
.@{prefix-cls} { .@{prefix-cls} {
:deep(svg) { :deep(svg) {
&:hover { &:hover {
color: v-bind(hovercolor) !important; // stylelint-disable-next-line
color: v-bind(hoverColor) !important;
} }
} }
} }
.iconify { .iconify {
&:hover { &:hover {
color: v-bind(hovercolor) !important; // stylelint-disable-next-line
color: v-bind(hoverColor) !important;
} }
} }
</style> </style>