|
@@ -97,12 +97,22 @@
|
|
|
<div class="mt-auto flex items-center gap-4">
|
|
|
<div class="grid flex-1 grid-cols-2 gap-4">
|
|
|
<div
|
|
|
+ v-if="
|
|
|
+ AppStore.hasPermission(
|
|
|
+ 'd8b2a8e5-d087-4722-b833-7b7e10df0ec0',
|
|
|
+ )
|
|
|
+ "
|
|
|
class="__hover col-span-1 flex h-7 items-center justify-center rounded-sm bg-linear-to-br from-[#1B69FE] to-[#719CF4] text-xs text-[#ffffff]"
|
|
|
@click="toHot(item)"
|
|
|
>
|
|
|
立即体验
|
|
|
</div>
|
|
|
<div
|
|
|
+ v-if="
|
|
|
+ AppStore.hasPermission(
|
|
|
+ '083e7fdd-d7e6-4712-84fa-865e12458de2',
|
|
|
+ )
|
|
|
+ "
|
|
|
class="__hover col-span-1 flex h-7 items-center justify-center rounded-sm border-1 border-[#2F82FF] text-xs text-[#2F82FF]"
|
|
|
@click="
|
|
|
$router.push({
|
|
@@ -325,11 +335,12 @@ import {
|
|
|
modelManageCollectInfo,
|
|
|
modelManageGetModelManageByPage,
|
|
|
} from '@/api/modules/center/square'
|
|
|
-import { useDictionaryStore } from '@/stores'
|
|
|
+import { useAppStore, useDictionaryStore } from '@/stores'
|
|
|
import { ElMessage } from 'element-plus'
|
|
|
import { useRouter } from 'vue-router'
|
|
|
|
|
|
const DictionaryStore = useDictionaryStore()
|
|
|
+const AppStore = useAppStore()
|
|
|
const router = useRouter()
|
|
|
const emit = defineEmits([])
|
|
|
const props = defineProps({})
|