收藏
回答

page-container如何突破自定义组件大小,显示在组件之外?

如图一,自定义组件高度为红框高度,里面的page-container设置的max-height:60%,显示如图2,我将组件高度设置高一些后,可以显示更多page-container。

很显然page-container没有跳脱自定义组件的文档序列。

不知是否有其他方法?

<page-container show="{{show}}" round="{{true}}" overlay="{{true}}" duration="300" position="bottom"
    close-on-slide-down="{{false}}" custom-style="max-height:60%;border-radius:8vw 8vw 0 0;position:fixed;z-index:9999"></page-container>
回答关注问题邀请回答
收藏

2 个回答

  • Longjiang
    Longjiang
    03-07

    1、3.12.1

    2、开发工具上就这样

    3、未设置overflow:hidden

    03-07
    有用
    回复
  • 智能回答 智能回答 本次回答由AI生成
    03-07
    有用
    回复
登录 后发表内容