...
|
...
|
@@ -33,7 +33,7 @@ |
|
|
<li><a href="{:url('Salesman/salesman_goods_list',array('uid'=>$good_uid))}">商品管理列表</a></li>
|
|
|
<li class="active"><a href="#">添加商品</a></li>
|
|
|
</ul>
|
|
|
<form action="{:url('Salesman/salesman_goods_add')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
|
|
|
<form id="AddProductPicture" action="{:url('Salesman/salesman_goods_add')}" method="post" class="form-horizontal js-ajax-form margin-top-20" >
|
|
|
<div class="row">
|
|
|
<div class="col-md-9">
|
|
|
<table class="table table-bordered">
|
...
|
...
|
@@ -56,11 +56,7 @@ |
|
|
<td><input class="form-control" type="text" name="price" id="source" value=""
|
|
|
placeholder="请输入售价"></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>定价</th>
|
|
|
<td><input class="form-control" type="text" name="pricing" value=""
|
|
|
placeholder="请输入定价"></td>
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
<th>商品说明</th>
|
|
|
<td>
|
...
|
...
|
@@ -144,6 +140,11 @@ |
|
|
class="btn btn-default btn-sm">选择图片</a>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>定价</th>
|
|
|
<td><input class="form-control" type="text" name="pricing" value=""
|
|
|
placeholder="请输入定价"></td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<div class="form-group">
|
|
|
<div class="col-sm-offset-2 col-sm-10">
|
...
|
...
|
@@ -185,6 +186,7 @@ |
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
|
|
|
</table>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -197,29 +199,7 @@ |
|
|
</script>
|
|
|
<script type="text/javascript" src="__STATIC__/js/ueditor/ueditor.config.js"></script>
|
|
|
<script type="text/javascript" src="__STATIC__/js/ueditor/ueditor.all.min.js"></script>
|
|
|
<script type="text/javascript">
|
|
|
$(function () {
|
|
|
|
|
|
editorcontent = new baidu.editor.ui.Editor();
|
|
|
editorcontent.render('content');
|
|
|
try {
|
|
|
editorcontent.sync();
|
|
|
} catch (err) {
|
|
|
}
|
|
|
|
|
|
$('.btn-cancel-thumbnail').click(function () {
|
|
|
$('#thumbnail-preview').attr('src', '__TMPL__/public/assets/images/default-thumbnail.png');
|
|
|
$('#thumbnail').val('');
|
|
|
});
|
|
|
|
|
|
});
|
|
|
$(function () {
|
|
|
$('.btn-cancel-thumbnails').click(function () {
|
|
|
$('#thumbnails-preview').attr('src', '__TMPL__/public/assets/images/default-thumbnail.png');
|
|
|
$('#thumbnails').val('');
|
|
|
});
|
|
|
|
|
|
});
|
|
|
<script>
|
|
|
|
|
|
</script>
|
|
|
</body>
|
...
|
...
|
|