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
ac5bdc6b
Commit
ac5bdc6b
authored
Jul 16, 2015
by
hbcui1984
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重构Indexedlist
parent
bd2f183c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
examples/hello-mui/examples/indexed-list-select.html
examples/hello-mui/examples/indexed-list-select.html
+1
-1
examples/hello-mui/examples/indexed-list.html
examples/hello-mui/examples/indexed-list.html
+1
-1
examples/hello-mui/list.html
examples/hello-mui/list.html
+2
-2
No files found.
examples/hello-mui/examples/indexed-list-select.html
View file @
ac5bdc6b
...
@@ -263,7 +263,7 @@
...
@@ -263,7 +263,7 @@
//calc hieght
//calc hieght
list
.
style
.
height
=
(
document
.
body
.
offsetHeight
-
header
.
offsetHeight
)
+
'
px
'
;
list
.
style
.
height
=
(
document
.
body
.
offsetHeight
-
header
.
offsetHeight
)
+
'
px
'
;
//create
//create
window
.
groupList
=
new
mui
.
Group
List
(
list
);
window
.
indexedList
=
new
mui
.
Indexed
List
(
list
);
//done event
//done event
done
.
addEventListener
(
'
tap
'
,
function
(){
done
.
addEventListener
(
'
tap
'
,
function
(){
var
checkboxArray
=
[].
slice
.
call
(
list
.
querySelectorAll
(
'
input[type="checkbox"]
'
));
var
checkboxArray
=
[].
slice
.
call
(
list
.
querySelectorAll
(
'
input[type="checkbox"]
'
));
...
...
examples/hello-mui/examples/indexed-list.html
View file @
ac5bdc6b
...
@@ -257,7 +257,7 @@
...
@@ -257,7 +257,7 @@
//calc hieght
//calc hieght
list
.
style
.
height
=
(
document
.
body
.
offsetHeight
-
header
.
offsetHeight
)
+
'
px
'
;
list
.
style
.
height
=
(
document
.
body
.
offsetHeight
-
header
.
offsetHeight
)
+
'
px
'
;
//create
//create
window
.
groupList
=
new
mui
.
Group
List
(
list
);
window
.
indexedList
=
new
mui
.
Indexed
List
(
list
);
});
});
</script>
</script>
</body>
</body>
...
...
examples/hello-mui/list.html
View file @
ac5bdc6b
...
@@ -353,11 +353,11 @@
...
@@ -353,11 +353,11 @@
</li>
</li>
<li
class=
"mui-table-view-divider"
>
模板
</li>
<li
class=
"mui-table-view-divider"
>
模板
</li>
<
!-- <
li class="mui-table-view-cell">
<li
class=
"mui-table-view-cell"
>
<a
class=
"mui-navigate-right"
open-type=
"common"
href=
"examples/ad.html"
>
<a
class=
"mui-navigate-right"
open-type=
"common"
href=
"examples/ad.html"
>
advertisement(广告模板)
advertisement(广告模板)
</a>
</a>
</li>
-->
</li>
<li
class=
"mui-table-view-cell"
>
<li
class=
"mui-table-view-cell"
>
<a
class=
"mui-navigate-right"
href=
"examples/im-chat.html"
>
<a
class=
"mui-navigate-right"
href=
"examples/im-chat.html"
>
chat(聊天窗口)
chat(聊天窗口)
...
...
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