-
{{$L('设置')}}
+
{{$L(settingTitleName)}}
@@ -121,7 +121,14 @@ export default {
}
})
return name || '设置';
- }
+ },
+
+ settingTitleName() {
+ if (this.windowSmall) {
+ return this.titleNameRoute
+ }
+ return '设置'
+ },
},
watch: {
diff --git a/resources/assets/sass/pages/page-setting.scss b/resources/assets/sass/pages/page-setting.scss
index 0e228cd6b..56a3192d5 100755
--- a/resources/assets/sass/pages/page-setting.scss
+++ b/resources/assets/sass/pages/page-setting.scss
@@ -14,9 +14,13 @@
align-items: center;
> h1 {
flex: 1;
+ width: 0;
color: $primary-title-color;
font-size: 28px;
font-weight: 600;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
}
.setting-more {
display: none;
@@ -399,6 +403,11 @@
}
}
}
+ .setting-content {
+ .setting-content-title {
+ display: none;
+ }
+ }
}
.setting-item {
.setting-footer {