This commit is contained in:
cxc
2022-10-31 17:46:09 +08:00
parent 652ce4c9d3
commit c2327f30cb
63 changed files with 1698 additions and 479 deletions

View File

@ -31,8 +31,8 @@
<script setup>
import wordcloud from "./wordcloud.vue";
import { useRouter } from "vue-router";
import { useRoute, useRouter } from "vue-router";
const route = useRoute();
const router = useRouter();
const props = defineProps({
data: {
@ -50,7 +50,13 @@ function createdData(arr) {
return l;
}
function handleDetail(id) {
let routeData = router.resolve({ path: `/searchList/1/detail/${id}` });
let routeData = router.resolve({
path: `/searchList/enterprise/detail/${id}`,
query: {
keyword: route.query.keyword,
queryType: route.query.queryType,
},
});
window.open(routeData.href, "_blank");
}
</script>
@ -62,7 +68,7 @@ function handleDetail(id) {
display: flex;
align-items: center;
justify-content: center;
img {
:deep(.el-image) {
width: 90px;
height: 90px;
border-radius: 50%;