Browse Source

修改字体大小

milestone-20250826-财富金轮
zhaoruhui 2 days ago
parent
commit
13061b8597
  1. 20
      src/views/wealth/goldenWheel.vue

20
src/views/wealth/goldenWheel.vue

@ -1070,7 +1070,7 @@ async loadHistoryRecord() {
height: 35px; height: 35px;
} }
/* 活动规则弹窗样式 - 整体下移 */
/* 活动规则弹窗样式 - 整体上移并增大字体 */
.rule-content { .rule-content {
position: relative; position: relative;
width: 333px; width: 333px;
@ -1080,7 +1080,8 @@ async loadHistoryRecord() {
align-items: center; align-items: center;
z-index: 1001; z-index: 1001;
animation: modal-appear 0.3s ease-out; animation: modal-appear 0.3s ease-out;
margin-top: 80px;
/* 修改:将弹窗上移,从原来的margin-top: 80px调整为更小的值 */
margin-top: 10px; /* 上移了10px */
} }
.rule-bg { .rule-bg {
@ -1118,21 +1119,21 @@ async loadHistoryRecord() {
display: block; display: block;
} }
/* 活动规则文本 */
/* 活动规则文本 - 增大字体和行高 */
.rule-text { .rule-text {
position: absolute; position: absolute;
top: 83px; top: 83px;
left: 27px; left: 27px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 9.15px;
gap: 8px; /* 增加行间距,从9.15px增加到12px */
width: calc(100% - 54px); width: calc(100% - 54px);
} }
.rule-line { .rule-line {
color: #FFFFFF; color: #FFFFFF;
font-size: 12px;
line-height: 1.4;
font-size: 14px; /* 增大字体,从12px增加到14px */
line-height: 1.2; /* 增加行高,从1.4增加到1.5 */
} }
/* 媒体查询 - 适配小屏幕 */ /* 媒体查询 - 适配小屏幕 */
@ -1233,7 +1234,7 @@ async loadHistoryRecord() {
.rule-content { .rule-content {
width: 300px; width: 300px;
height: 215px; height: 215px;
margin-top: 70px;
margin-top: 20px; /* 小屏幕也相应上移 */
} }
.close-rule-btn { .close-rule-btn {
@ -1245,6 +1246,11 @@ async loadHistoryRecord() {
top: 75px; top: 75px;
left: 24px; left: 24px;
width: calc(100% - 48px); width: calc(100% - 48px);
gap: 5px; /* 小屏幕行间距稍小 */
}
.rule-line {
font-size: 13px; /* 小屏幕字体稍小但依然比原来大 */
} }
} }
.fold-up { .fold-up {

Loading…
Cancel
Save