mirror of
https://github.com/vform666/variant-form3-vite.git
synced 2025-09-17 19:53:02 +08:00
替换字体图标,发布3.0 Beta版。
This commit is contained in:
@ -300,8 +300,8 @@
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
:deep(.el-form-item--mini.el-form-item) {
|
||||
margin-bottom: 6px;
|
||||
:deep(.el-form-item--small.el-form-item) {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.radio-group-custom {
|
||||
|
@ -312,8 +312,8 @@
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
:deep(.el-form-item--mini.el-form-item) {
|
||||
margin-bottom: 6px;
|
||||
:deep(.el-form-item--small.el-form-item) {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -34,11 +34,12 @@
|
||||
</template>
|
||||
</draggable>
|
||||
</el-checkbox-group>
|
||||
<el-cascader v-else-if="(selectedWidget.type === 'cascader')"
|
||||
v-model="optionModel.defaultValue" :options="optionModel.optionItems"
|
||||
@change="emitDefaultValueChange"
|
||||
:placeholder="i18nt('render.hint.selectPlaceholder')" style="width: 100%">
|
||||
</el-cascader>
|
||||
<div v-else-if="(selectedWidget.type === 'cascader')" class="full-width-input">
|
||||
<el-cascader v-model="optionModel.defaultValue" :options="optionModel.optionItems"
|
||||
@change="emitDefaultValueChange"
|
||||
:placeholder="i18nt('render.hint.selectPlaceholder')">
|
||||
</el-cascader>
|
||||
</div>
|
||||
<div v-if="(selectedWidget.type === 'cascader')">
|
||||
<el-button type="text" @click="importCascaderOptions">{{i18nt('designer.setting.importOptions')}}</el-button>
|
||||
<el-button type="text" @click="resetDefault">{{i18nt('designer.setting.resetDefault')}}</el-button>
|
||||
@ -222,9 +223,13 @@
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.option-items-pane ul {
|
||||
padding-inline-start: 6px;
|
||||
padding-left: 6px; /* 重置IE11默认样式 */
|
||||
.option-items-pane {
|
||||
width: 100%;
|
||||
|
||||
ul {
|
||||
padding-inline-start: 6px;
|
||||
padding-left: 6px; /* 重置IE11默认样式 */
|
||||
}
|
||||
}
|
||||
|
||||
li.ghost{
|
||||
@ -243,4 +248,13 @@
|
||||
.dialog-footer .el-button {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.full-width-input {
|
||||
width: 100% !important;
|
||||
|
||||
:deep(.el-cascader) {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<template #label>
|
||||
<span>{{i18nt('designer.setting.fileTypes')}}
|
||||
<el-tooltip effect="light" :content="i18nt('designer.setting.fileTypesHelp')">
|
||||
<i class="el-icon-info"></i></el-tooltip>
|
||||
<svg-icon icon-class="el-info" /></el-tooltip>
|
||||
</span>
|
||||
</template>
|
||||
<el-select multiple allow-create filterable default-first-option
|
||||
|
@ -3,7 +3,7 @@
|
||||
<template #label>
|
||||
<span>{{i18nt('designer.setting.fileTypes')}}
|
||||
<el-tooltip effect="light" :content="i18nt('designer.setting.fileTypesHelp')">
|
||||
<i class="el-icon-info"></i></el-tooltip>
|
||||
<svg-icon icon-class="el-info" /></el-tooltip>
|
||||
</span>
|
||||
</template>
|
||||
<el-select multiple allow-create filterable default-first-option
|
||||
@ -31,9 +31,9 @@
|
||||
data() {
|
||||
return {
|
||||
uploadPictureTypes: [
|
||||
{value: 'jpeg', label: 'JPG'},
|
||||
{value: 'png', label: 'PNG'},
|
||||
{value: 'gif', label: 'GIF'},
|
||||
{value: 'jpeg', label: 'jpg'}, /* label如用大写字母,选择两个文件类型就会导致设置面板快速抖动、闪烁,非常奇怪!! */
|
||||
{value: 'png', label: 'png'},
|
||||
{value: 'gif', label: 'gif'},
|
||||
],
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user