baf92d53097175db56e7076689414354.php 6.7 KB

12345678910111213141516171819202122
  1. <?php /*a:1:{s:62:"D:\project\gyx\gaoyixia\application\user\view\member\form.html";i:1714370553;}*/ ?>
  2. <style> .layui-form-item {
  3. margin-bottom: 1px;
  4. }
  5. .layui-form-radio{
  6. margin: 0 !important;
  7. padding-right:0 !important;
  8. }
  9. .layui-form-select{
  10. margin-right: 10px !important;
  11. }
  12. </style><form onsubmit="return false;" action="<?php echo request()->url(); ?>" data-auto="true" method="post" class='layui-form layui-card' autocomplete="off"><div class="layui-card-body think-box-shadow padding-left-40"><div class="layui-form-item layui-row layui-col-space15 "><label class=" relative"><span class="color-green">用户名</span><input name="name" value='<?php echo htmlentities((isset($vo['name']) && ($vo['name'] !== '')?$vo['name']:"")); ?>' placeholder="" class="layui-input"></label></div><div class="layui-form-item layui-row layui-col-space15"><label class=" relative"><span class="color-green">类型</span><input readonly value='<?php echo $vo['account_type']==1 ? "公司" : "个人"; ?>' placeholder="" class="layui-input"></label></div><?php if($vo['account_type'] == 1): ?><div class="layui-form-item layui-row layui-col-space15"><label class=" relative"><span class="color-green">Email:</span><input readonly value='<?php echo htmlentities((isset($vo['email']) && ($vo['email'] !== '')?$vo['email']:"")); ?>' placeholder="" class="layui-input"></label></div><div class="layui-form-item layui-row layui-col-space15"><label class=" relative"><span class="color-green">绑定手机号:</span><input name="bind_phone" value='<?php echo htmlentities((isset($vo['bind_phone']) && ($vo['bind_phone'] !== '')?$vo['bind_phone']:"")); ?>' placeholder="" class="layui-input"></label></div><?php else: ?><div class="layui-form-item layui-row layui-col-space15"><label class=" relative"><span class="color-green">手机号:</span><input readonly value='<?php echo htmlentities((isset($vo['phone']) && ($vo['phone'] !== '')?$vo['phone']:"")); ?>' placeholder="" class="layui-input"></label></div><?php endif; ?><div class="layui-form-item layui-row layui-col-space15"><label class="layui-col-xs3 relative" style="width: 100%"><span class="color-green">标签</span><div class="layui-input-block" style="margin-left:10px;"><div style="display: none;"><input type="checkbox" name="" ></div><?php foreach($tag_arr as $key=>$value): ?><input type="checkbox" name="label[<?php echo htmlentities($key); ?>]" title="<?php echo htmlentities($value); ?>" <?php if(isset($label_arr) && in_array($key,$label_arr)): ?> checked = "checked" <?php endif; ?>><?php endforeach; ?></div></label></div><div class="layui-form-item layui-row layui-col-space15"><label class="layui-col-xs3 relative" style="width: 100%"><span class="color-green">智能标签</span><div class="layui-input-block" style="margin-left:10px;"><div style="display: none;"><input type="checkbox" name="" ></div><?php foreach($label_zn_arr as $key=>$value): ?><span class="layui-badge layui-bg-green"><?php echo htmlentities($value['label']); ?></span>&nbsp;
  13. <!-- <input type="checkbox" name="label[<?php echo htmlentities($key); ?>]" title="<?php echo htmlentities($value['label']); ?>" >--><?php endforeach; ?></div></label></div><div class="layui-form-item layui-row layui-col-space15 freight_mud"><label class=" relative"><span class="color-green">设置等级:</span><select name="level_id" class="layui-select" lay-filter ="level_id"><option value="0" >请选择</option><?php foreach($level_arr as $lk=>$lv): ?><option value="<?php echo htmlentities($lk); ?>" <?php if($vo['rank_id'] == $lk): ?>selected<?php endif; ?>><?php echo htmlentities($lv); ?></option><?php endforeach; ?></select></label></div><div class="layui-form-item layui-row layui-col-space15 freight_mud"><label class=" relative"><span class="color-green">绑定企业:</span><select name="group_id" class="layui-select" lay-filter ="group_id"><option value="0" >请选择</option><?php foreach($group_arr as $lk=>$lv): ?><option value="<?php echo htmlentities($lk); ?>" <?php if($vo['group_id'] == $lk): ?>selected<?php endif; ?>><?php echo htmlentities($lv); ?></option><?php endforeach; ?></select></label></div><div class="layui-form-item layui-row layui-col-space15"><label class=" relative"><span class="color-green">会员到期时间:</span><input name="over_time" id="over_time" value='<?php echo htmlentities((isset($vo['end_date']) && ($vo['end_date'] !== '')?$vo['end_date']:"")); ?>' placeholder="" class="layui-input"></label></div><!--
  14. <div class="layui-form-item layui-row layui-col-space15"><label class=" relative"><span class="color-green">安卓手机:</span><input name="facility_1" value='<?php echo htmlentities((isset($vo['facility_1']) && ($vo['facility_1'] !== '')?$vo['facility_1']:"")); ?>' placeholder="" class="layui-input"></label></div><div class="layui-form-item layui-row layui-col-space15"><label class=" relative"><span class="color-green">IOS手机:</span><input name="facility_2" value='<?php echo htmlentities((isset($vo['facility_2']) && ($vo['facility_2'] !== '')?$vo['facility_2']:"")); ?>' placeholder="" class="layui-input"></label></div><div class="layui-form-item layui-row layui-col-space15"><label class=" relative"><span class="color-green">安卓iPad:</span><input name="facility_3" value='<?php echo htmlentities((isset($vo['facility_3']) && ($vo['facility_3'] !== '')?$vo['facility_3']:"")); ?>' placeholder="" class="layui-input"></label></div><div class="layui-form-item layui-row layui-col-space15"><label class=" relative"><span class="color-green">IOSiPad:</span><input name="facility_4" value='<?php echo htmlentities((isset($vo['facility_4']) && ($vo['facility_4'] !== '')?$vo['facility_4']:"")); ?>' placeholder="" class="layui-input"></label></div><div class="layui-form-item layui-row layui-col-space15"><label class=" relative"><span class="color-green">电脑设备:</span><input name="facility_5" value='<?php echo htmlentities((isset($vo['facility_5']) && ($vo['facility_5'] !== '')?$vo['facility_5']:"")); ?>' placeholder="" class="layui-input"></label></div>--></div><div class="hr-line-dashed"></div><div class="layui-form-item text-center"><?php if(!(empty($vo['id']) || (($vo['id'] instanceof \think\Collection || $vo['id'] instanceof \think\Paginator ) && $vo['id']->isEmpty()))): ?><input type='hidden' value='<?php echo htmlentities($vo['id']); ?>' name='id'><?php endif; ?><button class="layui-btn" type='submit'>提交</button><button class="layui-btn layui-btn-danger" type='button' data-close>取消</button></div></form><script> window.form.render();
  15. laydate.render({
  16. elem: '#over_time'
  17. ,type: 'datetime'
  18. ,min:new Date().toLocaleString()
  19. });
  20. </script>