diff --git a/base/cli/qrcode.go b/base/cli/qrcode.go index bd3eaf54..5d5b67b4 100644 --- a/base/cli/qrcode.go +++ b/base/cli/qrcode.go @@ -54,6 +54,9 @@ func init() { ), Actions: ice.MergeActions(ice.Actions{ ice.CTX_INIT: {Hand: func(m *ice.Message, arg ...string) { ice.AddRender(ice.RENDER_QRCODE, func(m *ice.Message, args ...ice.Any) string { + if m.IsMobileUA() { + m.Option(SIZE, "280") + } return m.Cmd(Prefix(QRCODE), kit.Simple(args...)).Result() }) }}, diff --git a/misc/wx/wxml.go b/misc/wx/wxml.go index 35790744..458c713b 100644 --- a/misc/wx/wxml.go +++ b/misc/wx/wxml.go @@ -42,6 +42,7 @@ func init() { "wx:key", code.FUNCTION, "bindtap", code.FUNCTION, "bindchange", code.FUNCTION, + "bindconfirm", code.FUNCTION, "bindinput", code.FUNCTION, "bindblur", code.FUNCTION, "data-name", code.FUNCTION,