Commit 69bae24e authored by houdong's avatar houdong

后台加回复列表

parent 4742bf66
...@@ -86,16 +86,25 @@ function submitBaoming(userType,tradeUrl){ ...@@ -86,16 +86,25 @@ function submitBaoming(userType,tradeUrl){
if(data.status == 1){ if(data.status == 1){
if(data.canLogin==1){ if(data.canLogin==1){
layer.alert('登录成功', 1, function(){ // layer.alert('登录成功', 1, function(){
// location.reload(); // if(tradeUrl==''){
if(tradeUrl==''){ // location.href='/Index/myInvite?pop=1';
location.href='/Index/myInvite?pop=1'; // }else{
}else{ // $.cookie('denglu','/Index/saicheng');
$.cookie('denglu','/Index/saicheng'); // location.href='/Index/saicheng';
location.href='/Index/saicheng'; // }
} // });
layer.msg("登录成功!", 2,1, function(){
if(tradeUrl==''){
location.href='/Index/myInvite?pop=1';
}else{
$.cookie('denglu','/Index/saicheng');
location.href='/Index/saicheng';
}
});
});
}else{ }else{
$('#baoming').text('进入交易'); $('#baoming').text('进入交易');
$('#pop1').hide(); $('#pop1').hide();
...@@ -110,11 +119,16 @@ function submitBaoming(userType,tradeUrl){ ...@@ -110,11 +119,16 @@ function submitBaoming(userType,tradeUrl){
location.href='/Index/myInvite?pop=1'; location.href='/Index/myInvite?pop=1';
}else{ }else{
//因登录窗重用,不出现下面的弹窗了 //因登录窗重用,不出现下面的弹窗了
layer.alert('登录成功', 1, function(){ // layer.alert('登录成功', 1, function(){
$.cookie('denglu','/Index/saicheng'); // $.cookie('denglu','/Index/saicheng');
// location.href='/Index/saicheng';
// });
layer.msg("登录成功!", 2,1, function(){
$.cookie('denglu','/Index/saicheng');
location.href='/Index/saicheng'; location.href='/Index/saicheng';
// location.reload();
}); });
return; return;
var index = $.layer({ var index = $.layer({
type: 1,title: ' ',border : [5, 0.5, '#666'],btns: 2,btn: ['关闭', '去交易'], type: 1,title: ' ',border : [5, 0.5, '#666'],btns: 2,btn: ['关闭', '去交易'],
......
...@@ -169,7 +169,7 @@ return array( ...@@ -169,7 +169,7 @@ return array(
'CD_URL'=>'http://cd.cofool.com/', 'CD_URL'=>'http://cd.cofool.com/',
'css_version'=>'?_=2wef112', 'css_version'=>'?_=2wef112',
'js_version'=>'?_=2asdf112', 'js_version'=>'?_=2112',
'ALIPAY'=>array( 'ALIPAY'=>array(
'app_id'=>'2021002176676106', 'app_id'=>'2021002176676106',
......
...@@ -216,6 +216,29 @@ ...@@ -216,6 +216,29 @@
</body> </body>
<script> <script>
// layer.alert(32);
// layer.alert(32, 8);
// layer.alert(32, -1);
// layer.alert('这是一个警告框', {closeBtn: 0});
// layer.confirm('请输入有效的11位手机号码');
// layer.open({content: '当前大赛未开始',skin: 'msg',time: 2});
// layer.msg('大部分参数都是可以公用的风格', {
// // time: 2000, //2s后自动关闭
// btn: ['明白了']
// });
// layer.msg('确认要变更状态吗?',{
// time:5000,
// shade:0.3,
// btn:['确认','取消'],
// yes:function() {
// //执行变更
//
// }
// });
//奖项及赛程1,PK挑战2,控制刷新后页面显示哪个标签 //奖项及赛程1,PK挑战2,控制刷新后页面显示哪个标签
var view=1; var view=1;
var userType=0; var userType=0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment