MrShi
7 天以前 a987eccb27891bbfaae334b7fa0e892ee2640271
small-program/unpackage/dist/dev/mp-weixin/pages/mine/mine.js
@@ -101,7 +101,7 @@
try {
  components = {
    uIcon: function () {
      return Promise.all(/*! import() | node-modules/uview-ui/components/u-icon/u-icon */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-icon/u-icon.vue */ 297))
      return Promise.all(/*! import() | node-modules/uview-ui/components/u-icon/u-icon */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-icon/u-icon.vue */ 326))
    },
  }
} catch (e) {
@@ -212,7 +212,9 @@
              _context.next = 2;
              return _this.$onLaunched;
            case 2:
              _this.getOrderNum();
              if (_this.userInfo) {
                _this.getOrderNum();
              }
            case 3:
            case "end":
              return _context.stop();
@@ -226,6 +228,25 @@
      uni.navigateTo({
        url: '/pages/orders/orders'
      });
    },
    handleMenuClick: function handleMenuClick(item) {
      var urlMap = {
        '门店入驻': '/pages/store-apply/store-apply',
        '我的门店': '/pages/store-home/store-home',
        '规范须知': '/pages/rich-text/rich-text?type=serverIntroduce',
        '关于我们': '/pages/rich-text/rich-text?type=about'
      };
      if (item.label === '门店入驻' && [0, 1, 2].includes(this.userInfo.shopAuditStatus)) {
        uni.navigateTo({
          url: '/pages/details-entry/details-entry'
        });
        return;
      }
      if (urlMap[item.label]) {
        uni.navigateTo({
          url: urlMap[item.label]
        });
      }
    },
    toOrderDetail: function toOrderDetail(label) {
      uni.navigateTo({
@@ -277,7 +298,7 @@
                      if (res.code === 200) {
                        that.$u.api.wxAuthPhone({
                          code: e.detail.code,
                          openid: 'oKKHU5IFKpss_DIbFX1lqghFJOEg'
                          openid: res.data.openid
                        }).then(function (res) {
                          if (res.code === 200) {
                            that.$store.commit('setUserInfo', res.data.member);