|
@@ -42,12 +42,14 @@ import ImageEvo from '@/components/image-evo.vue'
|
|
import TooltipEvo from '@/components/tooltip-evo.vue'
|
|
import TooltipEvo from '@/components/tooltip-evo.vue'
|
|
import ActivityAsOf from '../../components/activity-as-of.vue'
|
|
import ActivityAsOf from '../../components/activity-as-of.vue'
|
|
import images from '@designer-hub/assets/src/libs/assets/images'
|
|
import images from '@designer-hub/assets/src/libs/assets/images'
|
|
|
|
+import { usePermissions } from '../../../../composables/permissions'
|
|
const themeVars = ref<ConfigProviderThemeVars>({
|
|
const themeVars = ref<ConfigProviderThemeVars>({
|
|
tableBorderColor: 'white',
|
|
tableBorderColor: 'white',
|
|
tabsNavLineBgColor: 'white',
|
|
tabsNavLineBgColor: 'white',
|
|
tabsNavColor: 'white',
|
|
tabsNavColor: 'white',
|
|
})
|
|
})
|
|
const router = useRouter()
|
|
const router = useRouter()
|
|
|
|
+const { clickByPermission } = usePermissions()
|
|
const id = ref()
|
|
const id = ref()
|
|
const type = ref<'activity' | 'studyTour'>()
|
|
const type = ref<'activity' | 'studyTour'>()
|
|
const activityTypes = ref({ activity: '活动', studyTour: '游学' })
|
|
const activityTypes = ref({ activity: '活动', studyTour: '游学' })
|
|
@@ -431,7 +433,7 @@ onShareTimeline(() => ({ title: data.value.name, imageUrl: data.value.thumbnailU
|
|
:content="`还差${difference}积分`"
|
|
:content="`还差${difference}积分`"
|
|
:model-value="status === 'runing' && difference > 0"
|
|
:model-value="status === 'runing' && difference > 0"
|
|
>
|
|
>
|
|
- <div @click="show = true">
|
|
|
|
|
|
+ <div @click="clickByPermission('exchange', () => (show = true))">
|
|
<ButtonEvo>{{ data?.ifSingnUp ? '已报名' : '立即报名' }}</ButtonEvo>
|
|
<ButtonEvo>{{ data?.ifSingnUp ? '已报名' : '立即报名' }}</ButtonEvo>
|
|
</div>
|
|
</div>
|
|
</TooltipEvo>
|
|
</TooltipEvo>
|