diff --git a/pwuniapp/pages.json b/pwuniapp/pages.json index fab6c70..f136db0 100644 --- a/pwuniapp/pages.json +++ b/pwuniapp/pages.json @@ -71,6 +71,24 @@ "navigationBarTextStyle": "white", "backgroundColor": "#0A0F1D" } + }, + { + "path": "pages/activity/create", + "style": { + "navigationBarTitleText": "发起组队活动", + "navigationBarBackgroundColor": "#0A0F1D", + "navigationBarTextStyle": "white", + "backgroundColor": "#0A0F1D" + } + }, + { + "path": "pages/expert/workspace", + "style": { + "navigationBarTitleText": "大神接单工作台", + "navigationBarBackgroundColor": "#0A0F1D", + "navigationBarTextStyle": "white", + "backgroundColor": "#0A0F1D" + } } ], "globalStyle": { diff --git a/pwuniapp/pages/activity/create.vue b/pwuniapp/pages/activity/create.vue new file mode 100644 index 0000000..7c2ab76 --- /dev/null +++ b/pwuniapp/pages/activity/create.vue @@ -0,0 +1,424 @@ + + + + + diff --git a/pwuniapp/pages/activity/list.vue b/pwuniapp/pages/activity/list.vue index 0be5b86..2ec43a2 100644 --- a/pwuniapp/pages/activity/list.vue +++ b/pwuniapp/pages/activity/list.vue @@ -137,10 +137,8 @@ const goToDetail = (id) => { }; const createActivity = () => { - uni.showToast({ - title: '发起组队模块已就绪(支持AA制与项目制)', - icon: 'none', - duration: 2500 + uni.navigateTo({ + url: '/pages/activity/create' }); }; diff --git a/pwuniapp/pages/expert/workspace.vue b/pwuniapp/pages/expert/workspace.vue new file mode 100644 index 0000000..7f76de0 --- /dev/null +++ b/pwuniapp/pages/expert/workspace.vue @@ -0,0 +1,717 @@ + + + + + diff --git a/pwuniapp/pages/index/index.vue b/pwuniapp/pages/index/index.vue index 5fdb550..255c39f 100644 --- a/pwuniapp/pages/index/index.vue +++ b/pwuniapp/pages/index/index.vue @@ -59,12 +59,12 @@ 服务订单 状态实时看 - + 大神中心 - 双身份切换 + 接单工作台 diff --git a/pwuniapp/pages/user/index.vue b/pwuniapp/pages/user/index.vue index 8fd5542..b532974 100644 --- a/pwuniapp/pages/user/index.vue +++ b/pwuniapp/pages/user/index.vue @@ -123,16 +123,20 @@ const toggleRole = () => { if (currentRole.value === 'PLAYER') { currentRole.value = 'EXPERT'; uni.showToast({ - title: '已无缝切换为【大神接单端】!', + title: '正在进入【大神接单工作台】...', icon: 'success', - duration: 2000 + duration: 1200 }); + setTimeout(() => { + uni.navigateTo({ + url: '/pages/expert/workspace' + }); + }, 600); } else { currentRole.value = 'PLAYER'; uni.showToast({ - title: '已切换回【普通玩家端】!', - icon: 'none', - duration: 2000 + title: '已切回【玩家端】', + icon: 'none' }); } }; @@ -173,7 +177,9 @@ const showInvitePoster = () => { }; const applyExpert = () => { - uni.showToast({ title: '已提交大神实名技能审核', icon: 'none' }); + uni.navigateTo({ + url: '/pages/expert/workspace' + }); }; const contactService = () => {