From 543dda42ad15b3d86912dc8e70755cc0917ae4f0 Mon Sep 17 00:00:00 2001 From: 王晓刚 <wxg@bronet.cn> Date: Mon, 4 Mar 2019 09:28:50 +0800 Subject: [PATCH] 托管成功短信提示 --- public/themes/simpleboot3/index/agent/guarantee_info.html | 6 +++--- public/themes/simpleboot3/index/agent/more.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/themes/simpleboot3/index/agent/guarantee_info.html b/public/themes/simpleboot3/index/agent/guarantee_info.html index c54fe21..d93d0fd 100644 --- a/public/themes/simpleboot3/index/agent/guarantee_info.html +++ b/public/themes/simpleboot3/index/agent/guarantee_info.html @@ -27,13 +27,13 @@ <img src="{:cmf_get_image_url($data.thumbnail)}" alt=""> </div> <div> - <if condition="$data['status'] eq 1"> + <if condition="$data['status'] eq 1 && $data['order_about_time'] gt time()"> 托管中 - <elseif condition="$data['status'] eq 3 && ($data['order_about_time']-30*24*60*60) lt time() && $data['order_about_time'] gt time()"/> + <elseif condition="$data['status'] eq 3 && $data['order_about_time'] lt time() && ($data['order_about_time']+30*24*60*60) gt time() || ($data['status'] eq 1 && $data['order_about_time'] lt time() && ($data['order_about_time']+30*24*60*60) gt time())"/> 即将到期 <elseif condition="$data['status'] eq 3 && $data['order_expire_time'] gt time() && $data['order_about_time'] gt time()"/> 托管中 - <elseif condition="$data['status'] eq 2 || $data['status'] eq 3 && $data['order_expire_time'] lt time() || $data['status'] eq 3 && $data['order_about_time'] lt time()"/> + <elseif condition="$data['status'] eq 2 || $data['order_expire_time'] lt time() || ($data['order_about_time']+24*30*60*60) lt time()"/> 未托管 </if> </div> diff --git a/public/themes/simpleboot3/index/agent/more.html b/public/themes/simpleboot3/index/agent/more.html index 37b5419..df255dd 100644 --- a/public/themes/simpleboot3/index/agent/more.html +++ b/public/themes/simpleboot3/index/agent/more.html @@ -147,13 +147,13 @@ }else if(status == 3){ type = "未托管"; }else if(status == 0){ - if(n.status == 1){ + if(n.status == 1 && n.order_about_time > {:time()}){ type = "托管中"; - }else if(n.status == 3 && n.order_about_time-30*24*60*60 < {:time()} && n.order_about_time > {: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_time > {:time()} && n.order_about_time > {:time()}){ type = "托管中"; - }else if(n.status == 2 || (n.status == 3 && n.order_expire_time < time()) || n.status == 3 && n.order_about_time < {:time()}){ + }else if(n.status == 2 || n.order_expire_time < {:time()} || (n.order_about_time+30*24*60*60) < {:time()}){ type = "未托管"; }else{ type = "未托管"; -- libgit2 0.24.0