Skip to content

Commit

Permalink
fix: 修正超链接样式
Browse files Browse the repository at this point in the history
  • Loading branch information
若海 committed Nov 25, 2023
1 parent b68021f commit 33fc539
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
12 changes: 6 additions & 6 deletions src/apps/layout/footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ export default class LayoutFooter extends Vue {
<template>
<div class="copyright">
<t-space :size="4" separator="">
<a :href="layout.Copylink" target="_blank" hover="color">
<t-link :href="layout.Copylink" target="_blank">
{{ layout.Copytext }}
</a>
<a v-if="layout.IcpCode" href="https://beian.miit.gov.cn/" target="_blank" hover="color">
</t-link>
<t-link v-if="layout.IcpCode" href="https://beian.miit.gov.cn/" target="_blank">
{{ layout.IcpCode }}
</a>
<a href="https://cloud.opentdp.org/" target="_blank" hover="color">
</t-link>
<t-link href="https://cloud.opentdp.org/" target="_blank">
Cloud {{ layout.Version ? "v" + layout.Version : "" }}
</a>
</t-link>
</t-space>
</div>
</template>
Expand Down
4 changes: 2 additions & 2 deletions src/apps/layout/sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@ const menuItems: MenuItem[] = [
<template>
<t-menu v-model:expanded="expanded" :value="$route.path" :collapsed="layout.Collapse">
<template #logo>
<a class="logo" href="/" :title="layout.SiteName">
<t-link class="logo" href="/" :title="layout.SiteName" hover="color">
<img :src="layout.Collapse ? layout.SiteIcon : layout.SiteLogo">
</a>
</t-link>
</template>
<template v-for="item in items">
<template v-if="item.subs">
Expand Down
12 changes: 6 additions & 6 deletions src/apps/passport/login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ export default class PassportLogin extends Vue {
</t-content>
<t-footer class="copyright">
<t-space :size="4" separator="">
<a :href="layout.Copylink" target="_blank" hover="color">
<t-link :href="layout.Copylink" target="_blank">
{{ layout.Copytext }}
</a>
<a v-if="layout.IcpCode" href="https://beian.miit.gov.cn/" target="_blank" hover="color">
</t-link>
<t-link v-if="layout.IcpCode" href="https://beian.miit.gov.cn/" target="_blank">
{{ layout.IcpCode }}
</a>
<a href="https://cloud.opentdp.org/" target="_blank" hover="color">
</t-link>
<t-link href="https://cloud.opentdp.org/" target="_blank">
Cloud {{ layout.Version ? "v" + layout.Version : "" }}
</a>
</t-link>
</t-space>
</t-footer>
</t-layout>
Expand Down
12 changes: 6 additions & 6 deletions src/apps/passport/register.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,15 @@ export default class PassportRegister extends Vue {
</t-content>
<t-footer class="copyright">
<t-space :size="4" separator="">
<a :href="layout.Copylink" target="_blank" hover="color">
<t-link :href="layout.Copylink" target="_blank">
{{ layout.Copytext }}
</a>
<a v-if="layout.IcpCode" href="https://beian.miit.gov.cn/" target="_blank" hover="color">
</t-link>
<t-link v-if="layout.IcpCode" href="https://beian.miit.gov.cn/" target="_blank">
{{ layout.IcpCode }}
</a>
<a href="https://cloud.opentdp.org/" target="_blank" hover="color">
</t-link>
<t-link href="https://cloud.opentdp.org/" target="_blank">
Cloud {{ layout.Version ? "v" + layout.Version : "" }}
</a>
</t-link>
</t-space>
</t-footer>
</t-layout>
Expand Down

0 comments on commit 33fc539

Please sign in to comment.