联系官方销售客服
1835022288
028-61286886
我这个是下拉,但是没显示,求指导下。怎么样显示下拉
{if in_array('username', $register.field)} <div class="form-group res-input" id="dr_row_username"> <label class="col-md-3 control-label">用户名:</label> <div class="col-md-6"> <label><input type="text" class="form-control input-large" name="data[username]" id="dr_username" placeholder="请输入用户名(2-10个字符)"></label> </div> </div> {/if} <div class="form-group res-input" id="dr_row_password"> <label class="col-md-3 control-label">密 码:</label> <div class="col-md-6"> <label><input type="password" class="form-control input-large" name="data[password]" id="dr_password" placeholder="请输入密码(6-10数字加字符)"></label> </div> </div> <div class="form-group res-input" id="dr_row_password2"> <label class="col-md-3 control-label">确认密码:</label> <div class="col-md-6"> <label><input type="password" class="form-control input-large" name="data[password2]" id="dr_password2" placeholder="请输入密码(6-10数字加字符)"></label> </div> </div> <div class="form-group res-input" id="dr_row_name"> <label class="col-md-3 control-label">公司名称:</label> <div class="col-md-6"> <label><input type="text" class="form-control input-large" name="data[gsmc]" id="dr_name" placeholder="请输入现在或最近任职单位"></label> </div> </div> <div class="form-group res-input" id="dr_row_phone"> <label class="col-md-3 control-label">行 业:</label> <div class="col-md-6"> <label><input type="text" class="form-control input-large" name="data[hangye]" id="dr_phone" placeholder="请选择行业"></label> </div> </div> <div class="form-group res-input" id="dr_row_name"> <label class="col-md-3 control-label">联系人:</label> <div class="col-md-6"> <label><input type="text" class="form-control input-large" name="data[name]" id="dr_name" placeholder="请输入联系人姓名"></label> </div> </div> {if in_array('phone', $register.field)} <div class="form-group res-input" id="dr_row_phone"> <label class="col-md-3 control-label">电 话:</label> <div class="col-md-6"> <label><input type="text" class="form-control input-large" name="data[phone]" id="dr_phone" placeholder="请输入联系人电话"></label> </div> </div> {/if} {if in_array('email', $register.field)} <div class="form-group res-input" id="dr_row_email"> <label class="col-md-3 control-label">邮 箱:</label> <div class="col-md-6"> <label><input type="text" class="form-control input-large" name="data[email]" id="dr_email" placeholder="请输入联系人邮箱"></label> </div> </div> {/if} <div class="form-group res-input nobottom" id="dr_row_email"> <label class="col-md-3 control-label">留 言:</label> <div class="col-md-6"> <textarea name="data[liuyan]" value=""></textarea> </div> </div> {if $register.sms} <div class="form-group" id="dr_row_sms"> <label class="col-md-2 control-label">短信验证</label> <div class="col-md-10"> <div class="input-group input-large"> <input class="form-control placeholder-no-fix" type="text" autocomplete="off" id="dr_sms" name="sms"> <div class="input-group-btn"> <button class="btn blue" onclick="dr_ajax_url('/index.php?s=member&c=api&m=register_code&id=' + $('#dr_phone').val() + '&code=' + $('#dr_code').val())" type="button">获取手机验证码</button> </div> </div> </div> </div> {/if} {if $register.sms || $register.code} <div class="form-group" id="dr_row_code"> <label class="col-md-2 control-label">验证码</label> <div class="col-md-9"> <div class="input-group input-large"> <input class="form-control placeholder-no-fix" type="text" autocomplete="off" id="dr_code" name="code"> <div class="input-group-btn fc-code"> {dr_code(120, 35)} </div> </div> </div> </div> {/if}