新增了系统操作手册实例,后续可以加入md文件
This commit is contained in:
36
openhis-ui-vue3/src/views/helpcenter/index.vue
Normal file
36
openhis-ui-vue3/src/views/helpcenter/index.vue
Normal file
@@ -0,0 +1,36 @@
|
||||
<script setup lang="ts">
|
||||
defineOptions({
|
||||
name: 'HelpCenter',
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="help-center">
|
||||
<!-- 嵌入Vdoing帮助文档的iframe -->
|
||||
<iframe
|
||||
class="help-iframe"
|
||||
src="/help-center/index.html"
|
||||
frameborder="0"
|
||||
></iframe>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.help-center {
|
||||
width: 100%;
|
||||
min-height: 100vh;
|
||||
box-sizing: border-box;
|
||||
|
||||
h1 {
|
||||
margin-bottom: 20px;
|
||||
font-size: 24px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
// 让iframe占满剩余高度
|
||||
.help-iframe {
|
||||
width: 100%;
|
||||
height: calc(100vh - 80px); // 减去标题和padding的高度,可根据实际调整
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user