├── home.html
├── favicon.ico
├── images
├── vcode.jpg
├── icon_nav_msg.png
├── icon_nav_tab.png
├── icon_nav_button.png
├── icon_nav_cell.png
├── icon_nav_dialog.png
├── icon_nav_icons.png
├── icon_nav_panel.png
├── icon_nav_toast.png
├── icon_nav_article.png
├── icon_nav_progress.png
├── icon_nav_actionSheet.png
└── icon_nav_search_bar.png
├── js
├── progress.js
├── actionsheet.js
├── toast.js
├── dialog.js
├── searchbar.js
├── example.js
├── angular-route.min.js
└── angular-animate.min.js
├── README.md
├── navbar.html
├── msg.html
├── tab.html
├── button.html
├── actionsheet.html
├── article.html
├── icons.html
├── progress.html
├── tabbar.html
├── dialog.html
├── toast.html
├── searchbar.html
├── index.html
├── panel.html
├── cell.html
└── css
└── weui.min.css
/home.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suv80/Angularjs-weui/HEAD/favicon.ico
--------------------------------------------------------------------------------
/images/vcode.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suv80/Angularjs-weui/HEAD/images/vcode.jpg
--------------------------------------------------------------------------------
/images/icon_nav_msg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suv80/Angularjs-weui/HEAD/images/icon_nav_msg.png
--------------------------------------------------------------------------------
/images/icon_nav_tab.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suv80/Angularjs-weui/HEAD/images/icon_nav_tab.png
--------------------------------------------------------------------------------
/images/icon_nav_button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suv80/Angularjs-weui/HEAD/images/icon_nav_button.png
--------------------------------------------------------------------------------
/images/icon_nav_cell.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suv80/Angularjs-weui/HEAD/images/icon_nav_cell.png
--------------------------------------------------------------------------------
/images/icon_nav_dialog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suv80/Angularjs-weui/HEAD/images/icon_nav_dialog.png
--------------------------------------------------------------------------------
/images/icon_nav_icons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suv80/Angularjs-weui/HEAD/images/icon_nav_icons.png
--------------------------------------------------------------------------------
/images/icon_nav_panel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suv80/Angularjs-weui/HEAD/images/icon_nav_panel.png
--------------------------------------------------------------------------------
/images/icon_nav_toast.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suv80/Angularjs-weui/HEAD/images/icon_nav_toast.png
--------------------------------------------------------------------------------
/images/icon_nav_article.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suv80/Angularjs-weui/HEAD/images/icon_nav_article.png
--------------------------------------------------------------------------------
/images/icon_nav_progress.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suv80/Angularjs-weui/HEAD/images/icon_nav_progress.png
--------------------------------------------------------------------------------
/images/icon_nav_actionSheet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suv80/Angularjs-weui/HEAD/images/icon_nav_actionSheet.png
--------------------------------------------------------------------------------
/images/icon_nav_search_bar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/suv80/Angularjs-weui/HEAD/images/icon_nav_search_bar.png
--------------------------------------------------------------------------------
/js/progress.js:
--------------------------------------------------------------------------------
1 | function progressCtrl($scope) {
2 | $scope.progress1 = { width: '0%' }; //进度条的宽度
3 | $scope.progress2 = { width: '30%' };
4 | $scope.progress3 = { width: '80%' };
5 |
6 | $scope.btnStartProgress = function() {
7 | $scope.progress1 = { width: '100%' };
8 | $scope.progress2 = { width: '100%' };
9 | $scope.progress3 = { width: '100%' };
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/js/actionsheet.js:
--------------------------------------------------------------------------------
1 | function actionsheetCtrl($scope) {
2 | $scope.isShowActionsheet = false; //是否显示actionsheet
3 | $scope.actionsheetToggle = ''; //weui_actionsheet_toggle样式,显示时增加,不显示时去掉
4 |
5 | $scope.showActionSheet = function() {
6 | $scope.isShowActionsheet = true;
7 | $scope.actionsheetToggle = 'weui_actionsheet_toggle';
8 | }
9 |
10 | $scope.actionsheetCancel = function() {
11 | $scope.isShowActionsheet = false;
12 | $scope.actionsheetToggle = '';
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Angularjs-weui
2 |
3 | 使用Angularjs框架应用weui
4 |
5 | ###引用文件
6 |
7 | + 使用angular.min.js 1.4.9
8 | + 使用angular-route.min.js 1.4.9
9 | + 使用angular-animate.min.js 1.4.9
10 | + 使用weui.min.css 0.4.0
11 |
12 | ###已完成
13 |
14 | + Button
15 | + Cell
16 | + Toast
17 | + Dialog
18 | + Progress
19 | + Msg
20 | + Article
21 | + ActionSheet
22 | + Icons
23 | + Panel
24 | + Tab
25 | + SearchBar
26 | + 页面显示样式美化
27 | + 注释
28 |
29 | ###正在进行
30 |
31 | + 使用文档
32 |
33 | ###待完成
34 |
35 | ###其它说明
36 |
37 | + 去掉了跳转动画,初次显示时有问题,待解决。
38 |
39 |
--------------------------------------------------------------------------------
/js/toast.js:
--------------------------------------------------------------------------------
1 | //toast控制器
2 | function toastCtrl($scope, $interval) {
3 | $scope.toastHide = 0; //是否显示样式一
4 | $scope.loadingToastHide = 0; //是否显示样式二
5 |
6 | $scope.showToast = function() {
7 | $scope.toastHide = 1;
8 |
9 | //显示3秒后消失
10 | $interval(function() {
11 | $scope.toastHide = 0;
12 | }, 3000, 1);
13 | }
14 |
15 | $scope.showLoadingToast = function() {
16 | $scope.loadingToastHide = 1;
17 |
18 | //显示3秒后消失
19 | $interval(function() {
20 | $scope.loadingToastHide = 0;
21 | }, 3000, 1);
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/navbar.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Icons
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/progress.html:
--------------------------------------------------------------------------------
1 |