提交 39db8747 编写于 作者: KK's avatar KK

部件视图组件

上级 d1a84deb
......@@ -3,4 +3,16 @@
.embed-view-content{
// min-height: 150px;
}
.embed-view-toolbar{
display: flex;
justify-content: flex-end;
height: 20px;
ion-button{
--background: transparent;
height: 20px;
--color: #333;
font-size: 12px;
}
}
}
\ No newline at end of file
......@@ -30,6 +30,9 @@ export class AppEmbedView extends Vue {
<div class="embed-view-header">
{this.$slots.header}
</div>
{this.$slots.toolbar ?<div class="embed-view-toolbar">
{this.$slots.toolbar}
</div> : ""}
<div class="embed-view-content">
{this.$slots.content}
</div>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册