错误:
insertHtml += "<article class='block_media_post_all'><div class='f_pic'><a href='#' οnclick='lookPhoto('+picLink +') >"
正确:
insertHtml += "<article class='block_media_post_all'><div class='f_pic'><a href='#' οnclick=\"lookPhoto('"+picLink +"')\" >"