作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

代理人注册

... ... @@ -80,11 +80,11 @@
<div>
<if condition="$c_d['status'] eq 1">
托管中
<elseif condition="$c_d['status'] eq 3 && $c_d['order_about_time'] lt time() && $c_d['order_expire_time'] gt time()"/>
<elseif condition="$c_d['status'] eq 3 && ($c_d['order_about_time']-30*24*60*60) lt time() && $c_d['order_about_time'] gt time()"/>
即将到期
<elseif condition="$c_d['status'] eq 3 && $c_d['order_expire_time'] gt time()"/>
<elseif condition="$c_d['status'] eq 3 && $c_d['order_expire_time'] gt time() && $c_d['order_about_time'] gt time()"/>
托管中
<elseif condition="$c_d['status'] eq 2 || ($c_d['status'] eq 3 && $c_d['order_expire_time'] lt time())"/>
<elseif condition="$c_d['status'] eq 2 || $c_d['status'] eq 3 && $c_d['order_expire_time'] lt time() || $c_d['status'] eq 3 && $c_d['order_about_time'] lt time()"/>
未托管
</if>
</div>
... ... @@ -171,11 +171,11 @@
console.log(n.status)
if(n.status == 1){
type = "托管中";
}else if(n.status == 3 && n.order_about_time < {:time()} && n.order_expire_time > {:time()}){
}else if(n.status == 3 && n.order_about_time-30*24*60*60 < {:time()} && n.order_about_time > {:time()}){
type = "即将到期";
}else if(n.status == 3 && n.order_expire_time > {:time()}){
}else if(n.status == 3 && n.order_expire_time > {:time()} && n.order_about_time > {:time()}){
type = "托管中";
}else if(n.status == 3 || (n.status == 3 && n.order_expire_time < time())){
}else if(n.status == 2 || (n.status == 3 && n.order_expire_time < time()) || n.status == 3 && n.order_about_time < {:time()}){
type = "未托管";
}else{
type = "未托管";
... ...