You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

222 lines
10 KiB
HTML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<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" class="current"><a href="{:U('qq_thirdparty')}" >QQ登录</a></li>
<li data-tab="tab2"><a href="{:U('wx_thirdparty')}" >微信登录</a></li>
<!-- <li data-tab="tab5"><a href="javascript:void(0);" >微信(扫码)</a></li> -->
<!-- <li data-tab="tab3"><a href="{:U('wb_thirdparty')}" >微博登录</a></li> -->
<!-- <li data-tab="tab4"><a href="{:U('bd_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 tab1 in">
<p>QQ第三方登录在本系统有两处需使用PC官网和手游SDKPC官网需申请网页应用手游SDK需申请移动应用。</p>
<p>网页应用申请地址:<a href="http://connect.qq.com/" target="_blank">http://open.qq.com/ QQ互联</a></p>
<p>移动应用申请地址:<a href="https://connect.qq.com/" target="_blank">https://connect.qq.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('qq_thirdparty')}" class="tabcon-subtab tcst1 current">PC官网</a>
<a href="{:U('qq_param_lists')}" class="tabcon-subtab tcst2">SDK</a>
<!-- <a href="javascript:;" class="tabcon-subtab tcst3">SDK(苹果游戏)</a> -->
</div>
<div class="tab-content-subpan jssubpan clearfix current">
<form action="{:U('saveTool')}" method="post" class="form-horizontal qq_login form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l noticeinfo">openid</td>
<td class="r table_radio">
<input name="config[appid]" type="text" value="{$qq_login['appid']}" class="">
<span class="notice-text">合作身份者id以2088开头的16位纯数字</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">安全检验码</td>
<td class="r table_radio">
<input name="config[key]" type="text" value="{$qq_login['key']}" class="">
<span class="notice-text">安全检验码以数字和字母组成的32位字符</span>
</td>
</tr>
<!-- <tr>
<td class="l noticeinfo">回调地址</td>
<td class="r table_radio">
<input name="config[callback]" type="text" value="{$qq_login['callback']}" class="">
<span class="notice-text">登录成功后返回的地址</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="qq_login_data['status']" value="0">checked="checked"</eq>> 禁用</label>
<label><input type="radio" name="status" value="1" <eq name="qq_login_data['status']" value="1">checked="checked"</eq>> 启用
</label></span>
<span class="notice-text">QQ登录开启状态</span>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="name" value="qq_login">
<input type="submit" id="submit" value="保存" target-form="qq_login" class="submit_btn form_btn ajax-post mlspacing">
</form>
</div>
<div class="tab-content-subpan jssubpan clearfix ">
<div class="cf top_nav_list">
<empty name="extend">
<div class="fl button_list">
<div class="tools">
<a class="" href="{:U('add_thirdparty')}"><span class="button_icon button_icon1"></span>新增</a>
<a class="ajax-post confirm" target-form="ids" url="{:U('del?model='.$model['id'])}"><span class="button_icon button_icon2"></span>删除</a>
</div>
</div>
</empty>
<!-- 高级搜索 -->
<div class="jssearch fl cf search_list">
<div class="input-list search-title-box">
</div>
<div class="input-list input-list-game search_label_rehab">
<select id="game_id" name="game_name" class="select_gallery" >
<option value="">游戏名称</option>
<volist name=":get_game_list()" id="vo">
<option game-id="{$vo.id}" value="{$vo.game_name}">{$vo.game_name}</option>
</volist>
</select>
</div>
<div class="input-list">
<a class="sch-btn" href="javascript:;" id="search" url="{:U('Rebate/lists','model='.$model['name'],false)}">搜索{:var_dump($_GET)}</a>
</div>
</div>
</div>
<div class="data_list">
<div class="">
<table>
<!-- 表头 -->
<thead>
<tr>
<th>游戏id</th>
<th>游戏名称</th>
<th>opend</th>
<th>安全校验码</th>
<th>回调地址</th>
<th>充值方式</th>
<th>启用状态</th>
<th>操作</th>
</tr>
</thead>
<!-- 列表 -->
<tbody>
<empty name="list_data">
<td colspan="15" class="text-center">aOh! 暂时还没有内容!</td>
<else/>
<volist name="list_data" id="data">
<tr>
<td>{:set_show_time($data['pay_time'])}</td>
<td>{$data.game_name}</td>
<td>{:get_promote_account($data['promote_id'])}</td>
<td>{$data.spend_ip}</td>
<td>{$data.cost|default=0.00}</td>
<td><span>{$data.pay_amount}</span></td>
<td>{:get_pay_way($data['pay_way'])}</td>
<td>
<if condition="$data['pay_game_status'] eq 0 and $data['pay_status'] eq 1">
<a class="ajax-get budan" href="javascript:void(0);"
href-data="{$data.pay_order_number}" href-hhh="{:U('Repair/repairEdit')}">补单</a>
<else/>
<span>补单</span>
</if>
</td>
</tr>
</volist>
</empty>
</tbody>
</table>
</div>
</div>
<div class="page">
{$_page|default=''}
</div>
</div>
</div>
</div>
<div class="tab-content tabcon1711 tabcon17112">
<div id="tab2" class="tab-pane tab2">
<div class="tab-content-subtab jssubtab clearfix">
<a href="javascript:;" class="tabcon-subtab tcst1 current">WEB</a>
<a href="javascript:;" class="tabcon-subtab tcst2">SDK</a>
</div>
</div>
</div>
</div>
<div class="common_settings">
<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
<form class="addShortcutIcon">
<input type="hidden" name="title" value="{$m_title}">
<input type="hidden" name="url" value="{$m_url}">
</form>
<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
</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>