...
|
...
|
@@ -27,9 +27,10 @@ $(document).on('click', '#brand_container .nav span', function() { |
|
|
|
|
|
/* 获取品牌数据*/
|
|
|
function getBrandList(_index, yh_channel) {
|
|
|
$.get('/material/newBrandList?yh_channel=' + yh_channel, data => {
|
|
|
let list = [];
|
|
|
list = Object.keys(data.data.all_list).map(item => {
|
|
|
$.get('/material/newBrandList?yh_channel=' + yh_channel, function(data) {
|
|
|
var list = [];
|
|
|
|
|
|
list = Object.keys(data.data.all_list).map(function(item) {
|
|
|
return { name: item, content: data.data.all_list[item] };
|
|
|
});
|
|
|
list['focus' + _index] = true;
|
...
|
...
|
|