Files
abot/admin/dashboard/templates/api_docs.html
2025-05-28 17:48:39 +08:00

70 lines
1.4 KiB
HTML

{% extends "base.html" %}
{% block title %}接口文档 - 机器人管理后台{% endblock %}
{% block content %}
<div class="iframe-page-container">
<el-card class="iframe-card">
<div slot="header">
<span>接口文档</span>
</div>
<div class="iframe-container">
<iframe src="http://192.168.2.170:8058/" frameborder="0"></iframe>
</div>
</el-card>
</div>
{% endblock %}
{% block scripts %}
<script>
new Vue({
el: '#app',
mixins: [baseApp],
data() {
return {
currentView: '13',
showTimeRangeSelector: false
}
},
mounted() {
this.currentView = '13';
}
});
</script>
<style>
.iframe-page-container {
height: 100%;
display: flex;
flex-direction: column;
}
.iframe-card {
flex: 1;
display: flex;
flex-direction: column;
height: 100%;
margin: 0;
}
.el-card__body {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
}
.iframe-container {
flex: 1;
overflow: auto;
min-height: 0;
}
.iframe-container iframe {
width: 100%;
height: 100%;
border: none;
display: block;
}
</style>
{% endblock %}