feat: 完善首页顶部交互
This commit is contained in:
@@ -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 getStyle = computed(() => {
|
||||
const config = getCurrentConfig();
|
||||
|
||||
const getStyle = computed(() => {
|
||||
return {
|
||||
"--ipSmallImageStep": config.ipSmallImageStep,
|
||||
"--ipSmallImageHeight": config.ipSmallImageHeight,
|
||||
|
||||
Reference in New Issue
Block a user