bootstrap表格

表格

        <div class="col-xs-2">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title">操作</h3>
                </div>
                <div id="user-collapseTwo" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="user-headingTwo">
                    <div class="panel-body">
                        <form id="uform">
                            <input type="hidden" id="id" value="">
                            <div class="input-group">
                                <span class="input-group-addon">用户:</span>
                                <input type="text" class="form-control" placeholder="用户名" aria-describedby="u-name" name="name" id="name"></div>
                            <br>
                          
                            <div class="input-group">
                                <span class="input-group-addon">手机:</span>
                                <input type="phone" class="form-control" placeholder="手机号码" aria-describedby="u-phone" name="phone" id="phone"></div>
                            <br>
                            <div class="input-group">
                                <span class="input-group-addon">分成:</span>
                                <input type="text" class="form-control" placeholder="用户分成" aria-describedby="u-point" name="point" id="point"></div>
                            <br>
                            <div class="input-group">
                                <span class="input-group-addon">门店:</span>
                                <select id="storeList" class="form-control">
                                    <option value="">选择门店</option>
                                    <option value="-1">所有门店</option>
                                    <foreach name="stores" item="store" >
                                        <option value="{$store['s_id']}">{$store['s_name']}</option>
                                    </foreach>
                                </select>
                            </div>
                            <br>
                            <div class="input-group">
                                <span class="input-group-addon">角色:</span>
                                <select id="roleList" class="form-control">
                                    <option value="">选择角色</option>
                                    <foreach name="roles" item="role" >
                                        <option value="{$role['r_id']}">{$role['r_name']}</option>
                                    </foreach>
                                </select>
                            </div>
                        </form>
                        <br>
                        <button type="button" class="btn btn-default" οnclick="addUser();">添加</button>
                        <button type="button" class="btn btn-default" οnclick="saveUser();">保存</button>
                        <button type="button" class="btn btn-default" οnclick="deleteUser();">删除</button>
                    </div>
                </div>
            </div>
        </div>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值