mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-23 23:57:22 +08:00
🦄 refactor(样式): 修改样式 修改图片加载方式
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user