搜索结果列表页面开发

This commit is contained in:
付民康
2025-03-12 18:41:20 +08:00
commit 7cebe8fc00
739 changed files with 88149 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<template>
<div class="inline-flex items-center">
<GAvatar :src="userImg" :name="userName" :width="imgSize" :height="imgSize" class="mr-2"></GAvatar>
<!-- disable状态才需要显示tooltip 所以!disabled状态需要disable toolitp -->
<!-- <d-tooltip :disabled="!disabled" content="非本系统用户无法跳转">-->
<GLink :to="goTo" :disabled="disabled">
{{ userName }}
</GLink>
<!-- </d-tooltip>-->
</div>
</template>
<script setup lang="ts">
import type { IUserLink } from '@/components/UserLInk/types';
defineProps<IUserLink>();
</script>

View File

@@ -0,0 +1,9 @@
import type { RouterLinkTo } from '../GLink/type';
export interface IUserLink{
userImg?: string;
imgSize?: number;
userName: string;
goTo: RouterLinkTo;
disabled?: boolean;
}