' + hv['title'] + '
捐赠指南

捐赠鸣谢

    ' + hv['title'] + '

    \

    ' + hv['donationName'] + '

    \
    ' + hv['donationAmount'] + '元'+hv['donationOrigin']+'
    \ '; */ var time = new Date(hv['donationTime']); var tstr = time.getFullYear() + '-' + (1 + time.getMonth()) + '-' + time.getDate(); hdhe_r2l_html += "
  • "; hdhe_r2l_html += "
    "; hdhe_r2l_html += " " + hv['donationName'] + "<\/span>"; hdhe_r2l_html += " " + tstr + "<\/span>"; hdhe_r2l_html += " " + hv['title'] + "<\/span>"; hdhe_r2l_html += " <\/div>"; hdhe_r2l_html += " " + hv['donationAmount'] + " 元<\/span>"; hdhe_r2l_html += "<\/li>"; }); $('#donation_list').html(hdhe_r2l_html) var page_html = createPageHTML(Math.ceil(r.data.total / 20), page, "", ""); $('#page_html').html(page_html); } } }); } load_list(0); $(document).on('click', '#page_html a', function(e) { var to_number = $(this).attr('href').replace('_', '').replace('.', ''); to_number = parseInt(to_number) || 0; console.info('goto ' + to_number); load_list(to_number) e.preventDefault(); })
  • 页面按栏目组织。可先看导读,再进入相关篇目或返回列表。