Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

来自一个非开发者用户的疑问 #328

Open
syshut opened this issue Sep 21, 2017 · 0 comments
Open

来自一个非开发者用户的疑问 #328

syshut opened this issue Sep 21, 2017 · 0 comments

Comments

@syshut
Copy link

syshut commented Sep 21, 2017

感谢作者提供的简单好用的弹层组件,作为一个非 IT 专业人士,查看过文档后我可以正常使用。

目前请教一个问题,先看下图片。

artd

使用 webpack 打包的 artDialog.js 文件中有这么一节(请忽略行号,这个 js 文件头部有其他内容)。

我在选项中设置 backdropOpacity: 0.7,类似下面这样:

var d = dialog({
title: '',
content: '...',
quickClose: true,
backdropOpacity: 0.7
});

但是不起作用,弹出的遮罩还是完全透明的,必须在上面截图中的位置把 backdropOpacity 的值修改后才能成功修改透明度。

因为不懂代码,所请教下这是这个组件就是这么设定的,不能在选项中定义透明度的值吗?

多谢作者。

@syshut syshut changed the title 来自一个“非”开发者用户的疑问 来自一个非开发者用户的疑问 Sep 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant