itemShop
This commit is contained in:
parent
a94a05f9bd
commit
488b3c2eb1
@ -340,6 +340,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
|
|
||||||
// 实际区域
|
// 实际区域
|
||||||
if (px >= 9 && px <= 300 && py >= 120 && py < 360) {
|
if (px >= 9 && px <= 300 && py >= 120 && py < 360) {
|
||||||
|
if (list.length == 0) return;
|
||||||
var index = parseInt((py - 120) / 40);
|
var index = parseInt((py - 120) / 40);
|
||||||
var newItem = 6 * (page - 1) + index;
|
var newItem = 6 * (page - 1) + index;
|
||||||
if (newItem >= list.length) newItem = list.length - 1;
|
if (newItem >= list.length) newItem = list.length - 1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user