import { defineComponent,reactive } from 'vue' import icon from '../videoDetailItem/images/icon.png' import classes from './index.module.less' import detaile from './images/detaile.png' import music from './images/music.png' import arrow from './images/arrow.png' type Props = { addName: String addUserAvatar: String musicSheetName: String subjectNames: String composer: String chargeType: String } const chargeTypes = { CHARGE: '点播', FREE: '免费', VIP: 'VIP' } export default defineComponent({ name: 'musicLIstItem', props: { item: { type: Object as () => Props, default: () => ({}) } }, setup(props: any) { const item = props.item return () => (

{item.musicSheetName} 作曲: {item.composer}

{item.addName}
{item.subjectNames}
{/*
圆号
*/}
{chargeTypes[item.chargeType]}
) } })