Authored by lore-w

限购商品编辑

... ... @@ -90,4 +90,4 @@
width: 100px;
margin: 0 15px;
float: left;
}
\ No newline at end of file
}
... ...
... ... @@ -81,17 +81,119 @@
</div>
<div class="panel-collapse collapse in">
<div class="panel-body">
<div class="row">
<div class="row mb20">
<div class="col-md-1 height40">封面图*</div>
<div class="col-md-1">
<img class="edit-cover-img" src="http://img11.static.yhbimg.com/goodsimg/2015/07/07/08/01315b5bbfd72bc5b59fa2fda6c28b9ae6.jpg"
alt=""/>
</div>
</div>
<div class="row">
<div class="col-md-12">
<button class="btn btn-primary mr5" data-toggle="modal" data-target="#textDialog">文本</button>
<button class="btn btn-primary mr5" data-toggle="modal" data-target="#picDialog">图片</button>
<button class="btn btn-primary mr5" data-toggle="modal" data-target="#videoDialog">视频</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
<!--模态框-->
<div class="modal fade" id="textDialog" tabindex="-1" role="dialog" aria-labelledby="textDialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="addAttrTitle">添加文本</h4>
</div>
<div class="modal-body">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default m-t-20 add-attr-btn-close" data-dismiss="modal">关闭</button>
<button type="button" class="add-attr-btn btn btn-primary m-t-20">添加</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="picDialog" tabindex="-1" role="dialog" aria-labelledby="picDialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="picDialogTitle">添加图片</h4>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-3">
<img width="100" src="http://img11.static.yhbimg.com/goodsimg/2015/07/07/08/01315b5bbfd72bc5b59fa2fda6c28b9ae6.jpg" alt=""/>
</div>
<div class="col-md-9">
<div class="form-group">
<label class="pull-left control-label height40">图片链接</label>
<div class="pull-left ml10">
<input class="form-control" type="text" placeholder="图片链接">
</div>
<button type="button" class="btn btn-primary ml10">选择图片</button>
</div>
<div class="form-group">
<label class="pull-left control-label height40">图片描述</label>
<div class="pull-left ml10">
<input class="form-control" type="text" placeholder="图片描述">
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default m-t-20 add-attr-btn-close" data-dismiss="modal">关闭</button>
<button type="button" class="add-attr-btn btn btn-primary m-t-20">添加</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="videoDialog" tabindex="-1" role="dialog" aria-labelledby="videoDialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="videoDialogTitle">添加视频</h4>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-3">
<img width="100" src="http://img11.static.yhbimg.com/goodsimg/2015/07/07/08/01315b5bbfd72bc5b59fa2fda6c28b9ae6.jpg" alt=""/>
</div>
<div class="col-md-9">
<div class="form-group">
<label class="pull-left control-label height40">视频链接</label>
<div class="pull-left ml10">
<input class="form-control" type="text" placeholder="视频链接">
</div>
<button type="button" class="btn btn-primary ml10">选择视频</button>
</div>
<div class="form-group">
<label class="pull-left control-label height40">视频描述</label>
<div class="pull-left ml10">
<input class="form-control" type="text" placeholder="视频描述">
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default m-t-20 add-attr-btn-close" data-dismiss="modal">关闭</button>
<button type="button" class="add-attr-btn btn btn-primary m-t-20">添加</button>
</div>
</div>
</div>
</div>
\ No newline at end of file
... ...