mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-11-11 12:57:10 +08:00
style: 优化部分链接样式
This commit is contained in:
@@ -15,12 +15,12 @@
|
||||
:xxl="8"
|
||||
class="my-project-item"
|
||||
>
|
||||
<a-card style="min-height: 204px" :bordered="true" hoverable>
|
||||
<a-card style="min-height: 204px; max-height: 204px" :bordered="true" hoverable>
|
||||
<div class="badge badge-right" :style="`background-color: ${item.statusColor}`">{{ item.status }}</div>
|
||||
<a :href="item.url" target="_blank">
|
||||
<a-space direction="vertical">
|
||||
<a-space>
|
||||
<img :src="item.logo" width="30px" alt="logo" />
|
||||
<a-image :src="item.logo" width="30px" alt="logo" />
|
||||
<a-typography-text bold>{{ item.name }}</a-typography-text>
|
||||
</a-space>
|
||||
<a-typography-paragraph
|
||||
|
||||
@@ -36,7 +36,18 @@
|
||||
</a-button>
|
||||
</template>
|
||||
<template #title="{ record }">
|
||||
<a-link @click="onDetail(record)">{{ record.title }}</a-link>
|
||||
<a-link @click="onDetail(record)">
|
||||
<a-typography-paragraph
|
||||
class="link-text"
|
||||
:ellipsis="{
|
||||
rows: 1,
|
||||
showTooltip: true,
|
||||
css: true,
|
||||
}"
|
||||
>
|
||||
{{ record.title }}
|
||||
</a-typography-paragraph>
|
||||
</a-link>
|
||||
</template>
|
||||
<template #type="{ record }">
|
||||
<GiCellTag :value="record.type" :dict="notice_type" />
|
||||
|
||||
@@ -28,7 +28,18 @@
|
||||
</a-button>
|
||||
</template>
|
||||
<template #name="{ record }">
|
||||
<a-link @click="onDetail(record)">{{ record.name }}</a-link>
|
||||
<a-link @click="onDetail(record)">
|
||||
<a-typography-paragraph
|
||||
class="link-text"
|
||||
:ellipsis="{
|
||||
rows: 1,
|
||||
showTooltip: true,
|
||||
css: true,
|
||||
}"
|
||||
>
|
||||
{{ record.name }}
|
||||
</a-typography-paragraph>
|
||||
</a-link>
|
||||
</template>
|
||||
<template #dataScope="{ record }">
|
||||
<GiCellTag :value="record.dataScope" :dict="data_scope_enum" />
|
||||
|
||||
Reference in New Issue
Block a user