refactor Setting

This commit is contained in:
Timi
2026-04-30 11:04:28 +08:00
parent 28f0eabff2
commit ff3297e879
15 changed files with 239 additions and 231 deletions
+9 -3
View File
@@ -1,5 +1,5 @@
<template>
<div class="tui-copyright">
<div class="tui-copyright" :class="{ 'background': background }">
<p v-text="text"></p>
<p v-if="icp" class="selectable">
<a href="https://beian.miit.gov.cn/" v-text="icp" :title="icp" target="_blank"></a>
@@ -21,8 +21,10 @@ withDefaults(defineProps<{
domain?: string;
author?: string;
text?: string;
background?: boolean;
}>(), {
text: "朝朝频顾惜,夜夜不相忘"
text: "朝朝频顾惜,夜夜不相忘",
background: false,
});
</script>
@@ -33,7 +35,11 @@ withDefaults(defineProps<{
padding: 1rem 0 3rem 0;
font-size: 13px;
text-align: center;
background: url("assets/bottom.png") repeat-x left bottom;
&.background {
padding: 1rem 0;
background: url("assets/bottom.png") repeat-x left bottom;
}
p {
margin: 0;