refactor Setting
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user