import { defineComponent, PropType } from 'vue' import styles from './index.module.less' import { CellGroup, Sticky } from 'vant' import iconMoney from '../../images/icon-money.png' import ColResult from '@/components/col-result' import Echats from '../echats' import TeacherItem from '../teacher-item' import BuyItem from '../buy-item' export default defineComponent({ name: 'list', props: { type: { type: String as PropType< 'vip' | 'practice' | 'group' | 'live' | 'video' | 'music' >, default: 'vip' } }, setup(props) { return () => (
{/* */}
预计总收入
¥ 4260.00
{/*
*/}
实际收入将在课程结束2天后结算
{['vip', 'practice'].includes(props.type) && } {['group', 'live', 'video', 'music'].includes(props.type) && ( )} {/* */}
) } })