| | |
| | | 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 */ 388)) |
| | | 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 */ 475)) |
| | | }, |
| | | authLogin: function () { |
| | | return __webpack_require__.e(/*! import() | components/auth-login/auth-login */ "components/auth-login/auth-login").then(__webpack_require__.bind(null, /*! @/components/auth-login/auth-login.vue */ 397)) |
| | | return __webpack_require__.e(/*! import() | components/auth-login/auth-login */ "components/auth-login/auth-login").then(__webpack_require__.bind(null, /*! @/components/auth-login/auth-login.vue */ 484)) |
| | | }, |
| | | customTabbar: function () { |
| | | return __webpack_require__.e(/*! import() | components/custom-tabbar/custom-tabbar */ "components/custom-tabbar/custom-tabbar").then(__webpack_require__.bind(null, /*! @/components/custom-tabbar/custom-tabbar.vue */ 404)) |
| | | return __webpack_require__.e(/*! import() | components/custom-tabbar/custom-tabbar */ "components/custom-tabbar/custom-tabbar").then(__webpack_require__.bind(null, /*! @/components/custom-tabbar/custom-tabbar.vue */ 187)) |
| | | }, |
| | | } |
| | | } catch (e) { |
| | |
| | | function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } |
| | | var CustomTabbar = function CustomTabbar() { |
| | | __webpack_require__.e(/*! require.ensure | components/custom-tabbar/custom-tabbar */ "components/custom-tabbar/custom-tabbar").then((function () { |
| | | return resolve(__webpack_require__(/*! @/components/custom-tabbar/custom-tabbar.vue */ 404)); |
| | | return resolve(__webpack_require__(/*! @/components/custom-tabbar/custom-tabbar.vue */ 187)); |
| | | }).bind(null, __webpack_require__)).catch(__webpack_require__.oe); |
| | | }; |
| | | var _default = { |
| | |
| | | orderMenus: [{ |
| | | label: '待支付', |
| | | url: '/static/icon/mine_ic_daifukuan@2x.png', |
| | | badge: 0 |
| | | badge: 0, |
| | | status: 0 |
| | | }, { |
| | | label: '待收货', |
| | | url: '/static/icon/mine_ic_daishouhuo@2x.png', |
| | | badge: 0 |
| | | badge: 0, |
| | | status: 3 |
| | | }, { |
| | | label: '退款/售后', |
| | | url: '/static/icon/mine_ic_tuikuan@2x.png', |
| | | badge: 0 |
| | | badge: 0, |
| | | status: 5 |
| | | }], |
| | | menuList: [{ |
| | | label: '门店入驻' |
| | | }, { |
| | | label: '我的门店' |
| | | }, { |
| | | label: '规范须知' |
| | | label: '用户服务协议' |
| | | }, { |
| | | label: '用户隐私政策' |
| | | }, { |
| | | label: '在线客服' |
| | | }, { |
| | |
| | | this.showAuthLogin = true; |
| | | }, |
| | | toAllOrders: function toAllOrders() { |
| | | uni.navigateTo({ |
| | | url: '/pages/orders/orders' |
| | | uni.switchTab({ |
| | | url: '/pages/itinerary/itinerary' |
| | | }); |
| | | }, |
| | | handleMenuClick: function handleMenuClick(item) { |
| | | var urlMap = { |
| | | '门店入驻': '/pages/store-apply/store-apply', |
| | | '我的门店': '/shop/pages/login/login', |
| | | '规范须知': '/pages/rich-text/rich-text?type=serverIntroduce', |
| | | '关于我们': '/pages/rich-text/rich-text?type=about' |
| | | '用户服务协议': '/pages/rich-text/rich-text?type=0', |
| | | '用户隐私政策': '/pages/rich-text/rich-text?type=1', |
| | | '关于我们': '/pages/rich-text/rich-text?type=5' |
| | | }; |
| | | if (['门店入驻', '门店信息'].includes(item.label) && [0, 1, 2, 3].includes(this.userInfo.shopAuditStatus)) { |
| | | uni.navigateTo({ |
| | |
| | | }); |
| | | return; |
| | | } |
| | | if (urlMap[item.label]) { |
| | | if (item.label !== '在线客服' && urlMap[item.label]) { |
| | | uni.navigateTo({ |
| | | url: urlMap[item.label] |
| | | }); |
| | | } |
| | | }, |
| | | toOrderDetail: function toOrderDetail(label) { |
| | | uni.navigateTo({ |
| | | url: '/pages/orders/orders?status=' + label |
| | | uni.setStorageSync("orderStatus", label === 0 ? -2 : label); |
| | | uni.switchTab({ |
| | | url: '/pages/itinerary/itinerary' |
| | | }); |
| | | }, |
| | | toSetting: function toSetting() { |