
  <div class="layui-tab layui-tab-brief">
    <ul class="layui-tab-title">
      <li class="layui-this">用户信息</li>
      <li>积分</li>
    </ul>
    <div class="layui-tab-content">
      <div class="layui-tab-item layui-show">
<form class="layui-form" action="{:url('wendasns/user/edit')}" method="post">
  <input type="hidden" name="cm" value="info">
  
  <div class="layui-form-item">
    <label class="layui-form-label">UID</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="uid" value="{{ d.params.id || 0 }}" class="layui-input layui-disabled" disabled="disabled">
      </script>
    </div>
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">用户名</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" value="{{ d.params.username || '' }}" class="layui-input layui-disabled" disabled="disabled">
      </script>
    </div>
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">头像</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="name" value="{{ d.params.name || '' }}" placeholder="名称" class="layui-input">
      </script>
    </div>
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">新密码</label>
    <div class="layui-input-inline">
      <input type="text" name="password" value="" class="layui-input">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">确认密码</label>
    <div class="layui-input-inline">
      <input type="text" name="repassword" value="" class="layui-input">
    </div>
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">邮箱</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="email" value="{{ d.params.email || '' }}" class="layui-input">
      </script>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">手机号</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="mobile" value="{{ d.params.mobile || '' }}" class="layui-input">
      </script>
    </div>
  </div>

  <div class="layui-form-item">
          <div class="layui-inline">
            <label class="layui-form-label">用户组</label>
            <div class="layui-input-inline">
            <script type="text/html" template>
              <select name="group" lay-search="">
                {volist name="group" id="item"}
                	{if $item.type eq 'default'}
                <option value="{$item.id}" {{# if(d.params.group_id=={$item.id}){ }}selected="selected"{{# } }}>{$item.name}</option>
                	{/if}
                {/volist}
              </select>
            </script>
            </div>
          </div>
        </div>

  <div class="layui-form-item">
          <div class="layui-inline">
            <label class="layui-form-label">管理组</label>
            <div class="layui-input-inline">
            <script type="text/html" template>
              <select name="admingroup" lay-search="">
              	<option value="0">无</option>
                {volist name="group" id="item"}
                	{if $item.type eq 'admin'}
                <option value="{$item.id}" {{# if(d.params.members.admin_id=={$item.id}){ }}selected="selected"{{# } }}>{$item.name}</option>
                	{/if}
                {/volist}
              </select>
            </script>
            </div>
          </div>
        </div>
        
  <div class="layui-form-item">
          <div class="layui-inline">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-inline">
            <script type="text/html" template>
              <select name="status" lay-search="">
                <option value="1" {{# if(d.params.status==1){ }}selected="selected"{{# } }}>正常</option>
                <option value="0" {{# if(d.params.status==0){ }}selected="selected"{{# } }}>待审核</option>
              </select>
            </script>
            </div>
          </div>
        </div>
        
  <div class="layui-form-item">
          <div class="layui-inline">
            <label class="layui-form-label">认证类型</label>
            <div class="layui-input-inline">
            <script type="text/html" template>
              <select name="auths" lay-search="">
              	<option value="0" {{# if(d.params.members.auths==0){ }}selected="selected"{{# } }}>未认证</option>
                <option value="1" {{# if(d.params.members.auths==1){ }}selected="selected"{{# } }}>个人认证</option>
                <option value="2" {{# if(d.params.members.auths==2){ }}selected="selected"{{# } }}>企业认证</option>
                <option value="3" {{# if(d.params.members.auths==3){ }}selected="selected"{{# } }}>专家认证</option>
              </select>
            </script>
            </div>
          </div>
        </div>
        
  <div class="layui-form-item">
    <div class="layui-input-block">
      <button lay-submit lay-filter="J_ajax_submit_btn" class="layui-btn"><i class="layui-icon layui-icon-ok-circle"></i>提交</button>
    </div>
  </div>
</form>

    </div>
    
    <div class="layui-tab-item">
      <form class="layui-form" action="{:url('wendasns/user/edit')}" method="post">
         <input type="hidden" name="cm" value="credit">
         
  <div class="layui-form-item">
    <label class="layui-form-label">UID</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" value="{{ d.params.id || 0 }}" class="layui-input layui-disabled" disabled="disabled">
      </script>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">积分</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="mobile" value="{{ d.params.mobile || '' }}" lay-verify="phone" class="layui-input">
      </script>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">人民币</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="mobile" value="{{ d.params.mobile || '' }}" lay-verify="phone" class="layui-input">
      </script>
    </div>
  </div>
  
  <div class="layui-form-item">
    <div class="layui-input-block">
      <button lay-submit lay-filter="J_ajax_submit_btn" class="layui-btn"><i class="layui-icon layui-icon-ok-circle"></i>提交</button>
    </div>
  </div>
  
      </form>
    </div>
    
    </div>
  </div>