|
|
@ -127,6 +127,7 @@
|
|
|
|
<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>
|
|
|
@ -164,6 +165,15 @@
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
<td>{:set_show_time($data['dispose_time'],'','other')}</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>
|
|
|
|
<td>
|
|
|
|
<div class="download_status">
|
|
|
|
<div class="download_status">
|
|
|
|
<span class="download_butnbox">
|
|
|
|
<span class="download_butnbox">
|
|
|
@ -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 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>
|
|
|
|
<th>注册单价</th>
|
|
|
|
<th>注册单价</th>
|
|
|
@ -267,7 +278,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td style="border-right:1px solid #DDDDDD;text-align:center">{:set_show_time($data['dispose_time'],'','other')}</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">
|
|
|
|
<td style="border-right:1px solid #DDDDDD;text-align:center">
|
|
|
|
<div class="download_status">
|
|
|
|
<div class="download_status">
|
|
|
|
<span class="download_butnbox yes">
|
|
|
|
<span class="download_butnbox yes">
|
|
|
@ -461,13 +480,29 @@ $(".editTab").click(function(){
|
|
|
|
var promote_id = that.attr("promote-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) {
|
|
|
|
layer.prompt({title:title,formType:0},function(value,index) {
|
|
|
|
|
|
|
|
if (field == 'promote_ratio' || field == 'promote_money') {
|
|
|
|
if (!/^(((\d|[1-9]\d)(\.\d{1,2})?)|100|100.0|100.00)$/.test(value)) {
|
|
|
|
if (!/^(((\d|[1-9]\d)(\.\d{1,2})?)|100|100.0|100.00)$/.test(value)) {
|
|
|
|
|
|
|
|
if (field == 'promote_ratio') {
|
|
|
|
updateAlert('分成比例输入错误','tip_error');
|
|
|
|
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(){
|
|
|
|
setTimeout(function(){
|
|
|
|
$('#tip').find('.tipclose').click();
|
|
|
|
$('#tip').find('.tipclose').click();
|
|
|
|
},2000);
|
|
|
|
},2000);
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
$.ajax({
|
|
|
|
async: false,
|
|
|
|
async: false,
|
|
|
|
url:"{:U('Apply/setRatio')}",
|
|
|
|
url:"{:U('Apply/setRatio')}",
|
|
|
|