<extend name="Public/base"/> <block name="body"> <link rel="stylesheet" href="__CSS__/select2.min.css" type="text/css" /> <script type="text/javascript" src="__JS__/select2.min.js"></script> <script type="text/javascript" src="__JS__/bootstrap.min.js"></script> <div class="cf main-place top_nav_list navtab_list"> <ul class="tabnav1711 fr jstabnav"> <li data-tab="tab1" ><a href="{:U('qq_thirdparty')}" >QQ登录</a></li> <li data-tab="tab2"><a href="{:U('wx_thirdparty')}" >微信登录</a></li> </ul> <h3 class="page_title">{$meta_title}</h3> <p class="description_text">用于配置相关第三方登录所用参数的功能</p> </div> <div class="tab-wrap"> <div class="infomation information1711"> <div class="informationitem tab-pane tab4 in"> <p>百度第三方登录在本系统有两处需使用,PC官网和手游SDK;PC官网需申请网页应用,手游SDK需申请移动应用。</p> <p>网页应用申请地址:<a href="http://developer.baidu.com" target="_blank">http://developer.baidu.com(百度开放平台)</a></p> <p>移动应用申请地址:<a href="http://developer.baidu.com" target="_blank">http://developer.baidu.com</a></p> </div> </div> <div class="tab-content tabcon1711 tabcon17112"> <div id="tab1" class="tab-pane in tab1"> <div class="tab-content-subtab jssubtab clearfix"> <a href="{:U('bd_thirdparty')}" class="tabcon-subtab tcst1 current">PC官网</a> <a href="{:U('bd_param_lists')}" class="tabcon-subtab tcst2">SDK</a> </div> <div class="tab-content-subpan jssubpan clearfix current"> <form action="{:U('saveTool')}" method="post" class="form-horizontal baidu_login form_info_ml"> <table border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td class="l noticeinfo">clientid</td> <td class="r table_radio"> <input name="config[clientid]" type="text" value="{$baidu_login['clientid']}" class=""> <span class="notice-text">百度clientid</span> </td> </tr> <tr> <td class="l noticeinfo">启用状态</td> <td class="r table_radio"> <span class="form_radio"> <label><input type="radio" name="status" value="0" <eq name="baidu_login_data['status']" value="0">checked="checked"</eq>> 禁用</label> <label><input type="radio" name="status" value="1" <eq name="baidu_login_data['status']" value="1">checked="checked"</eq>> 启用 </label></span> <span class="notice-text">微信开启状态</span> </td> </tr> </tbody> </table> <input type="hidden" name="name" value="baidu_login"> <input type="submit" id="submit" value="保存" target-form="baidu_login" class="submit_btn form_btn ajax-post"> </form> </div> </div> </div> </div> </block> <block name="script"> <script type="text/javascript"> //导航高亮 highlight_subnav('{:U('Tool/qq_thirdparty')}'); $(function(){ $(".select_gallery").select2(); //搜索功能 $("#search").click(function(){ var url = $(this).attr('url'); var query = $('.jssearch').find('input').serialize(); query += "&"+$('.jssearch').find('select').serialize(); query = query.replace(/(&|^)(\w*?\d*?\-*?_*?)*?=?((?=&)|(?=$))/g,''); query = query.replace(/^&/g,''); if( url.indexOf('?')>0 ){ url += '&' + query; }else{ url += '?' + query; } window.location.href = url; }); //支持tab showTab(); $('.jssubtab a').click(function() { var that=$(this),index = that.index(),pan = that.closest('.jssubtab').siblings('.jssubpan'); that.siblings().removeClass('current'); that.addClass('current'); pan.removeClass('current').eq(index).addClass('current'); }); }) </script> </block>