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