|
@@ -280,10 +280,10 @@ class Input
|
|
$temp = explode('.cr', $param['value']);
|
|
$temp = explode('.cr', $param['value']);
|
|
$pic .= ' data-src="' . $temp[0] . '"';
|
|
$pic .= ' data-src="' . $temp[0] . '"';
|
|
}
|
|
}
|
|
|
|
+ } else {
|
|
|
|
+ $pic = 'src="" style=display:none;';
|
|
}
|
|
}
|
|
|
|
|
|
- $pic = 'src="" style=display:none;';
|
|
|
|
-
|
|
|
|
$class = 'width:100px;display:inline;';
|
|
$class = 'width:100px;display:inline;';
|
|
if (layadmin()) {
|
|
if (layadmin()) {
|
|
$class .= 'padding-left:0px;';
|
|
$class .= 'padding-left:0px;';
|
|
@@ -298,7 +298,7 @@ class Input
|
|
<div class="layui-progress-bar" lay-percent="0%"></div>
|
|
<div class="layui-progress-bar" lay-percent="0%"></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div style="margin:10px;">
|
|
|
|
|
|
+ <div style="margin-top: 10px;margin-bottom: 10px;">
|
|
|
|
|
|
'.$param['place'].'
|
|
'.$param['place'].'
|
|
|
|
|
|
@@ -344,7 +344,7 @@ class Input
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
- <div style="margin:10px;" update_type="html" class="update_value ' . $param['name'] . '_' . $param['index'] . '_mul">' . $pic . '</div>
|
|
|
|
|
|
+ <div style="margin-top: 10px;margin-bottom: 10px;" update_type="html" class="update_value ' . $param['name'] . '_' . $param['index'] . '_mul">' . $pic . '</div>
|
|
|
|
|
|
<input type="text" class="update_value form-control ' . (isset($param['valid']) ? $param['valid'] : '') . '" name="' . $param['name'] . '" id="' . $param['name'] . '_' . $param['index'] . '" value="' . (isset($param['value']) ? $param['value'] : (isset($param['default']) ? $param['default'] : '')) . '">';
|
|
<input type="text" class="update_value form-control ' . (isset($param['valid']) ? $param['valid'] : '') . '" name="' . $param['name'] . '" id="' . $param['name'] . '_' . $param['index'] . '" value="' . (isset($param['value']) ? $param['value'] : (isset($param['default']) ? $param['default'] : '')) . '">';
|
|
}
|
|
}
|
|
@@ -413,7 +413,7 @@ class Input
|
|
<div class="layui-progress-bar" lay-percent="0%"></div>
|
|
<div class="layui-progress-bar" lay-percent="0%"></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <ul style="margin:10px;" update_type="html" class="update_value ' . $param['name'] . '_' . $param['index'] . '_mul">' . $file . '</ul>
|
|
|
|
|
|
+ <ul style="margin-top: 10px;margin-bottom: 10px;" update_type="html" class="update_value ' . $param['name'] . '_' . $param['index'] . '_mul">' . $file . '</ul>
|
|
|
|
|
|
<input type="hidden" class="update_value form-control ' . (isset($param['valid']) ? $param['valid'] : '') . '" name="' . $param['name'] . '" id="' . $param['name'] . '_' . $param['index'] . '" value="' . (isset($param['value']) ? $param['value'] : (isset($param['default']) ? $param['default'] : '')) . '">';
|
|
<input type="hidden" class="update_value form-control ' . (isset($param['valid']) ? $param['valid'] : '') . '" name="' . $param['name'] . '" id="' . $param['name'] . '_' . $param['index'] . '" value="' . (isset($param['value']) ? $param['value'] : (isset($param['default']) ? $param['default'] : '')) . '">';
|
|
//return '<input type="file" class="form-control" value="' . (isset($param['value']) ? $param['value'] : (isset($param['default']) ? $param['default'] : '')) . '" name="' . $param['name'] . '"/>';
|
|
//return '<input type="file" class="form-control" value="' . (isset($param['value']) ? $param['value'] : (isset($param['default']) ? $param['default'] : '')) . '" name="' . $param['name'] . '"/>';
|