feat: 完善首页顶部交互

This commit is contained in:
duanshuwen
2025-11-13 17:54:35 +08:00
parent b2ad6403c1
commit 9749e20971

View File

@@ -12,10 +12,13 @@
></view>
<text
v-show="show"
class="font-size-14 font-500 color-171717 ml-10"
:class="{ 'text-animated': show }"
>沐沐</text
:class="[
'font-size-14 font-500 color-171717 ml-10',
{ 'text-animated': show },
]"
>
{{ config.name }}
</text>
</view>
<view class="w-24 h-24"></view>
@@ -34,10 +37,8 @@ const props = defineProps({
});
const show = ref(false);
const config = getCurrentConfig();
const getStyle = computed(() => {
const config = getCurrentConfig();
return {
"--ipSmallImageStep": config.ipSmallImageStep,
"--ipSmallImageHeight": config.ipSmallImageHeight,