迅睿CMS框架是一款PHP8高性能·簡(jiǎn)單易用的CMS開(kāi)源開(kāi)發(fā)框架,基于MIT開(kāi)源許可協(xié)議發(fā)布,免費(fèi)且不限制商業(yè)使用,是免費(fèi)開(kāi)源的產(chǎn)品,以萬(wàn)端互聯(lián)為設(shè)計(jì)理念,支持的微信公眾號(hào)、小程序、APP客戶端、移動(dòng)端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
聯(lián)系官方銷售客服
1835022288
028-61286886
為什么后臺(tái)設(shè)置了留言提交成功跳轉(zhuǎn)的URL鏈接,跳轉(zhuǎn)的還是默認(rèn)的留言模板,沒(méi)有跳到指定鏈接去呢???
關(guān)鍵在于你提交按鈕的代碼寫法,發(fā)來(lái)看看
回復(fù)@迅??蚣芗夹g(shù)-李波
<!--在線留言 開(kāi)始--> <!-- 系統(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)看看
回復(fù)@迅??蚣芗夹g(shù)-李波