聯(lián)系官方銷售客服
1835022288
028-61286886
首頁注冊 請大神幫忙修改下!謝謝!
<div class="col-md-11 col-lg-10"> <h2>創(chuàng)建一個賬號</h2> <p class="lead">個人賬號或者企業(yè)賬號</p> <div class="row"> <div class="col-12"> {loop $register.group $i} <div class="col-lg-6 col-md-6 col-md-offset-6 col-6"> <a class="btn block btn--icon bg--twitter type--uppercase {if $groupid == $i}active{/if}" href="{dr_member_url('register/index', ['groupid' => $i])}"> <span class="btn__text"> <i class="socicon-twitter"></i> {$group[$i][name]} </span> </a> </div> {/loop} </div> </div> <hr data-title="OR"> <form id="myform_reg"> {dr_form_hidden()} <div class="row form-body" style="padding-bottom:0"> {if in_array('username', $register.field)} <div class="col-12" id="dr_row_username"> <input type="text" class="form-control input-large" name="data[username]" id="dr_username" placeholder="用戶名" > </div> {/if} {if in_array('email', $register.field)} <div class="col-12" id="dr_row_email"> <input type="text" class="form-control input-large" name="data[email]" id="dr_email" placeholder="郵箱" > </div> {/if} {if in_array('phone', $register.field)} <div class="col-12 " id="dr_row_phone"> <input type="text" class="form-control input-large" name="data[phone]" id="dr_phone" placeholder="手機號" > </div> {/if} <div class="col-12 " id="dr_row_password"> <input type="password" class="form-control input-large" name="data[password]" id="dr_password" placeholder="密碼" > </div> <div class="col-12" id="dr_row_password2"> <input type="password" class="form-control input-large" name="data[password2]" id="dr_password2" placeholder="確認密碼" > </div> {$myfield} {if $register.sms} <div class="col-12" id="dr_row_sms"> <div class="col-6"> <input class="form-control placeholder-no-fix" type="text" autocomplete="off" id="dr_sms" name="sms" placeholder="短信驗證" > </div> <div class="col-6"> <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> {/if} {if $register.sms || $register.code} <div class="col-12" id="dr_row_code"> <div class="col-6"> <input class="form-control placeholder-no-fix" type="text" autocomplete="off" id="dr_code" name="code" placeholder="驗證碼"> </div> <div class="col-6"> {dr_code(120, 35)} </div> </div> {/if} <div class="col-12"> <button type="button" class="btn btn--primary" onclick="dr_ajax_member('{dr_member_url('register/index')}', 'myform_reg');" style="width: 100%">立即注冊</button> </div> <div class="col-12"> <div class="input-checkbox"> <input type="checkbox" name="is_protocol" value="1" checked id="input-assigned-0"> <label for="input-assigned-0"></label> </div> <span>我已閱讀并同意<a href="javascript:dr_show_protocol();"><span>《用戶注冊協(xié)議》</span> </a></span> </div> </div> </form> </div>
代碼簽名加一句
后面用你的代碼
回復@靠懸賞(設置懸賞)賺錢買授權(quán)
不管用呀,連用戶名表單都不顯示!
明明可以啊,實測有效啊