|
|
|
@ -12,28 +12,28 @@ |
|
|
|
@keyup.enter.native="dataFormSubmitHandle()" |
|
|
|
:label-width="$i18n.locale === 'en-US' ? '120px' : '80px'" |
|
|
|
> |
|
|
|
<el-form-item label="模板名称" prop="templateName"> |
|
|
|
<el-form-item label="模板名称" prop="templateName" label-width="100px"> |
|
|
|
<el-input |
|
|
|
v-model="dataForm.templateName" |
|
|
|
placeholder="模板名称" |
|
|
|
placeholder="模板名称" maxlength="50" |
|
|
|
></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="模板编码" prop="templateCode"> |
|
|
|
<el-form-item label="模板编码" prop="templateCode" label-width="100px"> |
|
|
|
<el-input |
|
|
|
v-model="dataForm.templateCode" |
|
|
|
placeholder="模板编码(tem-1,tem-2,tem-3)" |
|
|
|
placeholder="模板编码(tem-1,tem-2,tem-3)" maxlength="50" |
|
|
|
></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="CSS类名" prop="className"> |
|
|
|
<el-input v-model="dataForm.className" placeholder="CSS类名"></el-input> |
|
|
|
<el-form-item label="CSS类名" prop="className" label-width="100px"> |
|
|
|
<el-input v-model="dataForm.className" placeholder="CSS类名" maxlength="50"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="备用CSS类名" prop="spareClassName"> |
|
|
|
<el-form-item label="备用CSS类名" prop="spareClassName" label-width="100px"> |
|
|
|
<el-input |
|
|
|
v-model="dataForm.spareClassName" |
|
|
|
placeholder="备用CSS类名" |
|
|
|
placeholder="备用CSS类名" maxlength="50" |
|
|
|
></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="列数" prop="columnAmount"> |
|
|
|
<el-form-item label="列数" prop="columnAmount" label-width="100px"> |
|
|
|
<el-input-number |
|
|
|
v-model="dataForm.columnAmount" |
|
|
|
controls-position="right" |
|
|
|
@ -42,10 +42,10 @@ |
|
|
|
label="列数" |
|
|
|
></el-input-number> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="背景颜色" prop="backgroundColor"> |
|
|
|
<el-form-item label="背景颜色" prop="backgroundColor" label-width="100px"> |
|
|
|
<el-input |
|
|
|
v-model="dataForm.backgroundColor" |
|
|
|
placeholder="背景颜色(渐变色为0时使用)" |
|
|
|
placeholder="背景颜色(渐变色为0时使用)" maxlength="50" |
|
|
|
></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
|