diff --git a/Web/src/layouts/default.vue b/Web/src/layouts/default.vue
index acbefed..0c906bf 100644
--- a/Web/src/layouts/default.vue
+++ b/Web/src/layouts/default.vue
@@ -2,6 +2,7 @@
返回
返回游戏
diff --git a/Web/src/pages/bag/index.vue b/Web/src/pages/bag/index.vue
new file mode 100644
index 0000000..7a0e306
--- /dev/null
+++ b/Web/src/pages/bag/index.vue
@@ -0,0 +1,125 @@
+
+
+ 【我的物品】.
刷新
+ 金元: {{ bagInfo.gold }}
+ 金贝: {{ bagInfo.cowry }}
+ 负重:{{ bagInfo.onWeight }}/{{ bagInfo.maxWeight }}
+ {{ bagInfo.copper }}铜
+
交易记录
+
赠送记录
+
+
+
+ 【
+
装备 |
+
药品 |
+
物品 |
+
坐骑
+ 】
+
+
+
+
+
+ 搜索内容:
+ 搜索
+
+
+
+
+
全部 .
宝石 .
九宫 .
圣痕 .
宝箱 .
材料 .
图纸 .
卡片 .
货物 .
其他
+
+
+
+
+
+ 暂无道具.
+
+
+
+
\ No newline at end of file
diff --git a/Web/src/pages/chat/index.vue b/Web/src/pages/chat/index.vue
index 6bdfc55..a85288b 100644
--- a/Web/src/pages/chat/index.vue
+++ b/Web/src/pages/chat/index.vue
@@ -4,12 +4,12 @@
*更新内容早知道
{{ mapInfo.tips }}
@@ -67,6 +65,7 @@ const cityInfo = ref
({});
const npcData = ref>([]);
const chatData = ref>([]);
const cityShow = ref>([]);
+const mapUser = ref>([]);
// 城内地图显示
const showCity = ref(false)
@@ -88,6 +87,7 @@ const BindData = async (map: string): Promise => {
npcData.value = result.data.npcData;
chatData.value = result.data.chatData;
cityShow.value = result.data.cityShow;
+ mapUser.value = result.data.nearUser;
MapVent(result.data.mapInfo.near);
onMap.value = mapInfo.value.mapId;
console.log(result.data);
diff --git a/Web/src/pages/map/user.vue b/Web/src/pages/map/user.vue
new file mode 100644
index 0000000..25b163d
--- /dev/null
+++ b/Web/src/pages/map/user.vue
@@ -0,0 +1,61 @@
+
+
+
+
+ {{ index + 1 }}.
+
+
暂无玩家.
+
+
+
+
\ No newline at end of file
diff --git a/Web/src/services/map/MapService.ts b/Web/src/services/map/MapService.ts
index 1b72735..ebab4ef 100644
--- a/Web/src/services/map/MapService.ts
+++ b/Web/src/services/map/MapService.ts
@@ -6,4 +6,12 @@ export class MapService {
static async GetMapData(map: string) {
return await ApiService.Request("get", "/Map/Map/GetMapData", { map });
}
+
+ /**
+ * 获取地图在线玩家
+ * GET /Map/Map/GetMapUser
+ */
+ static async GetMapUser(page: number) {
+ return await ApiService.Request("get", "/Map/Map/GetMapUser", { page });
+ }
}
\ No newline at end of file
diff --git a/Web/src/services/user/BagService.ts b/Web/src/services/user/BagService.ts
new file mode 100644
index 0000000..388ee24
--- /dev/null
+++ b/Web/src/services/user/BagService.ts
@@ -0,0 +1,9 @@
+export class BagService {
+ /**
+ * 获取背包信息
+ * GET /User/Bag/GetUserBagData
+ */
+ static async GetUserBagData() {
+ return await ApiService.Request("get", "/User/Bag/GetUserBagData");
+ }
+}
\ No newline at end of file