|
@@ -53,7 +53,7 @@ function renderRecommendInfo(showNum,className,title,data, hasInfo, type, positi
|
|
$('.'+className + 'box').append(childrenNodeStrShort)
|
|
$('.'+className + 'box').append(childrenNodeStrShort)
|
|
$('.'+className + 'box' +' .infoMsg').on('click', function(){
|
|
$('.'+className + 'box' +' .infoMsg').on('click', function(){
|
|
const infoMsgName = $(this).attr('data-name')
|
|
const infoMsgName = $(this).attr('data-name')
|
|
- openNewWin(`information.html?type=${type}&position=${position}&name=${infoMsgName}`)
|
|
|
|
|
|
+ openNewWin(`information.html?type=${encodeURIComponent(type)}&position=${encodeURIComponent(position)}&name=${encodeURIComponent(infoMsgName)}`)
|
|
})
|
|
})
|
|
if(dataLen > showNumCopy) {
|
|
if(dataLen > showNumCopy) {
|
|
slideToggle($("."+className+"box"), childrenNodeStrShort,childrenNodeStrLong)
|
|
slideToggle($("."+className+"box"), childrenNodeStrShort,childrenNodeStrLong)
|