bootstrap弹框

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_36328915/article/details/81011181
 <div class="modal fade" id="addUserModal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">  
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                       ×
                    </button>
                    <h4 class="modal-title" id="myModalLabel">
                        <b>增加更多商品</b>
                    </h4>
                </div>
                <div class="modal-body">
                  
                        <div class="form-group">
                            <label for="user_id" class="col-sm-3 control-label">商品简介</label>
                            <div class="col-sm-9">
                                <input type="text" class="form-control"  name="description"  >
                                    
                            </div>
                        </div>
                       
                        <div class="form-group">  
                            <label for="lastname" class="col-sm-3 control-label">商品图片</label>
                            <div class="col-sm-9">
                                <input type="file" class="form-control" name="file" >
                                       <input type="hidden" value="" id="cookie" name="cookie">
                            </div>
                        </div>                            
                     
                   
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                    </button>
                    <button type="submit" class="btn btn-primary">
                        提交
                    </button><span id="tip"> </span>
                </div>
            </div>
        </div>
    </div>
<a class="btn btn-primary btn-lg" role="button" data-toggle="modal"  data-target="#addUserModal2">增加更多商品</a>

调用



没有更多推荐了,返回首页