const _Page = require("../../__antmove/component/componentClass.js")("Page");
my.setStorageSync({
    key: "activeComponent",
    data: {
        is: "pages/count-down/index"
    }
});

_Page({
    data: {
        targetTime: 0,
        targetTime1: 0,
        myFormat: ["时", "分", "秒"],
        myFormat1: ["天", "时", "分", "秒"],
        status: "进行中...",
        clearTimer: false
    },

    onLoad() {
        this.setData({
            targetTime: new Date().getTime() + 6430000,
            targetTime1: new Date().getTime() + 86430000,
            targetTime2: new Date().getTime() + 10000
        });
    },

    onUnload() {
        this.setData({
            clearTimer: true
        });
    },

    myLinsterner(e) {
        this.setData({
            status: "结束"
        });
    }
});
