This commit is contained in:
15
js/index.js
15
js/index.js
@@ -98,11 +98,24 @@ $(function () {
|
||||
`);
|
||||
});
|
||||
}
|
||||
// 合作伙伴
|
||||
if (commentObj.partner && commentObj.partner.length > 0) {
|
||||
commentObj.partner.forEach((item) => {
|
||||
$("#partnerBox").append(`
|
||||
<div class="honor-item">
|
||||
<div class="honor-icon">
|
||||
<img src="${item.img}" alt="${item.name}">
|
||||
</div>
|
||||
<h4 class="honor-name">${item.name}</h4>
|
||||
</div>
|
||||
`);
|
||||
});
|
||||
}
|
||||
}
|
||||
// 获取通用配置信息
|
||||
function getCommentInfo() {
|
||||
$.ajax({
|
||||
url: "/console/v1/common",
|
||||
url: "/console/v1/theme/config",
|
||||
method: "get",
|
||||
headers: {
|
||||
Authorization: "Bearer" + " " + localStorage.jwt,
|
||||
|
||||
Reference in New Issue
Block a user