wxml
<text>{
{
days}}天{
{
hours}}:{
{
minute}}:{
{
second}}</text>
js(data)
days: '0' + 0, //天
hours: '0' + 0, // 时
minute: '0' + 0, // 分
second: '0' + 0, // 秒
js(methods)
// 计时
//开始订单计时器
startSetInter: function () {
const that = this
var second = that.data.second
var minute = that.data.minute
var hours = that.data.hours
var days