Skip to content

Commit

Permalink
style: 添加常见问题链接
Browse files Browse the repository at this point in the history
  • Loading branch information
kailong321200875 committed Dec 26, 2023
1 parent 608bf50 commit 16b9375
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
18 changes: 9 additions & 9 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useAppStore } from '@/store/modules/app'
import { ConfigGlobal } from '@/components/ConfigGlobal'
import { useDesign } from '@/hooks/web/useDesign'
import { useDark } from '@vueuse/core'
// import { ElNotification } from 'element-plus'
import { ElNotification } from 'element-plus'
const { getPrefixCls } = useDesign()
Expand All @@ -22,14 +22,14 @@ const isDark = useDark({
})
isDark.value = appStore.getIsDark
// ElNotification({
// title: '提示',
// type: 'warning',
// duration: 0,
// dangerouslyUseHTMLString: true,
// message:
// '<div><p><strong>遇事不决,请先查阅常见问题,说不定你能找到相关解答</strong></p><p><a href="https://www.baidu.com" target="_blank">链接地址</a></p></div>'
// })
ElNotification({
title: '提示',
type: 'warning',
duration: 0,
dangerouslyUseHTMLString: true,
message:
'<div><p><strong>遇事不决,请先查阅常见问题,说不定你能找到相关解答</strong></p><p><a href="https://element-plus-admin-doc.cn/guide/fqa.html" target="_blank">链接地址</a></p></div>'
})
</script>

<template>
Expand Down
6 changes: 4 additions & 2 deletions src/components/Icon/src/Icon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,16 @@ const getIconifyStyle = computed(() => {
.@{prefix-cls} {
:deep(svg) {
&:hover {
color: v-bind(hovercolor) !important;
// stylelint-disable-next-line
color: v-bind(hoverColor) !important;
}
}
}
.iconify {
&:hover {
color: v-bind(hovercolor) !important;
// stylelint-disable-next-line
color: v-bind(hoverColor) !important;
}
}
</style>

0 comments on commit 16b9375

Please sign in to comment.