距离院校新样式

This commit is contained in:
A1300399510
2024-04-12 16:34:08 +08:00
parent 085317f790
commit 03bcc9fe9b
19 changed files with 393 additions and 82 deletions

View File

@@ -131,6 +131,9 @@ let props = defineProps({
type: Boolean,
default: false,
},
school: {
type: String,
},
})
let data = reactive({ data: {} })
//显示样式
@@ -170,8 +173,9 @@ let watchInfo = () => {
store.state.seachSelect["seachPage"][key] = seachData[key]
}
}
// console.log(document.location.origin)
window.open(`${document.location.origin}/detail?id=${data.data.uniqid}`)
let url = `${document.location.origin}/detail?id=${data.data.uniqid}`
if (props.school) url += `&school=${props.school}`
window.open(url)
}
onMounted(() => {