feat: 更新 OnlyOffice 组件的主题名称;优化文件管理页面的列表渲染;调整抽屉和文件内容的圆角样式

This commit is contained in:
kuaifan 2025-11-13 06:20:21 +08:00
parent 6dcbe8ba38
commit dd2cd1df9a
5 changed files with 16 additions and 9 deletions

View File

@ -229,7 +229,7 @@ export default {
"lang": lang, "lang": lang,
"user": await this.getUserData(), "user": await this.getUserData(),
"customization": { "customization": {
"uiTheme": this.themeName === 'dark' ? "theme-dark" : "theme-classic-light", "uiTheme": this.themeName === 'dark' ? "theme-night" : "theme-white",
"forcesave": true, "forcesave": true,
"help": false, "help": false,
}, },

View File

@ -40,11 +40,13 @@
<span>{{$L('全部文件')}}</span> <span>{{$L('全部文件')}}</span>
</li> </li>
<li v-if="searchKey">{{$L('搜索')}} "{{searchKey}}"</li> <li v-if="searchKey">{{$L('搜索')}} "{{searchKey}}"</li>
<li v-else v-for="item in navigator" :ref="`nav_${item.id}`" @click="browseFolder(item.id)"> <template v-else>
<i v-if="item.share" class="taskfont">&#xe63f;</i> <li v-for="item in navigator" :ref="`nav_${item.id}`" @click="browseFolder(item.id)">
<span :title="item.name">{{item.name}}</span> <i v-if="item.share" class="taskfont">&#xe63f;</i>
<span v-if="item.share && item.permission == 0" class="readonly">{{$L('只读')}}</span> <span :title="item.name">{{item.name}}</span>
</li> <span v-if="item.share && item.permission == 0" class="readonly">{{$L('只读')}}</span>
</li>
</template>
</ul> </ul>
<template v-if="shearFirst"> <template v-if="shearFirst">
<Button :disabled="shearFirst.pid == pid" size="small" type="primary" @click="shearTo" :style="{marginLeft: showBtnText ? '12px' : 0}"> <Button :disabled="shearFirst.pid == pid" size="small" type="primary" @click="shearTo" :style="{marginLeft: showBtnText ? '12px' : 0}">

View File

@ -51,6 +51,11 @@ body {
--close-right: 0px; --close-right: 0px;
--close-color: #ffffff; --close-color: #ffffff;
--border-radius: 16px 16px 0 0; --border-radius: 16px 16px 0 0;
.file-content,
.file-preview {
border-radius: 0;
}
} }
&.approve-drawer { &.approve-drawer {

View File

@ -490,7 +490,7 @@ body {
.ivu-drawer-right { .ivu-drawer-right {
.ivu-drawer-content { .ivu-drawer-content {
border-radius: 18px 0 0 18px; border-radius: 16px 0 0 16px;
.ivu-drawer-header { .ivu-drawer-header {
padding-top: 16px; padding-top: 16px;
@ -513,7 +513,7 @@ body {
.ivu-drawer-bottom { .ivu-drawer-bottom {
.ivu-drawer-content { .ivu-drawer-content {
border-radius: 18px 18px 0 0; border-radius: 16px 16px 0 0;
.ivu-drawer-close { .ivu-drawer-close {
top: -40px; top: -40px;

View File

@ -8,7 +8,7 @@
z-index: 1; z-index: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
border-radius: 18px 18px 0 0; border-radius: 16px 16px 0 0;
overflow: hidden; overflow: hidden;
transform: translateZ(0); transform: translateZ(0);