mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-07 09:57:37 +00:00
perf: 移动端优化
This commit is contained in:
parent
921ff4e5bf
commit
efd25bc787
@ -4,7 +4,7 @@
|
||||
<div class="setting-head">
|
||||
<div class="setting-titbox">
|
||||
<div class="setting-title">
|
||||
<h1>{{$L('设置')}}</h1>
|
||||
<h1>{{$L(settingTitleName)}}</h1>
|
||||
<div v-if="!show768Menu" class="setting-more" @click="toggleRoute('index')">
|
||||
<Icon type="md-close" />
|
||||
</div>
|
||||
@ -121,7 +121,14 @@ export default {
|
||||
}
|
||||
})
|
||||
return name || '设置';
|
||||
}
|
||||
},
|
||||
|
||||
settingTitleName() {
|
||||
if (this.windowSmall) {
|
||||
return this.titleNameRoute
|
||||
}
|
||||
return '设置'
|
||||
},
|
||||
},
|
||||
|
||||
watch: {
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user