|
@@ -8,6 +8,8 @@ import { state } from '@/state'
|
|
|
import request from '@/helpers/request'
|
|
|
import ColShare from '@/components/col-share'
|
|
|
import MusicIcon from '../../list/icons/music-icon.png'
|
|
|
+import collection_active from '../images/collection_active.png'
|
|
|
+import collection from '../images/collection.png'
|
|
|
export const getAssetsHomeFile = (fileName: string) => {
|
|
|
const path = `../images/${fileName}`
|
|
|
const modules = import.meta.globEager('../images/*')
|
|
@@ -178,6 +180,7 @@ export default defineComponent({
|
|
|
)
|
|
|
}}
|
|
|
/>
|
|
|
+
|
|
|
{state.platformType === 'STUDENT' && (
|
|
|
<Cell
|
|
|
border={false}
|
|
@@ -191,8 +194,8 @@ export default defineComponent({
|
|
|
<Image
|
|
|
src={
|
|
|
moreData.value.favorite
|
|
|
- ? getAssetsHomeFile('collection_active.png')
|
|
|
- : getAssetsHomeFile('collection.png')
|
|
|
+ ? collection_active
|
|
|
+ : collection
|
|
|
}
|
|
|
/>
|
|
|
</div>
|