态势感知平台-武汉市开源生态建设-明星开发者聚焦样式修改
This commit is contained in:
@@ -52,7 +52,7 @@ const fetchDataFromApi = async () => {
|
||||
loading.value = true;
|
||||
const response = await excellentDeveloperPage2();
|
||||
const businessData = response.data; // Axios响应格式,业务数据在response.data中
|
||||
|
||||
|
||||
if (businessData?.code === 200 && businessData.data) {
|
||||
// 适配后端数据格式,将description映射为desc
|
||||
excellentProjects2025.value = businessData.data.map((item: any) => ({
|
||||
@@ -263,7 +263,7 @@ onMounted(() => {
|
||||
|
||||
.chartCard__container.list-container {
|
||||
width: 100%;
|
||||
height: 390px; /* 保持一致的高度 */
|
||||
height: 430px;
|
||||
position: relative;
|
||||
overflow: hidden; /* 外层容器隐藏溢出 */
|
||||
}
|
||||
@@ -299,7 +299,7 @@ onMounted(() => {
|
||||
}
|
||||
|
||||
.developer-list-container {
|
||||
max-height: 400px;
|
||||
max-height: 450px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
|
||||
@@ -1080,8 +1080,6 @@ const changeLanguageTab = () => {
|
||||
initLanguageTechChart();
|
||||
};
|
||||
|
||||
|
||||
|
||||
// 初始化开源项目热力图
|
||||
const initHeatmapChart = () => {
|
||||
const el = document.getElementById('heatmapChart');
|
||||
|
||||
Reference in New Issue
Block a user