1

我正在尝试创建一个模态并在模态上具有圆形边缘,但问题在于我似乎无法访问的模态容器。

模态包装器:

<FlexboxLayout flexDirection="column" alignItems="flex-start" justifyContent="space-around" class="wil-modal">
</FlexboxLayout>

包装器CSS:

.wil-modal {
  height: 310;
  width: 330;
  border-radius: 30;
  background-color: #3C5AFD;
  border-width: 3;
}

Modal 有一个白色方形 Wrapper

我想应用或移除包含我的 Flexbox 的白色包装。

4

1 回答 1

1

我们发现用模态堆栈标签包装模态组件,例如

<modal:ModalStack class="modal-container"> <--- this
<FlexboxLayout>
Modal content here
</FlexboxLayout>
</modal:ModalStack>

成功了。

于 2020-07-03T11:11:31.910 回答