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 @@
+
+
+
+
+
+
+
+ AA制车队
+ 报名人均平摊费用
+
+
+
+
+
+ 项目制悬赏
+ 房主全额悬赏奖金池
+
+
+
+
+
+
+ 选择开黑游戏
+
+
+ {{ g }}
+
+
+
+
+
+
+
+ 活动标题
+
+
+
+
+ 开黑时段
+
+
+
+
+ 语音频道
+
+
+
+
+
+
+
+
+ 招募席位 (人)
+ 包含房主在内的车队总人数
+
+
+
+ {{ form.maxParticipants }} 人
+
+
+
+
+
+ 人均分摊 (元/人)
+
+
+
+
+ 悬赏总奖金池 (元)
+
+
+
+
+ 预算测算:
+
+ {{ form.payType === 'AA' ? `总费用预估约 ¥${calcTotalFee} (人均 ¥${form.aaFee || 0})` : `参与者免费报名,全员争夺 ¥${form.totalFee || 0} 奖金池` }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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 @@
+
+
+
+
+
+
+
+
+ {{ expert.nickname }}
+ 金牌导师
+
+
+
+ {{ isReceivingOrders ? '接单中 (派单池活跃)' : '已打烊休息' }}
+
+
+
+
+
+ {{ isReceivingOrders ? '停止接单' : '开启接单' }}
+
+
+
+
+
+
+ 今日预计收益 (元)
+ ¥{{ todayIncome }}
+
+
+
+ 今日履约单数
+ 3 单
+
+
+
+ 待签到核销
+ 1 人
+
+
+
+
+
+
+
+
+ 4位活动门票现场核销工具
+
+ 车队房主专属
+
+
+
+ 输入参与人出示的 4 位纯数字核销码完成入队签到:
+
+
+
+
+
+ 点击快速填入演示门票码 [8392]
+
+
+
+
+
+
+
+
+
+ 即时抢单派单池 ({{ poolOrders.length }})
+
+
+
+ 实时派单中
+
+
+
+
+
+
+ {{ order.game }}
+ ¥{{ order.price }}
+
+ {{ order.desc }}
+
+
+
+
+ 暂无待抢订单,保持在线有更高派单权重
+
+
+
+
+
+
+
+
+ 进行中履约服务 ({{ activeOrders.length }})
+
+
+
+
+
+
+
+
+ {{ order.buyerName }}
+ {{ order.serviceTitle }} · {{ order.hours }}小时
+
+ ¥{{ order.totalAmount }}
+
+
+
+ 状态:{{ order.statusText }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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 = () => {