fix(divider,color-picker): divider组件content-position描述完善,以及部分api关联示例变动;color-picker组件修改错误变量 (#567)

This commit is contained in:
shonen7 2023-10-10 15:09:12 +08:00 committed by GitHub
parent 0ba0955163
commit a0c7ad10ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ export default {
'demoId': 'content-position',
'name': { 'zh-CN': '分隔线文案的位置', 'en-US': 'Basic Usage' },
'desc': {
'zh-CN': '通过 props content-position 可以分隔线文案的位置',
'zh-CN': '通过 props content-position 可以设置分隔线文案的位置',
'en-US': 'The position of the divider content can be set using the prop "content-position".'
},
'codeFiles': ['contentPosition.vue']
@ -46,7 +46,7 @@ export default {
'type': 'string',
'defaultValue': '',
'desc': { 'zh-CN': '设置分隔线的颜色', 'en-US': 'Set the color of the divider.' },
'demoId': 'basic-usage'
'demoId': 'custom-style'
},
{
'name': 'direction',
@ -68,7 +68,7 @@ export default {
'en-US':
'Set the position of the divider content; the possible values for this property are "left", "center", or "right".'
},
'demoId': 'contentPosition'
'demoId': 'content-position'
},
{
'name': 'border-style',

View File

@ -8,6 +8,6 @@
--ti-color-picker-spacing: var(--ti-common-space-base);
--ti-color-picker-spacing-2x: var(--ti-common-space-2x);
--ti-color-picker-shadow: var(--ti-common-shadow-2-down);
--ti-color-picker__wrapper-zindex: 1000;
--ti-color-picker__select__wrapper-zindex: 1000;
--ti-color-picker__wrapper-bg: var(--ti-common-color-bg-white-emphasize);
}