diff --git a/yjyf-master-app/App.vue b/yjyf-master-app/App.vue
index f73aa2b..305b083 100644
--- a/yjyf-master-app/App.vue
+++ b/yjyf-master-app/App.vue
@@ -1,7 +1,30 @@
diff --git a/yjyf-master-app/components/YjyfNavBar.vue b/yjyf-master-app/components/YjyfNavBar.vue
index b0982c8..5ac38cc 100644
--- a/yjyf-master-app/components/YjyfNavBar.vue
+++ b/yjyf-master-app/components/YjyfNavBar.vue
@@ -195,18 +195,18 @@
if (pages.length > 1) {
uni.navigateBack({
fail: () => {
- uni.reLaunch({ url: '/pages/master/hall' });
+ uni.switchTab({ url: '/pages/master/hall' });
}
});
} else {
// 单层页面栈(如分享页、直接跳转页),智能兜底返回接单大厅
- uni.reLaunch({ url: '/pages/master/hall' });
+ uni.switchTab({ url: '/pages/master/hall' });
}
}
function handleHome() {
emit('home');
- uni.reLaunch({ url: '/pages/master/hall' });
+ uni.switchTab({ url: '/pages/master/hall' });
}
diff --git a/yjyf-master-app/components/master/MasterHallView.vue b/yjyf-master-app/components/master/MasterHallView.vue
index 95b89f0..04be945 100644
--- a/yjyf-master-app/components/master/MasterHallView.vue
+++ b/yjyf-master-app/components/master/MasterHallView.vue
@@ -922,8 +922,7 @@
@import '@/uni.scss';
.hall-view {
- height: calc(100vh - 112rpx - constant(safe-area-inset-bottom));
- height: calc(100vh - 112rpx - env(safe-area-inset-bottom));
+ height: 100vh;
display: flex;
flex-direction: column;
overflow: hidden;
diff --git a/yjyf-master-app/components/master/MasterMessageView.vue b/yjyf-master-app/components/master/MasterMessageView.vue
index bf19732..40da920 100644
--- a/yjyf-master-app/components/master/MasterMessageView.vue
+++ b/yjyf-master-app/components/master/MasterMessageView.vue
@@ -81,7 +81,7 @@
];
function goMasterLogin() {
- toLogin('/pages/master/hall?tab=2');
+ toLogin('/pages/message/message');
}
async function load() {
@@ -158,8 +158,7 @@
diff --git a/yjyf-master-app/pages/master/location.vue b/yjyf-master-app/pages/master/location.vue
index 3e2eec5..adb072e 100644
--- a/yjyf-master-app/pages/master/location.vue
+++ b/yjyf-master-app/pages/master/location.vue
@@ -1135,7 +1135,7 @@
if (pages.length > 1) {
uni.navigateBack();
} else {
- uni.reLaunch({ url: '/pages/master/hall' });
+ uni.switchTab({ url: '/pages/master/hall' });
}
}, 360);
} catch (e) {
diff --git a/yjyf-master-app/pages/master/orders.vue b/yjyf-master-app/pages/master/orders.vue
index 6cf2a12..ae02e50 100644
--- a/yjyf-master-app/pages/master/orders.vue
+++ b/yjyf-master-app/pages/master/orders.vue
@@ -1,7 +1,7 @@
-
+
@@ -9,14 +9,20 @@
import { ref } from 'vue';
import { onShow } from '@dcloudio/uni-app';
import MasterOrdersView from '@/components/master/MasterOrdersView.vue';
- import YjyfMasterTabBar from '@/components/YjyfMasterTabBar.vue';
+ import YjyfPrivacyPopup from '@/components/YjyfPrivacyPopup.vue';
const ordersRef = ref(null);
+ let initialShown = false;
onShow(() => {
+ if (!initialShown) {
+ initialShown = true;
+ return;
+ }
if (ordersRef.value?.load) {
ordersRef.value.load();
}
+ uni.$emit('yjyf:refreshUnread');
});
diff --git a/yjyf-master-app/pages/master/quote.vue b/yjyf-master-app/pages/master/quote.vue
index 52bd115..be40ea1 100644
--- a/yjyf-master-app/pages/master/quote.vue
+++ b/yjyf-master-app/pages/master/quote.vue
@@ -136,7 +136,7 @@
}
function goHall() {
- uni.reLaunch({ url: '/pages/master/hall' });
+ uni.switchTab({ url: '/pages/master/hall' });
}
async function submitQuote() {
diff --git a/yjyf-master-app/pages/master/success.vue b/yjyf-master-app/pages/master/success.vue
index 17e497c..982b8e3 100644
--- a/yjyf-master-app/pages/master/success.vue
+++ b/yjyf-master-app/pages/master/success.vue
@@ -179,12 +179,12 @@
if (orderId.value > 0) {
uni.redirectTo({ url: `/pages/master/detail?id=${orderId.value}` });
} else {
- uni.reLaunch({ url: '/pages/master/hall?tab=1' });
+ uni.switchTab({ url: '/pages/master/orders' });
}
}
function goHall() {
- uni.reLaunch({ url: '/pages/master/hall' });
+ uni.switchTab({ url: '/pages/master/hall' });
}
diff --git a/yjyf-master-app/pages/master/workbench.vue b/yjyf-master-app/pages/master/workbench.vue
index 8f6c920..fd0c054 100644
--- a/yjyf-master-app/pages/master/workbench.vue
+++ b/yjyf-master-app/pages/master/workbench.vue
@@ -1,7 +1,7 @@
-
+
@@ -9,14 +9,20 @@
import { ref } from 'vue';
import { onShow } from '@dcloudio/uni-app';
import MasterWorkbenchView from '@/components/master/MasterWorkbenchView.vue';
- import YjyfMasterTabBar from '@/components/YjyfMasterTabBar.vue';
+ import YjyfPrivacyPopup from '@/components/YjyfPrivacyPopup.vue';
const workbenchRef = ref(null);
+ let initialShown = false;
onShow(() => {
+ if (!initialShown) {
+ initialShown = true;
+ return;
+ }
if (workbenchRef.value?.load) {
workbenchRef.value.load();
}
+ uni.$emit('yjyf:refreshUnread');
});
diff --git a/yjyf-master-app/pages/message/message.vue b/yjyf-master-app/pages/message/message.vue
index 531ea78..829e7f6 100644
--- a/yjyf-master-app/pages/message/message.vue
+++ b/yjyf-master-app/pages/message/message.vue
@@ -1,7 +1,7 @@
-
+
@@ -9,7 +9,7 @@
import { ref } from 'vue';
import { onShow } from '@dcloudio/uni-app';
import MasterMessageView from '@/components/master/MasterMessageView.vue';
- import YjyfMasterTabBar from '@/components/YjyfMasterTabBar.vue';
+ import YjyfPrivacyPopup from '@/components/YjyfPrivacyPopup.vue';
const msgRef = ref(null);
let initialShown = false;
@@ -22,6 +22,7 @@
if (msgRef.value?.load) {
msgRef.value.load();
}
+ uni.$emit('yjyf:refreshUnread');
});
diff --git a/yjyf-master-app/static/tabbar/master/hall-store-active.png b/yjyf-master-app/static/tabbar/master/hall-store-active.png
new file mode 100644
index 0000000..8333080
Binary files /dev/null and b/yjyf-master-app/static/tabbar/master/hall-store-active.png differ
diff --git a/yjyf-master-app/static/tabbar/master/hall-store.png b/yjyf-master-app/static/tabbar/master/hall-store.png
new file mode 100644
index 0000000..945756c
Binary files /dev/null and b/yjyf-master-app/static/tabbar/master/hall-store.png differ
diff --git a/yjyf-master-app/static/tabbar/master/msg-active.png b/yjyf-master-app/static/tabbar/master/msg-active.png
new file mode 100644
index 0000000..82a4781
Binary files /dev/null and b/yjyf-master-app/static/tabbar/master/msg-active.png differ
diff --git a/yjyf-master-app/static/tabbar/master/msg.png b/yjyf-master-app/static/tabbar/master/msg.png
new file mode 100644
index 0000000..f303f06
Binary files /dev/null and b/yjyf-master-app/static/tabbar/master/msg.png differ
diff --git a/yjyf-master-app/static/tabbar/master/orders-active.png b/yjyf-master-app/static/tabbar/master/orders-active.png
new file mode 100644
index 0000000..b4d6c53
Binary files /dev/null and b/yjyf-master-app/static/tabbar/master/orders-active.png differ
diff --git a/yjyf-master-app/static/tabbar/master/orders.png b/yjyf-master-app/static/tabbar/master/orders.png
new file mode 100644
index 0000000..2254bf5
Binary files /dev/null and b/yjyf-master-app/static/tabbar/master/orders.png differ
diff --git a/yjyf-master-app/static/tabbar/master/work-active.png b/yjyf-master-app/static/tabbar/master/work-active.png
new file mode 100644
index 0000000..1685a93
Binary files /dev/null and b/yjyf-master-app/static/tabbar/master/work-active.png differ
diff --git a/yjyf-master-app/static/tabbar/master/work.png b/yjyf-master-app/static/tabbar/master/work.png
new file mode 100644
index 0000000..adabeb6
Binary files /dev/null and b/yjyf-master-app/static/tabbar/master/work.png differ