刘光辉
10 小时以前 0dfe84494048ce27ba8449831782128412d3eb13
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<script lang="ts" setup>
interface Props {
  companyName?: string;
  companySiteLink?: string;
  date?: string;
  icp?: string;
  icpLink?: string;
}
 
defineOptions({
  name: 'Copyright',
});
 
withDefaults(defineProps<Props>(), {
  companyName: 'Jnpf',
  companySiteLink: '',
  date: '2026',
  icp: '',
  icpLink: '',
});
</script>
 
<template>
  <div class="text-md flex-center">
    <!-- ICP Link -->
    <a v-if="icp" :href="icpLink || 'javascript:void(0)'" class="hover:text-primary-hover mx-1" target="_blank">
      {{ icp }}
    </a>
 
    <!-- Copyright Text -->
    Copyright © {{ date }}
 
    <!-- Company Link -->
    <a v-if="companyName" :href="companySiteLink || 'javascript:void(0)'" class="hover:text-primary-hover mx-1" target="_blank">
      {{ companyName }}
    </a>
  </div>
</template>