Commit 534e6e0f by chenwq

fix(mallConfig): 修复专场名称输入框缺少placeholder和调整样式

为专场名称输入框添加placeholder提示文本
调整SelectDialog组件样式,包括对齐方式和输入框宽度
修复indentation不一致问题
1 parent 97fa2966
<template>
<GLDialog :title="dialogConfig.title" mode="small" :visible.sync="visible" :show-close="true" :before-close="handleClose" @onOk="confirmPriceChange" @onCancel="handleClose" :okText="dialogConfig.okText" :cancelText="dialogConfig.cancelText">
<GLDialog class="select-dialog" :title="dialogConfig.title" mode="small" :visible.sync="visible" :show-close="true" :before-close="handleClose" @onOk="confirmPriceChange" @onCancel="handleClose" :okText="dialogConfig.okText" :cancelText="dialogConfig.cancelText">
<div class="dialog-wrap" v-loading="loading">
<glsxCombiForm ref="editFormRef" :formObj="batchForm" :formData="editFormData" :formRules="editRules" formRef="editChildRef"></glsxCombiForm>
<glsxCombiForm ref="editFormRef" :labelWidth="labelWidth" labelPaddingRight="0" :formObj="batchForm" :formData="editFormData" :formRules="editRules" formRef="editChildRef"></glsxCombiForm>
</div>
</GLDialog>
</template>
......@@ -40,6 +40,10 @@ export default {
loading: {
type: Boolean,
default: false
},
labelWidth: {
type: String,
default: '154px'
}
},
......@@ -66,32 +70,24 @@ export default {
}
</script>
<style lang="scss">
.dialog-wrap {
display: flex;
// align-items: center;
justify-content: center;
height: 100%;
width: 100%;
span {
white-space: nowrap;
margin-right: 8px;
}
// /deep/ .el-input {
// &,
// .el-input__inner {
// width: 100px;
// }
.select-dialog {
.dialog-wrap {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
width: 100%;
// .el-input-group__append {
// box-sizing: border-box;
// padding: 0 11px;
span {
white-space: nowrap;
}
// span {
// margin: 0;
// }
// }
// }
/deep/ .el-input {
&,
.el-input__inner {
width: 100px;
}
}
}
}
</style>
......@@ -229,6 +229,7 @@ export default {
label: '专场名称:',
name: 'eventName',
type: 'input',
placeholder: '请输入专场名称',
maxlength: 10
}
],
......@@ -596,8 +597,8 @@ export default {
border-bottom: none !important;
}
.microStore.home-set .el-tabs__item {
min-width: 120px;
width: auto !important;
min-width: 120px;
width: auto !important;
}
.home-set .home-img-w-h {
width: 264px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!