mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-23 23:57:22 +08:00
🦄 refactor(样式): 修改样式 修改图片加载方式
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
:key="item.id"
|
||||
>
|
||||
<div
|
||||
:style="setBackgroundImg(item.picUrl + '?param=500y500')"
|
||||
:style="setBackgroundImg(getImgUrl(item.picUrl,'300y300'))"
|
||||
class="recommend-singer-item-bg"
|
||||
></div>
|
||||
<div
|
||||
@@ -31,7 +31,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { setBackgroundImg, setAnimationDelay, setAnimationClass } from "@/utils";
|
||||
import { setBackgroundImg, setAnimationDelay, setAnimationClass,getImgUrl } from "@/utils";
|
||||
import { onMounted, ref } from "vue";
|
||||
import { getHotSinger } from "@/api/home";
|
||||
import type { IHotSinger } from "@/type/singer";
|
||||
|
||||
Reference in New Issue
Block a user