|
|
@ -164,6 +164,13 @@ function handleMapIcon(item, index) { |
|
|
|
|
|
|
|
|
function handleShop(item) { |
|
|
function handleShop(item) { |
|
|
mapIdx.value = -1 |
|
|
mapIdx.value = -1 |
|
|
|
|
|
if (shop.value === item && initiated.value) { |
|
|
|
|
|
window.Map_QM.pathNode({ floor: item.floorOrder, node: item.yaxis }, ({ angle, cost }) => { |
|
|
|
|
|
if (isZhiluji()) { |
|
|
|
|
|
playShockmanByNav({ progText1: item.shopName, progAngel: String(angle), progDist: cost + '米' }) |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
store.SET_SHOP(item) |
|
|
store.SET_SHOP(item) |
|
|
} |
|
|
} |
|
|
watch(shop, nxt => { |
|
|
watch(shop, nxt => { |
|
|
|