Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mui
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mui
Commits
99ec7d27
Commit
99ec7d27
authored
Dec 04, 2014
by
hbcui1984
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决iOS 8.x平台调用prompt时,输入法闪一下又消失的问题
parent
c57e8792
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
examples/hello-mui/examples/dialog.html
examples/hello-mui/examples/dialog.html
+2
-1
No files found.
examples/hello-mui/examples/dialog.html
View file @
99ec7d27
...
...
@@ -65,7 +65,8 @@
})
});
document
.
getElementById
(
"
promptBtn
"
).
addEventListener
(
'
tap
'
,
function
(){
//TODO iOS 8.x平台存在bug,使用plus.nativeUI.prompt会造成输入法闪一下又没了,故临时使用click代替tap;
document
.
getElementById
(
"
promptBtn
"
).
addEventListener
(
'
click
'
,
function
(){
var
btnArray
=
[
'
确定
'
,
'
取消
'
];
mui
.
prompt
(
'
请输入你对MUI的评语:
'
,
'
性能好
'
,
'
Hello MUI
'
,
btnArray
,
function
(
e
){
if
(
e
.
index
==
0
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment