一些显示问题修复
This commit is contained in:
@@ -39,7 +39,7 @@ const options = (x: any, y: any, color = '#2070F3') => {
|
||||
data: x,
|
||||
axisLabel: {
|
||||
interval: 0, // 强制显示所有标签
|
||||
rotate: 45, // 如果标签过长,可以旋转标签
|
||||
// rotate: 45, // 如果标签过长,可以旋转标签
|
||||
fontSize: 12 // 调整字体大小
|
||||
}
|
||||
},
|
||||
|
||||
@@ -37,7 +37,8 @@
|
||||
<d-row class="mb-3">
|
||||
<d-col :span="8">
|
||||
<span class="card-key width-110">集成风险</span>
|
||||
<span class="card-val">{{ ReleaseInfo.referenceInfo.integrationRisk || '--' }}</span>
|
||||
<d-tag color="#F6933B">{{ jcfxList[ReleaseInfo.referenceInfo.integrationRisk || ReleaseInfo.basicInfo.integrationRiskLevel] || '--' }}</d-tag>
|
||||
<!-- <span class="card-val">{{ ReleaseInfo.referenceInfo.integrationRisk || ReleaseInfo.basicInfo.integrationRisk || '--' }}</span>-->
|
||||
</d-col>
|
||||
<d-col :span="8">
|
||||
<span class="card-key width-110">代码量(L)</span>
|
||||
@@ -67,25 +68,19 @@
|
||||
<d-row class="mb-3">
|
||||
<d-col :span="24">
|
||||
<span class="card-key width-140">源码下载包地址</span>
|
||||
<a class="card-url" :href="ReleaseInfo.referenceInfo.sourceCodeDownloadUrl || '--'">{{
|
||||
ReleaseInfo.referenceInfo.sourceCodeDownloadUrl || '--'
|
||||
}}</a>
|
||||
<a class="card-url" :href="ReleaseInfo.referenceInfo.sourceCodeDownloadUrl || '--'">{{ ReleaseInfo.referenceInfo.sourceCodeDownloadUrl || ReleaseInfo.basicInfo.sourceDownloadUrl || '--' }}</a>
|
||||
</d-col>
|
||||
</d-row>
|
||||
<d-row class="mb-3">
|
||||
<d-col :span="24">
|
||||
<span class="card-key width-140">源码社区托管地址</span>
|
||||
<a class="card-url" :href="ReleaseInfo.referenceInfo.sourceCodeCommunityUrl || '--'">{{
|
||||
ReleaseInfo.referenceInfo.sourceCodeCommunityUrl || '--'
|
||||
}}</a>
|
||||
<a class="card-url" :href="ReleaseInfo.referenceInfo.sourceCodeCommunityUrl || '--'">{{ ReleaseInfo.referenceInfo.sourceCodeCommunityUrl || ReleaseInfo.basicInfo.communityWebsite || '--' }}</a>
|
||||
</d-col>
|
||||
</d-row>
|
||||
<d-row>
|
||||
<d-col :span="24">
|
||||
<span class="card-key width-140">社区EOL披露地址</span>
|
||||
<a class="card-url" :href="ReleaseInfo.referenceInfo.communityEolDisclosureUrl || '--'">{{
|
||||
ReleaseInfo.referenceInfo.communityEolDisclosureUrl || '--'
|
||||
}}</a>
|
||||
<a class="card-url" :href="ReleaseInfo.referenceInfo.communityEolDisclosureUrl || '--'">{{ ReleaseInfo.referenceInfo.communityEolDisclosureUrl || ReleaseInfo.basicInfo.eolNoticeUrl || '--' }}</a>
|
||||
</d-col>
|
||||
</d-row>
|
||||
</Card>
|
||||
@@ -243,7 +238,7 @@ const emits = defineEmits(['changeTabs']);
|
||||
const handleTabChange = (tabName) => {
|
||||
emits('changeTabs', tabName); // 触发 changeTabs 事件,并传递参数
|
||||
};
|
||||
|
||||
const jcfxList = ['','低','中','高'];
|
||||
const licenseTableData = ref([{ code: '05822156', name: 'MIT License', detail: 'integer' }]);
|
||||
const CopyrightTableData = ref([{ code: '05822156', detail: 'integer' }]);
|
||||
const visible = ref(false);
|
||||
|
||||
Reference in New Issue
Block a user