diff --git a/src/music.js b/src/music.js index 6677523..c75f685 100644 --- a/src/music.js +++ b/src/music.js @@ -250,10 +250,14 @@ export default class MusicList { maxWidth: '100%', }, children: [ - ...(item.picture ? [Img({ - src: item.picture, - style: { width: '2em', height: '2em', borderRadius: '.25em' } - })] : []), + //...(item.picture ? [Img({ + // src: item.picture, + // style: { width: '2em', height: '2em', borderRadius: '.25em' } + //})] : []), + Img({ + src: item.picture || 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7', + style: { width: '2em', height: '2em', borderRadius: '.25em', backgroundColor: '#eee' }, + }), Span({ style: { flex: 1,