Object.defineProperty(exports, '__esModule', {
    value: true
});
exports.default = void 0;
var t = {
    func: {
        gonavigateTo: function (t) {
            uni.navigateTo({
                url: '../' + t.currentTarget.dataset.url + '/' + t.currentTarget.dataset.url
            });
        },
        goswitchTab: function (t) {
            uni.switchTab({
                url: '../' + t.currentTarget.dataset.url + '/' + t.currentTarget.dataset.url
            });
        },
        reminder: function () {
            uni.showToast({
                title: '功能开发中',
                icon: 'none',
                duration: 2000
            });
        },
        timestampConversion: function (t) {
            t = 1000 * parseInt(t);
            var e = new Date(t);
            var r = e.getYear();
            r = e.getFullYear();
            var a = e.getMonth() + 1;
            a = a < 10 ? '0' + a : a;
            var n = e.getDate();
            n = n < 10 ? '0' + n : n;
            var u = e.getHours();
            u = u < 10 ? '0' + u : u;
            var o = e.getMinutes();
            o = o < 10 ? '0' + o : o;
            var s = e.getSeconds();
            return r + '-' + a + '-' + n + '  ' + u + ':' + o + ':' + (s = s < 10 ? '0' + s : s);
        }
    }
};
exports.default = t;
