|
|
|
@ -27,7 +27,7 @@
|
|
|
|
|
}
|
|
|
|
|
.select2-results__option[aria-selected] {font-size:12px;}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="cf main-place top_nav_list navtab_list">
|
|
|
|
|
<div class="fr">
|
|
|
|
|
<a <if condition="(I('type') eq 1) or (I('type') eq '') "> class="tabchose" </if> href="{:U('and_lists',array('type'=>1))}">安卓分包</a>
|
|
|
|
@ -40,9 +40,9 @@
|
|
|
|
|
<p class="description_text">说明:此处功能是对推广员后台申请的苹果游戏渠道包进行审核并打包。</p>
|
|
|
|
|
</if>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="cf top_nav_list">
|
|
|
|
|
<empty name="model.extend">
|
|
|
|
|
<div class="fl button_list">
|
|
|
|
@ -127,6 +127,7 @@
|
|
|
|
|
<th>审核状态</th>
|
|
|
|
|
<th>打包状态</th>
|
|
|
|
|
<th>审核时间</th>
|
|
|
|
|
<th>打包顺序</th>
|
|
|
|
|
<th>下载状态</th>
|
|
|
|
|
<th>分成比例</th>
|
|
|
|
|
<th>注册单价</th>
|
|
|
|
@ -156,14 +157,23 @@
|
|
|
|
|
<if condition="$data.enable_status eq 1" >
|
|
|
|
|
已打包
|
|
|
|
|
<elseif condition="$data.enable_status eq 2"/>准备打包
|
|
|
|
|
<elseif condition="$data.enable_status eq 3"/>打包中
|
|
|
|
|
<elseif condition="$data.enable_status eq 3"/>打包中
|
|
|
|
|
<elseif condition="$data.enable_status eq -1"/>打包失败
|
|
|
|
|
<else/>
|
|
|
|
|
<span style="color: orange">未打包</span>
|
|
|
|
|
</if>
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<td>{:set_show_time($data['dispose_time'],'','other')}</td>
|
|
|
|
|
<td>
|
|
|
|
|
<?php
|
|
|
|
|
$ratio = is_null($data['promote_ratio'])?$data['game_ratio']:$data['promote_ratio'];
|
|
|
|
|
$ratio || $ratio = 0;
|
|
|
|
|
?>
|
|
|
|
|
<div name="dow_num" data-title="打包顺序" promote-id="{$data.promote_id}" game-id="{$data.game_id}" field='bale_sort' class="tab_not_same editTab">
|
|
|
|
|
<span>{$data.bale_sort}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<div class="download_status">
|
|
|
|
|
<span class="download_butnbox">
|
|
|
|
@ -179,8 +189,8 @@
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<?php
|
|
|
|
|
$ratio = is_null($data['promote_ratio'])?$data['game_ratio']:$data['promote_ratio'];
|
|
|
|
|
$ratio || $ratio = 0;
|
|
|
|
|
$ratio = is_null($data['promote_ratio'])?$data['game_ratio']:$data['promote_ratio'];
|
|
|
|
|
$ratio || $ratio = 0;
|
|
|
|
|
?>
|
|
|
|
|
<div name="dow_num" data-title="游戏分成比例" promote-id="{$data.promote_id}" game-id="{$data.game_id}" field='promote_ratio' class="tab_not_same editTab">
|
|
|
|
|
<span <if condition='!is_null($data["promote_ratio"])'>class="span_font_color_red"</if>>
|
|
|
|
@ -190,8 +200,8 @@
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<?php
|
|
|
|
|
$money = is_null($data['promote_money'])?$data['game_money']:$data['promote_money'];
|
|
|
|
|
$money || $money = 0;
|
|
|
|
|
$money = is_null($data['promote_money'])?$data['game_money']:$data['promote_money'];
|
|
|
|
|
$money || $money = 0;
|
|
|
|
|
?>
|
|
|
|
|
<div name="dow_num" data-title="游戏注册单价" promote-id="{$data.promote_id}" game-id="{$data.game_id}" field='promote_money' class="tab_not_same editTab">
|
|
|
|
|
<span <if condition='!is_null($data["promote_money"])'>class="span_font_color_red"</if>>
|
|
|
|
@ -227,6 +237,7 @@
|
|
|
|
|
<th style="text-align:center">审核状态</th>
|
|
|
|
|
<th style="text-align:center">打包状态</th>
|
|
|
|
|
<th style="text-align:center">审核时间</th>
|
|
|
|
|
<th style="text-align:center">打包顺序</th>
|
|
|
|
|
<th style="text-align:center">下载状态</th>
|
|
|
|
|
<th>分成比例</th>
|
|
|
|
|
<th>注册单价</th>
|
|
|
|
@ -249,25 +260,33 @@
|
|
|
|
|
<a class="jslaunchlist" data-url="{:U('launch_list',array('aid'=>$data['id']))}" data-account="{:get_promote_name($data['promote_id'])}" data-game="{:get_game_name($data['game_id'])}" href="javascript:;">{$data.launch_count|default=0}</a>
|
|
|
|
|
<else />0
|
|
|
|
|
</gt>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
<td style="border-right:1px solid #DDDDDD;text-align:center">{:set_show_time($data['apply_time'])}</td>
|
|
|
|
|
<td style="border-right:1px solid #DDDDDD;text-align:center"><if condition="$data.status eq 0" ><span style="color: orange">{:get_info_status($data['status'],5)}</span><else/>{:get_info_status($data['status'],5)}</if></td>
|
|
|
|
|
<td style="border-right:1px solid #DDDDDD;text-align:center">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<if condition="$data.enable_status eq 1" >
|
|
|
|
|
打包成功
|
|
|
|
|
<elseif condition="$data.enable_status eq 2"/>准备打包
|
|
|
|
|
<elseif condition="$data.enable_status eq 3"/>打包中
|
|
|
|
|
<elseif condition="$data.enable_status eq 3"/>打包中
|
|
|
|
|
<elseif condition="$data.enable_status eq -1"/>打包失败
|
|
|
|
|
|
|
|
|
|
<else/>
|
|
|
|
|
<span style="color: orange">未打包</span>
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
<td style="border-right:1px solid #DDDDDD;text-align:center">{:set_show_time($data['dispose_time'],'','other')}</td>
|
|
|
|
|
|
|
|
|
|
<td>
|
|
|
|
|
<?php
|
|
|
|
|
$ratio = is_null($data['promote_ratio'])?$data['game_ratio']:$data['promote_ratio'];
|
|
|
|
|
$ratio || $ratio = 0;
|
|
|
|
|
?>
|
|
|
|
|
<div name="dow_num" data-title="打包顺序" promote-id="{$data.promote_id}" game-id="{$data.game_id}" field='bale_sort' class="tab_not_same editTab">
|
|
|
|
|
<span>{$data.bale_sort}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
<td style="border-right:1px solid #DDDDDD;text-align:center">
|
|
|
|
|
<div class="download_status">
|
|
|
|
|
<span class="download_butnbox yes">
|
|
|
|
@ -281,8 +300,8 @@
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<?php
|
|
|
|
|
$ratio = is_null($data['promote_ratio'])?$data['game_ratio']:$data['promote_ratio'];
|
|
|
|
|
$ratio || $ratio = 0;
|
|
|
|
|
$ratio = is_null($data['promote_ratio'])?$data['game_ratio']:$data['promote_ratio'];
|
|
|
|
|
$ratio || $ratio = 0;
|
|
|
|
|
?>
|
|
|
|
|
<div name="dow_num" data-title="游戏分成比例" promote-id="{$data.promote_id}" game-id="{$data.game_id}" field='promote_ratio' class="tab_not_same editTab">
|
|
|
|
|
<span <if condition='!is_null($data["promote_ratio"])'>class="span_font_color_red"</if>>
|
|
|
|
@ -292,8 +311,8 @@
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<?php
|
|
|
|
|
$money = is_null($data['promote_money'])?$data['game_money']:$data['promote_money'];
|
|
|
|
|
$money || $money = 0;
|
|
|
|
|
$money = is_null($data['promote_money'])?$data['game_money']:$data['promote_money'];
|
|
|
|
|
$money || $money = 0;
|
|
|
|
|
?>
|
|
|
|
|
<div name="dow_num" data-title="游戏注册单价" promote-id="{$data.promote_id}" game-id="{$data.game_id}" field='promote_money' class="tab_not_same editTab">
|
|
|
|
|
<span <if condition='!is_null($data["promote_money"])'>class="span_font_color_red"</if>>
|
|
|
|
@ -303,7 +322,7 @@
|
|
|
|
|
</td>
|
|
|
|
|
<td style="border-right:1px solid #DDDDDD;text-align:center">
|
|
|
|
|
<a href='{:U("Apply/package",array("ids"=>$data["id"],"type"=>$_GET["type"],"promote_id"=>$_GET["promote_id"],"game_id"=>$_GET["game_id"],"status"=>$_GET["status"],"dow_status"=>$_GET["dow_status"],"enable_status"=>$_GET["enable_status"]))}' class="ajax-get ">打包</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<a href="javascript:" status="{$data['enable_status']}" onclick="gameView($(this))" url="{:str_ireplace(_PHP_FILE_,'/index.php',U('Home/Home/promitionofregestion',array('gid'=>$data['game_id'],'pid'=>$data['promote_id'])))}" style="text-align:center;width:100%">查看</a>
|
|
|
|
@ -320,7 +339,7 @@
|
|
|
|
|
<a class="sch-btn" href="{:U('Export/game_subpackage_list',array_merge(['xlsname'=>'推广员管理_游戏分包'.((I('type',1)==2)?'_IOS分包':'_安卓分包')],I('get.')))}">导出</a>
|
|
|
|
|
{$_page|default=''}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="common_settings">
|
|
|
|
|
<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
|
|
|
|
|
<form class="addShortcutIcon">
|
|
|
|
@ -329,7 +348,7 @@
|
|
|
|
|
</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">
|
|
|
|
@ -369,12 +388,12 @@ $(function(){
|
|
|
|
|
var url= $(this).data('url');
|
|
|
|
|
var urll="http://"+"{$_SERVER['HTTP_HOST']}"+url;
|
|
|
|
|
if(url){
|
|
|
|
|
layer.alert(urll,{icon: 1});
|
|
|
|
|
layer.alert(urll,{icon: 1});
|
|
|
|
|
}else{
|
|
|
|
|
layer.alert('暂未打包',{icon: 2});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('.jslaunchlist').click(function() {
|
|
|
|
|
var that = $(this),url = that.attr('data-url');
|
|
|
|
|
var url =
|
|
|
|
@ -386,7 +405,7 @@ $(function(){
|
|
|
|
|
area: ['1062px', '80%'],
|
|
|
|
|
content: url,//iframe的url
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
@ -396,7 +415,7 @@ $(function(){
|
|
|
|
|
$("#search").click();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('#time-start').datetimepicker({
|
|
|
|
|
format: 'yyyy-mm-dd',
|
|
|
|
|
language:"zh-CN",
|
|
|
|
@ -422,7 +441,7 @@ $(function(){
|
|
|
|
|
} else {
|
|
|
|
|
updateAlert('请选择需要操作的数据','tip_error');
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
$('#tip').find('.tipclose').click();
|
|
|
|
|
$('#tip').find('.tipclose').click();
|
|
|
|
|
},1500);
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
@ -442,7 +461,7 @@ function gameView(obj){
|
|
|
|
|
break;
|
|
|
|
|
case 1:
|
|
|
|
|
window.open(obj.attr('url'));
|
|
|
|
|
return false;
|
|
|
|
|
return false;
|
|
|
|
|
break;
|
|
|
|
|
case 2:
|
|
|
|
|
$msg = '准备打包';
|
|
|
|
@ -459,15 +478,31 @@ $(".editTab").click(function(){
|
|
|
|
|
var title = that.attr("data-title");
|
|
|
|
|
var game_id = that.attr("game-id");
|
|
|
|
|
var promote_id = that.attr("promote-id");
|
|
|
|
|
var field = that.attr('field');
|
|
|
|
|
var field = that.attr('field');
|
|
|
|
|
layer.prompt({title:title,formType:0},function(value,index) {
|
|
|
|
|
if (!/^(((\d|[1-9]\d)(\.\d{1,2})?)|100|100.0|100.00)$/.test(value)) {
|
|
|
|
|
updateAlert('分成比例输入错误','tip_error');
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
$('#tip').find('.tipclose').click();
|
|
|
|
|
},2000);
|
|
|
|
|
return false;
|
|
|
|
|
if (field == 'promote_ratio' || field == 'promote_money') {
|
|
|
|
|
if (!/^(((\d|[1-9]\d)(\.\d{1,2})?)|100|100.0|100.00)$/.test(value)) {
|
|
|
|
|
if (field == 'promote_ratio') {
|
|
|
|
|
updateAlert('分成比例输入错误','tip_error');
|
|
|
|
|
} else {
|
|
|
|
|
updateAlert('游戏注册单价输入错误','tip_error');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
$('#tip').find('.tipclose').click();
|
|
|
|
|
},2000);
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
} else if (field = 'bale_sort') {
|
|
|
|
|
if (!/^(?:0|[1-9][0-9]*)$/.test(value)) {
|
|
|
|
|
updateAlert('请输入正整数','tip_error');
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
$('#tip').find('.tipclose').click();
|
|
|
|
|
},2000);
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
|
async: false,
|
|
|
|
|
url:"{:U('Apply/setRatio')}",
|
|
|
|
|