Commit ceab47a4 by 杨明

fixed

1 parent 354d894a
...@@ -55,20 +55,20 @@ ...@@ -55,20 +55,20 @@
<el-button size="small" type="primary" @click="selectModelItem">复制文本</el-button> <el-button size="small" type="primary" @click="selectModelItem">复制文本</el-button>
</span> </span>
</el-dialog> </el-dialog>
<el-dialog :title="modelTitle" :visible.sync="createVisible" width="547px" :before-close="handleCreateClose" :close-on-click-modal="false"> <GLDialog :title="modelTitle" :hasFooter="true" width="750px" :visible.sync="createVisible" :before-close="handleCreateClose" :close-on-click-modal="false">
<el-form :model="templateForm" :rules="templateRules" ref="templateForm" label-width="100px" class="templateForm"> <el-form :model="templateForm" :rules="templateRules" ref="templateForm" label-width="100px" class="templateForm gl-form-min">
<el-form-item label="标题" prop="title"> <el-form-item label="标题:" prop="title" size="small">
<el-input v-model="templateForm.title" maxlength="10" show-word-limit placeholder="输入10个字以内的标题,如活动促销"></el-input> <el-input v-model="templateForm.title" maxlength="10" show-word-limit placeholder="输入10个字以内的标题,如活动促销"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="内容说明" prop="content"> <el-form-item label="内容说明:" prop="content" size="small">
<el-input type="textarea" v-model="templateForm.content" maxlength="600" :rows="7" show-word-limit placeholder="输入不超过600字内的文字说明"></el-input> <el-input type="textarea" v-model="templateForm.content" maxlength="600" :rows="7" show-word-limit placeholder="输入不超过600字内的文字说明"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
<div class="template-footer"> <span slot="footer" class="template-footer">
<el-button size="small" @click="createModel">取 消</el-button> <el-button size="small" @click="createModel">取 消</el-button>
<el-button size="small" type="primary" :loading="createLoading" @click="handleCreate">立即创建</el-button> <el-button size="small" type="primary" :loading="createLoading" @click="handleCreate">立即创建</el-button>
</div> </span>
</el-dialog> </GLDialog>
</div> </div>
</template> </template>
...@@ -369,10 +369,10 @@ export default { ...@@ -369,10 +369,10 @@ export default {
} }
} }
.template-footer { .template-footer {
text-align: center; // text-align: center;
border-top: 1px solid #e6e6e6; // border-top: 1px solid #e6e6e6;
padding-top: 16px; // padding-top: 16px;
margin-bottom: -14px; // margin-top: 20px;
} }
/deep/ { /deep/ {
.el-dialog__body { .el-dialog__body {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!