正在显示
1 个修改的文件
包含
6 行增加
和
6 行删除
@@ -80,11 +80,11 @@ | @@ -80,11 +80,11 @@ | ||
80 | <div> | 80 | <div> |
81 | <if condition="$c_d['status'] eq 1"> | 81 | <if condition="$c_d['status'] eq 1"> |
82 | 托管中 | 82 | 托管中 |
83 | - <elseif condition="$c_d['status'] eq 3 && $c_d['order_about_time'] lt time() && $c_d['order_expire_time'] gt time()"/> | 83 | + <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()"/> |
84 | 即将到期 | 84 | 即将到期 |
85 | - <elseif condition="$c_d['status'] eq 3 && $c_d['order_expire_time'] gt time()"/> | 85 | + <elseif condition="$c_d['status'] eq 3 && $c_d['order_expire_time'] gt time() && $c_d['order_about_time'] gt time()"/> |
86 | 托管中 | 86 | 托管中 |
87 | - <elseif condition="$c_d['status'] eq 2 || ($c_d['status'] eq 3 && $c_d['order_expire_time'] lt time())"/> | 87 | + <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()"/> |
88 | 未托管 | 88 | 未托管 |
89 | </if> | 89 | </if> |
90 | </div> | 90 | </div> |
@@ -171,11 +171,11 @@ | @@ -171,11 +171,11 @@ | ||
171 | console.log(n.status) | 171 | console.log(n.status) |
172 | if(n.status == 1){ | 172 | if(n.status == 1){ |
173 | type = "托管中"; | 173 | type = "托管中"; |
174 | - }else if(n.status == 3 && n.order_about_time < {:time()} && n.order_expire_time > {:time()}){ | 174 | + }else if(n.status == 3 && n.order_about_time-30*24*60*60 < {:time()} && n.order_about_time > {:time()}){ |
175 | type = "即将到期"; | 175 | type = "即将到期"; |
176 | - }else if(n.status == 3 && n.order_expire_time > {:time()}){ | 176 | + }else if(n.status == 3 && n.order_expire_time > {:time()} && n.order_about_time > {:time()}){ |
177 | type = "托管中"; | 177 | type = "托管中"; |
178 | - }else if(n.status == 3 || (n.status == 3 && n.order_expire_time < time())){ | 178 | + }else if(n.status == 2 || (n.status == 3 && n.order_expire_time < time()) || n.status == 3 && n.order_about_time < {:time()}){ |
179 | type = "未托管"; | 179 | type = "未托管"; |
180 | }else{ | 180 | }else{ |
181 | type = "未托管"; | 181 | type = "未托管"; |
-
请 注册 或 登录 后发表评论