From 404af92f96b3f98f5717530679b8b646f5e41a65 Mon Sep 17 00:00:00 2001
From: Putoo <290555932@qq.com>
Date: Sat, 13 Jun 2026 18:07:39 +0800
Subject: [PATCH] qwqwq
---
.../Controllers/Pub/EquController.cs | 14 ++
Web/src/assets/css/style.css | 4 +-
Web/src/config/BaseConfig.ts | 2 +
Web/src/pages/login/register.vue | 136 +++++++++---------
Web/src/pages/user/equ/index.vue | 95 +++++++++++-
Web/src/services/Index/EquService.ts | 8 ++
6 files changed, 188 insertions(+), 71 deletions(-)
diff --git a/Service/Application.Web/Controllers/Pub/EquController.cs b/Service/Application.Web/Controllers/Pub/EquController.cs
index ef56848..25f6584 100644
--- a/Service/Application.Web/Controllers/Pub/EquController.cs
+++ b/Service/Application.Web/Controllers/Pub/EquController.cs
@@ -129,6 +129,18 @@ public class EquController : ControllerBase
}
}
+ ///
+ /// 获取用户穿戴的装备
+ ///
+ ///
+ [HttpGet]
+ public async Task GetUserOnEqu()
+ {
+ string userId = StateHelper.userId;
+ var data = await _equService.GetUserOnEqu(userId);
+ return PoAction.Ok(data);
+ }
+
///
/// 穿/卸装备
///
@@ -248,4 +260,6 @@ public class EquController : ControllerBase
}
}
}
+
+
}
\ No newline at end of file
diff --git a/Web/src/assets/css/style.css b/Web/src/assets/css/style.css
index 68c68b4..15de8d8 100644
--- a/Web/src/assets/css/style.css
+++ b/Web/src/assets/css/style.css
@@ -75,12 +75,12 @@ a:link {
margin: 3px 4px 3px 4px;
}
-a:hover,
+/* a:hover,
a:active,
a:focus {
color: #FFFFFF;
background: #1e5494;
-}
+} */
.a-nomargin {
margin: 0;
diff --git a/Web/src/config/BaseConfig.ts b/Web/src/config/BaseConfig.ts
index d72993f..5ef10a7 100644
--- a/Web/src/config/BaseConfig.ts
+++ b/Web/src/config/BaseConfig.ts
@@ -4,4 +4,6 @@
export class BaseConfig {
public static BaseUrl:string="https://localhost:7198";
public static BaseMediaUrl:string="https://localhost:7198";
+// public static BaseUrl:string="http://kx.iyba.cn:5291";
+// public static BaseMediaUrl:string="http://kx.iyba.cn:5291";
}
\ No newline at end of file
diff --git a/Web/src/pages/login/register.vue b/Web/src/pages/login/register.vue
index bcb7831..28718cf 100644
--- a/Web/src/pages/login/register.vue
+++ b/Web/src/pages/login/register.vue
@@ -1,78 +1,78 @@
-
-
-
-
-
-
- 昵称:
-
-
- 性别:
-
-
- 激活码:
-
-
- .
- 返回首页
-
-
-
+
+
+
+
+
+
+ 昵称:
+
+
+ 性别:
+
+
+ 激活码:
+
+
+ .
+ 返回首页
+
+
+
\ No newline at end of file
diff --git a/Web/src/pages/user/equ/index.vue b/Web/src/pages/user/equ/index.vue
index 7a2617b..6adb65c 100644
--- a/Web/src/pages/user/equ/index.vue
+++ b/Web/src/pages/user/equ/index.vue
@@ -1,37 +1,130 @@
手持: [+]
+
+ {{ item.equName }}({{ item.lev }}级)[卸下]
+
副手: [+]
+
+ {{ item.equName }}({{ item.lev }}级)[卸下]
+
头戴: [+]
+
+ {{ item.equName }}({{ item.lev }}级)[卸下]
+
身穿: [+]
+
+ {{ item.equName }}({{ item.lev }}级)[卸下]
+
腰带: [+]
+
+ {{ item.equName }}({{ item.lev }}级)[卸下]
+
脚穿: [+]
+
+ {{ item.equName }}({{ item.lev }}级)[卸下]
+
佩戴: [+]
+
+ {{ item.equName }}({{ item.lev }}级)[卸下]
+
时装: [+]
+
+ {{ item.equName }}({{ item.lev }}级)[卸下]
+
羽翼: [+]
+
+ {{ item.equName }}({{ item.lev }}级)[卸下]
+
装饰: [+]
+
+ {{ item.equName }}({{ item.lev }}级)[卸下]
+
我的九宫牌 我的圣痕 装备物品
-
\ No newline at end of file
+
+
\ No newline at end of file
diff --git a/Web/src/services/Index/EquService.ts b/Web/src/services/Index/EquService.ts
index 0ef56e9..847e5d2 100644
--- a/Web/src/services/Index/EquService.ts
+++ b/Web/src/services/Index/EquService.ts
@@ -23,6 +23,14 @@ export class EquService {
return await ApiService.Request("get", "/Equ/EquLock", { ueId });
}
+ /**
+ * 获取用户穿戴的装备
+ * GET /Equ/GetUserOnEqu
+ */
+ static async GetUserOnEqu() {
+ return await ApiService.Request("get", "/Equ/GetUserOnEqu");
+ }
+
/**
* 穿/卸装备
* GET /Equ/DownOrUpEqu