|
@@ -43,6 +43,7 @@ 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'
|
|
import { usePermissions } from '../../../../composables/permissions'
|
|
|
|
+import { useAnalysis } from '@/composables/analysis'
|
|
const themeVars = ref<ConfigProviderThemeVars>({
|
|
const themeVars = ref<ConfigProviderThemeVars>({
|
|
tableBorderColor: 'white',
|
|
tableBorderColor: 'white',
|
|
tabsNavLineBgColor: 'white',
|
|
tabsNavLineBgColor: 'white',
|
|
@@ -50,6 +51,7 @@ const themeVars = ref<ConfigProviderThemeVars>({
|
|
})
|
|
})
|
|
const router = useRouter()
|
|
const router = useRouter()
|
|
const { clickByPermission } = usePermissions()
|
|
const { clickByPermission } = usePermissions()
|
|
|
|
+const { option } = useAnalysis(true, false)
|
|
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: '游学' })
|
|
@@ -182,6 +184,9 @@ onLoad(async (query: { id: string; type: 'activity' | 'studyTour' }) => {
|
|
signUpsReq.value = () => getStudyTourSignups({ studyId: id.value })
|
|
signUpsReq.value = () => getStudyTourSignups({ studyId: id.value })
|
|
}
|
|
}
|
|
await setData()
|
|
await setData()
|
|
|
|
+ option.value = {
|
|
|
|
+ remark: `最近浏览${{ activity: '活动', studyTour: '游学' }[type.value]}: ${data.value.name}`,
|
|
|
|
+ }
|
|
const { path } = await uni.getImageInfo({ src: data.value.backgroundUrl })
|
|
const { path } = await uni.getImageInfo({ src: data.value.backgroundUrl })
|
|
const ctx = uni.createCanvasContext('firstCanvas')
|
|
const ctx = uni.createCanvasContext('firstCanvas')
|
|
uni
|
|
uni
|