入门教程--模板:专辑模块内标签
2020-06-14 08:46:41

懒得写,附上源码


html=AnalyzeUtil.replace(html, "tag", "albid", ""+album.getId());
html=AnalyzeUtil.replace(html, "tag", "albname", album.getName());
html=AnalyzeUtil.replace(html, "tag", "name", album.getName());
html=AnalyzeUtil.replace(html, "tag", "gname", album.getGenre().getName());
html=AnalyzeUtil.replace(html, "tag", "gid", ""+album.getGenre().getId());
html=AnalyzeUtil.replace(html, "tag", "txt1", album.getTxt1());
html=AnalyzeUtil.replace(html, "tag", "txt2", album.getTxt2());
html=AnalyzeUtil.replace(html, "tag", "logo", album.getLogo());
html=AnalyzeUtil.replace(html, "tag", "banner", album.getBanner());
html=AnalyzeUtil.replace(html, "tag", "description", album.getDescription());
html=AnalyzeUtil.replace(html, "tag", "leader", album.getLeader().getUsername());
html=AnalyzeUtil.replace(html, "tag", "uid", ""+album.getLeader().getId());
html=AnalyzeUtil.replace(html, "tag", "htmlOwn", album.getHtmlOwn());


发布:lzh