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

去除保险时间字段

... ... @@ -75,13 +75,13 @@
<img src="{:cmf_get_image_url($c_d.thumbnail)}" alt="">
</div>
<div>
<if condition="$c_d['status'] eq 1 && $c_d['order_about_time'] gt time()">
<if condition="$c_d['status'] eq 1 && $c_d['order_expire_time2'] gt time()">
托管中
<elseif condition="$c_d['status'] eq 3 && $c_d['order_about_time'] lt time() && ($c_d['order_about_time']+30*24*60*60) gt time() || ($c_d['status'] eq 1 && $c_d['order_about_time'] lt time() && ($c_d['order_about_time']+30*24*60*60) 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 3 && $c_d['order_expire_time2'] gt time()"/>
托管中
<elseif condition="$c_d['status'] eq 2 || $c_d['order_expire_time'] lt time() || ($c_d['order_about_time']+24*30*60*60) lt time()"/>
<elseif condition="$c_d['status'] eq 2"/>
未托管
</if>
</div>
... ... @@ -167,7 +167,7 @@
}else if(status == 0){
if(n.status == 1 && n.order_expire_time2 > {:time()}){
type = "托管中";
}else if(n.status == 3 && n.order_about_time2 < {:time()} && (n.order_about_time+30*24*60*60) > {:time()} || n.status == 1 && n.order_about_time < {:time()} && (n.order_about_time+30*24*60*60) > {:time()}){
}else if(n.status == 3 && n.order_about_time < {:time()} && (n.order_about_time+30*24*60*60) > {:time()} || n.status == 1 && n.order_about_time < {:time()} && (n.order_about_time+30*24*60*60) > {:time()}){
type = "即将到期";
}else if(n.status == 3 && n.order_expire_time2 > {:time()}){
type = "托管中";
... ...