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 @@