<script type="text/javascript">
$(document).ready(function() {
// var a=[];
$.ajax({
url: 'https://v1.itooi.cn/tencent/banner',
success: function(s) {
console.log(s);
var a = s.data;
uu = hh(a);
for (var i = 0; i < uu.length; i++) {
var s = "<img src='" + uu[i] + "'/>";
$('#liu').append(s);
};
console.log(uu);
},
error: function(e) {
console.log(e);
}
})
});
function hh(a) {
var ss = new Array();
for (var i = 0; i < a.length; i++) {
ss.push(a[i].pic_info.url);
}
return ss;
}
</script>