增加标题文字大小控制

This commit is contained in:
aixianling
2024-03-01 11:29:37 +08:00
parent 75f3efa38a
commit 66d0f0c8ab
4 changed files with 33 additions and 38 deletions

View File

@@ -37,6 +37,7 @@ export default {
},
props: {
title: {default: "数字乡村数据大屏"},
titleSize:{default:38},
views: {
default: () => []
},
@@ -296,7 +297,7 @@ export default {
font-weight: 600;
line-height: 38px;
letter-spacing: 2px;
text-shadow: 0px 2px 4px rgba(117, 9, 9, 0.1);
text-shadow: 0 2px 4px rgba(117, 9, 9, 0.1);
background: linear-gradient(180deg, #FFF6C7 0%, #FF9A02 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
@@ -322,7 +323,7 @@ export default {
font-weight: 400;
color: #FF9A02;
line-height: 22px;
text-shadow: 0px 2px 4px rgba(117, 9, 9, 0.1);
text-shadow: 0 2px 4px rgba(117, 9, 9, 0.1);
background: linear-gradient(180deg, #FFF6C7 0%, #FF9A02 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;