图片上传

This commit is contained in:
JenniferW 2025-09-04 15:25:15 +08:00
parent 87139ecdc4
commit 72232343de
21 changed files with 67 additions and 35 deletions

BIN
src/assets/system-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 769 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 690 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 948 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 969 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 856 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 899 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 987 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 982 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 888 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 980 KiB

View File

@ -188,14 +188,14 @@ export default {
position: relative; position: relative;
width: 100%; width: 100%;
max-width: 1200px; max-width: 1200px;
margin: 20px auto; margin: 0 auto;
padding: 0; padding: 0;
box-sizing: border-box; box-sizing: border-box;
.scroll-wrapper { .scroll-wrapper {
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
padding: 20px 0; padding: 0;
scroll-behavior: smooth; scroll-behavior: smooth;
.scroll-content { .scroll-content {

View File

@ -1,12 +1,15 @@
<template> <template>
<div class="business-system"> <div class="business-system">
<div class="business-container"> <!-- 主标题区域 - 单独放左边 -->
<div class="title-section"> <div class="main-title-section">
<div class="title-content">
<div class="main-title">
<i class="el-icon-monitor"></i> <i class="el-icon-monitor"></i>
<span>业务系统</span> <span>业务系统</span>
</div> </div>
<!-- 原有内容区域 - 放右边与标题区域左右布局 -->
<div class="business-container">
<div class="title-section">
<div class="title-content">
<div class="system-stats"> <div class="system-stats">
<div class="stat-number">{{ systemCount }}</div> <div class="stat-number">{{ systemCount }}</div>
<div class="stat-label">使用数据的业务系统数</div> <div class="stat-label">使用数据的业务系统数</div>
@ -48,12 +51,26 @@ export default {
}, },
mounted() {}, mounted() {},
beforeDestroy() {}, beforeDestroy() {},
methods: {}, methods: {
handleItemClick(item) {
//
console.log("点击了系统:", item);
},
},
}; };
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.business-system { .business-system {
height: 100%;
box-sizing: border-box;
overflow: hidden; /* 防止内容溢出组件 */
display: flex; /* 主容器变为flex让标题和内容区域左右布局 */
gap: 20px;
}
.main-title-section,
.business-container {
background: linear-gradient( background: linear-gradient(
to bottom, to bottom,
rgba(30, 60, 100, 0.8), rgba(30, 60, 100, 0.8),
@ -63,21 +80,44 @@ export default {
border-radius: 12px; border-radius: 12px;
padding: 15px; padding: 15px;
box-shadow: 0 0 15px rgba(74, 144, 226, 0.2); box-shadow: 0 0 15px rgba(74, 144, 226, 0.2);
height: 100%;
box-sizing: border-box;
overflow: hidden; /* 防止内容溢出组件 */
} }
// // -
.main-title-section {
flex: 0 0 180px; //
display: flex;
align-items: center;
justify-content: center;
padding-right: 20px;
box-sizing: border-box;
i {
font-size: 28px;
color: #4a90e2;
margin-right: 10px;
filter: drop-shadow(0 2px 2px rgba(74, 144, 226, 0.3));
}
span {
font-size: 22px;
color: #fff;
font-weight: 600;
text-shadow: 0 0 5px rgba(74, 144, 226, 0.5);
}
}
// -
.business-container { .business-container {
flex: 1; //
display: flex; display: flex;
height: 100%; height: 100%;
gap: 20px; gap: 20px;
} }
// - //
.title-section { .title-section {
flex: 0 0 220px; // flex: 0 0 200px; //
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -101,27 +141,6 @@ export default {
text-align: center; text-align: center;
} }
.main-title {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
i {
font-size: 28px;
color: #4a90e2;
margin-right: 10px;
filter: drop-shadow(0 2px 2px rgba(74, 144, 226, 0.3));
}
span {
font-size: 22px;
color: #fff;
font-weight: 600;
text-shadow: 0 0 5px rgba(74, 144, 226, 0.5);
}
}
.system-stats { .system-stats {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -154,6 +173,20 @@ export default {
// //
@media (max-width: 1200px) { @media (max-width: 1200px) {
.business-system {
flex-direction: column;
}
.main-title-section {
flex: none;
border-right: none;
border-bottom: 1px solid rgba(74, 144, 226, 0.2);
padding-right: 0;
padding-bottom: 15px;
margin-bottom: 15px;
width: 100%;
}
.business-container { .business-container {
flex-direction: column; flex-direction: column;
} }
@ -169,4 +202,3 @@ export default {
} }
} }
</style> </style>