mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-10 18:02:55 +00:00
feat: 更新 OnlyOffice 组件的主题名称;优化文件管理页面的列表渲染;调整抽屉和文件内容的圆角样式
This commit is contained in:
parent
6dcbe8ba38
commit
dd2cd1df9a
@ -229,7 +229,7 @@ export default {
|
||||
"lang": lang,
|
||||
"user": await this.getUserData(),
|
||||
"customization": {
|
||||
"uiTheme": this.themeName === 'dark' ? "theme-dark" : "theme-classic-light",
|
||||
"uiTheme": this.themeName === 'dark' ? "theme-night" : "theme-white",
|
||||
"forcesave": true,
|
||||
"help": false,
|
||||
},
|
||||
|
||||
@ -40,11 +40,13 @@
|
||||
<span>{{$L('全部文件')}}</span>
|
||||
</li>
|
||||
<li v-if="searchKey">{{$L('搜索')}} "{{searchKey}}"</li>
|
||||
<li v-else v-for="item in navigator" :ref="`nav_${item.id}`" @click="browseFolder(item.id)">
|
||||
<i v-if="item.share" class="taskfont"></i>
|
||||
<span :title="item.name">{{item.name}}</span>
|
||||
<span v-if="item.share && item.permission == 0" class="readonly">{{$L('只读')}}</span>
|
||||
</li>
|
||||
<template v-else>
|
||||
<li v-for="item in navigator" :ref="`nav_${item.id}`" @click="browseFolder(item.id)">
|
||||
<i v-if="item.share" class="taskfont"></i>
|
||||
<span :title="item.name">{{item.name}}</span>
|
||||
<span v-if="item.share && item.permission == 0" class="readonly">{{$L('只读')}}</span>
|
||||
</li>
|
||||
</template>
|
||||
</ul>
|
||||
<template v-if="shearFirst">
|
||||
<Button :disabled="shearFirst.pid == pid" size="small" type="primary" @click="shearTo" :style="{marginLeft: showBtnText ? '12px' : 0}">
|
||||
|
||||
@ -51,6 +51,11 @@ body {
|
||||
--close-right: 0px;
|
||||
--close-color: #ffffff;
|
||||
--border-radius: 16px 16px 0 0;
|
||||
|
||||
.file-content,
|
||||
.file-preview {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&.approve-drawer {
|
||||
|
||||
4
resources/assets/sass/pages/common.scss
vendored
4
resources/assets/sass/pages/common.scss
vendored
@ -490,7 +490,7 @@ body {
|
||||
|
||||
.ivu-drawer-right {
|
||||
.ivu-drawer-content {
|
||||
border-radius: 18px 0 0 18px;
|
||||
border-radius: 16px 0 0 16px;
|
||||
|
||||
.ivu-drawer-header {
|
||||
padding-top: 16px;
|
||||
@ -513,7 +513,7 @@ body {
|
||||
|
||||
.ivu-drawer-bottom {
|
||||
.ivu-drawer-content {
|
||||
border-radius: 18px 18px 0 0;
|
||||
border-radius: 16px 16px 0 0;
|
||||
|
||||
.ivu-drawer-close {
|
||||
top: -40px;
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border-radius: 18px 18px 0 0;
|
||||
border-radius: 16px 16px 0 0;
|
||||
overflow: hidden;
|
||||
transform: translateZ(0);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user