更换靶子图片

This commit is contained in:
kron
2025-06-28 21:27:04 +08:00
parent 1af0edce2b
commit 77691c411a
3 changed files with 4 additions and 4 deletions

View File

@@ -108,11 +108,11 @@ watch(
function calcRealX(num) {
const len = 20 + num;
return `calc(${(len / 40) * 100}% - 10px)`;
return `calc(${(len / 40) * 100}% - 8px)`;
}
function calcRealY(num) {
const len = num < 0 ? Math.abs(num) + 20 : 20 - num;
return `calc(${(len / 40) * 100}% - 10px)`;
return `calc(${(len / 40) * 100}% - 8px)`;
}
const simulShoot = async () => {
if (device.value.deviceId) await simulShootAPI(device.value.deviceId);
@@ -232,8 +232,8 @@ const simulShoot = async () => {
}
.hit {
position: absolute;
width: 20px;
height: 20px;
width: 16px;
height: 16px;
z-index: 1;
}
.header {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 314 B

After

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 349 B

After

Width:  |  Height:  |  Size: 328 B