$.get('1.php',function(data){
if(data.res == 1){
personArray = data.data; //此为数组
loadImage(personArray, function (img) {
$('.loader_file').hide();
})
Obj.M = $('.container').lucky({
row : 7, //每排显示个数 必须为奇数
col : 7, //每列显示个数 必须为奇数
depth : 6, //纵深度
iconW : 30, //图片的宽
iconH : 30, //图片的高
iconRadius : 8, //图片的圆角
data : personArray, //数据的地址数组
});
}
},'json');Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
就是这样写的