微信小程序如何写订单列表倒计时?
一批订单列表其中含有未完成订单,对未完成订单做倒计时提示,倒计时时间数据后台返回,采用分页加载方式,这是返回数据示例:
[
{Status:5,WorkFee:9900,difftime:0,statusname:"已付款"},
{Status:1,WorkFee:0,difftime:1200,statusname:"待付款"},
{Status:1,WorkFee:19900,difftime:989,statusname:"待付款"},
{Status:11,WorkFee:0,difftime:0,statusname:"已完成"},
{Status:11,WorkFee:0,difftime:0,statusname:"已完成"}
]
相关分类