|
|
|
@ -132,9 +132,11 @@ function getYiData(type,od) { |
|
|
|
|
url: "hiker://empty", |
|
|
|
|
col_type: "text_center_1", |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}else if(data.length>0){ |
|
|
|
|
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJuMethod.js'); |
|
|
|
|
let info = {type: sourcedata[0].type, name: sourcedata[0].name}; |
|
|
|
|
data.forEach(item => { |
|
|
|
|
/* |
|
|
|
|
let extra = item.extra || {}; |
|
|
|
|
extra.name = extra.name || extra.pageTitle || (item.title?item.title.replace(/‘|’|“|”|<[^>]+>/g,""):""); |
|
|
|
|
extra.img = extra.img || item.pic_url || item.img; |
|
|
|
@ -151,7 +153,10 @@ function getYiData(type,od) { |
|
|
|
|
if((item.col_type!="scroll_button") || item.extra){ |
|
|
|
|
item.extra = extra; |
|
|
|
|
} |
|
|
|
|
*/ |
|
|
|
|
item = toerji(item,info); |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
d = d.concat(data); |
|
|
|
|
}else{ |
|
|
|
|
d.push({ |
|
|
|
|