Files
assist/src/web/static/js/pages/knowledge.js

33 lines
900 B
JavaScript
Raw Normal View History

/**
* 知识库页面组件
*/
export default class Knowledge {
constructor(container, route) {
this.container = container;
this.route = route;
this.init();
}
async init() {
this.render();
}
render() {
this.container.innerHTML = `
<div class="page-header">
<h1 class="page-title">知识库</h1>
<p class="page-subtitle">知识条目管理</p>
</div>
<div class="card">
<div class="card-body">
<div class="text-center py-5">
<i class="fas fa-book fa-3x text-muted mb-3"></i>
<h4 class="text-muted">知识库页面</h4>
<p class="text-muted">该功能正在开发中...</p>
</div>
</div>
</div>
`;
}
}