mirror of
				https://github.com/continew-org/continew-admin-ui.git
				synced 2025-10-31 00:57:11 +08:00 
			
		
		
		
	style: 优化部分链接样式
This commit is contained in:
		| @@ -3,7 +3,18 @@ | |||||||
|     <a-avatar :size="24" shape="circle"> |     <a-avatar :size="24" shape="circle"> | ||||||
|       <img :src="props.avatar" alt="avatar" /> |       <img :src="props.avatar" alt="avatar" /> | ||||||
|     </a-avatar> |     </a-avatar> | ||||||
|     <a-link v-if="props.isLink" @click="emit('click')">{{ props.name }}</a-link> |     <a-link v-if="props.isLink" @click="emit('click')"> | ||||||
|  |       <a-typography-paragraph | ||||||
|  |         class="link-text" | ||||||
|  |         :ellipsis="{ | ||||||
|  |           rows: 1, | ||||||
|  |           showTooltip: true, | ||||||
|  |           css: true, | ||||||
|  |         }" | ||||||
|  |       > | ||||||
|  |         {{ props.name }} | ||||||
|  |       </a-typography-paragraph> | ||||||
|  |     </a-link> | ||||||
|     <span v-else>{{ props.name }}</span> |     <span v-else>{{ props.name }}</span> | ||||||
|   </a-space> |   </a-space> | ||||||
| </template> | </template> | ||||||
|   | |||||||
| @@ -302,6 +302,10 @@ defineExpose({ tableRef }) | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  |     :deep(.link-text.arco-typography) { | ||||||
|  |       color: rgb(var(--link-6)); | ||||||
|  |     } | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   &__header { |   &__header { | ||||||
|   | |||||||
| @@ -15,12 +15,12 @@ | |||||||
|         :xxl="8" |         :xxl="8" | ||||||
|         class="my-project-item" |         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> |           <div class="badge badge-right" :style="`background-color: ${item.statusColor}`">{{ item.status }}</div> | ||||||
|           <a :href="item.url" target="_blank"> |           <a :href="item.url" target="_blank"> | ||||||
|             <a-space direction="vertical"> |             <a-space direction="vertical"> | ||||||
|               <a-space> |               <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-typography-text bold>{{ item.name }}</a-typography-text> | ||||||
|               </a-space> |               </a-space> | ||||||
|               <a-typography-paragraph |               <a-typography-paragraph | ||||||
|   | |||||||
| @@ -36,7 +36,18 @@ | |||||||
|         </a-button> |         </a-button> | ||||||
|       </template> |       </template> | ||||||
|       <template #title="{ record }"> |       <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> | ||||||
|       <template #type="{ record }"> |       <template #type="{ record }"> | ||||||
|         <GiCellTag :value="record.type" :dict="notice_type" /> |         <GiCellTag :value="record.type" :dict="notice_type" /> | ||||||
|   | |||||||
| @@ -28,7 +28,18 @@ | |||||||
|         </a-button> |         </a-button> | ||||||
|       </template> |       </template> | ||||||
|       <template #name="{ record }"> |       <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> | ||||||
|       <template #dataScope="{ record }"> |       <template #dataScope="{ record }"> | ||||||
|         <GiCellTag :value="record.dataScope" :dict="data_scope_enum" /> |         <GiCellTag :value="record.dataScope" :dict="data_scope_enum" /> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user