getApp(), require("../../utils/util.js");

Page({
    data: {
        userInfo: []
    },
    payment: function() {
        wx.navigateTo({
            url: "../my/payment/payment"
        });
    },
    delivery: function() {
        wx.navigateTo({
            url: "../my/delivery/delivery"
        });
    },
    shipped: function() {
        wx.navigateTo({
            url: "../my/shipped/shipped"
        });
    },
    completed: function() {
        wx.navigateTo({
            url: "../my/completed/completed"
        });
    },
    gotomyoder: function() {
        wx.navigateTo({
            url: "payment/payment"
        });
    },
    gomyoder: function() {
        wx.navigateTo({
            url: "myoder/myoder"
        });
    },
    onLoad: function(n) {
        var e = this;
        wx.getStorage({
            key: "userInfo",
            success: function(n) {
                e.setData({
                    userInfo: n.data
                });
            }
        }), wx.getStorage({
            key: "ouid",
            success: function(n) {}
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});