mirror of
https://github.com/imsyy/home.git
synced 2025-05-19 20:50:14 +09:00
Merge 927aed041d
into 0b3844b1a7
This commit is contained in:
commit
070e62b29b
@ -37,6 +37,10 @@ VITE_SITE_START = "2020-10-24"
|
|||||||
## 若不需要,请设为空即可
|
## 若不需要,请设为空即可
|
||||||
VITE_SITE_ICP = "豫ICP备2022018134号-1"
|
VITE_SITE_ICP = "豫ICP备2022018134号-1"
|
||||||
|
|
||||||
|
# 公安网备 备案号
|
||||||
|
## 若不需要,请设为空即可
|
||||||
|
VITE_SITE_PSB = "公安网备XXXXXXXXXXX号"
|
||||||
|
|
||||||
# 歌曲 API 地址
|
# 歌曲 API 地址
|
||||||
## 请参照 https://github.com/xizeyoupan/Meting-API#deno-deploy 进行 API 服务部署
|
## 请参照 https://github.com/xizeyoupan/Meting-API#deno-deploy 进行 API 服务部署
|
||||||
## 此处提供的服务可能会超量从而无法访问,请自行部署
|
## 此处提供的服务可能会超量从而无法访问,请自行部署
|
||||||
|
7061
pnpm-lock.yaml
generated
7061
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
BIN
public/images/icon/phone.png
Normal file
BIN
public/images/icon/phone.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
BIN
public/images/icon/psb.png
Normal file
BIN
public/images/icon/psb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
public/images/icon/wechat.png
Normal file
BIN
public/images/icon/wechat.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
@ -5,8 +5,7 @@
|
|||||||
<span>
|
<span>
|
||||||
<span :class="startYear < fullYear ? 'c-hidden' : 'hidden'">Copyright </span>
|
<span :class="startYear < fullYear ? 'c-hidden' : 'hidden'">Copyright </span>
|
||||||
©
|
©
|
||||||
<span v-if="startYear < fullYear"
|
<span v-if="startYear < fullYear" class="site-start">
|
||||||
class="site-start">
|
|
||||||
{{ startYear }}
|
{{ startYear }}
|
||||||
-
|
-
|
||||||
</span>
|
</span>
|
||||||
@ -27,6 +26,15 @@
|
|||||||
{{ siteIcp }}
|
{{ siteIcp }}
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
|
<span>
|
||||||
|
<!-- 站点公安网备备案 -->
|
||||||
|
&
|
||||||
|
<a v-if="sitePsb" :href="`https://beian.mps.gov.cn/#/query/webSearch?code=${sitePsb.match(/\d+/)?.[0]}`"
|
||||||
|
target="_blank" rel="noopener noreferrer">
|
||||||
|
<img src="/public/images/icon/psb.png" style="height:20px;vertical-align:middle;margin-right:5px;">
|
||||||
|
{{ sitePsb }}
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="lrc">
|
<div v-else class="lrc">
|
||||||
<Transition name="fade" mode="out-in">
|
<Transition name="fade" mode="out-in">
|
||||||
@ -52,10 +60,11 @@ const fullYear = new Date().getFullYear();
|
|||||||
// 加载配置数据
|
// 加载配置数据
|
||||||
// const siteStartDate = ref(import.meta.env.VITE_SITE_START);
|
// const siteStartDate = ref(import.meta.env.VITE_SITE_START);
|
||||||
const startYear = ref(
|
const startYear = ref(
|
||||||
import.meta.env.VITE_SITE_START?.length >= 4 ?
|
import.meta.env.VITE_SITE_START?.length >= 4 ?
|
||||||
import.meta.env.VITE_SITE_START.substring(0, 4) : null
|
import.meta.env.VITE_SITE_START.substring(0, 4) : null
|
||||||
);
|
);
|
||||||
const siteIcp = ref(import.meta.env.VITE_SITE_ICP);
|
const siteIcp = ref(import.meta.env.VITE_SITE_ICP);
|
||||||
|
const sitePsb = ref(import.meta.env.VITE_SITE_PSB);
|
||||||
const siteAuthor = ref(import.meta.env.VITE_SITE_AUTHOR);
|
const siteAuthor = ref(import.meta.env.VITE_SITE_AUTHOR);
|
||||||
const siteUrl = computed(() => {
|
const siteUrl = computed(() => {
|
||||||
const url = import.meta.env.VITE_SITE_URL;
|
const url = import.meta.env.VITE_SITE_URL;
|
||||||
@ -82,24 +91,29 @@ const siteUrl = computed(() => {
|
|||||||
// 文字不换行
|
// 文字不换行
|
||||||
word-break: keep-all;
|
word-break: keep-all;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
||||||
.power {
|
.power {
|
||||||
animation: fade 0.3s;
|
animation: fade 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lrc {
|
.lrc {
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
.lrc-all {
|
.lrc-all {
|
||||||
width: 98%;
|
width: 98%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.lrc-text {
|
.lrc-text {
|
||||||
margin: 0 8px;
|
margin: 0 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.i-icon {
|
.i-icon {
|
||||||
width: 18px;
|
width: 18px;
|
||||||
height: 18px;
|
height: 18px;
|
||||||
@ -107,26 +121,32 @@ const siteUrl = computed(() => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.blur {
|
&.blur {
|
||||||
backdrop-filter: blur(10px);
|
backdrop-filter: blur(10px);
|
||||||
background: rgb(0 0 0 / 25%);
|
background: rgb(0 0 0 / 25%);
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fade-enter-active,
|
.fade-enter-active,
|
||||||
.fade-leave-active {
|
.fade-leave-active {
|
||||||
transition: opacity 0.15s ease-in-out;
|
transition: opacity 0.15s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 720px) {
|
@media (max-width: 720px) {
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
|
|
||||||
&.blur {
|
&.blur {
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 560px) {
|
@media (max-width: 560px) {
|
||||||
.c-hidden {
|
.c-hidden {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 480px) {
|
@media (max-width: 480px) {
|
||||||
.hidden {
|
.hidden {
|
||||||
display: none;
|
display: none;
|
||||||
|
Loading…
Reference in New Issue
Block a user