mirror of
				https://github.com/Tencent/tmagic-editor.git
				synced 2025-11-04 18:52:18 +08:00 
			
		
		
		
	feat(editor): 样式添加display配置,右侧边栏最小值设置成420
This commit is contained in:
		
							parent
							
								
									957b0d9b40
								
							
						
					
					
						commit
						712e317e40
					
				@ -20,7 +20,7 @@
 | 
			
		||||
      v-model:left="columnWidth.left"
 | 
			
		||||
      v-model:right="columnWidth.right"
 | 
			
		||||
      :min-left="65"
 | 
			
		||||
      :min-right="320"
 | 
			
		||||
      :min-right="420"
 | 
			
		||||
      :min-center="100"
 | 
			
		||||
      :width="frameworkRect?.width || 0"
 | 
			
		||||
      @change="columnWidthChange"
 | 
			
		||||
 | 
			
		||||
@ -115,6 +115,27 @@ export const styleTabConfig: TabPaneConfig = {
 | 
			
		||||
          type: 'fieldset',
 | 
			
		||||
          legend: '盒子',
 | 
			
		||||
          items: [
 | 
			
		||||
            {
 | 
			
		||||
              type: 'data-source-field-select',
 | 
			
		||||
              name: 'display',
 | 
			
		||||
              text: 'display',
 | 
			
		||||
              checkStrictly: false,
 | 
			
		||||
              dataSourceFieldType: ['string'],
 | 
			
		||||
              fieldConfig: {
 | 
			
		||||
                type: 'select',
 | 
			
		||||
                clearable: true,
 | 
			
		||||
                allowCreate: true,
 | 
			
		||||
                options: [
 | 
			
		||||
                  { text: 'block', value: 'block' },
 | 
			
		||||
                  { text: 'flex', value: 'flex' },
 | 
			
		||||
                  { text: 'none', value: 'none' },
 | 
			
		||||
                  { text: 'inline-block', value: 'inline-block' },
 | 
			
		||||
                  { text: 'grid', value: 'grid' },
 | 
			
		||||
                  { text: 'inline', value: 'inline' },
 | 
			
		||||
                  { text: 'initial', value: 'initial' },
 | 
			
		||||
                ],
 | 
			
		||||
              },
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
              type: 'data-source-field-select',
 | 
			
		||||
              name: 'width',
 | 
			
		||||
@ -143,6 +164,8 @@ export const styleTabConfig: TabPaneConfig = {
 | 
			
		||||
              dataSourceFieldType: ['string'],
 | 
			
		||||
              fieldConfig: {
 | 
			
		||||
                type: 'select',
 | 
			
		||||
                clearable: true,
 | 
			
		||||
                allowCreate: true,
 | 
			
		||||
                options: [
 | 
			
		||||
                  { text: 'visible', value: 'visible' },
 | 
			
		||||
                  { text: 'hidden', value: 'hidden' },
 | 
			
		||||
@ -150,6 +173,7 @@ export const styleTabConfig: TabPaneConfig = {
 | 
			
		||||
                  { text: 'scroll', value: 'scroll' },
 | 
			
		||||
                  { text: 'auto', value: 'auto' },
 | 
			
		||||
                  { text: 'overlay', value: 'overlay' },
 | 
			
		||||
                  { text: 'initial', value: 'initial' },
 | 
			
		||||
                ],
 | 
			
		||||
              },
 | 
			
		||||
            },
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user