Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
wkw307 committed Oct 3, 2019
0 parents commit dcfb3cc
Show file tree
Hide file tree
Showing 103 changed files with 192,438 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
6,760 changes: 6,760 additions & 0 deletions bootstrap/css/bootstrap.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions bootstrap/css/bootstrap.css.map

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions bootstrap/css/bootstrap.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions bootstrap/css/bootstrap.min.css.map

Large diffs are not rendered by default.

Binary file added bootstrap/fonts/glyphicons-halflings-regular.eot
Binary file not shown.
288 changes: 288 additions & 0 deletions bootstrap/fonts/glyphicons-halflings-regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bootstrap/fonts/glyphicons-halflings-regular.ttf
Binary file not shown.
Binary file added bootstrap/fonts/glyphicons-halflings-regular.woff
Binary file not shown.
Binary file not shown.
2,363 changes: 2,363 additions & 0 deletions bootstrap/js/bootstrap.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions bootstrap/js/bootstrap.min.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions bootstrap/js/npm.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.
require('../../js/transition.js')
require('../../js/alert.js')
require('../../js/button.js')
require('../../js/carousel.js')
require('../../js/collapse.js')
require('../../js/dropdown.js')
require('../../js/modal.js')
require('../../js/tooltip.js')
require('../../js/popover.js')
require('../../js/scrollspy.js')
require('../../js/tab.js')
require('../../js/affix.js')
51 changes: 51 additions & 0 deletions config/ipconfig.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
//var ip = "http://202.117.54.39:8080/Yotta"; // 服务器域名(ip) + http端口(9218)+工程名字
// var ip = "http://202.117.54.42:8080/Yotta"; // 服务器域名(ip) + http端口(9218)+工程名字
// var ip = "http://yotta.xjtushilei.com:9218/Yotta"; // 服务器域名(ip) + http端口(9218)+工程名字
//var ip = "http://202.117.54.125:8080/Yotta"; // 服务器域名(ip) + http端口(9218)+工程名字
var ip = "http://yotta.xjtushilei.com:8083";


// setCookie("name","hayden");
// alert(getCookie("name"));
//如果需要设定自定义过期时间
//那么把上面的setCookie 函数换成下面两个函数就ok;
//程序代码
function setCookie(name,value,time)
{
var strsec = getsec(time);
var exp = new Date();
exp.setTime(exp.getTime() + strsec*1);
document.cookie = name + "="+ escape (value) + ";expires=" + exp.toGMTString()+";path=/";
}
function getsec(str)
{
// alert(str);
var str1=str.substring(1,str.length)*1;
var str2=str.substring(0,1);
if (str2=="s")
{
return str1*1000;
}
else if (str2=="h")
{
return str1*60*60*1000;
}
else if (str2=="d")
{
return str1*24*60*60*1000;
}
}
//这是有设定过期时间的使用示例:
//s20是代表20秒
//h是指小时,如12小时则是:h12
//d是天数,30天则:d30
// setCookie("name","hayden","s20");
//
function getCookie(name)
{
var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)");
if(arr=document.cookie.match(reg))
return unescape(arr[2]);
else
return "";
}
Binary file added dist/.DS_Store
Binary file not shown.
Loading

0 comments on commit dcfb3cc

Please sign in to comment.