请选择 进入手机版 | 继续访问电脑版
帖子
帖子
用户
博客
课程
显示全部楼层
42
帖子
2
勋章
5323
Y币

[BUG] dialogBox模块问题

[复制链接]
发表于 2022-6-27 16:55:55
当使用input类型的dialogBox的时候, 在安卓手机上设置下面按钮的边框,大小不生效
62b9702b62efe.png
var dialogBox = api.require('dialogBox');
        dialogBox.input({
            keyboardType: 'default',
            texts: {
                title: '您的内容',
                placeholder: '请输入您的疑问',
                leftBtnTitle: '取消',
                rightBtnTitle: '确定'
            },
            styles: {
                bg: '#fff',
                corner: 6,
                w: 300,
                h: 180,
                title: {
                    h: 40,
                    borderColor: '#336699',
                    alignment: 'center',
                    size: 18,
                    color: '#000',
                    marginT: 27,
                },
                input: {
                    h: 60,
                    y: 40,
                    alignment: 'left',
                    marginT: 0,
                    marginLeft: 10,
                    marginRight: 10,
                    textSize: 14,
                    textColor: '#000',
                    borderWidth: '1',
                    verticalCenter: true,
                },
                dividingLine: {
                    width: 0.5,
                    color: '#696969'
                },
                left: {
                    bg: 'rgba(0,0,0,0)',
                    color: '#000',
                    size: 15,
                    h: 40,
                    w: 50,
                    widhtBorder:2,
                    normalBorderColor: '#000000',
                    corner:5,
                    // marginB:22,
                },
                right: {
                    bg: '#d9001b',
                    color: '#ffffff',
                    size: 15,
                    h: 40,
                    w: 50,
                    widhtBorder:2,
                    normalBorderColor: '#000000',
                    corner:5,
                    // marginB:22,
                }
            }
            }, function(ret) {
                if (ret.eventType == 'left') {
                    var dialogBox = api.require('dialogBox');
                    dialogBox.close({
                        dialogName: 'input'
                    });
                } else {
                    var dialogBox = api.require('dialogBox');
                    dialogBox.close({
                        dialogName: 'input'
                    });
                }
            });
        }




380
帖子
4
勋章
6
Y币
我们确认一下
380
帖子
4
勋章
6
Y币
已反馈给模块技术解决。
42
帖子
2
勋章
5323
Y币
好的,麻烦优先解决,这边着急使用
技术咨询-F · 2022-6-27 17:59已反馈给模块技术解决。
解决了在帖子里回复你
380
帖子
4
勋章
6
Y币
模块更新了

dialogBox 模块 input 接口 left & right 支持宽高和左右边距的设置
lepo · 2022-6-28 09:28好的,麻烦优先解决,这边着急使用
3
帖子
0
勋章
30
Y币
这个模块的alert的content块的样式不支持margin-left/margin-right/padding-left/padding-right的配置。dialogBox.alert()  ,只有marginT跟marginB。然后dialogBox.evaluation()支持配置marginHorizental,但是按钮是上下分布不能改左右分布
技术咨询-F · 2022-6-29 19:36模块更新了

dialogBox 模块 input 接口 left & right 支持宽高和左右边距的设置
您需要登录后才可以回帖 登录

本版积分规则