...
|
...
|
@@ -281,7 +281,12 @@ |
|
|
for(var i=0;i<len.length;i++){
|
|
|
if($(len[i]).attr("ordertype")==1){
|
|
|
$(len[i]).addClass("active");
|
|
|
$(len[i]).siblings("li").removeClass("active")
|
|
|
$(len[i]).siblings("li").removeClass("active");
|
|
|
$(".waitpay").css("display","block");
|
|
|
$(".allorder").css("display","none");
|
|
|
$(".waitsend").css("display","none");
|
|
|
$(".waittake").css("display","none");
|
|
|
$(".finish").css("display","none");
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
@@ -289,23 +294,44 @@ |
|
|
for(var i=0;i<len.length;i++){
|
|
|
if($(len[i]).attr("ordertype")==2){
|
|
|
$(len[i]).addClass("active");
|
|
|
$(len[i]).siblings("li").removeClass("active")
|
|
|
$(len[i]).siblings("li").removeClass("active");
|
|
|
$(".waitpay").css("display","none");
|
|
|
$(".allorder").css("display","none");
|
|
|
$(".waitsend").css("display","block");
|
|
|
$(".waittake").css("display","none");
|
|
|
$(".finish").css("display","none");
|
|
|
}
|
|
|
}
|
|
|
}else if(orderid==3){
|
|
|
for(var i=0;i<len.length;i++){
|
|
|
if($(len[i]).attr("ordertype")==3){
|
|
|
$(len[i]).addClass("active");
|
|
|
$(len[i]).siblings("li").removeClass("active")
|
|
|
$(len[i]).siblings("li").removeClass("active");
|
|
|
$(".waitpay").css("display","none");
|
|
|
$(".allorder").css("display","none");
|
|
|
$(".waitsend").css("display","none");
|
|
|
$(".waittake").css("display","block");
|
|
|
$(".finish").css("display","none");
|
|
|
}
|
|
|
}
|
|
|
}else if(orderid==4){
|
|
|
for(var i=0;i<len.length;i++){
|
|
|
if($(len[i]).attr("ordertype")==4){
|
|
|
$(len[i]).addClass("active");
|
|
|
$(len[i]).siblings("li").removeClass("active")
|
|
|
$(len[i]).siblings("li").removeClass("active");
|
|
|
$(".waitpay").css("display","none");
|
|
|
$(".allorder").css("display","none");
|
|
|
$(".waitsend").css("display","none");
|
|
|
$(".waittake").css("display","none");
|
|
|
$(".finish").css("display","block");
|
|
|
}
|
|
|
}
|
|
|
}else{
|
|
|
$(".waitpay").css("display","none");
|
|
|
$(".allorder").css("display","block");
|
|
|
$(".waitsend").css("display","none");
|
|
|
$(".waittake").css("display","none");
|
|
|
$(".finish").css("display","none");
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
|