如何通过下面的JSON数据,动态生成博客的文章列表。(网页中的class都相同)。能用jquery吗?
图片是例子,但需求相同。
[
{
"author": "kk",
"date": "2015年9月20日",
"subtitle": "",
"tags": [
"开发文档",
"微信",
"api"
],
"title": "微信页面整合WebApi"
},
{
"author": "Waylan LimbergJohn Doe",
"date": "October 2, 2007",
"subtitle": "",
"tags": [],
"title": "python2编码问题"
}
]


Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
如果不使用其他框架的话 只能用jq 遍历拼凑然后生成dom结构