迅睿開源框架是一款PHP8高性能·簡(jiǎn)單易用的PHP開源開發(fā)框架, 基于MIT開源許可協(xié)議發(fā)布,不限制商業(yè)使用,以多端互聯(lián)為設(shè)計(jì)理念, 支持的微信公眾號(hào)、小程序、APP客戶端、移動(dòng)端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
業(yè)務(wù)經(jīng)理
微信掃描以上二維碼
028-61286886
技術(shù)咨詢
為什么后臺(tái)設(shè)置了留言提交成功跳轉(zhuǎn)的URL鏈接,跳轉(zhuǎn)的還是默認(rèn)的留言模板,沒(méi)有跳到指定鏈接去呢???
關(guān)鍵在于你提交按鈕的代碼寫法,發(fā)來(lái)看看
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問(wèn)題!
回復(fù)@迅??蚣芗夹g(shù)-李波
<!--在線留言 開始--> <!-- 系統(tǒng)關(guān)鍵js(所有自建模板必須引用) --> <script type="text/javascript">var is_mobile_cms = '{IS_MOBILE}';</script> <script src="{LANG_PATH}lang.js" type="text/javascript"></script> <script src="{THEME_PATH}assets/global/plugins/jquery.min.js" type="text/javascript"></script> <script src="{THEME_PATH}assets/js/cms.js" type="text/javascript"></script> <!-- 系統(tǒng)關(guān)鍵js結(jié)束 --> <section class="wzlydb"> <div class="dblxwb">在線留言<i></i></div> <form action="" enctype="multipart/form-data" method="post" name="myform" id="myform"> <input name="is_form" type="hidden" value="1"> <input name="is_admin" type="hidden" value="0"> <input name="is_tips" type="hidden" value=""> <input name="csrf_test_name" type="hidden" value="b1c042df3dc3078eae807334103064e5"> <table style="width:97%;" cellpadding="0" cellspacing="1"> <tr> <td align="right" valign="top">姓名:</td> <td><input class="form-control " type="text" name="data[author]" id="dr_author" value="" style="width:200px;padding: 0 0 0 10px;"> </td> </tr> <tr> <td align="right" valign="top">電話:</td> <td><input class="form-control " type="text" name="data[dianhua]" id="dr_dianhua" value="" style="width:200px;padding: 0 0 0 10px;"> </td> </tr> <tr> <td align="right" valign="top">留言:</td> <td><textarea class="form-control" style="height:100px; width:300px;padding: 10px 0 0 10px;" name="data[title]" id="dr_title"></textarea> </td> </tr> </table> <div align='center' style='height:30px;padding-top:10px;'> <button type="button" onclick="dr_ajax_submit('http://域名/index.php?s=form&c=yonghuliuyan&m=post', 'myform', '2000', 'http://域名/index.php?s=form&c=yonghuliuyan&m=post')">提交內(nèi)容</button> </div> </form> </section> <!--在線留言 結(jié)束-->
關(guān)鍵在于你提交按鈕的代碼寫法,發(fā)來(lái)看看
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問(wèn)題!
回復(fù)@迅??蚣芗夹g(shù)-李波
<!--在線留言 開始--> <!-- 系統(tǒng)關(guān)鍵js(所有自建模板必須引用) --> <script type="text/javascript">var is_mobile_cms = '{IS_MOBILE}';</script> <script src="{LANG_PATH}lang.js" type="text/javascript"></script> <script src="{THEME_PATH}assets/global/plugins/jquery.min.js" type="text/javascript"></script> <script src="{THEME_PATH}assets/js/cms.js" type="text/javascript"></script> <!-- 系統(tǒng)關(guān)鍵js結(jié)束 --> <section class="wzlydb"> <div class="dblxwb">在線留言<i></i></div> <form action="" enctype="multipart/form-data" method="post" name="myform" id="myform"> <input name="is_form" type="hidden" value="1"> <input name="is_admin" type="hidden" value="0"> <input name="is_tips" type="hidden" value=""> <input name="csrf_test_name" type="hidden" value="b1c042df3dc3078eae807334103064e5"> <table style="width:97%;" cellpadding="0" cellspacing="1"> <tr> <td align="right" valign="top">姓名:</td> <td><input class="form-control " type="text" name="data[author]" id="dr_author" value="" style="width:200px;padding: 0 0 0 10px;"> </td> </tr> <tr> <td align="right" valign="top">電話:</td> <td><input class="form-control " type="text" name="data[dianhua]" id="dr_dianhua" value="" style="width:200px;padding: 0 0 0 10px;"> </td> </tr> <tr> <td align="right" valign="top">留言:</td> <td><textarea class="form-control" style="height:100px; width:300px;padding: 10px 0 0 10px;" name="data[title]" id="dr_title"></textarea> </td> </tr> </table> <div align='center' style='height:30px;padding-top:10px;'> <button type="button" onclick="dr_ajax_submit('http://域名/index.php?s=form&c=yonghuliuyan&m=post', 'myform', '2000', 'http://域名/index.php?s=form&c=yonghuliuyan&m=post')">提交內(nèi)容</button> </div> </form> </section> <!--在線留言 結(jié)束-->