|
|
<include file="public@header"/>
|
|
|
</head>
|
|
|
<body>
|
|
|
<!--<script type="text/html" id="photos-item-tpl">-->
|
|
|
<!--<li id="saved-image{id}">-->
|
|
|
<!--<input id="photo-{id}" type="hidden" name="photo_urls[]" value="{filepath}">-->
|
|
|
<!--<input class="form-control" id="photo-{id}-name" type="text" name="photo_names[]" value="{name}"-->
|
|
|
<!--style="width: 200px;" title="图片名称">-->
|
|
|
<!--<img id="photo-{id}-preview" src="{url}" style="height:36px;width: 36px;"-->
|
|
|
<!--onclick="imagePreviewDialog(this.src);">-->
|
|
|
<!--<a href="javascript:uploadOneImage('图片上传','#photo-{id}');">替换</a>-->
|
|
|
<!--<a href="javascript:(function(){$('#saved-image{id}').remove();})();">移除</a>-->
|
|
|
<!--</li>-->
|
|
|
<!--</script>-->
|
|
|
<script type="text/html" id="photos-item-tpl">
|
|
|
<li id="saved-image{id}">
|
|
|
<input id="photo-{id}" type="hidden" name="banner[]" value="{filepath}">
|
|
|
<input class="form-control" id="photo-{id}-name" type="text" name="banner_name[]" value="{name}"
|
|
|
style="width: 200px;" title="图片名称">
|
|
|
<img id="photo-{id}-preview" src="{url}" style="height:36px;width: 36px;"
|
|
|
onclick="imagePreviewDialog(this.src);">
|
|
|
<a href="javascript:uploadOneImage('图片上传','#photo-{id}');">替换</a>
|
|
|
<a href="javascript:(function(){$('#saved-image{id}').remove();})();">移除</a>
|
|
|
</li>
|
|
|
</script>
|
|
|
<div class="wrap js-check-wrap">
|
|
|
<ul class="nav nav-tabs">
|
|
|
<li><a href="{:url('index')}">商品列表</a></li>
|
...
|
...
|
|