From dccf21527f309c8fbc88362c5f0c177f13da8d23 Mon Sep 17 00:00:00 2001 From: Putoo <290555932@qq.com> Date: Tue, 28 Apr 2026 14:41:12 +0800 Subject: [PATCH] 333 --- .../Controllers/Pub/PubController.cs | 4 +- Web/src/app.vue | 3 +- Web/src/extends/PageExtend.ts | 1 + Web/src/pages/index.vue | 179 ++++++++++-------- 4 files changed, 101 insertions(+), 86 deletions(-) diff --git a/Service/Application.Web/Controllers/Pub/PubController.cs b/Service/Application.Web/Controllers/Pub/PubController.cs index ce95938..9447200 100644 --- a/Service/Application.Web/Controllers/Pub/PubController.cs +++ b/Service/Application.Web/Controllers/Pub/PubController.cs @@ -34,8 +34,8 @@ namespace Application.Web.Controllers.Pub var areaData = await _areaService.GetAreaData(); var notice = await _noticeService.GetNoticeDataByTake(5); - - return PoAction.Ok(new { area = areaData ,notice,isOnline}); + int OnCount = 100; + return PoAction.Ok(new { area = areaData ,notice,isOnline,onCount=OnCount}); } } } \ No newline at end of file diff --git a/Web/src/app.vue b/Web/src/app.vue index 5197a4b..635105c 100644 --- a/Web/src/app.vue +++ b/Web/src/app.vue @@ -3,6 +3,7 @@ + @@ -53,4 +54,4 @@ onMounted(() => { \ No newline at end of file + diff --git a/Web/src/extends/PageExtend.ts b/Web/src/extends/PageExtend.ts index 8a96e38..300f4fb 100644 --- a/Web/src/extends/PageExtend.ts +++ b/Web/src/extends/PageExtend.ts @@ -8,4 +8,5 @@ export class PageExtend { const value = route.query[params] return value ? String(value) : '' } + } \ No newline at end of file diff --git a/Web/src/pages/index.vue b/Web/src/pages/index.vue index ca18451..4645a07 100644 --- a/Web/src/pages/index.vue +++ b/Web/src/pages/index.vue @@ -1,132 +1,145 @@ - - - 【驰骋四海·社区版】 - + - ✧当前在线 139 位玩家在驰骋四海✧ - - + + + + + + + 【驰骋四海·社区版】 + + + - 亲爱的 探玩玩家,欢迎来到驰骋四海·社区版! + ✧当前在线 {{ OnCount }} 位玩家在驰骋四海✧ - + - ➢返回探玩驿站 + 亲爱的 探玩玩家,欢迎来到驰骋四海·社区版! + + + + ➢返回探玩驿站 - - - ➸游戏论坛 ➸退出游戏 + + + ➸游戏论坛 ➸退出游戏 + - - + + + =====☆我的区服☆===== + + + + ✧【1区】新手村✰村长(男) + + + + + + =====☆其他区服☆===== + + + 暂无区服. + + + - =====☆我的区服☆===== + =====☆官方公告☆===== - + - ✧【1区】新手村✰村长(男) + 1. + [招募令]航海时代2设计专员招募 + + + 2. + [活动]4月份活动集锦 + + + 3. + [推广] 4月份推广 + + + 4. + [推广] 3月份推广 + + + 5. + 【驰骋四海】卡片の攻略(2.24) - - - =====☆其他区服☆===== + =====☆服务导航☆===== - 暂无区服. + 客服.关于.合作 - - - - =====☆官方公告☆===== - - - - 1. - [招募令]航海时代2设计专员招募 + + 切换线路: + + 1 + - - 2. - [活动]4月份活动集锦 + + + 小G报时(18:33) + - - 3. - [推广] 4月份推广 + + {{ index }} - {{ item.name }} - - 4. - [推广] 3月份推广 - - - 5. - 【驰骋四海】卡片の攻略(2.24) - - - - =====☆服务导航☆===== - - - 客服.关于.合作 - - - 切换线路: - - 1 - - - - - 小G报时(18:33) - - - - {{ index }} - {{ item.name }}