<?php /*a:1:{s:77:"/home/ambooshc/public_html/application/admin/view/users/edit_users_level.html";i:1642571926;}*/ ?>
<?php if(!(empty($bk_info) || (($bk_info instanceof \think\Collection || $bk_info instanceof \think\Paginator ) && $bk_info->isEmpty()))): if(is_array($bk_info) || $bk_info instanceof \think\Collection || $bk_info instanceof \think\Paginator): $i = 0; $__LIST__ = $bk_info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><form class="layui-form layui-card" action="<?php echo request()->url(); ?>" data-auto="true" method="post" autocomplete="off"><div class="layui-card-body"><div class="layui-form-item"><label class="layui-form-label">等级名称</label><div class="layui-input-block"><input name="name" placeholder="等级名称" value="<?php echo htmlentities($vo['name']); ?>" class="layui-input"><input type="hidden" name="_csrf_" value="<?php echo systoken('edit_users_level'); ?>"><input type="hidden" name="id" value="<?php echo htmlentities($vo['id']); ?>"></div></div><div class="layui-form-item"><label class="layui-form-label label-required">会员等级(请勿修改)</label><div class="layui-input-block"><input name="level" required value="<?php echo htmlentities($vo['level']); ?>" placeholder="请输入开户银行" class="layui-input" readonly></div></div><div class="layui-form-item"><label class="layui-form-label label-required">升级价格</label><div class="layui-input-block"><input name="num" required value="<?php echo htmlentities($vo['num']); ?>" placeholder="请输入升级价格" class="layui-input"><p class="help-block">如：100, 设置为0不会自动升级</p></div></div><div class="layui-form-item"><label class="layui-form-label label-required">接单限制</label><div class="layui-input-block"><input name="order_num" required value="<?php echo htmlentities($vo['order_num']); ?>" placeholder="请输入接单限制" class="layui-input"></div></div><div class="layui-form-item"><label class="layui-form-label label-required">佣金比例</label><div class="layui-input-block"><input name="bili" required value="<?php echo htmlentities($vo['bili']); ?>" placeholder="请输入佣金比例" class="layui-input"><p class="help-block">如：1%，那么就填写 0.01，计算方式：订单金额 x 佣金比例 = 得到佣金</p></div></div><div class="layui-form-item"><label class="layui-form-label label-required">下级佣金比例</label><div class="layui-input-block"><input name="tj_bili" required value="<?php echo htmlentities($vo['tj_bili']); ?>" placeholder="请输入能获得下级佣金比例" class="layui-input"><p class="help-block">如：一代10%/二代3%/3代1%，那么就填写 0.1/0.03/0.01；计算方式：做单人佣金 x 代数比例</p></div></div><div class="layui-form-item"><label class="layui-form-label label-required">提现次数</label><div class="layui-input-block"><input name="tixian_ci" required value="<?php echo htmlentities($vo['tixian_ci']); ?>" placeholder="请输入佣金比例" class="layui-input"></div></div><div class="layui-form-item"><label class="layui-form-label label-required">提现最小限制</label><div class="layui-input-block"><input name="tixian_min" required value="<?php echo htmlentities($vo['tixian_min']); ?>" placeholder="提现最小限制" class="layui-input"></div></div><div class="layui-form-item"><label class="layui-form-label label-required">提现最大限制</label><div class="layui-input-block"><input name="tixian_max" required value="<?php echo htmlentities($vo['tixian_max']); ?>" placeholder="提现最大限制" class="layui-input"></div></div><div class="layui-form-item"><label class="layui-form-label label-required">用户余额限制</label><div class="layui-input-block"><input name="num_min" required value="<?php echo htmlentities($vo['num_min']); ?>" placeholder="用户余额限制" class="layui-input"></div></div><div class="layui-form-item"><label class="layui-form-label label-required">自动升级需邀请</label><div class="layui-input-block"><input name="auto_vip_xu_num" required value="<?php echo htmlentities($vo['auto_vip_xu_num']); ?>" placeholder="人数"
                       class="layui-input"><p class="help-block">邀请几个人 会自动升级到该等级</p></div></div><div class="layui-form-item"><label class="layui-form-label label-required">提现至少完成订单/天</label><div class="layui-input-block"><input name="tixian_nim_order" required value="<?php echo htmlentities($vo['tixian_nim_order']); ?>" placeholder="用户订单限制"
                       class="layui-input"><p class="help-block">提现需要完成 几笔订单才开提现 / 天</p></div></div><div class="layui-form-item"><label class="layui-form-label label-required">提现手续费</label><div class="layui-input-block"><input name="tixian_shouxu" required value="<?php echo htmlentities($vo['tixian_shouxu']); ?>" placeholder="用户提现手续"
                       class="layui-input"><p class="help-block">提现手续费,不用百分比,直接写小数,如: 0.01</p></div></div><div class="layui-form-item"><label class="layui-form-label label-required">是否允许邀请</label><div class="layui-input-block"><input name="is_invite" required value="<?php echo htmlentities($vo['is_invite']); ?>" placeholder="是否允许邀请" class="layui-input"><p class="help-block">0=不予许，1=允许</p></div></div><!--<div class="layui-form-item" pane="">--><!--<label class="layui-form-label">限制分类</label>--><!--<div class="layui-input-block">--><!--<?php foreach($cate as $key=>$v): ?>--><!--<input type="checkbox" name="cids<?php echo htmlentities($v['id']); ?>" lay-skin="primary" title="<?php echo htmlentities($v['name']); ?>"  <?php $cids = explode(',',$vo['cids']); echo in_array($v['id'],$cids) ? 'checked':''; ?>><div class="layui-unselect layui-form-checkbox layui-form-checked" lay-skin="primary"><span><?php echo htmlentities($vo['name']); ?></span><i class="layui-icon layui-icon-ok"></i></div>--><!--<?php endforeach; ?>--><!--</div>--><!--</div>--></div><div class="hr-line-dashed"></div><div class="layui-form-item text-center"><button class="layui-btn" type='submit'>提交</button><button class="layui-btn layui-btn-danger" type='button' data-close>取消</button></div><script>window.form.render();</script></form><?php endforeach; endif; else: echo "" ;endif; ?><?php endif; ?>