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

代理人注册

@@ -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>
@@ -170,11 +170,13 @@ @@ -170,11 +170,13 @@
170 }else if(status == 0){ 170 }else if(status == 0){
171 if(n.status == 1){ 171 if(n.status == 1){
172 type = "托管中"; 172 type = "托管中";
173 - }else if(n.status == 3 && n.order_about_time < {:time()} && n.order_expire_time > {:time()}){ 173 + }else if(n.status == 3 && n.order_about_time-30*24*60*60 < {:time()} && n.order_about_time > {:time()}){
174 type = "即将到期"; 174 type = "即将到期";
175 - }else if(n.status == 3 && n.order_expire_time > {:time()}){ 175 + }else if(n.status == 3 && n.order_expire_time > {:time()} && n.order_about_time > {:time()}){
176 type = "托管中"; 176 type = "托管中";
177 - }else if(n.status == 3 || (n.status == 3 && n.order_expire_time < time())){ 177 + }else if(n.status == 2 || (n.status == 3 && n.order_expire_time < time()) || n.status == 3 && n.order_about_time < {:time()}){
  178 + type = "未托管";
  179 + }else{
178 type = "未托管"; 180 type = "未托管";
179 } 181 }
180 } 182 }