style: 样式优化
--bug=1035223 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001035223 --bug=1035247 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001035247
This commit is contained in:
parent
3c01fbf17c
commit
d50549fc98
|
@ -291,6 +291,9 @@
|
|||
line-height: 16px;
|
||||
}
|
||||
}
|
||||
.arco-btn-size-medium {
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
/** 按钮下拉框 **/
|
||||
.arco-btn-group {
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
size="mini"
|
||||
@click="clearApi"
|
||||
>
|
||||
{{ t('ms.transfer.clear') }}
|
||||
{{ t('common.clear') }}
|
||||
</a-button>
|
||||
</div>
|
||||
<div class="flex items-center">
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<a-checkbox :model-value="checked" :indeterminate="indeterminate" @change="onSelectAllChange" />
|
||||
{{ t('ms.transfer.selected', { count: countTotal }) }}
|
||||
</div>
|
||||
<MsButton type="text" :disabled="countTotal === 0" @click="onClear">{{ t('ms.transfer.clear') }}</MsButton>
|
||||
<MsButton type="text" :disabled="countTotal === 0" @click="onClear">{{ t('common.clear') }}</MsButton>
|
||||
</div>
|
||||
</template>
|
||||
<template #source="{ selectedKeys, onSelect }">
|
||||
|
@ -187,6 +187,7 @@
|
|||
height: v-bind(height);
|
||||
.arco-transfer-view-header {
|
||||
background-color: var(--color-text-fff);
|
||||
font-weight: 400;
|
||||
}
|
||||
.arco-transfer-view-body {
|
||||
.ms-tree-container {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
export default {
|
||||
'ms.transfer.optional': 'Optional {count} items',
|
||||
'ms.transfer.selected': 'Selected {count} items',
|
||||
'ms.transfer.clear': 'Clear',
|
||||
};
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
export default {
|
||||
'ms.transfer.optional': '可选 {count} 项',
|
||||
'ms.transfer.selected': '已选 {count} 项',
|
||||
'ms.transfer.clear': '清空',
|
||||
};
|
||||
|
|
|
@ -141,7 +141,7 @@
|
|||
{{ props.titleProps?.selectedTitle || t('system.orgTemplate.selectedField') }}
|
||||
({{ selectedList.length }})
|
||||
</div>
|
||||
<MsButton @click="handleReset">{{ t('system.orgTemplate.clear') }}</MsButton>
|
||||
<MsButton @click="handleReset">{{ t('common.clear') }}</MsButton>
|
||||
</div>
|
||||
<div class="selected-panel p-[16px]">
|
||||
<VueDraggable v-model="selectedList" ghost-class="ghost">
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
<div class="selected-field w-[272px]">
|
||||
<div class="optional-header">
|
||||
<div class="font-medium">{{ t('system.orgTemplate.selectedField') }}</div>
|
||||
<MsButton @click="clearHandler">{{ t('system.orgTemplate.clear') }}</MsButton>
|
||||
<MsButton @click="clearHandler">{{ t('common.clear') }}</MsButton>
|
||||
</div>
|
||||
<div class="selected-list p-4">
|
||||
<VueDraggable v-model="selectedList" ghost-class="ghost">
|
||||
|
|
|
@ -83,7 +83,6 @@ export default {
|
|||
'system.orgTemplate.systemField': 'System Field',
|
||||
'system.orgTemplate.customField': 'Custom Field',
|
||||
'system.orgTemplate.selectedField': 'Selected Field',
|
||||
'system.orgTemplate.clear': 'Clear',
|
||||
'system.orgTemplate.addSuccess': 'create successfully',
|
||||
'system.orgTemplate.updateSuccess': 'update successfully',
|
||||
'system.orgTemplate.exitPreview': 'Exit Preview',
|
||||
|
|
|
@ -82,7 +82,6 @@ export default {
|
|||
'system.orgTemplate.systemField': '系统字段',
|
||||
'system.orgTemplate.customField': '自定义字段',
|
||||
'system.orgTemplate.selectedField': '已选字段',
|
||||
'system.orgTemplate.clear': '清空',
|
||||
'system.orgTemplate.addSuccess': '新增成功',
|
||||
'system.orgTemplate.updateSuccess': '更新成功',
|
||||
'system.orgTemplate.exitPreview': '退出预览',
|
||||
|
|
|
@ -32,7 +32,12 @@
|
|||
{ maxLength: 255, message: t('common.nameIsTooLang') },
|
||||
]"
|
||||
>
|
||||
<a-input v-model="form.name" :placeholder="t('system.organization.organizationNamePlaceholder')" />
|
||||
<a-input
|
||||
v-model="form.name"
|
||||
:max-length="255"
|
||||
show-word-limit
|
||||
:placeholder="t('system.organization.organizationNamePlaceholder')"
|
||||
/>
|
||||
</a-form-item>
|
||||
<a-form-item
|
||||
field="userIds"
|
||||
|
|
Loading…
Reference in New Issue