正在显示
2 个修改的文件
包含
6 行增加
和
6 行删除
@@ -27,13 +27,13 @@ | @@ -27,13 +27,13 @@ | ||
27 | <img src="{:cmf_get_image_url($data.thumbnail)}" alt=""> | 27 | <img src="{:cmf_get_image_url($data.thumbnail)}" alt=""> |
28 | </div> | 28 | </div> |
29 | <div> | 29 | <div> |
30 | - <if condition="$data['status'] eq 1"> | 30 | + <if condition="$data['status'] eq 1 && $data['order_about_time'] gt time()"> |
31 | 托管中 | 31 | 托管中 |
32 | - <elseif condition="$data['status'] eq 3 && ($data['order_about_time']-30*24*60*60) lt time() && $data['order_about_time'] gt time()"/> | 32 | + <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())"/> |
33 | 即将到期 | 33 | 即将到期 |
34 | <elseif condition="$data['status'] eq 3 && $data['order_expire_time'] gt time() && $data['order_about_time'] gt time()"/> | 34 | <elseif condition="$data['status'] eq 3 && $data['order_expire_time'] gt time() && $data['order_about_time'] gt time()"/> |
35 | 托管中 | 35 | 托管中 |
36 | - <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()"/> | 36 | + <elseif condition="$data['status'] eq 2 || $data['order_expire_time'] lt time() || ($data['order_about_time']+24*30*60*60) lt time()"/> |
37 | 未托管 | 37 | 未托管 |
38 | </if> | 38 | </if> |
39 | </div> | 39 | </div> |
@@ -147,13 +147,13 @@ | @@ -147,13 +147,13 @@ | ||
147 | }else if(status == 3){ | 147 | }else if(status == 3){ |
148 | type = "未托管"; | 148 | type = "未托管"; |
149 | }else if(status == 0){ | 149 | }else if(status == 0){ |
150 | - if(n.status == 1){ | 150 | + if(n.status == 1 && n.order_about_time > {:time()}){ |
151 | type = "托管中"; | 151 | type = "托管中"; |
152 | - }else if(n.status == 3 && n.order_about_time-30*24*60*60 < {:time()} && n.order_about_time > {:time()}){ | 152 | + }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()}){ |
153 | type = "即将到期"; | 153 | type = "即将到期"; |
154 | }else if(n.status == 3 && n.order_expire_time > {:time()} && n.order_about_time > {:time()}){ | 154 | }else if(n.status == 3 && n.order_expire_time > {:time()} && n.order_about_time > {:time()}){ |
155 | type = "托管中"; | 155 | type = "托管中"; |
156 | - }else if(n.status == 2 || (n.status == 3 && n.order_expire_time < time()) || n.status == 3 && n.order_about_time < {:time()}){ | 156 | + }else if(n.status == 2 || n.order_expire_time < {:time()} || (n.order_about_time+30*24*60*60) < {:time()}){ |
157 | type = "未托管"; | 157 | type = "未托管"; |
158 | }else{ | 158 | }else{ |
159 | type = "未托管"; | 159 | type = "未托管"; |
-
请 注册 或 登录 后发表评论