import { ActionSheet, ActionSheetAction, Cell, Grid, GridItem } from 'vant' import { computed, defineComponent, ref } from 'vue' import styles from '../index.module.less' import iconA from '../images/icon-photo.png' import iconArrow from '../images/icon-arrow.png' export default defineComponent({ name: 'subsidy-reward-detail', setup() { const actions = computed(() => { return [ { name: '全部声部', color: activeName.value == '全部声部' ? 'var(--van-primary-color)' : '' }, { name: '待审批', color: activeName.value == '待审批' ? 'var(--van-primary-color)' : '' }, { name: '已完成', color: activeName.value == '已完成' ? 'var(--van-primary-color)' : '' } ] }) const activeName = ref('全部声部') const show = ref(false) return () => (
{{ title: () => (
练习奖励
) }}
5元/人
补助标准
78
练习达标人数
240
实际奖励
(show.value = true)}> {activeName.value}
{[1, 2, 3].map((item: any) => { return ( {{ icon: , title: () => (
邓同学
), label: () => 长笛, value: () => (
40分钟
练习时长
) }}
) })}
{ activeName.value = action.name || '待审批' show.value = false }} >
) } })