chore: 🎨 format
This commit is contained in:
parent
cf3c3e8234
commit
3d8fe32ef4
6 changed files with 11 additions and 9 deletions
|
@ -67,9 +67,8 @@ function chosen(emoji: any) {
|
||||||
function opening() {
|
function opening() {
|
||||||
try {
|
try {
|
||||||
picker.value?.reset();
|
picker.value?.reset();
|
||||||
}
|
} catch (e) {
|
||||||
catch (e) {
|
console.error(`Something's wrong with restting the emoji picker: ${e}`);
|
||||||
console.error(`Something's wrong with restting the emoji picker: ${e}`)
|
|
||||||
}
|
}
|
||||||
picker.value?.focus();
|
picker.value?.focus();
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,12 +53,12 @@ const props = defineProps<{
|
||||||
const pagingComponent = ref<InstanceType<typeof MkPagination>>();
|
const pagingComponent = ref<InstanceType<typeof MkPagination>>();
|
||||||
|
|
||||||
function scrollTop() {
|
function scrollTop() {
|
||||||
scroll(tlEl.value, { top: 0, behavior: 'smooth' })
|
scroll(tlEl.value, { top: 0, behavior: "smooth" });
|
||||||
}
|
}
|
||||||
|
|
||||||
defineExpose({
|
defineExpose({
|
||||||
pagingComponent,
|
pagingComponent,
|
||||||
scrollTop
|
scrollTop,
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
ref="tlComponent"
|
ref="tlComponent"
|
||||||
:no-gap="!$store.state.showGapBetweenNotesInTimeline"
|
:no-gap="!$store.state.showGapBetweenNotesInTimeline"
|
||||||
:pagination="pagination"
|
:pagination="pagination"
|
||||||
@queue="(x) => queue = x"
|
@queue="(x) => (queue = x)"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,9 @@
|
||||||
<div
|
<div
|
||||||
ref="bannerEl"
|
ref="bannerEl"
|
||||||
class="banner"
|
class="banner"
|
||||||
:style="{ backgroundImage: `url('${user.bannerUrl}')` }"
|
:style="{
|
||||||
|
backgroundImage: `url('${user.bannerUrl}')`,
|
||||||
|
}"
|
||||||
></div>
|
></div>
|
||||||
<div class="fade"></div>
|
<div class="fade"></div>
|
||||||
<div class="title">
|
<div class="title">
|
||||||
|
@ -510,7 +512,7 @@ onUnmounted(() => {
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
filter: blur(12px) opacity(.1);
|
filter: blur(12px) opacity(0.1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -92,6 +92,7 @@ const monthP = ref(0);
|
||||||
const dayP = ref(0);
|
const dayP = ref(0);
|
||||||
const isHoliday = ref(false);
|
const isHoliday = ref(false);
|
||||||
const isBirthday = ref(false);
|
const isBirthday = ref(false);
|
||||||
|
|
||||||
const tick = () => {
|
const tick = () => {
|
||||||
const now = new Date();
|
const now = new Date();
|
||||||
const nd = now.getDate();
|
const nd = now.getDate();
|
||||||
|
|
Loading…
Reference in a new issue