b9af7d7c by 任超

style:网上申请

1 parent 4fe05c87
......@@ -51,10 +51,15 @@ function _initData() {
if (result.code == 200 && result.data != null) {
let data = result.data[0].children[0].children
for (var i = 0; i < data.length; i++) {
li = '<li data-id="' + data[i].id + '">' + data[i].name + '</li>';
if(i==0) {
li = '<li data-id="' + data[i].id + '" class="active2">' + data[i].name + '</li>';
}else {
li = '<li data-id="' + data[i].id + '">' + data[i].name + '</li>';
}
area_list.append(li);
}
regionId = data[0].id
_businessList(regionId)
}
}
});
......