-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
299 additions
and
159 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
130 changes: 130 additions & 0 deletions
130
examples/hello-mui/examples/tableviews-with-collapses-content.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>Hello MUI</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no"> | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
<meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
|
||
<link rel="stylesheet" href="../css/mui.min.css"> | ||
<script src="../js/mui.min.js"></script> | ||
<script src="../js/app.js"></script> | ||
<style> | ||
html,body { | ||
background-color: #efeff4; | ||
} | ||
</style> | ||
<script> | ||
mui.init(); | ||
</script> | ||
</head> | ||
|
||
<body> | ||
|
||
<header class="mui-bar mui-bar-nav"> | ||
<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a> | ||
<h1 class="mui-title">折叠面板</h1> | ||
</header> | ||
<div class="mui-content"> | ||
<div class="mui-card"> | ||
<ul class="mui-table-view"> | ||
<li class="mui-table-view-cell mui-hidden">cared | ||
<div id="M_Toggle" class="mui-switch mui-active"> | ||
<div class="mui-switch-handle"></div> | ||
</div> | ||
</li> | ||
<li class="mui-table-view-cell mui-collapse"><a class="mui-navigate-right" href="#">表单</a> | ||
<div class="mui-collapse-content"> | ||
<form class="mui-input-group"> | ||
<div class="mui-input-row"> | ||
<label>Input</label> | ||
<input type="text" placeholder="普通输入框"> | ||
</div> | ||
<div class="mui-input-row"> | ||
<label>Input</label> | ||
<input type="text" class="mui-input-clear" placeholder="带清除按钮的输入框"> | ||
</div> | ||
|
||
<div class="mui-input-row"> | ||
<label>Input</label> | ||
<input type="text" class="mui-input-speech mui-input-clear" placeholder="语音输入"> | ||
</div> | ||
<div class="mui-button-row"> | ||
<button class="mui-btn mui-btn-primary" onclick="return false;">确认</button> | ||
<button class="mui-btn mui-btn-primary" onclick="return false;">取消</button> | ||
</div> | ||
</form> | ||
</div> | ||
</li> | ||
<li class="mui-table-view-cell mui-collapse"><a class="mui-navigate-right" href="#">图片轮播</a> | ||
<div class="mui-collapse-content"> | ||
<div id="slider" class="mui-slider"> | ||
<div class="mui-slider-group mui-slider-loop"> | ||
<!-- 额外增加的一个节点(循环轮播:第一个节点是最后一张轮播) --> | ||
<div class="mui-slider-item mui-slider-item-duplicate"> | ||
<a href="#"> | ||
<img src="../images/yuantiao.jpg"> | ||
</a> | ||
</div> | ||
<!-- 第一张 --> | ||
<div class="mui-slider-item"> | ||
<a href="#"> | ||
<img src="../images/shuijiao.jpg"> | ||
</a> | ||
</div> | ||
<!-- 第二张 --> | ||
<div class="mui-slider-item"> | ||
<a href="#"> | ||
<img src="../images/muwu.jpg"> | ||
</a> | ||
</div> | ||
<!-- 第三张 --> | ||
<div class="mui-slider-item"> | ||
<a href="#"> | ||
<img src="../images/cbd.jpg"> | ||
</a> | ||
</div> | ||
<!-- 第四张 --> | ||
<div class="mui-slider-item"> | ||
<a href="#"> | ||
<img src="../images/yuantiao.jpg"> | ||
</a> | ||
</div> | ||
<!-- 额外增加的一个节点(循环轮播:最后一个节点是第一张轮播) --> | ||
<div class="mui-slider-item mui-slider-item-duplicate"> | ||
<a href="#"> | ||
<img src="../images/shuijiao.jpg"> | ||
</a> | ||
</div> | ||
</div> | ||
<div class="mui-slider-indicator"> | ||
<div class="mui-indicator mui-active"></div> | ||
<div class="mui-indicator"></div> | ||
<div class="mui-indicator"></div> | ||
<div class="mui-indicator"></div> | ||
</div> | ||
</div> | ||
</div> | ||
</li> | ||
<li class="mui-table-view-cell mui-collapse"><a class="mui-navigate-right" href="#">文字</a> | ||
<div class="mui-collapse-content"> | ||
<h1>h1. Heading</h1> | ||
<h2>h2. Heading</h2> | ||
<h3>h3. Heading</h3> | ||
<h4>h4. Heading</h4> | ||
<h5>h5. Heading</h5> | ||
<h6>h6. Heading</h6> | ||
<p> | ||
p. 目前最接近原生App效果的框架。 | ||
</p> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
|
||
|
||
</body> | ||
</html> |
Oops, something went wrong.