可信代码库-软件列表软件详情可信度评分展示修改

This commit is contained in:
付民康
2025-07-05 15:49:34 +08:00
parent fda8f3abef
commit a22d909b3a
3 changed files with 69 additions and 15 deletions

View File

@@ -784,6 +784,7 @@ onUnmounted(() => {
:class="['login-modal', formType === 'login' ? 'login-modal-l' : 'login-modal-r']"
>
<template #default>
<div class="header-h1">国家可信开源代码库</div>
<iframe :src="`https://gitcode.com/${formType || 'login'}/?be_nested=1`"></iframe>
</template>
</Modal>
@@ -794,6 +795,22 @@ $active-title: var(--color-CG900);
$active-color: var(--color-CG800);
$inactive-title: var(--color-CG500);
$active-panel: var(--color-G800);
.header-h1 {
color: #252b3a;
letter-spacing: 0.5px;
line-height: 24px;
font-weight: 700;
font-size: 26px;
text-align: center;
margin-top: 24px;
*, :before, :after {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: #e5e7eb;
}
}
.login-modal-l iframe {
border: 0;
width: 100%;