优化前端入口文件

master
chenzhi 4 years ago
parent 5f3c726a05
commit e7a51c41da

@ -221,7 +221,7 @@ $(document).ready(function () {
<volist name="fl_set" id="vo">
<tr>
<td>【返利设置】</td>
<td><a href="/admin.php?s=/Rebate/lists.html"><span>【{$vo.game_name}】充值返利已到期</span></a></td>
<td><a href="/{$Think.SUBSITE_INDEX}?s=/Rebate/lists.html"><span>【{$vo.game_name}】充值返利已到期</span></a></td>
</tr>
</volist>

@ -496,7 +496,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content:'/admin.php?s=/AggregateFinanceStatement/viewStatement/id/'+id
content:'/{$Think.SUBSITE_INDEX}?s=/AggregateFinanceStatement/viewStatement/id/'+id
});
});
//申请开票
@ -508,7 +508,7 @@
shadeClose: false,
shade: 0.8,
area: ['70%', '80%'],
content:'/admin.php?s=/AggregateFinanceStatement/createStatement/id/'+id
content:'/{$Think.SUBSITE_INDEX}?s=/AggregateFinanceStatement/createStatement/id/'+id
});
});
//开票编辑
@ -520,7 +520,7 @@
shadeClose: false,
shade: 0.8,
area: ['70%', '80%'],
content:'/admin.php?s=/AggregateFinanceStatement/editStatement/id/'+id
content:'/{$Think.SUBSITE_INDEX}?s=/AggregateFinanceStatement/editStatement/id/'+id
});
});
//上传凭证
@ -532,7 +532,7 @@
shadeClose: true,
shade: 0.8,
area: ['60%', '60%'],
content:'/admin.php?s=/AggregateFinanceStatement/uploadVoucher/id/'+id,
content:'/{$Think.SUBSITE_INDEX}?s=/AggregateFinanceStatement/uploadVoucher/id/'+id,
end:function(){
reload();
}
@ -556,7 +556,7 @@
shadeClose: true,
shade: 0.8,
area: ['60%', '60%'],
content:'/admin.php?s=/AggregateFinanceStatement/editVoucher/id/'+id,
content:'/{$Think.SUBSITE_INDEX}?s=/AggregateFinanceStatement/editVoucher/id/'+id,
end:function(){
reload();
}
@ -686,9 +686,9 @@
title:false
}, function(){
if(del.type == 0){
var url = "/admin.php?s=/Statement/delCpStatement/id/"+del.id;
var url = "/{$Think.SUBSITE_INDEX}?s=/Statement/delCpStatement/id/"+del.id;
}else{
var url = "/admin.php?s=/StatementMangement/delStatementData/id/"+del.id;
var url = "/{$Think.SUBSITE_INDEX}?s=/StatementMangement/delStatementData/id/"+del.id;
}
layer.load(2);
$.ajax({

@ -540,7 +540,7 @@
shadeClose: true,
shade: 0.8,
area: ['60%', '60%'],
content:'/admin.php?s=/CompanyStatementPool/uploadVoucher/id/'+id,
content:'/{$Think.SUBSITE_INDEX}?s=/CompanyStatementPool/uploadVoucher/id/'+id,
end:function(){
reload();
}
@ -564,7 +564,7 @@
shadeClose: true,
shade: 0.8,
area: ['60%', '60%'],
content:'/admin.php?s=/CompanyStatementPool/editVoucher/id/'+id,
content:'/{$Think.SUBSITE_INDEX}?s=/CompanyStatementPool/editVoucher/id/'+id,
end:function(){
reload();
}

@ -191,7 +191,7 @@ $(function(){
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: urlr+'/admin.php?s=/Platform/zhuce_detail/promote_id/'+id+''//iframe的url
content: urlr+'/{$Think.SUBSITE_INDEX}?s=/Platform/zhuce_detail/promote_id/'+id+''//iframe的url
});
});
$(".paixu").click(function(){

@ -411,7 +411,7 @@
$("#company_type").change();
//设置对账网址
var order_url = window.location.protocol+"//"+window.location.host+"/admin.php?s=/Public/cp_login.html";
var order_url = window.location.protocol+"//"+window.location.host+"/{$Think.SUBSITE_INDEX}?s=/Public/cp_login.html";
$("#order_url").html("流程说明:结算自动生成对账单--->管理员审核--->财务审核对账单--->发起汇总 / 确认流程: 发起对外对账--->合作方进行确认【合作方确认地址:"+order_url+"】");
$("#updateNewStatement").on("click",function(){

@ -693,7 +693,7 @@
shadeClose: true,
shade: 0.8,
area: ['60%', '60%'],
content:'/admin.php?s=/CompanyStatementPool/uploadVoucher/id/'+id,
content:'/{$Think.SUBSITE_INDEX}?s=/CompanyStatementPool/uploadVoucher/id/'+id,
end:function(){
reload();
}
@ -717,7 +717,7 @@
shadeClose: true,
shade: 0.8,
area: ['60%', '60%'],
content:'/admin.php?s=/CompanyStatementPool/editVoucher/id/'+id,
content:'/{$Think.SUBSITE_INDEX}?s=/CompanyStatementPool/editVoucher/id/'+id,
end:function(){
reload();
}

@ -249,7 +249,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: ['admin.php?s=/Member/denglu/id/', 'no']
content: ['{$Think.SUBSITE_INDEX}?s=/Member/denglu/id/', 'no']
});
}

@ -272,7 +272,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: ['admin.php?s=/Member/denglu/id/', 'no']
content: ['{$Think.SUBSITE_INDEX}?s=/Member/denglu/id/', 'no']
});
}

@ -581,7 +581,7 @@ $("#add_another").click(function() {
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: url+'admin.php?s=/Game/add_another/id/1111'//iframe的url
content: url+'{$Think.SUBSITE_INDEX}?s=/Game/add_another/id/1111'//iframe的url
});
});
/*获取游戏类型名称*/

@ -315,7 +315,7 @@ $("#add_another").click(function() {
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: url+'admin.php?s=/Game/add_another/id/1111'//iframe的url
content: url+'{$Think.SUBSITE_INDEX}?s=/Game/add_another/id/1111'//iframe的url
});
});
/*获取游戏类型名称*/

@ -240,7 +240,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: 'admin.php?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
content: '{$Think.SUBSITE_INDEX}?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
});
});

@ -262,7 +262,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: 'admin.php?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
content: '{$Think.SUBSITE_INDEX}?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
});
});

@ -203,7 +203,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: 'admin.php?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
content: '{$Think.SUBSITE_INDEX}?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
});
});

@ -288,7 +288,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: 'admin.php?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
content: '{$Think.SUBSITE_INDEX}?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
});
});

@ -239,7 +239,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: 'admin.php?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
content: '{$Think.SUBSITE_INDEX}?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
});
});

@ -240,7 +240,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: 'admin.php?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
content: '{$Think.SUBSITE_INDEX}?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
});
});

@ -225,7 +225,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: 'admin.php?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
content: '{$Think.SUBSITE_INDEX}?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
});
});

@ -242,7 +242,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: 'admin.php?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
content: '{$Think.SUBSITE_INDEX}?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
});
});

@ -261,7 +261,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: 'admin.php?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
content: '{$Think.SUBSITE_INDEX}?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
});
});

@ -328,7 +328,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: 'admin.php?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
content: '{$Think.SUBSITE_INDEX}?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
});
});

@ -1339,7 +1339,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: url+'admin.php?s=/Game/add_another/id/1111'//iframe的url
content: url+'{$Think.SUBSITE_INDEX}?s=/Game/add_another/id/1111'//iframe的url
});
});
/*获取游戏类型名称*/

@ -513,7 +513,7 @@ $("#add_another").click(function() {
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: url+'admin.php?s=/Game/add_another/id/1111'//iframe的url
content: url+'{$Think.SUBSITE_INDEX}?s=/Game/add_another/id/1111'//iframe的url
});
});
/*获取游戏类型名称*/

@ -29,7 +29,7 @@ body{ padding: 0px; }
(function(){
var ThinkPHP = window.Think = {
"ROOT" : "", //当前网站地址
"APP" : "/admin.php?s=", //当前项目地址
"APP" : "/{$Think.SUBSITE_INDEX}?s=", //当前项目地址
"PUBLIC" : "/Public", //项目公共目录地址
"DEEP" : "/", //PATHINFO分割符
"MODEL" : ["3", "", "html"],

@ -64,7 +64,7 @@ body{ padding: 0px; }
(function(){
var ThinkPHP = window.Think = {
"ROOT" : "", //当前网站地址
"APP" : "/admin.php?s=", //当前项目地址
"APP" : "/{$Think.SUBSITE_INDEX}?s=", //当前项目地址
"PUBLIC" : "/Public", //项目公共目录地址
"DEEP" : "/", //PATHINFO分割符
"MODEL" : ["3", "", "html"],

@ -313,7 +313,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: [url + 'admin.php?s=/Member/chax/id/' + id + '' , 'no']
content: [url + '{$Think.SUBSITE_INDEX}?s=/Member/chax/id/' + id + '' , 'no']
});
});
@ -324,7 +324,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: [url + 'admin.php?s=/Member/role_list/user_id/' + id + '' , 'no']
content: [url + '{$Think.SUBSITE_INDEX}?s=/Member/role_list/user_id/' + id + '' , 'no']
});
});
@ -335,7 +335,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: [url + 'admin.php?s=/Member/gold_coin/user_id/' + id + '/account/'+$.trim($('input[name="account"]').val()), 'no']
content: [url + '{$Think.SUBSITE_INDEX}?s=/Member/gold_coin/user_id/' + id + '/account/'+$.trim($('input[name="account"]').val()), 'no']
});
});
@ -358,7 +358,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: [url + 'admin.php?s=/Member/denglu/id/' + id + '', 'no']
content: [url + '{$Think.SUBSITE_INDEX}?s=/Member/denglu/id/' + id + '', 'no']
});
});
$("#bind_balance").click(function () {
@ -369,7 +369,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: [url + 'admin.php?s=/Member/bind_balance/id/' + id + '', 'no']
content: [url + '{$Think.SUBSITE_INDEX}?s=/Member/bind_balance/id/' + id + '', 'no']
});
});

@ -286,7 +286,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: 'admin.php?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
content: '{$Think.SUBSITE_INDEX}?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
});
});

@ -315,7 +315,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: ['admin.php?s=/Member/denglu/id/', 'no']
content: ['{$Think.SUBSITE_INDEX}?s=/Member/denglu/id/', 'no']
});
}
@ -395,7 +395,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: 'admin.php?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
content: '{$Think.SUBSITE_INDEX}?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
});
});

@ -312,7 +312,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: 'admin.php?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
content: '{$Think.SUBSITE_INDEX}?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
});
});

@ -403,7 +403,7 @@
pay_status = '';
}
var url = "admin.php?s=/PayChannelIntention/detail/"+ pay_ways + pay_way + pay_status + timestart + timeend;
var url = "{$Think.SUBSITE_INDEX}?s=/PayChannelIntention/detail/"+ pay_ways + pay_way + pay_status + timestart + timeend;
window.location.href = url;

@ -308,7 +308,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: ['admin.php?s=/Member/denglu/id/', 'no']
content: ['{$Think.SUBSITE_INDEX}?s=/Member/denglu/id/', 'no']
});
}

@ -373,8 +373,8 @@
shadeClose: true,
shade: 0.8,
area: ['500px', '300px'],
// content:'/admin.php?s=/AggregateFinanceStatement/viewStatement/id/'+1
content: '/admin.php?s=/PaymentMerchant/editDefault'
// content:'/{$Think.SUBSITE_INDEX}?s=/AggregateFinanceStatement/viewStatement/id/'+1
content: '/{$Think.SUBSITE_INDEX}?s=/PaymentMerchant/editDefault'
})
}
})

@ -270,7 +270,7 @@
// shadeClose: true,
// shade: 0.8,
// area: ['70%', '80%'],
// content: '/admin.php?s=/Platform/zhuce_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
// content: '/{$Think.SUBSITE_INDEX}?s=/Platform/zhuce_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
// });
// });
$(".paixu").click(function(){

@ -284,7 +284,7 @@
// shadeClose: true,
// shade: 0.8,
// area: ['70%', '80%'],
// content: 'admin.php?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
// content: '{$Think.SUBSITE_INDEX}?s=/Platform/chongzhi_detail/promote_id/'+id+'/game_name/'+game_name+'/server_name/'+server_name+''//iframe的url
// });
// });
$(".paixu").click(function(){

@ -160,7 +160,7 @@ $(function(){
$.ajax({
type: 'POST',
type:'json',
url: "/admin.php?s=/Public/en_us",
url: "/{$Think.SUBSITE_INDEX}?s=/Public/en_us",
success: function(data) {
location.reload();
},

@ -164,7 +164,7 @@
$.ajax({
type: 'POST',
type: 'json',
url: "/admin.php?s=/Public/en_us",
url: "/{$Think.SUBSITE_INDEX}?s=/Public/en_us",
success: function (data) {
location.reload();
},
@ -215,7 +215,7 @@
<h3 class=""><i class="icon icon-unfold"></i>万盟对账单管理</h3>
<ul class="side-sub-menu" style="">
<li class="current">
<a class="item" href="/admin.php?s=/VerifyBill/index.html">对账单确认</a>
<a class="item" href="/{$Think.SUBSITE_INDEX}?s=/VerifyBill/index.html">对账单确认</a>
</li>
</ul>
</div>

@ -509,7 +509,7 @@ function detailsInfo(developers,create_time){
shadeClose: true,
shade: 0.8,
area: ['80%', '70%'],
content: '/admin.php?s=/Query/detailscps/developers_id/'+developers+'/create_time/'+ create_time //iframe的url
content: '/{$Think.SUBSITE_INDEX}?s=/Query/detailscps/developers_id/'+developers+'/create_time/'+ create_time //iframe的url
});
}
</script>

@ -263,7 +263,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: ['admin.php?s=/Query/detaillist/my_time/'+my_time+'/game_id/' + game_id + '/promote_id/' + promote_id + '', 'no']
content: ['{$Think.SUBSITE_INDEX}?s=/Query/detaillist/my_time/'+my_time+'/game_id/' + game_id + '/promote_id/' + promote_id + '', 'no']
});
}
</script>

@ -419,7 +419,7 @@
shadeClose: true,
shade: 0.8,
area: ['80%', '70%'],
content: '/admin.php?s=/Query/details/promote_id/'+promote_id+'/create_time/'+ create_time //iframe的url
content: '/{$Think.SUBSITE_INDEX}?s=/Query/details/promote_id/'+promote_id+'/create_time/'+ create_time //iframe的url
});
}

@ -332,7 +332,7 @@
shadeClose: true,
shade: 0.8,
area: ['80%', '70%'],
content: '/admin.php?s=/Query/withdrawDetails/id/'+id+'' //iframe的url
content: '/{$Think.SUBSITE_INDEX}?s=/Query/withdrawDetails/id/'+id+'' //iframe的url
});
}

@ -71,7 +71,7 @@ $(function(){
shadeClose: true,
shade: 0.8,
area: ['60%', '50%'],
content: 'admin.php?s=/Question/reply/id/'+id+''//iframe的url
content: '{$Think.SUBSITE_INDEX}?s=/Question/reply/id/'+id+''//iframe的url
});
});
})

@ -115,7 +115,7 @@
<?php if (!$generate) :?>
<div class="input-list">
<a class="sch-btn" href="javascript:;" id="search" url="/admin.php?s=/settlement/generateSettlementSheet">生成</a>
<a class="sch-btn" href="javascript:;" id="search" url="/{$Think.SUBSITE_INDEX}?s=/settlement/generateSettlementSheet">生成</a>
</div>
<?php endif;?>
</div>

@ -71,7 +71,7 @@ body{ padding: 0px; }
(function(){
var ThinkPHP = window.Think = {
"ROOT" : "", //当前网站地址
"APP" : "/admin.php?s=", //当前项目地址
"APP" : "/{$Think.SUBSITE_INDEX}?s=", //当前项目地址
"PUBLIC" : "/Public", //项目公共目录地址
"DEEP" : "/", //PATHINFO分割符
"MODEL" : ["3", "", "html"],

@ -279,7 +279,7 @@
}).get().join(",");
var id =$("#withdraw_id").val();
var withdraw =$("#withdraw").val();
var url = "/admin.php?s=/statementMangement/PersonOrderEdit/withdraw/" + text + "/time_start/" + $("#time_start").val() + "/time_end/" + $("#time_end").val() + "/id/" + id;
var url = "/{$Think.SUBSITE_INDEX}?s=/statementMangement/PersonOrderEdit/withdraw/" + text + "/time_start/" + $("#time_start").val() + "/time_end/" + $("#time_end").val() + "/id/" + id;
console.log(url)
@ -389,7 +389,7 @@
);
//设置对账网址
var order_url = window.location.protocol+"//"+window.location.host+"/admin.php?s=/Public/cp_login.html";
var order_url = window.location.protocol+"//"+window.location.host+"/{$Think.SUBSITE_INDEX}?s=/Public/cp_login.html";
$("#order_url").html("结算单管理,对账地址:<spen style='margin-left:10px;'>"+order_url+"</spen>");
//全选的实现

@ -277,7 +277,7 @@
return $(elem).val();
}).get().join(",");
var url = "/admin.php?s=/statementMangement/PersonOrderList/withdraw/" + text + "/time_start/" + $("#time_start").val() + "/time_end/" + $("#time_end").val();
var url = "/{$Think.SUBSITE_INDEX}?s=/statementMangement/PersonOrderList/withdraw/" + text + "/time_start/" + $("#time_start").val() + "/time_end/" + $("#time_end").val();
console.log(url)
@ -386,7 +386,7 @@
);
//设置对账网址
var order_url = window.location.protocol+"//"+window.location.host+"/admin.php?s=/Public/cp_login.html";
var order_url = window.location.protocol+"//"+window.location.host+"/{$Think.SUBSITE_INDEX}?s=/Public/cp_login.html";
$("#order_url").html("结算单管理,对账地址:<spen style='margin-left:10px;'>"+order_url+"</spen>");
//全选的实现

@ -289,7 +289,7 @@
}
}
//设置对账网址
var order_url = window.location.protocol+"//"+window.location.host+"/admin.php?s=/Public/cp_login.html";
var order_url = window.location.protocol+"//"+window.location.host+"/{$Think.SUBSITE_INDEX}?s=/Public/cp_login.html";
$("#order_url").html("结算单管理,对账地址:<spen style='margin-left:10px;'>"+order_url+"</spen>");
$("#upstream").click(function () {
@ -299,7 +299,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content:'/admin.php?s=/Statement/createCpStatement/'
content:'/{$Think.SUBSITE_INDEX}?s=/Statement/createCpStatement/'
});
});
@ -310,7 +310,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: '/admin.php?s=/statementMangement/createDownstreamOrder/'
content: '/{$Think.SUBSITE_INDEX}?s=/statementMangement/createDownstreamOrder/'
});
});
@ -321,7 +321,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: '/admin.php?s=/statementMangement/PersonOrderList/'
content: '/{$Think.SUBSITE_INDEX}?s=/statementMangement/PersonOrderList/'
});
});
@ -330,11 +330,11 @@
var edit = $(this).data();
var ext_field = $(this).attr('ext_field');
if(edit.type == 0){
var url = "/admin.php?s=/Statement/editCpStatement/id/"+edit.id;
var url = "/{$Think.SUBSITE_INDEX}?s=/Statement/editCpStatement/id/"+edit.id;
}else if(edit.type == 1){
var url = "/admin.php?s=/StatementMangement/editDownstreamOrder/id/"+edit.id+"/ext_field/"+ext_field;
var url = "/{$Think.SUBSITE_INDEX}?s=/StatementMangement/editDownstreamOrder/id/"+edit.id+"/ext_field/"+ext_field;
}else if(edit.type == 2){
var url = "/admin.php?s=/StatementMangement/PersonOrderEdit/id/"+edit.id+"/withdraw/"+ext_field+"/time_start/"+edit.start+"/time_end/"+edit.end;
var url = "/{$Think.SUBSITE_INDEX}?s=/StatementMangement/PersonOrderEdit/id/"+edit.id+"/withdraw/"+ext_field+"/time_start/"+edit.start+"/time_end/"+edit.end;
}
layer.open({
@ -351,9 +351,9 @@
var type = $(this).data("type");
if (type == 2) {
var url = "/admin.php?s=/StatementMangement/personOrderDetail/id/"+id;
var url = "/{$Think.SUBSITE_INDEX}?s=/StatementMangement/personOrderDetail/id/"+id;
} else {
var url = "/admin.php?s=/VerifyBill/show/id/"+id+"/from/pc";
var url = "/{$Think.SUBSITE_INDEX}?s=/VerifyBill/show/id/"+id+"/from/pc";
}
layer.open({
@ -372,9 +372,9 @@
title:false
}, function(){
if(del.type == 0){
var url = "/admin.php?s=/Statement/delCpStatement/id/"+del.id;
var url = "/{$Think.SUBSITE_INDEX}?s=/Statement/delCpStatement/id/"+del.id;
}else{
var url = "/admin.php?s=/StatementMangement/delStatementData/id/"+del.id;
var url = "/{$Think.SUBSITE_INDEX}?s=/StatementMangement/delStatementData/id/"+del.id;
}
layer.load(2);
$.ajax({

@ -209,7 +209,7 @@
return $(elem).val();
}).get().join(",");
var url = "/admin.php?s=/statementMangement/PersonOrderList/withdraw/" + text + "/time_start/" + $("#time_start").val() + "/time_end/" + $("#time_end").val();
var url = "/{$Think.SUBSITE_INDEX}?s=/statementMangement/PersonOrderList/withdraw/" + text + "/time_start/" + $("#time_start").val() + "/time_end/" + $("#time_end").val();
console.log(url)
@ -314,7 +314,7 @@
);
//设置对账网址
var order_url = window.location.protocol+"//"+window.location.host+"/admin.php?s=/Public/cp_login.html";
var order_url = window.location.protocol+"//"+window.location.host+"/{$Think.SUBSITE_INDEX}?s=/Public/cp_login.html";
$("#order_url").html("结算单管理,对账地址:<spen style='margin-left:10px;'>"+order_url+"</spen>");
//全选的实现

@ -589,7 +589,7 @@
shadeClose: true,
shade: 0.8,
area: ['60%', '60%'],
content:'/admin.php?s=/CompanyStatementPool/uploadVoucher/id/'+id,
content:'/{$Think.SUBSITE_INDEX}?s=/CompanyStatementPool/uploadVoucher/id/'+id,
end:function(){
reload();
}
@ -613,7 +613,7 @@
shadeClose: true,
shade: 0.8,
area: ['60%', '60%'],
content:'/admin.php?s=/CompanyStatementPool/editVoucher/id/'+id,
content:'/{$Think.SUBSITE_INDEX}?s=/CompanyStatementPool/editVoucher/id/'+id,
end:function(){
reload();
}

@ -159,7 +159,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: 'admin.php?s=/SuperStatistical/lists' + params
content: '{$Think.SUBSITE_INDEX}?s=/SuperStatistical/lists' + params
});
});
$("#role1").click(function () {
@ -169,7 +169,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: 'admin.php?s=/SuperStatistical/lists' + params
content: '{$Think.SUBSITE_INDEX}?s=/SuperStatistical/lists' + params
});
});
$("#superDetail").click(function () {
@ -179,7 +179,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: 'admin.php?s=/SuperStatistical/superDetail' + params
content: '{$Think.SUBSITE_INDEX}?s=/SuperStatistical/superDetail' + params
});
});
//搜索功能

@ -263,7 +263,7 @@
btn: ['确认','取消'],
title:false
}, function(){
var url = "/admin.php?s=/TestOrder/del/id/"+del.id;
var url = "/{$Think.SUBSITE_INDEX}?s=/TestOrder/del/id/"+del.id;
layer.load(2);
$.ajax({
@ -359,7 +359,7 @@
shadeClose: true,
shade: 0.8,
area: ['500px', '600px'],
content:'/admin.php?s=/TestOrder/addOrder/'
content:'/{$Think.SUBSITE_INDEX}?s=/TestOrder/addOrder/'
});
});
</script>

@ -230,7 +230,7 @@
btn: ['确认','取消'],
title:false
}, function(){
var url = "/admin.php?s=/UserActionLog/del/id/"+del.id;
var url = "/{$Think.SUBSITE_INDEX}?s=/UserActionLog/del/id/"+del.id;
layer.load(2);
$.ajax({

@ -237,7 +237,7 @@
btn: ['确认','取消'],
title:false
}, function(){
var url = "/admin.php?s=/UserActionLog/operateLogDel/id/"+del.id;
var url = "/{$Think.SUBSITE_INDEX}?s=/UserActionLog/operateLogDel/id/"+del.id;
layer.load(2);
$.ajax({

@ -114,7 +114,7 @@
layer.msg("<em style='color:white'>" + data.msg + "</em>")
setTimeout(function(){
window.location.href = "/admin.php?s=/UserPayWhiteList/index.html";
window.location.href = "/{$Think.SUBSITE_INDEX}?s=/UserPayWhiteList/index.html";
},1500);
}
}

@ -100,8 +100,8 @@
<div class="butnbox" >
<div class="butnlist jscheckbutn" style="margin-left: 2px">
<a class="butn" style="width:180px" href="/admin.php?s=/UserPayWhiteList/add.html">添加允许支付账号</a>
<if condition="$show eq 1"><a class="butn" style="width:180px" href="/admin.php?s=/UserPayWhiteList/index/show/1.html">查看允许支付白名单</a></if>
<a class="butn" style="width:180px" href="/{$Think.SUBSITE_INDEX}?s=/UserPayWhiteList/add.html">添加允许支付账号</a>
<if condition="$show eq 1"><a class="butn" style="width:180px" href="/{$Think.SUBSITE_INDEX}?s=/UserPayWhiteList/index/show/1.html">查看允许支付白名单</a></if>
</div>
</div>
<if condition = "!empty($data)">
@ -276,7 +276,7 @@
}
}
//设置对账网址
var order_url = window.location.protocol+"//"+window.location.host+"/admin.php?s=/Public/cp_login.html";
var order_url = window.location.protocol+"//"+window.location.host+"/{$Think.SUBSITE_INDEX}?s=/Public/cp_login.html";
$("#order_url").html("说明:允许玩家正常支付的白名单");
$("#upstream").click(function () {
@ -286,7 +286,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content:'/admin.php?s=/Statement/createCpStatement/'
content:'/{$Think.SUBSITE_INDEX}?s=/Statement/createCpStatement/'
});
});
@ -297,7 +297,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: '/admin.php?s=/statementMangement/createDownstreamOrder/'
content: '/{$Think.SUBSITE_INDEX}?s=/statementMangement/createDownstreamOrder/'
});
});
@ -308,7 +308,7 @@
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
content: '/admin.php?s=/statementMangement/PersonOrderList/'
content: '/{$Think.SUBSITE_INDEX}?s=/statementMangement/PersonOrderList/'
});
});
@ -317,11 +317,11 @@
var edit = $(this).data();
var ext_field = $(this).attr('ext_field');
if(edit.type == 0){
var url = "/admin.php?s=/Statement/editCpStatement/id/"+edit.id;
var url = "/{$Think.SUBSITE_INDEX}?s=/Statement/editCpStatement/id/"+edit.id;
}else if(edit.type == 1){
var url = "/admin.php?s=/StatementMangement/editDownstreamOrder/id/"+edit.id+"/ext_field/"+ext_field;
var url = "/{$Think.SUBSITE_INDEX}?s=/StatementMangement/editDownstreamOrder/id/"+edit.id+"/ext_field/"+ext_field;
}else if(edit.type == 2){
var url = "/admin.php?s=/StatementMangement/PersonOrderEdit/id/"+edit.id+"/withdraw/"+ext_field+"/time_start/"+edit.start+"/time_end/"+edit.end;
var url = "/{$Think.SUBSITE_INDEX}?s=/StatementMangement/PersonOrderEdit/id/"+edit.id+"/withdraw/"+ext_field+"/time_start/"+edit.start+"/time_end/"+edit.end;
}
layer.open({
@ -338,9 +338,9 @@
var type = $(this).data("type");
if (type == 2) {
var url = "/admin.php?s=/StatementMangement/personOrderDetail/id/"+id;
var url = "/{$Think.SUBSITE_INDEX}?s=/StatementMangement/personOrderDetail/id/"+id;
} else {
var url = "/admin.php?s=/VerifyBill/show/id/"+id+"/from/pc";
var url = "/{$Think.SUBSITE_INDEX}?s=/VerifyBill/show/id/"+id+"/from/pc";
}
layer.open({
@ -359,9 +359,9 @@
title:false
}, function(){
if(del.type == 0){
var url = "/admin.php?s=/Statement/delCpStatement/id/"+del.id;
var url = "/{$Think.SUBSITE_INDEX}?s=/Statement/delCpStatement/id/"+del.id;
}else{
var url = "/admin.php?s=/StatementMangement/delStatementData/id/"+del.id;
var url = "/{$Think.SUBSITE_INDEX}?s=/StatementMangement/delStatementData/id/"+del.id;
}
layer.load(2);
$.ajax({

@ -158,7 +158,7 @@ $(function(){
$.ajax({
type: 'POST',
type:'json',
url: "/admin.php?s=/Public/en_us",
url: "/{$Think.SUBSITE_INDEX}?s=/Public/en_us",
success: function(data) {
location.reload();
},

Loading…
Cancel
Save