feat(link-menu): [link-menu]modify smb-theme (#1846)

This commit is contained in:
James 2024-08-06 19:00:36 -07:00 committed by GitHub
parent 7cd4075c39
commit 18a5a8238c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 23 additions and 8 deletions

View File

@ -7,7 +7,7 @@ export default {
props: [
{
name: 'data',
type: 'Array',
type: 'array',
defaultValue: '',
desc: {
'zh-CN': '设置收藏夹菜单的数据',
@ -19,7 +19,7 @@ export default {
{
name: 'default-expand-all',
type: 'boolean',
defaultValue: '',
defaultValue: 'true',
desc: {
'zh-CN': '设置打开菜单弹窗时默认是否展开所有节点,默认为 true',
'en-US':
@ -31,7 +31,7 @@ export default {
{
name: 'ellipsis',
type: 'boolean',
defaultValue: '',
defaultValue: 'true',
desc: {
'zh-CN': '菜单内容超长时省略显示,默认为 true',
'en-US': 'Omitted if the menu content is too long. The default value is true'
@ -41,7 +41,7 @@ export default {
},
{
name: 'get-menu-data-sync',
type: 'Function',
type: 'function',
defaultValue: '',
desc: {
'zh-CN': '自定义菜单数据服务,直接返回数据',
@ -109,10 +109,10 @@ export default {
{
name: 'wrap',
type: 'boolean',
defaultValue: '',
defaultValue: 'true',
desc: {
'zh-CN': '菜单内容超长时换行显示,默认为 false',
'en-US': 'The menu content is displayed in a new line when it is too long. The default value is false'
'zh-CN': '菜单内容超长时换行显示,默认为 true',
'en-US': 'The menu content is displayed in a new line when it is too long. The default value is true'
},
mode: ['pc'],
pcDemo: 'data-resource'

View File

@ -50,6 +50,22 @@
}
}
.tiny-dialog-box__wrapper {
.tiny-dialog-box__header {
padding: 32px 32px 16px;
}
.tiny-dialog-box__body {
.tiny-link-menu__filert {
.tiny-input {
width: 100%;
}
}
.tiny-tree {
padding: 16px 8px;
}
}
}
&__nav &__btn {
color: var(--ti-link-menu-btn-text-color);
background: var(--ti-link-menu-btn-bg-color);
@ -120,7 +136,6 @@
font-size: var(--ti-link-menu-input-font-size);
border-radius: var(--ti-link-menu-input-border-radius);
padding-left: 4px;
font-weight: 700;
vertical-align: middle;
}