Merge branch 'feature/promote' of 47.111.118.107:/srv/git/platform into feature/promote
commit
0dcb2a2014
@ -0,0 +1,36 @@
|
||||
<extend name="Public/base" />
|
||||
<!-- 管理员用户组新增和编辑页面 -->
|
||||
<block name="body">
|
||||
<form action="{:U('Member/save_device_bans')}" enctype="application/x-www-form-urlencoded" method="POST"
|
||||
class="form-horizontal form_info_ml">
|
||||
<div class="formtitle"><span>新增风控</span></div>
|
||||
<ul class="form_info ">
|
||||
<input type="hidden" name="id" value="{$auth_group.id}" />
|
||||
<li>
|
||||
<label>类型</label>
|
||||
<select id="type" name="type" class="select_gallery">
|
||||
<option value="1">设备号</option>
|
||||
<option value="2">IP</option>
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<label>详情</label><input type="text" name="tag" class="" placeholder="风控标识" value="{:I('tag')}">
|
||||
</li>
|
||||
<li>
|
||||
<label> </label><input type="submit" id="submit" value="确认保存" target-form="form-horizontal" class="form_btn ajax-post">
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
|
||||
<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="AuthManager/index">
|
||||
</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">
|
||||
</block>
|
@ -0,0 +1,173 @@
|
||||
<extend name="Public/base" />
|
||||
|
||||
<block name="body">
|
||||
<link rel="stylesheet" type="text/css" href="__CSS__/admin_table.css" media="all">
|
||||
<script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
|
||||
<link rel="stylesheet" href="__CSS__/select2.min.css" type="text/css" />
|
||||
<script type="text/javascript" src="__JS__/select2.min.js"></script>
|
||||
<style>
|
||||
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
||||
line-height:35px;
|
||||
line-height:28px;
|
||||
}
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
||||
height:26px;
|
||||
}
|
||||
.select2-container--default .select2-search--dropdown .select2-search__field {
|
||||
height:26px;line-height:26px;font-size:12px;
|
||||
}
|
||||
.select2-results__option[aria-selected] {font-size:12px;}
|
||||
|
||||
.tabcon1711 .select2-container--default .select2-selection--single{
|
||||
font-size: 12px;
|
||||
color: #555;
|
||||
vertical-align: middle;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
background-color: #fff;
|
||||
border: 1px solid #ccc;
|
||||
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
|
||||
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
|
||||
box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
|
||||
-webkit-transition: border linear .2s, box-shadow linear .2s;
|
||||
-moz-transition: border linear .2s, box-shadow linear .2s;
|
||||
-o-transition: border linear .2s, box-shadow linear .2s;
|
||||
transition: border linear .2s, box-shadow linear .2s;height:30px;}
|
||||
.tabcon1711 .select2-container--default .select2-selection--single .select2-selection__rendered {line-height: 30px;}
|
||||
.tabcon1711 .select2-container--default .select2-selection--single .select2-selection__arrow {height:30px;}
|
||||
.tabcon1711 .select2-container--default .select2-search--dropdown .select2-search__field {
|
||||
height:26px;line-height:26px;font-size:12px;
|
||||
}
|
||||
.tabcon1711 .select2-results__option[aria-selected] {font-size:12px;}
|
||||
</style>
|
||||
|
||||
<div class="cf main-place top_nav_list navtab_list">
|
||||
<h3 class="page_title">推广补链查看</h3>
|
||||
<p class="description_text">说明:此处功能用于修改玩家所属推广渠道的功能。</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="tab-content tabcon1711">
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="l noticeinfo">用户账号</td>
|
||||
<td class="r table_radio">
|
||||
<input name="account" value="{:get_promote_name($data['promote_id'])}" disabled readonly type="text" class="">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="l noticeinfo">修改前渠道</td>
|
||||
<td class="r table_radio">
|
||||
<input name="old_promote_id" value="{:get_promote_name($data['from_promote_id'])}" disabled readonly type="text" class="">
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="l noticeinfo">补链后渠道</td>
|
||||
<td class="r table_radio">
|
||||
<input name="old_promote_id" value="{:get_promote_name($data['to_promote_id'])}" disabled readonly type="text" class="">
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="l noticeinfo">订单日期:</td>
|
||||
<td class="r table_radio">
|
||||
<input type="text" readonly value="{$data['order_time']}" placeholder="订单日期" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="l noticeinfo">换绑类型</td>
|
||||
<td class="r table_radio">
|
||||
<input name="bind_type" value="1" type="radio">In
|
||||
<input name="bind_type" value="2" type="radio">Out
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="l noticeinfo">备注</td>
|
||||
<td class="r table_radio">
|
||||
<textarea name="remark" readonly class="txt_area1">{$data['remark']}</textarea>
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<div class="form-item cf">
|
||||
<button class="submit_btn mlspacing" id="submit" data-id="{$data.id}">
|
||||
取消补链
|
||||
</button>
|
||||
<a class="submit_btn " alt="返回上一页" title="返回上一页" href="javascript:window.history.back();" >
|
||||
返回
|
||||
</a>
|
||||
</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="Mend/lists">
|
||||
</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">
|
||||
<link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
|
||||
<php>if(C('COLOR_STYLE')=='blue_color') echo '<link href="__STATIC__/datetimepicker/css/datetimepicker_blue.css" rel="stylesheet" type="text/css">';</php>
|
||||
<link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
|
||||
<script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
|
||||
<script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
var start = $("#bind_time").val();
|
||||
|
||||
$('#bind_time').datetimepicker({
|
||||
format: 'yyyy-mm-dd',
|
||||
language:"zh-CN",
|
||||
minView:2,
|
||||
autoclose:true
|
||||
});
|
||||
|
||||
<volist name=":I('get.')" id="vo">
|
||||
Think.setValue('{$key}',"{$vo}");
|
||||
</volist>
|
||||
$(".select_gallery").select2();
|
||||
//导航高亮
|
||||
highlight_subnav('{:U('Mend/lists')}');
|
||||
Think.setValue("prmoote_id_to", {$data.promote_id|default = "''"});
|
||||
$('#submit').click(function(){
|
||||
//获取id
|
||||
var taskid = $(this).data("id");
|
||||
|
||||
window.location.href = "{:U('Mend/cancelShift')}"+"&id="+taskid;
|
||||
});
|
||||
$(function(){
|
||||
$('.time').datetimepicker({
|
||||
format: 'yyyy-mm-dd hh:ii',
|
||||
language:"zh-CN",
|
||||
minView:2,
|
||||
autoclose:true
|
||||
});
|
||||
$('.date').datetimepicker({
|
||||
format: 'yyyy-mm-dd',
|
||||
language:"zh-CN",
|
||||
minView:2,
|
||||
autoclose:true
|
||||
});
|
||||
showTab();
|
||||
});
|
||||
</script>
|
||||
</block>
|
@ -0,0 +1,48 @@
|
||||
<?php
|
||||
namespace Base\Tool;
|
||||
|
||||
/**
|
||||
* 生成Plist的demo
|
||||
* @author elf<360197197@qq.com>
|
||||
*/
|
||||
class PlistDemo
|
||||
{
|
||||
public static $content = '<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>items</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>assets</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>kind</key>
|
||||
<string>software-package</string>
|
||||
<key>url</key>
|
||||
<string>ipa_url</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>kind</key>
|
||||
<string>display-image</string>
|
||||
<key>needs-shine</key>
|
||||
<true/>
|
||||
<key>url</key>
|
||||
<string>icon</string>
|
||||
</dict>
|
||||
</array><key>metadata</key>
|
||||
<dict>
|
||||
<key>bundle-identifier</key>
|
||||
<string>com.dell</string>
|
||||
<key>bundle-version</key>
|
||||
<string>1.0.0</string>
|
||||
<key>kind</key>
|
||||
<string>software</string>
|
||||
<key>title</key>
|
||||
<string>mchdemo</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>';
|
||||
}
|
@ -0,0 +1,200 @@
|
||||
<extend name="Public/promote_base"/>
|
||||
<block name="css">
|
||||
<link href="__CSS__/20180207/platform.css" rel="stylesheet">
|
||||
<link href="__CSS__/detailed.css" rel="stylesheet">
|
||||
<link href="__STATIC__/icons_alibaba/iconfont.css" rel="stylesheet">
|
||||
<style>
|
||||
.trunk-list .table3 {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.table3 tr td {
|
||||
border: 1px solid #E0E7EF;
|
||||
}
|
||||
|
||||
.pagenation {
|
||||
line-height: 6.5vh;
|
||||
}
|
||||
|
||||
.pagenation > div {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.trunk-list .table3 tr {
|
||||
height: 4.2vh;
|
||||
}
|
||||
|
||||
.detailed-content-box {
|
||||
width: 350px;
|
||||
}
|
||||
</style>
|
||||
</block>
|
||||
|
||||
<block name="body">
|
||||
<div class="page-search normal_list charge-agentPay-search">
|
||||
<div style="position: absolute;margin-top: -25px;color: #6a7082;">
|
||||
<span class="back-btn" style="cursor: pointer;"><i class="iconfont iconreply"></i> 返回</span>
|
||||
</div>
|
||||
<div class="trunk-title">
|
||||
<div class="location">
|
||||
<div class="location-container">当前位置:
|
||||
<volist name="modelList" id="vo" key="k">
|
||||
<?php if ($k == count($modelList)) {
|
||||
echo "<span>$vo</span>";
|
||||
} else {
|
||||
echo "<span>$vo></span>";
|
||||
}?>
|
||||
</volist>
|
||||
</div>
|
||||
</div>
|
||||
<span class="title_main">订单信息</span>
|
||||
</div>
|
||||
<div class="trunk-content article">
|
||||
<div class="trunk-search clearfix" style="display: grid;">
|
||||
<div class="tab detailed-box">
|
||||
<label class="detailed-title detailed-label">提现订单号:</label>
|
||||
<div class="detailed-content-box">
|
||||
<span>{$withdraw.widthdraw_number}</span>
|
||||
</div>
|
||||
<label class="detailed-title detailed-label">申请时间:</label>
|
||||
<div class="detailed-content-box">
|
||||
<span>{$withdraw.create_time}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tab detailed-box">
|
||||
<label class="detailed-title detailed-label">会长账号:</label>
|
||||
<div class="detailed-content-box">
|
||||
<span>{$withdraw.promote_account}</span>
|
||||
</div>
|
||||
<label class="detailed-title detailed-label">结算截止时间:</label>
|
||||
<div class="detailed-content-box">
|
||||
<span>{$withdraw.settlement_end_time}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tab detailed-box">
|
||||
<label class="detailed-title detailed-label">状态:</label>
|
||||
<div class="detailed-content-box">
|
||||
<span>{$withdraw.status}</span>
|
||||
</div>
|
||||
<label class="detailed-title detailed-label">收款人:</label>
|
||||
<div class="detailed-content-box">
|
||||
<span>{$promoteData.bank_account}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tab detailed-box">
|
||||
<label class="detailed-title detailed-label">开户行:</label>
|
||||
<div class="detailed-content-box">
|
||||
<span>{$promoteData.bank_name}</span>
|
||||
</div>
|
||||
<label class="detailed-title detailed-label">银行账号:</label>
|
||||
<div class="detailed-content-box">
|
||||
<span>{$promoteData.bank_card}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tab detailed-box">
|
||||
<label class="detailed-title detailed-label">收益金额:</label>
|
||||
<div class="detailed-content-box">
|
||||
<span>
|
||||
<if condition="$withdraw.status eq -1">
|
||||
0.00
|
||||
<else/>
|
||||
{$withdraw.sum_money}
|
||||
</if>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tab detailed-box">
|
||||
<label class="detailed-title detailed-label">奖惩金额:</label>
|
||||
<div class="detailed-content-box">
|
||||
<span>0.00</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tab detailed-box">
|
||||
<label class="detailed-title detailed-label">实际提现金额:</label>
|
||||
<div class="detailed-content-box">
|
||||
<span>
|
||||
<if condition="$withdraw.status eq -1">
|
||||
0.00
|
||||
<else/>
|
||||
{$withdraw.sum_money}
|
||||
</if>
|
||||
<span style="color: red;">(实际提现金额=提现金额+奖惩金额)</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="trunk-title">
|
||||
<span class="title_main">结算汇总</span>
|
||||
</div>
|
||||
<div class="trunk-content article">
|
||||
<div class="tabcon trunk-list">
|
||||
<table class="table normal_table">
|
||||
<tr class="odd">
|
||||
<th>游戏名称</th>
|
||||
<th>流水</th>
|
||||
<th>现金分成基数</th>
|
||||
<th>现金分成比例</th>
|
||||
<th>平台币分成基数</th>
|
||||
<th>平台币分成比例</th>
|
||||
<th>绑定币分成基数</th>
|
||||
<th>绑定币分成比例</th>
|
||||
<th>合作方分成金额</th>
|
||||
</tr>
|
||||
<if condition="true eq empty($listData) or $withdraw.status eq -1">
|
||||
<tr class="num2">
|
||||
<td colspan="99" style="text-align: center;height: 45vh;">
|
||||
<img src="__IMG__/20180207/icon_wushujv2.png"/>
|
||||
<p style="line-height: 40px;color: #A5A5A5;">暂无数据</p>
|
||||
</td>
|
||||
</tr>
|
||||
<else/>
|
||||
<volist name="listData" id="vo">
|
||||
<tr class="num2">
|
||||
<td>{$vo.game_name}</td>
|
||||
<td>{$vo.pay_amount_all}</td>
|
||||
<if condition="$vo.pay_way neq -1 and $vo.pay_way neq 0">
|
||||
<td>{$vo.pay_amount_all}</td>
|
||||
<else/>
|
||||
<td>0</td>
|
||||
</if>
|
||||
<td>{$vo.selle_ratio}%</td>
|
||||
<if condition="$vo.pay_way eq 0">
|
||||
<td>{$vo.pay_amount_all}</td>
|
||||
<else/>
|
||||
<td>0</td>
|
||||
</if>
|
||||
<td>{$vo.selle_ratio}%</td>
|
||||
<if condition="$vo.pay_way eq -1">
|
||||
<td>{$vo.pay_amount_all}</td>
|
||||
<else/>
|
||||
<td>0</td>
|
||||
</if>
|
||||
<td>{$vo.selle_ratio}%</td>
|
||||
<td>{$vo.income}</td>
|
||||
</tr>
|
||||
</volist>
|
||||
</if>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="detailed-br"></div>
|
||||
</div>
|
||||
</block>
|
||||
<block name="script">
|
||||
<script type="text/javascript" src="__STATIC__/layer/extend/layer.ext.js"></script>
|
||||
<script type="text/javascript" src="__JS__/20170831/select2.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
$('.back-btn').on('click', function () {
|
||||
location.href = "{:U('withdrawRecord')}";
|
||||
});
|
||||
</script>
|
||||
</block>
|
@ -0,0 +1,236 @@
|
||||
<extend name="Public/promote_base"/>
|
||||
<block name="css">
|
||||
<link href="__CSS__/20180207/data.css" rel="stylesheet">
|
||||
<link href="__CSS__/20180207/manager.css" rel="stylesheet">
|
||||
<link href="__CSS__/20180207/finance.css" rel="stylesheet">
|
||||
<link href="__CSS__/game_detailed.css" rel="stylesheet">
|
||||
<link href="__STATIC__/icons_alibaba/iconfont.css?v=1.2" rel="stylesheet">
|
||||
</block>
|
||||
|
||||
<block name="body">
|
||||
<style>
|
||||
@media screen and (max-width: 1500px) {
|
||||
.normal_form {
|
||||
padding-top: 45px;
|
||||
}
|
||||
|
||||
.trunk-search .normal_txt {
|
||||
width: 100px
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--single {
|
||||
width: 125px;
|
||||
}
|
||||
|
||||
.trunk-search .select-time .txt {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.form-group .submit {
|
||||
width: 55px;
|
||||
}
|
||||
}
|
||||
|
||||
.selected-color {
|
||||
color: #2bd8ed;
|
||||
}
|
||||
|
||||
.pointer-hand {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.icon-spend {
|
||||
position: relative;
|
||||
font-size: 1.2rem;
|
||||
top: 3px;
|
||||
float: right;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
.th-hide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
float: left;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.form-group label {
|
||||
line-height: 34px;
|
||||
height: 34px;
|
||||
}
|
||||
.form-group .txt {
|
||||
width: 180px;
|
||||
height: 34px;
|
||||
}
|
||||
.trunk-search {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
.btn-role-border {
|
||||
border-left: 0;
|
||||
}
|
||||
.normal_table tr td a {
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
<div class="page-search normal_list query-recharge-search">
|
||||
<div style="position: absolute;margin-top: -25px;color: #6a7082;">
|
||||
<span class="back-btn" style="cursor: pointer;"><i class="iconfont iconreply"></i> 返回</span>
|
||||
</div>
|
||||
<div class="trunk-title">
|
||||
<div class="location">
|
||||
<div class="location-container">当前位置:
|
||||
<volist name="modelList" id="vo" key="k">
|
||||
<?php if ($k == count($modelList)) {
|
||||
echo "<span>$vo</span>";
|
||||
} else {
|
||||
echo "<span>$vo></span>";
|
||||
}?>
|
||||
</volist>
|
||||
</div>
|
||||
</div>
|
||||
<img src="__IMG__/20180207/icon_chongzhi.png">
|
||||
<span class="title_main">{$meta_title}</span>
|
||||
</div>
|
||||
<div class="trunk-content article">
|
||||
<div class="trunk-search clearfix jssearch">
|
||||
<!-- <form action="{:U('Finance/settlementDtl')}" method="get" enctype="multipart/form-data" class="normal_form"> -->
|
||||
<div class="form-group normal_space" style="margin-left: 0;">
|
||||
<label>游戏名称:</label>
|
||||
<select id="game_id" name="game_id" class="reselect select_gallery" style="min-width:200px;width: 175px;">
|
||||
<option value="">全部</option>
|
||||
<volist name=":getPromoteSearchGame()" id="vo">
|
||||
<option value="{$vo.id}" title="{$vo.game_name}"
|
||||
<if condition="I('game_id') eq $vo['id']">selected</if>
|
||||
>{$vo.game_name} </option>
|
||||
</volist>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group normal_space">
|
||||
<input type="text" name="user_account" class="txt normal_txt" placeholder="玩家账号"
|
||||
value="{:I('user_account','')}">
|
||||
</div>
|
||||
|
||||
<div class="form-group normal_space">
|
||||
<input type="text" name="pay_order_number" class="txt normal_txt" placeholder="充值订单号"
|
||||
value="{:I('pay_order_number','')}">
|
||||
</div>
|
||||
|
||||
<div class="form-group normal_space">
|
||||
<input type="hidden" name="id" value="{:I('get.id')}">
|
||||
<input type="submit" class="submit" id='submit' url="{:U('Finance/withdrawDtl','model='.$model['name'],false)}"
|
||||
value="查询">
|
||||
</div>
|
||||
<!-- </form> -->
|
||||
</div>
|
||||
<div class="page-list apply-app_apply-list query-recharge-list">
|
||||
<div class="trunk-content article" style="margin-left: 0;margin-right: 0;">
|
||||
<div class="tabcon trunk-list">
|
||||
<table class="table normal_table">
|
||||
<tr class="odd">
|
||||
<th>充值订单号</th>
|
||||
<th>游戏</th>
|
||||
<th>平台</th>
|
||||
<th>玩家账号</th>
|
||||
<th>订单总额</th>
|
||||
<th>现金分成基数</th>
|
||||
<th>现金分成比例</th>
|
||||
<th>平台币分成基数</th>
|
||||
<th>平台币分成比例</th>
|
||||
<th>绑定币分成基数</th>
|
||||
<th>绑定币分成比例</th>
|
||||
<th>现金支付通道</th>
|
||||
<th>收益</th>
|
||||
<th>订单状态</th>
|
||||
<th>充值时间</th>
|
||||
</tr>
|
||||
<empty name="listData">
|
||||
<tr class="num2">
|
||||
<td colspan="99" style="text-align: center;height: 45vh;">
|
||||
<img src="__IMG__/20180207/icon_wushujv2.png"/>
|
||||
<p style="line-height: 40px;color: #A5A5A5;">暂无数据</p>
|
||||
</td>
|
||||
</tr>
|
||||
<else/>
|
||||
<volist name="listData" id="vo">
|
||||
<tr class="num2">
|
||||
<td>{$vo.pay_order_number}</td>
|
||||
<td>{$vo.game_name}</td>
|
||||
<td>{:getSDKTypeName($vo['sdk_version'])}</td>
|
||||
<td>{$vo.user_account}</td>
|
||||
<td>{$vo.pay_amount}</td>
|
||||
<if condition="$vo.pay_way neq -1 and $vo.pay_way neq 0">
|
||||
<td>{$vo.pay_amount}</td>
|
||||
<else/>
|
||||
<td>0</td>
|
||||
</if>
|
||||
<td>{$vo.selle_ratio}%</td>
|
||||
<if condition="$vo.pay_way eq 0">
|
||||
<td>{$vo.pay_amount}</td>
|
||||
<else/>
|
||||
<td>0</td>
|
||||
</if>
|
||||
<td>{$vo.selle_ratio}%</td>
|
||||
<if condition="$vo.pay_way eq -1">
|
||||
<td>{$vo.pay_amount}</td>
|
||||
<else/>
|
||||
<td>0</td>
|
||||
</if>
|
||||
<td>{$vo.selle_ratio}%</td>
|
||||
<td>{$vo.pay_way_name}</td>
|
||||
<td>{$vo.income}</td>
|
||||
<td>{$status}</td>
|
||||
<td>{$vo.pay_time}</td>
|
||||
</tr>
|
||||
</volist>
|
||||
</empty>
|
||||
</table>
|
||||
</div>
|
||||
<div class="pagenation clearfix">
|
||||
{$_page}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</block>
|
||||
<block name="script">
|
||||
<link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
|
||||
<link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
|
||||
<script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
|
||||
<script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"
|
||||
charset="UTF-8"></script>
|
||||
<script type="text/javascript" src="__JS__/20170831/select2.min.js"></script>
|
||||
<script src="__STATIC__/layer/layer.js"></script>
|
||||
<script type="text/javascript" src="__JS__/common.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
$().ready(function () {
|
||||
$('.back-btn').on('click', function () {
|
||||
location.href = "{:U('withdrawRecord')}";
|
||||
});
|
||||
|
||||
$('#submit').click(function () {
|
||||
var url = $(this).attr('url');
|
||||
console.log(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;
|
||||
|
||||
});
|
||||
|
||||
$(".select_gallery").select2();
|
||||
});
|
||||
</script>
|
||||
|
||||
</block>
|
@ -0,0 +1,267 @@
|
||||
<extend name="Public/promote_base"/>
|
||||
<block name="css">
|
||||
<link href="__CSS__/20180207/data.css" rel="stylesheet">
|
||||
<link href="__CSS__/20180207/manager.css" rel="stylesheet">
|
||||
<link href="__CSS__/20180207/finance.css" rel="stylesheet">
|
||||
<link href="__CSS__/game_detailed.css" rel="stylesheet">
|
||||
<link href="__STATIC__/icons_alibaba/iconfont.css?v=1.2" rel="stylesheet">
|
||||
</block>
|
||||
|
||||
<block name="body">
|
||||
<style>
|
||||
@media screen and (max-width: 1500px) {
|
||||
.normal_form {
|
||||
padding-top: 45px;
|
||||
}
|
||||
|
||||
.trunk-search .normal_txt {
|
||||
width: 100px
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--single {
|
||||
width: 125px;
|
||||
}
|
||||
|
||||
.trunk-search .select-time .txt {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.form-group .submit {
|
||||
width: 55px;
|
||||
}
|
||||
}
|
||||
|
||||
.selected-color {
|
||||
color: #2bd8ed;
|
||||
}
|
||||
|
||||
.pointer-hand {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.icon-spend {
|
||||
position: relative;
|
||||
font-size: 1.2rem;
|
||||
top: 3px;
|
||||
float: right;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
.th-hide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
float: left;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.form-group label {
|
||||
line-height: 34px;
|
||||
height: 34px;
|
||||
}
|
||||
.form-group .txt {
|
||||
width: 180px;
|
||||
height: 34px;
|
||||
}
|
||||
.trunk-search {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
.btn-role-border {
|
||||
border-left: 0;
|
||||
}
|
||||
.normal_table tr td a {
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
<div class="page-search normal_list query-recharge-search">
|
||||
<div class="trunk-title">
|
||||
<div class="location">
|
||||
<div class="location-container">当前位置:
|
||||
<volist name="modelList" id="vo" key="k">
|
||||
<?php if ($k == count($modelList)) {
|
||||
echo "<span>$vo</span>";
|
||||
} else {
|
||||
echo "<span>$vo></span>";
|
||||
}?>
|
||||
</volist>
|
||||
</div>
|
||||
</div>
|
||||
<img src="__IMG__/20180207/icon_chongzhi.png">
|
||||
<span class="title_main">{$meta_title}</span>
|
||||
</div>
|
||||
<div class="trunk-content article">
|
||||
<div class="trunk-search clearfix jssearch">
|
||||
<!-- <form action="{:U('Finance/settlementDtl')}" method="get" enctype="multipart/form-data" class="normal_form"> -->
|
||||
<div class="form-group normal_space" style="margin-left: 0;">
|
||||
<input type="text" name="widthdraw_number" class="txt normal_txt" placeholder="提现订单号"
|
||||
value="{:I('widthdraw_number','')}">
|
||||
</div>
|
||||
|
||||
<div class="form-group normal_space">
|
||||
<label class="form-title select-title" style="position: relative;">交易时间:</label>
|
||||
<div class="select-time">
|
||||
<input type="text" id="sdate" class="txt" name="begtime" placeholder="开始时间" value="{$initBegTime}">
|
||||
</div>
|
||||
<label class="form-title select-title zhi_color"> — </label>
|
||||
<div class="select-time">
|
||||
<input type="text" id="edate" class="txt" name="endtime" placeholder="结束时间" value="{$initEndTime}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group normal_space">
|
||||
<input type="hidden" name="status" id="status" value="{$status}">
|
||||
<input type="submit" class="submit" id='submit' url="{:U('Finance/withdrawRecord','model='.$model['name'],false)}"
|
||||
value="查询">
|
||||
</div>
|
||||
<!-- </form> -->
|
||||
</div>
|
||||
<div class="tab marg_top20" style="margin-bottom: 20px;">
|
||||
<div style="display: flex;">
|
||||
<div class="btn btn-role <if condition='$status heq ""'>highlight</if>" status="">
|
||||
<p>全部</p>
|
||||
</div>
|
||||
|
||||
<div class="btn btn-role btn-role-border <if condition='$status heq 0'>highlight</if>" status="0">
|
||||
<p>待审核</p>
|
||||
</div>
|
||||
|
||||
<div class="btn btn-role btn-role-border <if condition='$status eq -1'>highlight</if>" status="-1">
|
||||
<p>审核未通过</p>
|
||||
</div>
|
||||
|
||||
<div class="btn btn-role btn-role-border <if condition='$status eq 1'>highlight</if>" status="1">
|
||||
<p>汇款中</p>
|
||||
</div>
|
||||
|
||||
<div class="btn btn-role btn-role-border <if condition='$status eq 2'>highlight</if>" status="2">
|
||||
<p>已汇款</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="page-list apply-app_apply-list query-recharge-list">
|
||||
<div class="trunk-content article" style="margin-left: 0;margin-right: 0;">
|
||||
<div class="tabcon trunk-list">
|
||||
<table class="table normal_table">
|
||||
<tr class="odd">
|
||||
<th>提现订单</th>
|
||||
<th>提现日期</th>
|
||||
<th>结算截止日期</th>
|
||||
<th>收益金额</th>
|
||||
<th>实际提现金额</th>
|
||||
<th>提现状态</th>
|
||||
<th>说明</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
<empty name="listData">
|
||||
<tr class="num2">
|
||||
<td colspan="99" style="text-align: center;height: 45vh;">
|
||||
<img src="__IMG__/20180207/icon_wushujv2.png"/>
|
||||
<p style="line-height: 40px;color: #A5A5A5;">暂无数据</p>
|
||||
</td>
|
||||
</tr>
|
||||
<else/>
|
||||
<volist name="listData" id="vo">
|
||||
<tr class="num2">
|
||||
<td>{$vo.widthdraw_number}</td>
|
||||
<td>{$vo.create_time}</td>
|
||||
<td>{$vo.settlement_end_time}</td>
|
||||
<td>{$vo.sum_money}</td>
|
||||
<td>{$vo.sum_money}</td>
|
||||
<td>{$vo.status}</td>
|
||||
<td>{$vo.respond}</td>
|
||||
<td>
|
||||
<a href="{:U('withdrawDtl', array('id'=>$vo['id']))}">提现明细</a>
|
||||
<a>汇款证明</a>
|
||||
<a href="{:U('settlementOrder', array('id'=>$vo['id']))}">结算单</a>
|
||||
</td>
|
||||
</tr>
|
||||
</volist>
|
||||
</empty>
|
||||
</table>
|
||||
</div>
|
||||
<div class="pagenation clearfix">
|
||||
{$_page}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</block>
|
||||
<block name="script">
|
||||
<link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
|
||||
<link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
|
||||
<script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
|
||||
<script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"
|
||||
charset="UTF-8"></script>
|
||||
<script type="text/javascript" src="__JS__/20170831/select2.min.js"></script>
|
||||
<script src="__STATIC__/layer/layer.js"></script>
|
||||
<script type="text/javascript" src="__JS__/common.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
$().ready(function () {
|
||||
var date = "{$setdate}";
|
||||
$('#sdate').datetimepicker({
|
||||
format: 'yyyy-mm-dd',
|
||||
language: "zh-CN",
|
||||
minView: 2,
|
||||
autoclose: true,
|
||||
scrollMonth: false,
|
||||
scrollTime: false,
|
||||
scrollInput: false,
|
||||
endDate: date
|
||||
});
|
||||
|
||||
$('#edate').datetimepicker({
|
||||
format: 'yyyy-mm-dd',
|
||||
language: "zh-CN",
|
||||
minView: 2,
|
||||
autoclose: true,
|
||||
pickerPosition: 'bottom-left',
|
||||
scrollMonth: false,
|
||||
scrollTime: false,
|
||||
scrollInput: false,
|
||||
endDate: date
|
||||
});
|
||||
|
||||
$('.btn-role').on('click', function () {
|
||||
var thisElement = $(this);
|
||||
|
||||
if (!thisElement.hasClass('highlight')) {
|
||||
var status = thisElement.attr('status');
|
||||
|
||||
$('#status').val(status);
|
||||
$('.btn-role').removeClass('highlight');
|
||||
thisElement.addClass('highlight');
|
||||
$('#submit').trigger('click');
|
||||
}
|
||||
});
|
||||
|
||||
$('#submit').click(function () {
|
||||
var sdate = $('#sdate').val();
|
||||
var edate = $('#edate').val();
|
||||
if (Date.parse(sdate) > Date.parse(edate)) {
|
||||
layer.msg('开始时间必须小于等于结束时间');
|
||||
return false;
|
||||
}
|
||||
var url = $(this).attr('url');
|
||||
console.log(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;
|
||||
|
||||
});
|
||||
|
||||
$(".select_gallery").select2();
|
||||
});
|
||||
</script>
|
||||
|
||||
</block>
|
@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
namespace Sdk\Controller;
|
||||
|
||||
use Think\Controller;
|
||||
|
||||
class GetInfoBaseController extends Controller
|
||||
{
|
||||
public function _initialize()
|
||||
{
|
||||
$data = I('param.');
|
||||
if (empty($data['time_stamp']) || time() - 60 * 10 > $data['time_stamp']) {
|
||||
$result = [
|
||||
'ResultCode' => 2002,
|
||||
'ResultMessage' => "链接已过期",
|
||||
'Data' => 'null',
|
||||
];
|
||||
return $this->ajaxReturn($result);
|
||||
} else {
|
||||
$sign = $data['sign'];
|
||||
unset($data['sign']);
|
||||
ksort($data);
|
||||
reset($data);
|
||||
$str = "";
|
||||
foreach ($data as $k => $v) {
|
||||
$str = $str . $k . "=" . $v;
|
||||
}
|
||||
$str = $str . 'key=' . C('GET_INFO_KEY');
|
||||
if (md5($str) != $sign) {
|
||||
$result = [
|
||||
'ResultCode' => 2001,
|
||||
'ResultMessage' => "参数错误",
|
||||
'Data' => 'null',
|
||||
];
|
||||
return $this->ajaxReturn($result);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,5 +1,11 @@
|
||||
{
|
||||
"require": {
|
||||
"rodneyrehm/plist": "^2.0"
|
||||
},
|
||||
"repositories": {
|
||||
"packagist": {
|
||||
"type": "composer",
|
||||
"url": "https://packagist.phpcomposer.com"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue