chore(master): 重构师傅端 tabbar 为独立页面路由模式
- 新增 tabbar 配置,改为独立页面路由 - 替换所有 reLaunch 为 switchTab 跳转 tab 页面 - 新增未读消息角标同步逻辑 - 移除旧的多 tab 组件化实现 - 新增 tabbar 图标资源文件
这个提交包含在:
@@ -429,7 +429,7 @@
|
||||
}
|
||||
|
||||
function goMasterLogin() {
|
||||
toLogin('/pages/master/hall?tab=3');
|
||||
toLogin('/pages/master/workbench');
|
||||
}
|
||||
|
||||
function go(url) {
|
||||
@@ -449,7 +449,7 @@
|
||||
emit('switch-tab', 1);
|
||||
return;
|
||||
}
|
||||
uni.reLaunch({ url: '/pages/master/hall?tab=1' });
|
||||
uni.switchTab({ url: '/pages/master/orders' });
|
||||
}
|
||||
|
||||
function goSkills() {
|
||||
@@ -634,8 +634,7 @@
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.workbench-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;
|
||||
|
||||
在新工单中引用
屏蔽一个用户