mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-17 11:13:26 +00:00
perf: 移动端优化
This commit is contained in:
parent
921ff4e5bf
commit
efd25bc787
@ -4,7 +4,7 @@
|
|||||||
<div class="setting-head">
|
<div class="setting-head">
|
||||||
<div class="setting-titbox">
|
<div class="setting-titbox">
|
||||||
<div class="setting-title">
|
<div class="setting-title">
|
||||||
<h1>{{$L('设置')}}</h1>
|
<h1>{{$L(settingTitleName)}}</h1>
|
||||||
<div v-if="!show768Menu" class="setting-more" @click="toggleRoute('index')">
|
<div v-if="!show768Menu" class="setting-more" @click="toggleRoute('index')">
|
||||||
<Icon type="md-close" />
|
<Icon type="md-close" />
|
||||||
</div>
|
</div>
|
||||||
@ -121,7 +121,14 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
return name || '设置';
|
return name || '设置';
|
||||||
|
},
|
||||||
|
|
||||||
|
settingTitleName() {
|
||||||
|
if (this.windowSmall) {
|
||||||
|
return this.titleNameRoute
|
||||||
}
|
}
|
||||||
|
return '设置'
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
|
|||||||
@ -14,9 +14,13 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
> h1 {
|
> h1 {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
width: 0;
|
||||||
color: $primary-title-color;
|
color: $primary-title-color;
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.setting-more {
|
.setting-more {
|
||||||
display: none;
|
display: none;
|
||||||
@ -399,6 +403,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.setting-content {
|
||||||
|
.setting-content-title {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.setting-item {
|
.setting-item {
|
||||||
.setting-footer {
|
.setting-footer {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user