1212
This commit is contained in:
@@ -23,6 +23,17 @@
|
||||
<Abar :href='"/map/npc?npc=" + item.npcId'>{{ item.npcName }}{{ item.tips }}</Abar>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content" v-if="business.length > 0">
|
||||
<div class="item" v-for="item in business">
|
||||
<Abar :href='"/map/business?id=" + item.busId'>{{ item.busName }}</Abar>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content" v-if="mapRes.length > 0">
|
||||
特产:<br>
|
||||
<div class="item" v-for="item in mapRes">
|
||||
<Abutton>{{item.resName}}</Abutton>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
请选择出口:<br />
|
||||
@@ -91,6 +102,8 @@ const npcData = ref<Array<any>>([]);
|
||||
const chatData = ref<Array<any>>([]);
|
||||
const cityShow = ref<Array<any>>([]);
|
||||
const mapUser = ref<Array<any>>([]);
|
||||
const business = ref<Array<any>>([]);
|
||||
const mapRes = ref<Array<any>>([]);
|
||||
const messageCount = ref(0);
|
||||
// 城内地图显示
|
||||
const showCity = ref(false);
|
||||
@@ -115,6 +128,8 @@ const BindData = async (map: string): Promise<void> => {
|
||||
cityShow.value = result.data.cityShow;
|
||||
mapUser.value = result.data.nearUser;
|
||||
messageCount.value = result.data.noReadMsg;
|
||||
business.value = result.data.business;
|
||||
mapRes.value = result.data.mapRes;
|
||||
MapVent(result.data.mapInfo.near);
|
||||
onMap.value = mapInfo.value.mapId;
|
||||
console.log(result.data);
|
||||
|
||||
Reference in New Issue
Block a user