app的ui修改

This commit is contained in:
2025-10-29 15:38:20 +08:00
parent 76c98b8ede
commit 181309e553
14 changed files with 667 additions and 317 deletions

View File

@@ -27,42 +27,54 @@ export default {
</script>
<style scoped>
/* 简洁指标卡片容器 */
.metric-container {
display: grid;
gap: 20rpx;
padding: 20rpx;
padding: 30rpx;
box-sizing: border-box;
background-color: #fff;
box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.05);
background: #fff;
}
/* 单个指标项 */
.metric-item {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20rpx;
padding: 30rpx 20rpx;
background: #f8f9fa;
border-radius: 12rpx;
border: 1rpx solid #e8e8e8;
transition: all 0.2s ease;
&:active {
background: #f0f2f5;
}
}
/* 指标数值 */
.metric-value {
font-size: 48rpx;
font-weight: 600;
margin-bottom: 16rpx;
line-height: 1.2;
color: #333;
color: #1a73e8;
}
/* 单位 */
.metric-unit {
font-size: 0.7em;
color: #999;
margin-left: 8rpx;
}
/* 指标标签 */
.metric-label {
font-size: 28rpx;
font-size: 26rpx;
color: #666;
letter-spacing: 2rpx;
letter-spacing: 1rpx;
text-align: center;
line-height: 1.4;
line-height: 1.5;
}
</style>