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