From 7a4b8764b68e0dbaeb90e292a8a4bd47cb379e68 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期一, 27 四月 2026 17:26:02 +0800
Subject: [PATCH] 小程序端和PC端bug修复
---
small-program/unpackage/dist/dev/mp-weixin/pages/mine/mine.js | 37 ++++++++++++++++++++++---------------
1 files changed, 22 insertions(+), 15 deletions(-)
diff --git a/small-program/unpackage/dist/dev/mp-weixin/pages/mine/mine.js b/small-program/unpackage/dist/dev/mp-weixin/pages/mine/mine.js
index 1bd692d..76a28bb 100644
--- a/small-program/unpackage/dist/dev/mp-weixin/pages/mine/mine.js
+++ b/small-program/unpackage/dist/dev/mp-weixin/pages/mine/mine.js
@@ -101,13 +101,13 @@
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) {
@@ -200,7 +200,7 @@
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 = {
@@ -216,22 +216,27 @@
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: '鍦ㄧ嚎瀹㈡湇'
}, {
@@ -287,16 +292,17 @@
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({
@@ -304,15 +310,16 @@
});
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() {
--
Gitblit v1.9.3