+1
-1
| { | ||
| "name": "flame-uni", | ||
| "version": "0.0.3", | ||
| "version": "0.0.4", | ||
| "description": "基于 uni-app 的移动端动态表单组件库(与 flame-plus flmDynamicForm 配置协议对齐)", | ||
@@ -5,0 +5,0 @@ "keywords": ["uni-app", "uni-ui", "flame", "dynamic-form"], |
@@ -55,5 +55,5 @@ <template> | ||
| color: '#323233', | ||
| disableColor: 'transparent', | ||
| disableColor: '#F7F6F6', | ||
| borderColor: 'transparent', | ||
| backgroundColor: 'transparent' | ||
| backgroundColor: '#F7F6F6' | ||
| })) | ||
@@ -67,3 +67,3 @@ </script> | ||
| .flmRead-wrap ::v-deep(.uni-easyinput__content.is-disabled) { | ||
| background-color: transparent !important; | ||
| background-color: #f7f6f6 !important; | ||
| color: #323233; | ||
@@ -70,0 +70,0 @@ } |
@@ -37,7 +37,4 @@ <template> | ||
| > | ||
| <text v-if="readAsText && typeof it.prop === 'string'" class="flm-sub-read-text"> | ||
| {{ formatReadCell(row[it.prop]) }} | ||
| </text> | ||
| <flm-form-item-control | ||
| v-else-if="typeof it.prop === 'string'" | ||
| v-if="typeof it.prop === 'string'" | ||
| :item="it" | ||
@@ -153,10 +150,2 @@ no-label | ||
| function formatReadCell(value: unknown) { | ||
| if (value === undefined || value === null || value === '') return '—' | ||
| if (typeof value === 'boolean') return value ? '是' : '否' | ||
| if (Array.isArray(value)) return value.map((entry) => String(entry)).join('、') | ||
| if (typeof value === 'object') return JSON.stringify(value) | ||
| return String(value) | ||
| } | ||
| const subFormLabelWidth = computed(() => { | ||
@@ -406,7 +395,2 @@ const configRecord = props.config as Record<string, unknown> | ||
| } | ||
| .flm-sub-read-text { | ||
| font-size: 28rpx; | ||
| color: #323233; | ||
| line-height: 1.5; | ||
| } | ||
| .flm-slot-hint { | ||
@@ -413,0 +397,0 @@ padding: 16rpx; |
| { | ||
| "id": "flame-uni", | ||
| "displayName": "flame-uni", | ||
| "version": "0.0.2", | ||
| "version": "0.0.4", | ||
| "description": "基于 uni-app 的动态表单组件,与 flame-plus flmDynamicForm 配置对齐", | ||
@@ -6,0 +6,0 @@ "keywords": ["uni-app", "flame", "dynamic-form"], |
179945
-0.34%