forked from kirinse/mineui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindexsea.html
106 lines (106 loc) · 5.38 KB
/
indexsea.html
1
2
3
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7"><![endif]-->
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8"><![endif]-->
<!--[if IE 8]><html class="no-js lt-ie9"><![endif]-->
<!--[if gt IE 8]><html class="no-js"><![endif]-->
<head>
<title>宝麟娱乐</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="keywords" content="">
<meta name="description" content="">
<!--[if lt IE 9]>
<script type="text/javascript">
// html5shiv MIT @rem remysharp.com/html5-enabling-script
// iepp v1.6.2 MIT @jon_neal iecss.com/print-protector
/*@cc_on(function(a,b){function r(a){var b=-1;while(++b<f)a.createElement(e[b])}if(!(!window.attachEvent||!b.createStyleSheet||!function(){var a=document.createElement("div");a.innerHTML="<elem></elem>";return a.childNodes.length!==1}())){a.iepp=a.iepp||{};var c=a.iepp,d=c.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",e=d.split("|"),f=e.length,g=new RegExp("(^|\\s)("+d+")","gi"),h=new RegExp("<(/*)("+d+")","gi"),i=/^\s*[\{\}]\s*$/,j=new RegExp("(^|[^\\n]*?\\s)("+d+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),k=b.createDocumentFragment(),l=b.documentElement,m=l.firstChild,n=b.createElement("body"),o=b.createElement("style"),p=/print|all/,q;c.getCSS=function(a,b){if(a+""===undefined)return"";var d=-1,e=a.length,f,g=[];while(++d<e){f=a[d];if(f.disabled)continue;b=f.media||b,p.test(b)&&g.push(c.getCSS(f.imports,b),f.cssText),b="all"}return g.join("")},c.parseCSS=function(a){var b=[],c;while((c=j.exec(a))!=null)b.push(((i.exec(c[1])?"\n":c[1])+c[2]+c[3]).replace(g,"$1.iepp_$2")+c[4]);return b.join("\n")},c.writeHTML=function(){var a=-1;q=q||b.body;while(++a<f){var c=b.getElementsByTagName(e[a]),d=c.length,g=-1;while(++g<d)c[g].className.indexOf("iepp_")<0&&(c[g].className+=" iepp_"+e[a])}k.appendChild(q),l.appendChild(n),n.className=q.className,n.id=q.id,n.innerHTML=q.innerHTML.replace(h,"<$1font")},c._beforePrint=function(){o.styleSheet.cssText=c.parseCSS(c.getCSS(b.styleSheets,"all")),c.writeHTML()},c.restoreHTML=function(){n.innerHTML="",l.removeChild(n),l.appendChild(q)},c._afterPrint=function(){c.restoreHTML(),o.styleSheet.cssText=""},r(b),r(k);if(c.disablePP)return;m.insertBefore(o,m.firstChild),o.media="print",o.className="iepp-printshim",a.attachEvent("onbeforeprint",c._beforePrint),a.attachEvent("onafterprint",c._afterPrint)}})(this,document)@*/
</script>
<![endif]-->
<!--[if IE]>
<style type="text/css">
.pic, .txt, .bg {
opacity: 1;
}
#banner .txt {
top: 50px;
left: 0;
}
</style>
<![endif]-->
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link href="styles/home.css" rel="stylesheet" />
<link href="styles/font.css" rel="stylesheet" />
<link href="styles/font-ie.css" rel="stylesheet" />
<script src="http://assets.spmjs.org/??seajs/seajs/2.2.1/sea.js,seajs/seajs-combo/1.0.1/seajs-combo.js,seajs/seajs-style/1.0.2/seajs-style.js" id="seajsnode"></script>
<style>
.target{width:50px;height:50px;border-radius:25px;background:#000;transition:All 1s ease;-webkit-transition:All 1s ease;-moz-transition:All 1s ease;}
</style>
</head>
<body role="document">
<!-- seajs 配置,可独立到 config.js -->
<script type="text/javascript">
seajs.config({
alias: {
"$": 'jquery/jquery/1.7.2/jquery',
"es5-safe": "gallery/es5-safe/0.9.2/es5-safe",
"json": "gallery/json/1.0.3/json",
"hash": 'kirin/utils/1.0.0/hash',
"string": 'kirin/utils/1.0.0/string',
"array": 'kirin/utils/1.0.0/array',
'position': 'arale/position/1.0.1/position'
},
paths: {
// 'arale': 'http://assets.spmjs.org/arale',
// 'gallery': 'http://static.alipayobjects.com/gallery',
'kirin': './js/kirin'
},
preload: [
(Array.isArray ? '' : 'es5-safe'),//arale/class/2.0.0 IE6,7,8下需要该插件
(this.JSON ? '' : 'json')
],
// map: [
// [ '.js', '-debug.js' ]
// ],
comboExcludes: function(uri) {
// 某些特定目录下的文件不合并
if (uri.indexOf('kirin/utils') > 0) {
return true
}
}
});
</script>
<!-- 页面 js 入口,可独立为页面相应的 js 文件 -->
<script type="text/javascript">
seajs.use(['$','string','hash','array'],function($, $S, $H, $A){
console.log($S(" iaaa").trimLeft());
var info = $H({
name : "xuning",
age : 27
})
info.each(function(key,value){
console.log(key+' = '+value);
});
var arr = $A(['apple', 'banana', 'lemon']);
arr.each(function(item, index){
console.log(index + " = " + item);
});
// $H = KHash;
});
// seajs.use(['$', 'position', 'string', 'array'], function($, Position, String, Array) {
// var stop = false;
// var target = $('<div class="target"></div>')
// .hover(function(){stop = true;},function(){stop = false;})
// .appendTo(document.body);
// setInterval(function() {
// if (stop) return;
// var x = Math.floor(Math.random() * 100);
// var y = Math.floor(Math.random() * 100);
// Position.pin(
// { element: target, x: 'center', y: 'center' },
// { element: Position.VIEWPORT, x: x + '%', y: y + '%' }
// );
// }, 800);
// });
</script>
</body>
</html>