联系官方销售客服

1835022288

028-61286886

开发框架 版主:迅睿框架研发组
怎么样显示下拉名称
类型:迅睿CMS 更新时间:2021-08-09 18:24:19

image

我这个是下拉,但是没显示,求指导下。怎么样显示下拉

 {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}


回帖
  • #1楼    迅睿框架创始人
    2020-04-15 07:11:47
    Chrome 0
    html特效部分,我建议现在成死的数据,先把效果做出来,能有这种效果后,再考虑作成动态显示的数据
    满意答案
  • 五金冲压件
    #2楼    五金冲压件
    2021-08-09 18:24:19
    Chrome 0
    迅睿框架创始人:html特效部分,我建议现在成死的数据,先把效果做出来,能有这种效果后,再考虑作成动态显示的数据