refactor:不动产门户网站静态页面
0 parents
Showing
25 changed files
with
132 additions
and
0 deletions
README.md
0 → 100644
css/amazeui.css
0 → 100644
This diff could not be displayed because it is too large.
css/amazeui.flat.css
0 → 100644
This diff could not be displayed because it is too large.
css/amazeui.flat.min.css
0 → 100644
This diff could not be displayed because it is too large.
css/amazeui.min.css
0 → 100644
This diff could not be displayed because it is too large.
css/style.css
0 → 100644
This diff is collapsed.
Click to expand it.
fonts/FontAwesome.otf
0 → 100644
No preview for this file type
fonts/fontawesome-webfont.eot
0 → 100644
No preview for this file type
fonts/fontawesome-webfont.svg
0 → 100644
This diff could not be displayed because it is too large.
fonts/fontawesome-webfont.ttf
0 → 100644
No preview for this file type
fonts/fontawesome-webfont.woff
0 → 100644
No preview for this file type
fonts/fontawesome-webfont.woff2
0 → 100644
No preview for this file type
img/hengwang-1.png
0 → 100644
13.5 KB
index.html
0 → 100644
| 1 | <!DOCTYPE html> | ||
| 2 | <html> | ||
| 3 | |||
| 4 | <head lang="en"> | ||
| 5 | <meta charset="UTF-8"> | ||
| 6 | <title>首页</title> | ||
| 7 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
| 8 | <meta name="viewport" | ||
| 9 | content="width=device-width, initial-scale=1,maximum-scale=1.0, user-scalable=0,user-scalable=no"> | ||
| 10 | <meta name="format-detection" content="telephone=no"> | ||
| 11 | <meta name="renderer" content="webkit"> | ||
| 12 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 13 | <link rel="alternate icon" type="img/hengwang-1.png" href="img/hengwang-1.png"> | ||
| 14 | <link rel="stylesheet" href="css/amazeui.css" /> | ||
| 15 | <link rel="stylesheet" href="css/style.css" /> | ||
| 16 | </head> | ||
| 17 | |||
| 18 | <body> | ||
| 19 | <header class="am-topbar header"> | ||
| 20 | 111 | ||
| 21 | </header> | ||
| 22 | <div class="am-container-1"> | ||
| 23 | 222222222222222222 | ||
| 24 | </div> | ||
| 25 | <footer class="footer "> | ||
| 26 | </footer> | ||
| 27 | |||
| 28 | |||
| 29 | </body> | ||
| 30 | <!--[if lt IE 9]> | ||
| 31 | <script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script> | ||
| 32 | <script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script> | ||
| 33 | <script src="assets/js/amazeui.ie8polyfill.min.js"></script> | ||
| 34 | <![endif]--> | ||
| 35 | |||
| 36 | <!--[if (gte IE 9)|!(IE)]><!--> | ||
| 37 | <script src="js/jquery.min.js"></script> | ||
| 38 | <!--<![endif]--> | ||
| 39 | <script src="js/amazeui.min.js"></script> | ||
| 40 | <script src="js/scroll.js"></script> | ||
| 41 | <script type="text/javascript"> | ||
| 42 | </script> | ||
| 43 | |||
| 44 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
js/amazeui.ie8polyfill.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/amazeui.ie8polyfill.min.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/amazeui.js
0 → 100644
This diff could not be displayed because it is too large.
js/amazeui.min.js
0 → 100644
This diff could not be displayed because it is too large.
js/amazeui.widgets.helper.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/amazeui.widgets.helper.min.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/app.js
0 → 100644
| 1 | (function($) { | ||
| 2 | 'use strict'; | ||
| 3 | |||
| 4 | $(function() { | ||
| 5 | var $fullText = $('.admin-fullText'); | ||
| 6 | $('#admin-fullscreen').on('click', function() { | ||
| 7 | $.AMUI.fullscreen.toggle(); | ||
| 8 | }); | ||
| 9 | |||
| 10 | $(document).on($.AMUI.fullscreen.raw.fullscreenchange, function() { | ||
| 11 | $fullText.text($.AMUI.fullscreen.isFullscreen ? '退出全屏' : '开启全屏'); | ||
| 12 | }); | ||
| 13 | }); | ||
| 14 | })(jQuery); |
js/handlebars.min.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/jquery.min.js
0 → 100644
This diff is collapsed.
Click to expand it.
js/scroll.js
0 → 100644
| 1 | // JavaScript Document | ||
| 2 | (function($){ | ||
| 3 | $.fn.myScroll = function(options){ | ||
| 4 | //默认配置 | ||
| 5 | var defaults = { | ||
| 6 | speed:40, //滚动速度,值越大速度越慢 | ||
| 7 | rowHeight:24 //每行的高度 | ||
| 8 | }; | ||
| 9 | |||
| 10 | var opts = $.extend({}, defaults, options),intId = []; | ||
| 11 | |||
| 12 | function marquee(obj, step){ | ||
| 13 | |||
| 14 | obj.find("ul").animate({ | ||
| 15 | marginTop: '-=1' | ||
| 16 | },0,function(){ | ||
| 17 | var s = Math.abs(parseInt($(this).css("margin-top"))); | ||
| 18 | if(s >= step){ | ||
| 19 | $(this).find("li").slice(0, 1).appendTo($(this)); | ||
| 20 | $(this).css("margin-top", 0); | ||
| 21 | } | ||
| 22 | }); | ||
| 23 | } | ||
| 24 | |||
| 25 | this.each(function(i){ | ||
| 26 | var sh = opts["rowHeight"],speed = opts["speed"],_this = $(this); | ||
| 27 | intId[i] = setInterval(function(){ | ||
| 28 | if(_this.find("ul").height()<=_this.height()){ | ||
| 29 | clearInterval(intId[i]); | ||
| 30 | }else{ | ||
| 31 | marquee(_this, sh); | ||
| 32 | } | ||
| 33 | }, speed); | ||
| 34 | |||
| 35 | _this.hover(function(){ | ||
| 36 | clearInterval(intId[i]); | ||
| 37 | },function(){ | ||
| 38 | intId[i] = setInterval(function(){ | ||
| 39 | if(_this.find("ul").height()<=_this.height()){ | ||
| 40 | clearInterval(intId[i]); | ||
| 41 | }else{ | ||
| 42 | marquee(_this, sh); | ||
| 43 | } | ||
| 44 | }, speed); | ||
| 45 | }); | ||
| 46 | |||
| 47 | }); | ||
| 48 | |||
| 49 | } | ||
| 50 | |||
| 51 | })(jQuery); | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
news.html
0 → 100644
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment