🦄 refactor(样式): 修改样式 修改图片加载方式

This commit is contained in:
algerkc@qq.com
2023-12-15 14:24:58 +08:00
parent 4f7d066376
commit 086bbb8958
13 changed files with 126 additions and 49 deletions
+5 -2
View File
@@ -1,8 +1,10 @@
<template>
<div class="recommend-music-list-item">
<img
:src="item.picUrl + '?param=200y200'"
<n-image
:src="getImgUrl( item.picUrl, '200y200')"
class="recommend-music-list-item-img"
lazy
preview-disabled
/>
<div class="recommend-music-list-item-content">
<div class="recommend-music-list-item-content-title">
@@ -43,6 +45,7 @@
import { useStore } from 'vuex'
import type { SongResult } from '@/type/music'
import { computed } from 'vue'
import { getImgUrl } from '@/utils'
const props = defineProps({
item: {