jd-opensource / jd-opensource/taro-ui

如何自定义AtModal里面的.at-modal__container的样式

Open
#1,086 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.7k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

请教大佬们一个问题,taro-ui的AtModal组件里面的at-modal__container,怎么拿到它的属性,想要自定义他的样式
![image](https://user-images.githubusercontent.com/18141198/83934862-4333b400-a7e6-11ea-9025-e580ab6a9f4a.png)

代码如下:
```javascript
this.setState({ isOpened: false })}
>
温馨提示
{modalContent}

this.setState({ isOpened: false })}>
取消

{needOpenType ? (
this.handleGetUserInfo(e)}
>
确认

) : (
this.handleUnBindConfirm()}
>
确认

)}


```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.