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

托管成功短信提示

... ... @@ -75,12 +75,12 @@
<img src="{:cmf_get_image_url($c_d.thumbnail)}" alt="">
</div>
<div>
<if condition="$c_d['status'] eq 1 && $c_d['order_about_time']+30*24*60*60 gt time()">
<if condition="$c_d['status'] eq 1 && $c_d['order_about_time'] 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()"/>
托管中{$c_d['status']}{$c_d['order_about_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()"/>
未托管
</if>
... ... @@ -174,6 +174,7 @@
type = "托管中";
}else if(n.status == 2 || n.order_expire_time < {:time()} || (n.order_about_time+30*24*60*60) < {:time()}){
type = "未托管";
console.log(n.order);
}else{
type = "未托管";
}
... ...