|
|
|
@ -104,13 +104,13 @@
|
|
|
|
|
<el-form-item label="图标显示尺寸" :required="true" :show-message="false">
|
|
|
|
|
<div style="display: flex;align-items: center;">
|
|
|
|
|
<el-form-item label="" :prop="`templateItemList[${index}][width]`" :rules="rules.width">
|
|
|
|
|
<el-input class="w200" v-model="item.width" @input="handleNumberInput(item.width, 100, 0, 'width', index)">
|
|
|
|
|
<el-input class="w200" v-model="item.width" @input="handleNumberInput(item.width, 1000, 0, 'width', index)">
|
|
|
|
|
<span slot="prepend">宽:</span>
|
|
|
|
|
<span slot="append">px</span>
|
|
|
|
|
</el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="" :prop="`templateItemList[${index}][height]`" :rules="rules.height" style="margin-left: 20px;">
|
|
|
|
|
<el-input class="w200" v-model="item.height" @input="handleNumberInput(item.height, 100, 0, 'height', index)">
|
|
|
|
|
<el-input class="w200" v-model="item.height" @input="handleNumberInput(item.height, 1000, 0, 'height', index)">
|
|
|
|
|
<span slot="prepend">高:</span>
|
|
|
|
|
<span slot="append">px</span>
|
|
|
|
|
</el-input>
|
|
|
|
@ -260,7 +260,7 @@
|
|
|
|
|
:total="materialTotal"
|
|
|
|
|
:page.sync="queryParams.pageNo"
|
|
|
|
|
:limit.sync="queryParams.pageSize"
|
|
|
|
|
@pagination="getMaterialList"
|
|
|
|
|
@pagination="getMaterialList()"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
<div v-else>
|
|
|
|
|