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,
"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,
},

View File

@ -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">&#xe63f;</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">&#xe63f;</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}">

View File

@ -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 {

View File

@ -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;

View File

@ -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);