feat: 完成70%全局样式与可读性优化

This commit is contained in:
rain
2026-07-31 11:27:15 +08:00
parent 96524e4d6c
commit 555aa00043
116 changed files with 1928 additions and 1169 deletions
+25 -24
View File
@@ -513,7 +513,7 @@ onUnload(() => {
</script>
<style scoped lang="scss">
@use "../../styles/adaptive-frame-profiles.scss" as adaptive;
@import "../../styles/adaptive-frame-profiles.scss";
.settings-page {
display: flex;
@@ -531,7 +531,7 @@ onUnload(() => {
}
.settings-card,
.state-card {
@include adaptive.adaptive-genealogy-state-panel;
@include adaptive-genealogy-state-panel;
box-sizing: border-box;
}
.settings-card {
@@ -546,13 +546,13 @@ onUnload(() => {
.settings-card__title {
color: $ink;
font-family: STKaiti, KaiTi, serif;
font-size: 40rpx;
font-size: clamp(20px, 40rpx, 26px);
font-weight: 700;
}
.settings-card__note {
margin-top: 12rpx;
color: $ink-muted;
font-size: 24rpx;
font-size: clamp(15px, 24rpx, 18px);
line-height: 1.55;
}
.field-row {
@@ -566,18 +566,19 @@ onUnload(() => {
background: rgba(255, 252, 245, 0.7);
}
.field-row__label {
width: 142rpx;
width: 184rpx;
flex: 0 0 auto;
color: $ink;
font-family: STKaiti, KaiTi, serif;
font-size: 30rpx;
font-size: clamp(17px, 30rpx, 22px);
font-weight: 700;
white-space: nowrap;
}
.required-mark {
display: inline-block;
margin-right: 4rpx;
color: $brand-red;
font-size: 26rpx;
font-size: clamp(16px, 26rpx, 20px);
line-height: 1;
transform: translateY(-3rpx);
}
@@ -585,7 +586,7 @@ onUnload(() => {
min-width: 0;
flex: 1;
color: $ink;
font-size: 28rpx;
font-size: clamp(16px, 28rpx, 20px);
}
.field-row--selector {
justify-content: space-between;
@@ -595,7 +596,7 @@ onUnload(() => {
min-width: 0;
flex: 1;
color: $ink;
font-size: 28rpx;
font-size: clamp(16px, 28rpx, 20px);
text-align: right;
overflow-wrap: anywhere;
}
@@ -616,7 +617,7 @@ onUnload(() => {
display: block;
color: $ink;
font-family: STKaiti, KaiTi, serif;
font-size: 30rpx;
font-size: clamp(17px, 30rpx, 22px);
font-weight: 700;
}
.intro-field textarea {
@@ -625,7 +626,7 @@ onUnload(() => {
min-height: 120rpx;
margin-top: 14rpx;
color: $ink;
font-size: 27rpx;
font-size: clamp(16px, 27rpx, 20px);
line-height: 1.55;
}
.cover-field {
@@ -636,7 +637,7 @@ onUnload(() => {
display: block;
margin-top: 6rpx;
color: $ink-muted;
font-size: 21rpx;
font-size: clamp(13px, 21rpx, 16px);
line-height: 1.45;
}
.upload-button {
@@ -648,18 +649,18 @@ onUnload(() => {
border-radius: 8rpx;
background: transparent;
color: $brand-red;
font-size: 22rpx;
font-size: clamp(14px, 22rpx, 17px);
}
.upload-receipt {
color: $ink-muted;
font-size: 21rpx;
font-size: clamp(13px, 21rpx, 16px);
overflow-wrap: anywhere;
}
.field-error,
.submit-error {
margin-top: 10rpx;
color: $brand-red;
font-size: 24rpx;
font-size: clamp(15px, 24rpx, 18px);
line-height: 1.5;
}
.access-rule {
@@ -668,7 +669,7 @@ onUnload(() => {
.access-rule__label {
color: $ink;
font-family: STKaiti, KaiTi, serif;
font-size: 31rpx;
font-size: clamp(17px, 31rpx, 22px);
font-weight: 700;
}
.access-rule__options {
@@ -682,7 +683,7 @@ onUnload(() => {
border: 1rpx solid rgba(128, 89, 49, 0.34);
border-radius: 12rpx;
color: $ink-muted;
font-size: 25rpx;
font-size: clamp(15px, 25rpx, 18px);
text-align: center;
}
.access-rule__option--active {
@@ -705,13 +706,13 @@ onUnload(() => {
.state-card text:first-child {
color: $ink;
font-family: STKaiti, KaiTi, serif;
font-size: 35rpx;
font-size: clamp(19px, 35rpx, 24px);
font-weight: 700;
}
.state-card text:nth-child(2) {
margin-top: 18rpx;
color: $ink-muted;
font-size: 24rpx;
font-size: clamp(15px, 24rpx, 18px);
line-height: 1.65;
}
.state-card .app-button {
@@ -744,7 +745,7 @@ onUnload(() => {
display: block;
color: $ink;
font-family: STKaiti, KaiTi, serif;
font-size: 36rpx;
font-size: clamp(19px, 36rpx, 24px);
font-weight: 700;
}
.region-sheet__picker {
@@ -762,7 +763,7 @@ onUnload(() => {
width: 33.333%;
padding: 24rpx 12rpx;
color: $ink-muted;
font-size: 26rpx;
font-size: clamp(16px, 26rpx, 20px);
text-align: center;
}
.region-sheet__column-heading + .region-sheet__column-heading {
@@ -777,7 +778,7 @@ onUnload(() => {
height: 104rpx;
padding: 0 6rpx;
color: $ink-muted;
font-size: 26rpx;
font-size: clamp(16px, 26rpx, 20px);
line-height: 104rpx;
text-align: center;
text-overflow: ellipsis;
@@ -797,7 +798,7 @@ onUnload(() => {
min-width: 116rpx;
padding: 20rpx 10rpx;
color: $ink-muted;
font-size: 28rpx;
font-size: clamp(16px, 28rpx, 20px);
text-align: center;
}
.region-sheet__confirm {
@@ -809,7 +810,7 @@ onUnload(() => {
border-radius: 10rpx;
background: $brand-red;
color: #fff;
font-size: 29rpx;
font-size: clamp(16px, 29rpx, 20px);
font-weight: 700;
line-height: 82rpx;
}