forked from liulangnan/aui
-
Notifications
You must be signed in to change notification settings - Fork 0
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
8 changed files
with
451 additions
and
7 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<!DOCTYPE HTML> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/> | ||
<title>APP</title> | ||
<link rel="stylesheet" type="text/css" href="../css/aui.css" /> | ||
</head> | ||
<style type="text/css"> | ||
.aui-content { | ||
background: #ffffff; | ||
overflow: hidden; | ||
padding: 15px; | ||
} | ||
p { | ||
margin: 10px 0; | ||
overflow: hidden; | ||
} | ||
</style> | ||
<body> | ||
|
||
<div class="aui-content"> | ||
<p>.aui-progress</p> | ||
<div class="aui-progress aui-progress aui-clearfix"> | ||
<div class="aui-progress-bar" style="width: 60%;"></div> | ||
</div> | ||
<p>.aui-progress-sm</p> | ||
<div class="aui-progress aui-progress-sm"> | ||
<div class="aui-progress-bar" style="width: 60%;"></div> | ||
</div> | ||
<p>.aui-progress-xs</p> | ||
<div class="aui-progress aui-progress-xs"> | ||
<div class="aui-progress-bar" style="width: 60%;"></div> | ||
</div> | ||
<p>.aui-progress-xxs</p> | ||
<div class="aui-progress aui-progress-xxs"> | ||
<div class="aui-progress-bar" style="width: 60%;"></div> | ||
</div> | ||
<p>.aui-progress-bar.aui-progress-primary</p> | ||
<div class="aui-progress aui-progress"> | ||
<div class="aui-progress-bar aui-progress-primary" style="width: 60%;"></div> | ||
</div> | ||
<p>.aui-progress-bar.aui-progress-success</p> | ||
<div class="aui-progress"> | ||
<div class="aui-progress-bar aui-progress-success" style="width: 60%;"></div> | ||
</div> | ||
<p>.aui-progress-bar.aui-progress-info</p> | ||
<div class="aui-progress"> | ||
<div class="aui-progress-bar aui-progress-info" style="width: 60%;"></div> | ||
</div> | ||
<p>.aui-progress-bar.aui-progress-warning</p> | ||
<div class="aui-progress"> | ||
<div class="aui-progress-bar aui-progress-warning" style="width: 60%;"></div> | ||
</div> | ||
<p>.aui-progress-bar.aui-progress-danger</p> | ||
<div class="aui-progress"> | ||
<div class="aui-progress-bar aui-progress-danger" style="width: 60%;"></div> | ||
</div> | ||
</div> | ||
</body> | ||
<script type="text/javascript" src="../script/api.js" ></script> | ||
<script type="text/javascript"> | ||
</script> | ||
</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,41 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/> | ||
<title>进度条</title> | ||
<link rel="stylesheet" type="text/css" href="../css/aui-win.css" /> | ||
</head> | ||
<body> | ||
<header class="aui-bar aui-bar-nav aui-bar-warning" id="aui-header"> | ||
<a class="aui-btn aui-btn-warning aui-pull-left" tapmode onclick="closeWin()"> | ||
<span class="aui-iconfont aui-icon-left"></span> | ||
</a> | ||
<div class="aui-title">进度条</div> | ||
</header> | ||
</body> | ||
<script type="text/javascript" src="../script/api.js"></script> | ||
<script type="text/javascript"> | ||
function closeWin(){ | ||
api.closeWin(); | ||
} | ||
apiready = function(){ | ||
api.parseTapmode(); | ||
var header = $api.byId('aui-header'); | ||
$api.fixStatusBar(header); | ||
var headerPos = $api.offset(header); | ||
var body_h = $api.offset($api.dom('body')).h; | ||
api.openFrame({ | ||
name: 'progress_frm', | ||
url: 'progress_frm.html', | ||
bounces: true, | ||
rect: { | ||
x: 0, | ||
y: headerPos.h, | ||
w: headerPos.w, | ||
h: 'auto' | ||
} | ||
}); | ||
}; | ||
</script> | ||
</html> |
Oops, something went wrong.