|
@@ -39,11 +39,12 @@ function renderRecommendInfo(className,title,data, hasInfo, type, position) {
|
|
|
}
|
|
|
|
|
|
function renderMultRecommendInfo(className,title,data, hasInfo, type, position) {
|
|
|
+ console.log('data', data)
|
|
|
const str = `<div class="recommendInfoWrapper ${className}">
|
|
|
<h4><i></i>${title}</h4>
|
|
|
<div class="recommendInfoBox ${className + 'box'}"></div>
|
|
|
</div>`
|
|
|
- $('.recommendInfoWrapper').append(str)
|
|
|
+ $('.recommendWrap').append(str)
|
|
|
for(let i = 0; i < data.length; i++) {
|
|
|
let childrenNodeBoxStr = `<div class="labAndPacsBox ${data[i].className} clearfix"> </div>`
|
|
|
let childrenNodeStr = `<span class="labAndPacsTitle">${data[i].title}<i></i></span>`
|