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
3e60b075
Commit
3e60b075
authored
Aug 31, 2015
by
hbcui1984
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整hello mui列表结构,将segment(分段选择)移到tab bar二级目录下
parent
3901e0c2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
21 deletions
+6
-21
examples/hello-mui/examples/tab-with-segmented-control-vertical.html
...llo-mui/examples/tab-with-segmented-control-vertical.html
+0
-3
examples/hello-mui/examples/tabbar-with-submenus.html
examples/hello-mui/examples/tabbar-with-submenus.html
+5
-0
examples/hello-mui/list.html
examples/hello-mui/list.html
+1
-18
No files found.
examples/hello-mui/examples/tab-with-segmented-control-vertical.html
View file @
3e60b075
...
@@ -78,9 +78,6 @@
...
@@ -78,9 +78,6 @@
//默认选中第一个
//默认选中第一个
controls
.
querySelector
(
'
.mui-control-item
'
).
classList
.
add
(
'
mui-active
'
);
controls
.
querySelector
(
'
.mui-control-item
'
).
classList
.
add
(
'
mui-active
'
);
contents
.
querySelector
(
'
.mui-control-content
'
).
classList
.
add
(
'
mui-active
'
);
contents
.
querySelector
(
'
.mui-control-content
'
).
classList
.
add
(
'
mui-active
'
);
window
.
addEventListener
(
'
tap
'
,
function
(
e
)
{
console
.
log
(
document
.
location
.
hash
);
})
</script>
</script>
</body>
</body>
...
...
examples/hello-mui/examples/tabbar-with-submenus.html
View file @
3e60b075
...
@@ -28,6 +28,11 @@
...
@@ -28,6 +28,11 @@
<a
class=
"mui-tab-item"
href=
"#Popover_1"
>
方案
</a>
<a
class=
"mui-tab-item"
href=
"#Popover_1"
>
方案
</a>
<a
class=
"mui-tab-item"
href=
"#Popover_2"
>
新闻
</a>
<a
class=
"mui-tab-item"
href=
"#Popover_2"
>
新闻
</a>
</nav>
</nav>
<div
class=
"mui-content"
>
<div
class=
"mui-content-padded"
>
<p
style=
"text-indent: 22px;"
>
这是包含二级菜单的底部选项卡示例,点击底部菜单,会展开显示对应的二级菜单。
</p>
</div>
</div>
<div
id=
"Popover_0"
class=
"mui-popover mui-bar-popover"
>
<div
id=
"Popover_0"
class=
"mui-popover mui-bar-popover"
>
<div
class=
"mui-popover-arrow"
></div>
<div
class=
"mui-popover-arrow"
></div>
<ul
class=
"mui-table-view"
>
<ul
class=
"mui-table-view"
>
...
...
examples/hello-mui/list.html
View file @
3e60b075
...
@@ -296,23 +296,6 @@
...
@@ -296,23 +296,6 @@
range(滑块)
range(滑块)
</a>
</a>
</li>
</li>
<li
class=
"mui-table-view-cell mui-collapse"
>
<a
class=
"mui-navigate-right"
href=
"#"
>
segment(分段选择)
</a>
<ul
class=
"mui-table-view mui-table-view-chevron"
>
<li
class=
"mui-table-view-cell"
>
<a
class=
"mui-navigate-right"
href=
"examples/tab-with-segmented-control.html"
>
按钮式选项卡
</a>
</li>
<li
class=
"mui-table-view-cell"
>
<a
class=
"mui-navigate-right"
href=
"examples/tab-with-viewpagerindicator.html"
>
可拖动选项卡(仿Android)
</a>
</li>
</ul>
</li>
<li
class=
"mui-table-view-cell"
>
<li
class=
"mui-table-view-cell"
>
<a
class=
"mui-navigate-right"
href=
"examples/switches.html"
>
<a
class=
"mui-navigate-right"
href=
"examples/switches.html"
>
switch(开关)
switch(开关)
...
@@ -580,7 +563,7 @@
...
@@ -580,7 +563,7 @@
}
}
});
});
}
else
if
(
id
&&
~
id
.
indexOf
(
'
.html
'
))
{
}
else
if
(
id
&&
~
id
.
indexOf
(
'
.html
'
))
{
if
(
!~
id
.
indexOf
(
'
popovers.html
'
)
&&
!~
id
.
indexOf
(
'
tab-with-viewpagerindicator.html
'
)
&&
mui
.
os
.
ios
)
{
if
(
!~
id
.
indexOf
(
'
popovers.html
'
)
&&
mui
.
os
.
ios
)
{
mui
.
openWindow
({
mui
.
openWindow
({
id
:
id
,
id
:
id
,
url
:
this
.
href
,
url
:
this
.
href
,
...
...
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