diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Organization/Company/CompanyBLL.cs b/Learun.Framework.Ultimate V7/Learun.Application.Organization/Company/CompanyBLL.cs index e0c15e763..79335dc18 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Organization/Company/CompanyBLL.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Organization/Company/CompanyBLL.cs @@ -16,7 +16,7 @@ namespace Learun.Application.Organization public class CompanyBLL : CompanyIBLL { #region 属性 - private CompanyService companyService = new CompanyService(); + private CompanyService companyService = new CompanyService(); #endregion #region 缓存定义 @@ -120,11 +120,13 @@ namespace Learun.Application.Organization /// 获取公司映射数据 /// /// - public Dictionary GetModelMap() { + public Dictionary GetModelMap() + { try { Dictionary dic = cache.Read>(cacheKey + "dic", CacheId.company); - if (dic == null) { + if (dic == null) + { dic = new Dictionary(); List list = GetList(); foreach (var item in list) @@ -163,7 +165,8 @@ namespace Learun.Application.Organization try { List list = GetList(); - if (!string.IsNullOrEmpty(keyWord)) { + if (!string.IsNullOrEmpty(keyWord)) + { list = list.FindAll(t => t.F_FullName.Contains(keyWord) || t.F_EnCode.Contains(keyWord) || t.F_ShortName.Contains(keyWord)); } return list; @@ -206,6 +209,30 @@ namespace Learun.Application.Organization } } + /// + /// 获取公司信息 + /// + /// + public CompanyEntity GetDetail() + { + try + { + List list = GetList(); + CompanyEntity entity = list.Find(x => x.F_DeleteMark == 0 && x.F_EnabledMark == 1); + return entity; + } + catch (Exception ex) + { + if (ex is ExceptionEx) + { + throw; + } + else + { + throw ExceptionEx.ThrowBusinessException(ex); + } + } + } /// /// 获取公司信息实体 @@ -235,12 +262,14 @@ namespace Learun.Application.Organization /// /// 父级id /// - public List GetTree(string parentId) { + public List GetTree(string parentId) + { try { List list = GetList(); List treeList = new List(); - foreach (var item in list) { + foreach (var item in list) + { TreeModel node = new TreeModel { id = item.F_CompanyId, @@ -276,7 +305,8 @@ namespace Learun.Application.Organization { try { - if (string.IsNullOrEmpty(parentId)) { + if (string.IsNullOrEmpty(parentId)) + { return new List(); } List res = new List(); @@ -302,10 +332,13 @@ namespace Learun.Application.Organization /// /// 树形数据列表 /// 输出数据列表 - private void GetSubNodes(List list, List ourList) { - foreach (var item in list) { + private void GetSubNodes(List list, List ourList) + { + foreach (var item in list) + { ourList.Add(item.id); - if (item.hasChildren) { + if (item.hasChildren) + { GetSubNodes(item.ChildNodes, ourList); } } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Organization/Company/CompanyIBLL.cs b/Learun.Framework.Ultimate V7/Learun.Application.Organization/Company/CompanyIBLL.cs index 47e2ed0e6..4cc67432f 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Organization/Company/CompanyIBLL.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Organization/Company/CompanyIBLL.cs @@ -42,7 +42,12 @@ namespace Learun.Application.Organization /// 主键 /// CompanyEntity GetEntity(string keyValue); - + /// + /// 获取公司信息 + /// + /// + CompanyEntity GetDetail(); + bool GetAny(); /// /// 获取树形数据 diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/common.css b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/common.css new file mode 100644 index 000000000..8ec3ea74a --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/common.css @@ -0,0 +1,387 @@ +/* CSS Document */ +@charset "utf-8"; +*{ + padding: 0; + margin: 0; + /*border: 0;*/ + -webkit-tap-highlight-color: transparent; + -moz-tap-highlight-color: transparent; + -ms-tap-highlight-color: transparent; + -o-tap-highlight-color: transparent; + tap-highlight-color: transparent; + +} +*:not(input,textarea) { + -webkit-touch-callout: none; + -webkit-user-select: none; +} + +/*移动端*/ +/* html{font-size: 625%; font-size: 100px; } +body{font-size: 0.16rem;} */ +body{ font-family:Arial,"Microsoft Yahei","微软雅黑";-webkit-font-smoothing: antialiased;} + +html,body{ + height: 100%; +} +blockquote, body, dd, dir, dl, fieldset, figure, h1, h2, h3, h4, h5, h6, hr, input[type=checkbox], input[type=radio], input[type=range], listing, menu, ol, p, plaintext, pre, ul, xmp { + margin: 0; +} + +button, dir, fieldset, input, input[type=button], input[type=checkbox], input[type=file], input[type=hidden], input[type=image], input[type=password], input[type=radio], input[type=range], input[type=reset], input[type=search], input[type=submit], isindex, legend, menu, ol, textarea, ul { + padding: 0; +} + +html * { + outline: 0; + -webkit-text-size-adjust: none; + -webkit-tap-highlight-color: transparent; +} + +input, select, textarea { + -webkit-tap-highlight-color: transparent; + -webkit-appearance: none; + border: 0; + border-radius: 0 +} +input[type=number]::-webkit-inner-spin-button, +input[type=number]::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; +} +button, input, select { + color: inherit +} + +button, input, select, textarea { + font-family: inherit; + font-weight: inherit; + font-size: inherit; + margin: 0; +} +address, cite, dfn, em, i, var { + font-style: normal; +} + +table { + border-collapse: collapse; + border-spacing: 0; + font-family: normal; +} + +fieldset, iframe { + border: 0; +} + +ol, ul { + list-style: none +} +a{ + color: #333; + text-decoration:none; +} + + + /*IE7不支持的清除浮动*/ +.clearfix:after{ + visibility:hidden; + display:block; + font-size:0; + content:"."; + clear:both; + height:0; +} +* html .clearfix{ + zoom:1; +} +/*全版本兼容清楚浮动*/ +.clears{ clear:both; line-height:0px; overflow:hidden; font-size:0px; height:0px;} +input,textarea,select{font-family:Verdana,Arial,"Microsoft Yahei","微软雅黑";} +a{color: #333;text-decoration: none;} +a:hover {color: inherit;} + + +.mui-flex { + display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */ + display: -moz-box ; /* OLD - Firefox 19- (buggy but mostly works) */ + display: -ms-flexbox ; /* TWEENER - IE 10 */ + display: -webkit-flex ; /* NEW - Chrome */ + display: flex ; /* NEW, Spec - Opera 12.1, Firefox 20+ */ + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap +} +.mui-flex .mui-flex { + display: -webkit-box !important; /* OLD - iOS 6-, Safari 3.1-6 */ + display: -moz-box !important; /* OLD - Firefox 19- (buggy but mostly works) */ + display: -ms-flexbox !important; /* TWEENER - IE 10 */ + display: -webkit-flex !important; /* NEW - Chrome */ + display: flex !important; /* NEW, Spec - Opera 12.1, Firefox 20+ */ + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap +} + +.mui-flex, .mui-flex *, .mui-flex:after, .mui-flex:before { + box-sizing: border-box +} + +.mui-flex.vertical { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column +} + +.mui-flex.vertical.reverse { + -webkit-box-orient: vertical; + -webkit-box-direction: reverse; + -webkit-flex-direction: column-reverse; + -ms-flex-direction: column-reverse; + flex-direction: column-reverse +} + +.mui-flex.vertical >.cell { + width: auto +} + +.mui-flex.vertical > .cell > .inner { + position: absolute; + width: 100%; + height: 100% +} + +.mui-flex.horizental { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row +} + +.mui-flex.reverse { + -webkit-box-orient: horizontal; + -webkit-box-direction: reverse; + -webkit-flex-direction: row-reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse +} + +.mui-flex.justify-start { + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start +} + +.mui-flex.justify-end { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end +} + +.mui-flex.justify-center { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; +} + +.mui-flex.justify-between { + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between +} + +.mui-flex.justify-around { + -webkit-justify-content: space-around; + -ms-flex-pack: distribute; + justify-content: space-around +} + +.mui-flex.align-start { + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start +} + +.mui-flex.align-end { + -webkit-box-align: end; + -webkit-align-items: flex-end; + -ms-flex-align: end; + align-items: flex-end +} + +.mui-flex.align-center { + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center +} + +.mui-flex.align-stretch { + -webkit-box-align: stretch; + -webkit-align-items: stretch; + -ms-flex-align: stretch; + align-items: stretch +} + +.mui-flex.align-stretch .cell { + height: auto !important +} + +.mui-flex.center { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center +} + +.mui-flex > .cell { + -webkit-box-flex: 1; /* OLD - iOS 6-, Safari 3.1-6 */ + -moz-box-flex: 1; /* OLD - Firefox 19- */ + /*width: 20%; /!* For old syntax, otherwise collapses. *!/*/ + -webkit-flex: 1; /* Chrome */ + -ms-flex: 1; /* IE 10 */ + flex: 1; /* NEW, Spec - Opera 12.1, Firefox 20+ */ + width: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + max-width: 100%; + display: block; + padding: 0; + position: relative +} +.mui-flex.vertical > .cell { + width: auto; + height: 0; + -webkit-flex-basis: 0; + -ms-flex-preferred-size: 0; + flex-basis: 0; + /*max-height: 100%;*/ + /*max-width: inherit;*/ + display: block; + padding: 0; + position: relative +} + +.mui-flex > .cell.fixed { + -webkit-box-flex: 0 !important; + -webkit-flex: none !important; + -ms-flex: none !important; + flex: none !important; + width: auto +} + +.mui-flex > .cell.self-start { + -webkit-align-self: flex-start; + -ms-flex-item-align: start; + align-self: flex-start +} + +.mui-flex > .cell.self-end { + -webkit-align-self: flex-end; + -ms-flex-item-align: end; + align-self: flex-end +} + +.mui-flex > .cell.self-center { + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center +} + +.cat{ + -webkit-box-flex: 3; + -moz-box-flex: 3; + -webkit-flex: 3; + -ms-flex: 3; + flex: 3; +} +/*common font*/ +.f12{ + font-size: .06rem; +} +.f14{ + font-size: .07rem; +} +.f16{ + font-size: .08rem; +} +.f18{ + font-size: .09rem; +} +.f20{ + font-size: .1rem; +} +.f22{ + font-size: .11rem; +} +.f24{ + font-size: .12rem; +} +.f26{ + font-size: .13rem; +} +.f28{ + font-size: .14rem; +} +.f30{ + font-size: .15rem; +} +.f32{ + font-size: .16rem; +} +/* .f34{ + font-size: .17rem; +} */ +.f34 { + font-size: 16px; +} +.f36{ + font-size: .18rem; +} +.f38{ + font-size: .19rem; +} +.f40{ + font-size: .2rem; +} +.f48{ + font-size: .24rem; +} +.f60{ + font-size: .3rem; +} + +/*comment margin-top*/ +.m12{ + margin-top: .06rem; +} +.m20{ + margin-top: .1rem; +} +.m22{ + margin-top: .11rem; +} + + +/*comment height*/ +.h66{ + height: .33rem; +} +.h90{ + height: .45rem; +} + +.covers{position: fixed;width: 100%;height: 100%;left: 0px;top: 0px;background: rgba(0,0,0,.8);text-align: center;z-index: 99999999;display: none;} +.covers img{width: 450px;height: 340px;margin-top: 100px;} \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/default.css b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/default.css new file mode 100644 index 000000000..469b50e5b --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/default.css @@ -0,0 +1,33 @@ +@import url(http://fonts.useso.com/css?family=Raleway:200,500,700,800); +body, html { font-size: 100%; padding: 0; margin: 0;} + +/* Reset */ +*, +*:after, +*:before { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */ +.clearfix:before, +.clearfix:after { + content: " "; + display: table; +} + +.clearfix:after { + clear: both; +} + +body{ + background: #f9f7f6; + color: #404d5b; + + font-weight: 500; + font-size: 1.05em; + font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", "FontAwesome", sans-serif; +} +a{color: #2fa0ec;text-decoration: none;outline: none;} +a:hover,a:focus{color:#74777b;}; \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/htmleaf-demo.css b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/htmleaf-demo.css new file mode 100644 index 000000000..a99457038 --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/htmleaf-demo.css @@ -0,0 +1,244 @@ +@font-face { + font-family: 'icomoon'; + src:url('../fonts/icomoon.eot?rretjt'); + src:url('../fonts/icomoon.eot?#iefixrretjt') format('embedded-opentype'), + url('../fonts/icomoon.woff?rretjt') format('woff'), + url('../fonts/icomoon.ttf?rretjt') format('truetype'), + url('../fonts/icomoon.svg?rretjt#icomoon') format('svg'); + font-weight: normal; + font-style: normal; +} + +[class^="icon-"], [class*=" icon-"] { + font-family: 'icomoon'; + speak: none; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; + + /* Better Font Rendering =========== */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +body, html { font-size: 100%; padding: 0; margin: 0;} + + +/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */ +.clearfix:before, +.clearfix:after { + content: " "; + display: table; +} + +.clearfix:after { + clear: both; +} + +body{ + font-weight: 500; + font-size: 1.05em; + font-family: "Microsoft YaHei","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif; +} +a{ color: rgba(255, 255, 255, 0.6);outline: none;text-decoration: none;-webkit-transition: 0.2s;transition: 0.2s;} +a:hover,a:focus{color:#74777b;text-decoration: none;} +.htmleaf-container{ + margin: 0 auto; +} + +.bgcolor-1 { background: #f0efee; } +.bgcolor-2 { background: #f9f9f9; } +.bgcolor-3 { background: #e8e8e8; }/*light grey*/ +.bgcolor-4 { background: #2f3238; color: #fff; }/*Dark grey*/ +.bgcolor-5 { background: #df6659; color: #521e18; }/*pink1*/ +.bgcolor-6 { background: #2fa8ec; }/*sky blue*/ +.bgcolor-7 { background: #d0d6d6; }/*White tea*/ +.bgcolor-8 { background: #3d4444; color: #fff; }/*Dark grey2*/ +.bgcolor-9 { background: #ef3f52; color: #fff;}/*pink2*/ +.bgcolor-10{ background: #64448f; color: #fff;}/*Violet*/ +.bgcolor-11{ background: #3755ad; color: #fff;}/*dark blue*/ +.bgcolor-12{ background: #3498DB; color: #fff;}/*light blue*/ +.bgcolor-20{ background: #494A5F;color: #D5D6E2;} +/* Header */ +.htmleaf-header{ + padding: 1em 190px 1em; + letter-spacing: -1px; + text-align: center; + background: #66677c; +} +.htmleaf-header h1 { + color: #D5D6E2; + font-weight: 600; + font-size: 2em; + line-height: 1; + margin-bottom: 0; +} +.htmleaf-header h1 span { + display: block; + font-size: 60%; + font-weight: 400; + padding: 0.8em 0 0.5em 0; + color: #c3c8cd; +} +/*nav*/ +.htmleaf-demo a{color: #fff;text-decoration: none;} +.htmleaf-demo{width: 100%;padding-bottom: 1.2em;} +.htmleaf-demo a{display: inline-block;margin: 0.5em;padding: 0.6em 1em;border: 3px solid #fff;font-weight: 700;} +.htmleaf-demo a:hover{opacity: 0.6;} +.htmleaf-demo a.current{background:#1d7db1;color: #fff; } +/* Top Navigation Style */ +.htmleaf-links { + position: relative; + display: inline-block; + white-space: nowrap; + font-size: 1.5em; + text-align: center; +} + +.htmleaf-links::after { + position: absolute; + top: 0; + left: 50%; + margin-left: -1px; + width: 2px; + height: 100%; + background: #dbdbdb; + content: ''; + -webkit-transform: rotate3d(0,0,1,22.5deg); + transform: rotate3d(0,0,1,22.5deg); +} + +.htmleaf-icon { + display: inline-block; + margin: 0.5em; + padding: 0em 0; + width: 1.5em; + text-decoration: none; +} + +.htmleaf-icon span { + display: none; +} + +.htmleaf-icon:before { + margin: 0 5px; + text-transform: none; + font-weight: normal; + font-style: normal; + font-variant: normal; + font-family: 'icomoon'; + line-height: 1; + speak: none; + -webkit-font-smoothing: antialiased; +} +/* footer */ +.htmleaf-footer{width: 100%;padding-top: 10px;} +.htmleaf-small{font-size: 0.8em;} +.center{text-align: center;} +/****/ +.related { + color: #fff; + background: #494A5F; + text-align: center; + font-size: 1.25em; + padding: 0.5em 0; + overflow: hidden; +} + +.related > a { + vertical-align: top; + width: calc(100% - 20px); + max-width: 340px; + display: inline-block; + text-align: center; + margin: 20px 10px; + padding: 25px; + font-family: "Microsoft YaHei","宋体","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif, FreeSans, Arimo; +} +.related a { + display: inline-block; + text-align: left; + margin: 20px auto; + padding: 10px 20px; + opacity: 0.8; + -webkit-transition: opacity 0.3s; + transition: opacity 0.3s; + -webkit-backface-visibility: hidden; +} + +.related a:hover, +.related a:active { + opacity: 1; +} + +.related a img { + max-width: 100%; + opacity: 0.8; + border-radius: 4px; +} +.related a:hover img, +.related a:active img { + opacity: 1; +} +.related h3{font-family: "Microsoft YaHei", sans-serif;font-size: 1.2em} +.related a h3 { + font-size: 0.85em; + font-weight: 300; + margin-top: 0.15em; + color: #fff; +} +/* icomoon */ +.icon-htmleaf-home-outline:before { + content: "\e5000"; +} + +.icon-htmleaf-arrow-forward-outline:before { + content: "\e5001"; +} + +@media screen and (max-width: 1024px) { + .htmleaf-header { + padding: 2em 10% 2em; + } + .htmleaf-header h1 { + font-size:1.4em; + } + .htmleaf-links{font-size: 1.4em} +} + +@media screen and (max-width: 960px) { + .htmleaf-header { + padding: 2em 10% 2em; + } + .htmleaf-header h1 { + font-size:1.2em; + } + .htmleaf-links{font-size: 1.2em} + .related h3{font-size: 1em;} + .related a h3 { + font-size: 0.8em; + } +} + +@media screen and (max-width: 766px) { + .htmleaf-header h1 { + font-size:1.3em; + } + .htmleaf-links{font-size: 1.3em} +} + +@media screen and (max-width: 640px) { + .htmleaf-header { + padding: 2em 10% 2em; + } + .htmleaf-header h1 { + font-size:1em; + } + .htmleaf-links{font-size: 1em} + .related h3{font-size: 0.8em;} + .related a h3 { + font-size: 0.6em; + } +} \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/index.css b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/index.css new file mode 100644 index 000000000..11a608498 --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/index.css @@ -0,0 +1,710 @@ +/* CSS Document */ +@charset "utf-8"; +.grid{ + width: 94%; + margin: 0 auto; +} +.header-main{ + width: 100%; + top: 0; + left: 0; + z-index: 10; +} +.header{ + /* background: #f9f7f6; */ + height: 44px; + /* border-bottom: 1px solid #E8E8E8; */ + width: 94%; + padding: 0 3%; + display: flex; + display: -webkit-flex; + display: -ms-flexbox; + flex-wrap: wrap; + align-items: center; + color: #383838; + /* position: fixed; + top: 0; + left: 0; + z-index: 10;*/ +} +.header .child.return{ + display: flex; + display: -webkit-flex; + display: -ms-flexbox; + justify-content: flex-start; + flex: 0; + -ms-flex: 0; + -webkit-flex: 0; + flex-grow: 0; + flex-shrink: 0; + flex-basis: 20%; +} +.header .child.return i{ + + width: 6px; + height: 10px; + background: url(../images/BACK.png) no-repeat; + background-size: cover; + +} +.header .child.date{ + display: flex; + display: -webkit-flex; + display: -ms-flexbox; + justify-content:center; + align-items: center; + flex: 0; + -ms-flex: 0; + -webkit-flex: 0; + flex-grow: 0; + flex-shrink: 0; + flex-basis: 60%; +} +.header .child.date i{ + display: inline-block; + width: 4px; + height: 2px; + background: url(../images/calendar_bottom.png) no-repeat; + background-size: cover; + margin-left: 5px; +} +.header .child.almanac{ + display: flex; + display: -webkit-flex; + display: -ms-flexbox; + justify-content: flex-end; + flex: 0; + -ms-flex: 0; + -webkit-flex: 0; + flex-grow: 0; + flex-shrink: 0; + flex-basis: 20%; + +} + +.share img{ + width: 15px; + height: 15px; + vertical-align: middle; +} + + +/*start day*/ +.content{ + +/* padding-top: 1.49rem; +*/} +.day{ + height: 68px; + /* background:#f9f7f6; */ + color: #333333; +} +.day .grid{ + width: 94%; + height: 100%; + padding: 0 3%; + display: flex; + display: -webkit-flex; + display: -ms-flexbox; + align-items: center; +} +.day-left { + display: flex; + display: -webkit-flex; + display: -ms-flexbox; + flex: 0; + flex-grow: 0; + flex-shrink: 0; + flex-basis: 56%; + -webkit-flex: 0; + -webkit-flex-grow: 0; + -webkit-flex-shrink: 0; + -webkit-flex-basis: 56%; +} +.day-right { + display: flex; + display: -webkit-flex; + display: -ms-flexbox; + flex: 0; + flex-grow: 0; + flex-shrink: 0; + flex-basis: 44%; + -webkit-flex: 0; + -webkit-flex-grow: 0; + -webkit-flex-shrink: 0; + -webkit-flex-basis: 44%; + align-items: center; + justify-content: flex-end; + -webkit-justify-content: flex-end; + -ms-justify-content: flex-end; +} +.day-left h1{ + +font-size: 55px; + +padding-right: 4px; + +color: #5EB263; +} +.day-left .top-contrl p{ + display: flex; + display: flex; + display: -webkit-flex; + align-items: center; + flex-wrap: wrap; + -webkit-align-items: center; + -webkit-flex-wrap: wrap; + margin-top: 5px; + margin-bottom: 5px; + color: #5EB263; +} +.top-contrl p span{ + width: 5px; + height: 4px; + background: url(../images/cotrl-bottom.png) no-repeat; + background-size: cover; + /* margin-left: .1rem;*/ + +} +.top-contrl i{ + font-size: 14px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + color: #5EB263; +} +.day-left p em{ + font-size: 12px; + color: #5EB263; +} +.day-left p i{ + margin-top: 1px; + display: block; + font-size: 14px; +} +/*.day-right{ + float: right; + height: 100%; +}*/ +.day-right .yun { + height: 100%; + margin-right: 20px; + display: flex; + display: -webkit-flex; + display: -ms-flexbox; + align-items: center; + -webkit-align-items: center; +} +.day-right .yun span{ + display: inline-block; + width: 35px; + height: 35px; + line-height: 30px; + text-align: center; + border: 2px solid #fff; + border-radius: 50%; + margin-left: 8px; + /*align-self:center;*/ +} +.note{ + width: 100%; + height: 68px; + border-bottom: 1px solid #ddd; + background: #fff; +} +.note .grid{ + padding: 12px 0; + display: flex; + display: -webkit-flex; + display: -ms-flexbox; + flex-wrap: wrap; + justify-content: space-between; +} +.note .grid .note-left{ + flex: 0; + flex-grow: 0; + flex-shrink: 0; + flex-basis: 75%; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.note .grid .note-right{ + display: flex; + display: -webkit-flex; + display: -ms-flexbox; + align-items: center; + flex: 0; + flex-grow: 0; + flex-shrink: 0; + flex-basis: 25%; + justify-content: flex-end; + color: #333; +} +.note .grid .note-right i{ + width: 4px; + height: 13px; + background: url(../images/calendar_arrow_right.png) no-repeat; + background-size: cover; + margin-left: 6px; + +} +.note .grid .note-left p{ + width: 100%; + font-size: 14px; + line-height: 1.6; + color: #333; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.note .grid .note-left p.yi i{ + color: #06b5f8; +} +.note .grid .note-left p.ji i{ + color: #ec5252; +} +.week ul{ + width: 98%; + padding: 0 4px; + margin: 0 auto; + display: flex; + display: -webkit-flex; + display: -ms-flexbox; + height: 24px; +} +.week ul li{ + display: flex; + display: -webkit-flex; + display: -ms-flexbox; + flex: auto; + -ms-flex: auto; + -webkit-flex: auto; + justify-content: center; + align-items: center; + font-size: 13px; +} +.tables{ + font-size: 14px; + color: #666; + font-family:"微软雅黑"; + display: flex; + display: -webkit-flex; + display: -ms-flexbox; +} +.tables tbody{ + width: 100%; +} +.tables tbody tr{ + width: 98%; + margin-left: 1%; + padding: 0 4px; + display: flex; + display: -webkit-flex; + display: -ms-flexbox; + flex-wrap: wrap; + -webkit-flex-wrap: wrap; +} +.tables tbody tr td{ + border: 2px solid #fff; + flex: 0; + flex-grow: 0; + flex-shrink: 0; + flex-basis: 14.2%; + justify-content: center; + padding: 2px 0; + position: relative; + line-height: 40px; +} +.tables tbody tr td.active i:after{ + content: ''; + position: absolute; + width: 7px; + height: 7px; + background: #ccc; + border-radius: 50%; + right: -3px; + top: 40%; + z-index: 20; +} +.tables tbody tr td.yellow i:after{ + background: #F3C84E; +} +.tables tbody tr td.green i:after{ + background:#8FC185 ; +} +.tables tbody tr td.blue i:after{ + background:#7A9AE2 ; +} +.tables .list i{ + display: flex; + display: -webkit-flex; + display: -ms-flexbox; + font-size: 16px; + justify-content: center; + color: #000; + width: 32px; + height: 32px; + border-radius: 50%; + position: relative; + line-height: 32px; + margin: 0 auto; +} +.tables .list em{ + display: flex; + display: -webkit-flex; + display: -ms-flexbox; + font-size: 12px; + justify-content: center; + +} +.swiper-slide table tr{ + text-align: center; + height: 48px; + margin-bottom: 5px; +} +tr .not_this{ + color: #ccc !important; +} +.today i{ + background: rgba(94, 178, 99, 0.6) ; + color: #fff!important; + border-radius: 50%; +} +.xuanzhong i{ + height: 50px; + background: #5EB263 !important; + border-radius: 50%; + color: #fff!important; +} +.xuanzhong font,.xuanzhong i{ + color: #fff!important; +} +tr td:first-child{color: #f00;} +tr td:last-child{color: #f00;} + +td{position: relative;} +td .fangjia{ + + display: block; + width: 7px; + height: 7px; + background: url(../images/calendar_img_relax.png) no-repeat; + background-size: contain; + position: absolute; + right: 0; + top: 0; + +} +td .shangban{ + display: block; + width: 7px; + height: 7px; + background: url(../images/calendar_img_work.png) no-repeat; + background-size: contain; + position: absolute; + right: 0; + top: 0; +} + +/*******弹窗******/ +.prorup{ + width: 100%; + height: 100%; + background: #000; + position: fixed; + top: 0; + left: 0; + z-index: 12; + opacity: 0.4; + display: none; +} +.layer{ + position: fixed; + width: 94%; + top: 63px; + left: 50%; + margin-left: -47%; + z-index: 14; + display: none; +} +.layer .san{ + width: 100%; + display: block; + height: 7px; +} +.layer .san i{ + display: inherit; + width: 0; + height: 0; + border-left: 3px solid transparent; + border-right: 3px solid transparent; + border-bottom: 4px solid #fff; + float: right; + margin-right: 30px; +} +.layer .jia{ + width: 100%; + background: #fff; + border-radius: 8px; +} +.jia ul{ + width: 100%; + display: flex; + display: -webkit-flex; + display: -ms-flexbox; + flex-wrap: wrap; +} +.jia ul li{ + height: 54px; + float: left; + text-align: center; + color: #333; + flex: 0; + flex-grow: 0; + flex-shrink: 0; + flex-basis: 49.8%; +} +.jia ul li:first-of-type{ + border: 0; +} +.jia ul li:nth-child(2n){ + border-bottom: 1px solid #eee; +} +.jia ul li:nth-child(2n+1){ + border-right: 1px solid #eee; + border-bottom: 1px solid #eee; +} + +.jia ul li span{ + display: block; + font-size: 14px; + margin-top: 8px; + +} +.jia ul li em{ + font-size: 12px; +} + +.jie{ + position: fixed; + width: 94%; + top: 63px; + left: 50%; + margin-left: -47%; + z-index: 14; + display: none; +} +.jie .san{ + width: 100%; + display: block; + height: 7px; + position: relative; +} +.jie .san i{ + display: inherit; + width: 0; + height: 0; + border-left: 3px solid transparent; + border-right: 3px solid transparent; + border-bottom: 4px solid #fff; + position: absolute; + right: 0; + top: 0; + margin-right: 5px; +} +.jie .solar{ + width: 100%; + background: #fff; + border-radius: 8px; +} +.jie .solar .solar-title{ + height: 25px; + text-align: center; + color: #ec5252; + line-height: 25px; +} +.solar ul{ + width: 100%; +} +.solar ul li{ + float: left; + width: 24.7%; + text-align: center; + line-height: 40px; + font-size: 14px; + color: #333; + border-top: 1px solid #eee; + border-right: 1px solid #eee; +} +.solar ul li:nth-child(4){ + border-right: 0; +} +.solar ul li:nth-child(8){ + border-right: 0; +} +.solar ul li:nth-child(12){ + border-right: 0; +} +.solar ul li:nth-child(16){ + border-right: 0; +} +.solar ul li:nth-child(20){ + border-right: 0; +} +.solar ul li:nth-child(24){ + border-right: 0; +} + +.dibu{ + height: 50px; + width: 100%; +} +.footer ul{ + width: 100%; + position: fixed; + bottom: 0; + left: 0; + z-index: 10; + display: flex; + display: -webkit-flex; + display: -ms-flexbox; + height: 49px; + border-top: 1px solid #e3e3e3; + background: #fff; +} +.footer ul li{ + display : flex; + display: -webkit-flex; + display: -ms-flexbox; + flex: auto; + -ms-flex: auto; + -webkit-flex: auto; + align-items: center; + position: relative; +} +.footer ul li a{ + width: 100%; + display : flex; + display: -webkit-flex; + display: -ms-flexbox; + flex-wrap: wrap; + justify-content: center; +} +.footer ul li:nth-child(1) a i{ + display: inline-block; + width: 11px; + height: 11px; + background:url(../images/btn_calendar_selected.png) no-repeat; + background-size: cover; +} +.footer ul li:nth-child(2) a i{ + display: inline-block; + width: 11px; + height: 11px; + background:url(../images/btn_huangli.png) no-repeat; + background-size: cover; +} + +.footer ul li a em{ + display : flex; + display: -webkit-flex; + display: -ms-flexbox; + width: 100%; + justify-content: center; + margin-top: 4px; +} +.footer ul li:nth-child(1) a{ + color: #ec5252; +} +.footer ul li:nth-child(1):before{ + content: " "; + position: absolute; + right: 0; + top: 15%; + height: 70%; + background: #e3e3e3; + width: 1px; + +} + +/*弹窗*/ +.tc{ + width: 100%; + height: 100%; + background: rgba(0,0,0,0.4); + position: fixed; + top: 0; + left: 0; + bottom: 0; + z-index: 12; + display: none; +} +.tc-innner{ + background: #fff; + width: 80%; + height: 305px; + position: fixed; + top: 50%; + margin-top: -153px; + left: 10%; + /* margin: 75px 0 0 -75px; */ + z-index: 14; + border-radius: 4px; + overflow: hidden; + display: none; +} + +.tc-innner h2{height: 50px;width: 100%; box-sizing: border-box;padding: 0 7px;font-size: 14px;color: #ec5252;line-height: 50px; font-weight: normal;} +.title-right{float: right;width: 55px;height: 24px;border: 1px #ec5252 solid;box-sizing: border-box; border-radius: 10px;margin-top: 6px;overflow: hidden;} +.title-right .zblck{width: 50%;height: 100%;color: #ec5252;font-size: 14px;line-height: 22px;text-align: center;float: left;} +.title-right .active{background: #ec5252;color: #fff;} +.current-time{text-align: center;height: 32px;line-height: 32px;font-size: 14px;color: #666;} +.swiper-box{height: 160px;margin: 0 7px;box-sizing: border-box; margin-top: 5px;position: relative;} +.swiper-box i{width: 100%;height: 1px;background: #e3e3e3;display: block;position: absolute;left: 0;} +.swiper-box .i1{top: 0;} +.swiper-box .i2{top: 53px;} +.swiper-box .i3{top: 100px;} + + +.swiper-box-li{width: 33%;float: left;text-align: center;overflow: hidden;} +.nbxs{height: 160px;} +.nbxs .swiper-slide{height: 53px;line-height: 53px;} +.nbxs .swiper-slide-active{color: #ec5252;} + +.tc-bot{height: 50px;border-top: 1px #e3e3e3 solid;position: relative;} +.tc-bot>div{float: left;width: 50%;line-height: 50px;font-size: 14px;text-align: center;} +.tc-bot-left{color: #999;} +.tc-bot-right{color: #ec5252;} +.tc-bot i{display: block;width: 1px;height: 20px;background: #e3e3e3;position: absolute;top: 14px;left: 50%;margin-left: 1px;} + + + + +/*loading*/ +.loading{width: 76px;height:115px;position:relative;top: 50%;left: 50%;background: rgba(0,0,0,0.8);border-radius: 6px; margin-left: -38px;z-index: 9999999999999999999999999999;} +.loading-bj{background: url(../images/loading.png);width: 18px;height: 18px;background-size: 18px;margin: 30px auto 0;animation:rotateIn 1s .2s linear infinite;-moz-animation:rotateIn 1s .2s linear infinite;-webkit-animation:rotateIn 1s .2s linear infinite;} +.loading p{color:#fff;font-size: 14px;text-align: center;margin-top: 10px;} + +@-webkit-keyframes rotateIn{ +0%{transform: rotate(0)} +100%{transform: rotate(360deg)} +} +@-moz-keyframes rotateIn{ +0%{transform: rotate(0)} +100%{transform: rotate(360deg)} +} + +.reduction-bj{background: url(../images/reduction.png);width: 18px;height: 18px;background-size: 18px;margin: 30px auto 0;} +.jg{background: url(../images/jg.png); background-size: 18px; } + + +.back2{background:url(../images/back.png) center no-repeat;background-size: 6px 10px;} +.week ul li a{ + color: #999; +} + +.tables .list.today i,.tables .list.today i font{ + color: #fff; +} + diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/normalize.css b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/normalize.css new file mode 100644 index 000000000..77feb205b --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/normalize.css @@ -0,0 +1 @@ +article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}body{margin:0;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;margin:0.67em 0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:bold;}dfn{font-style:italic;}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em;}pre{white-space:pre-wrap;}q{quotes:"\201C" "\201D" "\2018" "\2019";}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}figure{margin:0;}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em;}legend{border:0;padding:0;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,select{text-transform:none;}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default;}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;} \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/style.css b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/style.css new file mode 100644 index 000000000..ec4a6410c --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/style.css @@ -0,0 +1,326 @@ +*[class*="fontawesome-"]:before { + font-family: 'FontAwesome', sans-serif; +} + +/*body { + background: #f9f9f9; + color: #0e171c; + font: 300 100%/1.5em 'Lato', sans-serif; + margin: 0; +}*/ + +a { + text-decoration: none; +} + +h2 { + font-size:18px; + line-height: 20px; + text-align:left + margin: 4px 0; +} + +h3 { + font-size: 24px; + line-height: 24px; + margin: 5px 0; +} +.titles{ font-size:18px; + line-height: 20px; + text-align:left; + color:#2ca1f2; + padding-left:15px; + margin: 4px 0;} + +table { + border-spacing: 0; + width: 100%; +} + +.calendar-container { + width: 100%; + margin:40px auto 0 auto; +} + +.calendar { + text-align: center; +} + +.calendar header { + position: relative; +} + +.calendar h2 { + text-transform: uppercase; +} + +.calendar thead { + font-weight: 600; + text-transform: uppercase; +} + +.calendar tbody { + color: #7c8a95; +} + +.calendar tbody td:hover { + border: 2px solid #c0392b; +} + +.calendar tbody td.active { + border: 1px solid #e02626; +} + +.calendar td { + border: 2px solid transparent; +/* border-radius: 50%; +*/ display: inline-block; + height: 50px; + line-height: 40px; + text-align: center; + width: 12%; +} + +.current-day { + background: #e02626; + color: #f9f9f9; +} + +.event { + cursor: pointer; + position: relative; +} + +.event:after { + background: #e02626; + border-radius: 50%; + bottom: 5px; + display: block; + content: ''; + height: 8px; + left: 50%; + margin: -4px 0 0 -4px; + position: absolute; + width: 6px; + height:6px; +} + +.event.current-day:after { + background: #f9f9f9; +} + +.btn-prev, +.btn-next { + border: 2px solid #cbd1d2; + border-radius: 50%; + color: #cbd1d2; + height: 32px; + font-size: 22px; + line-height: 28px; + margin: -16px; + position: absolute; + top: 50%; + width: 32px; +} + +.btn-prev:hover, +.btn-next:hover { + background: #cbd1d2; + color: #f9f9f9; +} + +.btn-prev { + left: 30px; +} + +.btn-next { + right: 35px; +} + +.list { + margin-top: 20px; +} + +.close { + color: #A4AAAB; + margin-top: -15px; + margin-right: 10px; + float: right; +} + +.day-event { + background-color: #F2F2F2 ; + width: 100%; + padding-top: 20px; + padding-bottom: 0px; + margin-bottom: 50px; + display:none; + +} + +.day-event p{ + font-family:"微软雅黑"; + font-size:13px; + text-align:left; + padding-left: 20px; + padding-right: 20px; + padding-bottom: 20px; +} + +.day-event span{ + font-size: 12px; +} + +.day-event button { + position: relative; + vertical-align: top; + width: 100%; + height: 50px; + padding: 0; + font-size: 18px; + color: white; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); + background: #c0392b; + border: 0; + border-bottom: 2px solid #b53224; + cursor: pointer; + -webkit-box-shadow: inset 0 -2px #b53224; + box-shadow: inset 0 -2px #b53224; +} + +.check-btn { + width: 100%; +} +input[type=checkbox] {display:none;} + +span { + background-color:#373740; + -webkit-border-radius:4px; + -moz-border-radius:4px; + border-radius:4px; + font-weight:700; + color:#FFF; + font-size:.85em; + letter-spacing:2px; + text-decoration:none; + font-family:'PT Sans', sans-serif; + text-align:center; + width:100%; + height:50px; + line-height:50px; + cursor:pointer; + display:block; + margin: 0 auto; + -webkit-transition:background-color 150ms ease-in; + -moz-transition:background-color 150ms ease-in; + -ms-transition:background-color 150ms ease-in; + -o-transition:background-color 150ms ease-in; + transition:background-color 150ms ease-in; +} + +span:hover { + background-color:#c0392b; +} + +input[type=checkbox]:checked + span { + background-color:#9C2E23; + text-decoration:none; + -webkit-border-radius:4px; + -moz-border-radius:4px; + border-radius:4px; + background:#9C2E23 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAaCAYAAACgoey0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAX9JREFUeNpi+P//PwMNsS4QbwBiLnQ5WlqqAsRP/0PARiBmoYfFkkB8+z8qWALEjLS0mB+IL/3HDibSymJQXB7/jx/UgNSCvU4lwAbEG4DYkwi1WUxUspQZiOcRaSkIWOAKMk0Sg3jaf+IBOIVjMyQWiH8DsR+RljaTYOkBWJ5GNwRk2R+ooh9A7ETA0jwSLL0ATfEYqRpkyVc0xR+A2AyHpdFA/I9IS0F5WhRbAWIEtQQbeAXE6lhC5jeRlj4GYgVsRaYK1HBCmmWgmuyxhAwu8BpaXjNgs/gYkYbcAGIXPCGDDkCOM8eVPkCEFhE+JhX8BGJnfAkTxgC57BOVLAXlihBC2RA9Vf+k0FJQKk8nJv+jCwQi5WNyQAWxpR02wRQS8icy6CKlmMUlUUGipfOQK3lKLAbhdhIKfWZS6258kiAfzCZg6V4gZiOn0UBIAcgn63BYehK50Ke2xQxQH+3FUoqJUtJMIlYhLxAfxVJu09xiWENuMxCrUaNhCBBgAOAVfjALa5TLAAAAAElFTkSuQmCC) no-repeat 7% center; + background-size:15px 13px; +} + +input[type=checkbox]:checked:hover + span { + background-color:#9C2E23; + color:rgba(255,255,255,0.5); + text-decoration:none; + -webkit-border-radius:4px; + -moz-border-radius:4px; + border-radius:4px; + background:#9C2E23 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAS5JREFUeNq8110OgjAMAGBGvIY3VESjt9jPg95PT+LccBIZ7dYOWJPGB+g+Ymg3hLW2QeLkcu/y2pSFdvl0eQevehjI3uXbfkMh96TShFq/xhG6J4faAtxEtSBOQTm4QWpnOBWl4CZT69fuYpiCpnBDrB1xLhrjgoFO8F1oGcFslUv4bV32zFoxmOHJta0XMn65dC0UaiddA8UGiN4axeC1cUkdmWviEls/NwL1FqjPNtNvoimPdC3yRCUTiTXbt0R/oSnw2iiK10BBvBY6w2uiE3xJr8oFtcrvxy/fVcyeVdGx98yotcOxN/znHeMUIhdMOG8c4reagssF43VEoT5O4ZJwvNUUFJtcEE5BMXyGpnanf5yDxjiI+hSJj7YunEBvhbuTCh9tD+jiR4ABAJ0SrJgNr1UAAAAAAElFTkSuQmCC) no-repeat 7% center; + background-size:15px 15px; +} + +.print-btn { + padding: 1px 14px 5px 14px; +} + +/* Smartphones (portrait and landscape) ----------- */ +@media only screen +and (min-device-width : 320px) +and (max-device-width : 480px) { +/* STYLES GO HERE */ +} + +/* Smartphones (landscape) ----------- */ +@media only screen +and (min-width : 321px) { +/* STYLES GO HERE */ +} + +/* Smartphones (portrait) ----------- */ +@media only screen +and (max-width : 320px) { +/* STYLES GO HERE */ +} + +/* iPads (portrait and landscape) ----------- */ +@media only screen +and (min-device-width : 768px) +and (max-device-width : 1024px) { +/* STYLES GO HERE */ +} + +/* iPads (landscape) ----------- */ +@media only screen +and (min-device-width : 768px) +and (max-device-width : 1024px) +and (orientation : landscape) { +/* STYLES GO HERE */ +} + +/* iPads (portrait) ----------- */ +@media only screen +and (min-device-width : 768px) +and (max-device-width : 1024px) +and (orientation : portrait) { +/* STYLES GO HERE */ +} + +/* Desktops and laptops ----------- */ +@media only screen +and (min-width : 1224px) { +/* STYLES GO HERE */ +} + +/* Large screens ----------- */ +@media only screen +and (min-width : 1824px) { +/* STYLES GO HERE */ +} + +/* iPhone 5 (portrait & landscape)----------- */ +@media only screen +and (min-device-width : 320px) +and (max-device-width : 568px) { +/* STYLES GO HERE */ +} + +/* iPhone 5 (landscape)----------- */ +@media only screen +and (min-device-width : 320px) +and (max-device-width : 568px) +and (orientation : landscape) { +/* STYLES GO HERE */ +} + +/* iPhone 5 (portrait)----------- */ +@media only screen +and (min-device-width : 320px) +and (max-device-width : 568px) +and (orientation : portrait) { +/* STYLES GO HERE */ +} \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/swiper-3.3.1.min.css b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/swiper-3.3.1.min.css new file mode 100644 index 000000000..db279f4ac --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/css/swiper-3.3.1.min.css @@ -0,0 +1,15 @@ +/** + * Swiper 3.3.1 + * Most modern mobile touch slider and framework with hardware accelerated transitions + * + * http://www.idangero.us/swiper/ + * + * Copyright 2016, Vladimir Kharlampidi + * The iDangero.us + * http://www.idangero.us/ + * + * Licensed under MIT + * + * Released on: February 7, 2016 + */ +.swiper-container{margin:0 auto;position:relative;overflow:hidden;z-index:1}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-transition-property:-webkit-transform;-moz-transition-property:-moz-transform;-o-transition-property:-o-transform;-ms-transition-property:-ms-transform;transition-property:transform;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-o-transform:translate(0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.swiper-container-multirow>.swiper-wrapper{-webkit-box-lines:multiple;-moz-box-lines:multiple;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;-moz-transition-timing-function:ease-out;-ms-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-slide{-webkit-flex-shrink:0;-ms-flex:0 0 auto;flex-shrink:0;width:100%;height:100%;position:relative}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-webkit-box-align:start;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-transition-property:-webkit-transform,height;-moz-transition-property:-moz-transform;-o-transition-property:-o-transform;-ms-transition-property:-ms-transform;transition-property:transform,height}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-wp8-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-wp8-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;-moz-background-size:27px 44px;-webkit-background-size:27px 44px;background-size:27px 44px;background-position:center;background-repeat:no-repeat}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");left:10px;right:auto}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");right:10px;left:auto}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:.3s;-moz-transition:.3s;-o-transition:.3s;transition:.3s;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-white .swiper-pagination-bullet{background:#fff}.swiper-pagination-bullet-active{opacity:1;background:#007aff}.swiper-pagination-white .swiper-pagination-bullet-active{background:#fff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;-webkit-transform:translate3d(0,-50%,0);-moz-transform:translate3d(0,-50%,0);-o-transform:translate(0,-50%);-ms-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:5px 0;display:block}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 5px}.swiper-pagination-progress{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progress .swiper-pagination-progressbar{background:#007aff;position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;-moz-transform-origin:left top;-ms-transform-origin:left top;-o-transform-origin:left top;transform-origin:left top}.swiper-container-rtl .swiper-pagination-progress .swiper-pagination-progressbar{-webkit-transform-origin:right top;-moz-transform-origin:right top;-ms-transform-origin:right top;-o-transform-origin:right top;transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progress{width:100%;height:4px;left:0;top:0}.swiper-container-vertical>.swiper-pagination-progress{width:4px;height:100%;left:0;top:0}.swiper-pagination-progress.swiper-pagination-white{background:rgba(255,255,255,.5)}.swiper-pagination-progress.swiper-pagination-white .swiper-pagination-progressbar{background:#fff}.swiper-pagination-progress.swiper-pagination-black .swiper-pagination-progressbar{background:#000}.swiper-container-3d{-webkit-perspective:1200px;-moz-perspective:1200px;-o-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(right,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-moz-linear-gradient(right,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(right,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-moz-linear-gradient(left,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(left,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-moz-linear-gradient(bottom,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(bottom,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(top,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-moz-linear-gradient(top,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(top,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-coverflow .swiper-wrapper,.swiper-container-flip .swiper-wrapper{-ms-perspective:1200px}.swiper-container-cube,.swiper-container-flip{overflow:visible}.swiper-container-cube .swiper-slide,.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-cube .swiper-slide .swiper-slide,.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active,.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top,.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-slide{visibility:hidden;-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(50px);filter:blur(50px);z-index:0}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;-moz-transition-timing-function:ease-out;-ms-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;-moz-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;-moz-transform-origin:50%;transform-origin:50%;-webkit-animation:swiper-preloader-spin 1s steps(12,end) infinite;-moz-animation:swiper-preloader-spin 1s steps(12,end) infinite;animation:swiper-preloader-spin 1s steps(12,end) infinite}.swiper-lazy-preloader:after{display:block;content:"";width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-position:50%;-webkit-background-size:100%;background-size:100%;background-repeat:no-repeat}.swiper-lazy-preloader-white:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}@-webkit-keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg)}}@keyframes swiper-preloader-spin{100%{transform:rotate(360deg)}} \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/survey.css b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/survey.css index 65d6ae98e..f843be868 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/survey.css +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/css/survey.css @@ -3,18 +3,25 @@ margin: 0; box-sizing: border-box; } -html,body{ + +html, +body { height: 100%; } -.surveyCon{ + +.surveyCon { display: flex; flex-direction: column; justify-content: center; } -.title_search,.menu,.split{ + +.title_search, +.menu, +.split { flex-grow: 0; flex-shrink: 0; } + .menuTab { width: 100%; padding-left: 25px; @@ -51,9 +58,11 @@ html,body{ .surveyT img { width: 100%; } + .surveyT1 img { width: 70%; } + .surveyLine { line-height: 0; text-align: center; @@ -109,7 +118,7 @@ html,body{ margin: auto; } -.year { +.yearx { position: relative; z-index: 3; width: 60px; @@ -123,7 +132,7 @@ html,body{ color: #fff; } -.year:after { +.yearx:after { position: absolute; left: -6px; top: -6px; @@ -133,34 +142,40 @@ html,body{ border: 1px solid #0064D6; border-radius: 50%; } -.month{ + +.monthx { position: relative; z-index: 3; margin-top: 20px; } -.monthTxt{ + +.monthTxt { color: #5E5E5E; font-size: 13px; line-height: 24px; margin-top: 8px; } -.monthTime{ + +.monthTime { font-size: 15px; line-height: 26px; color: #0064D6; font-weight: bold; } -.month.right{ + +.monthx.right { padding-left: 54%; } -.month.left{ + +.monthx.left { padding-right: 54%; } -.month.left > .monthTime{ + +.monthx.left>.monthTime { text-align: right; } -.line{ +.line { width: 10px; height: 10px; position: absolute; @@ -168,10 +183,11 @@ html,body{ right: 0; top: 8px; border-radius: 50%; - border:1px solid #0064D6; + border: 1px solid #0064D6; margin: auto; } -.line:before{ + +.line:before { content: ''; width: 6px; height: 6px; @@ -184,6 +200,7 @@ html,body{ border-radius: 50%; background-color: #0064D6; } + .monthText { color: #5E5E5E; font-size: 13px; @@ -192,5 +209,66 @@ html,body{ text-indent: 27px; } +.day-left p em { + color: #0064D6; +} +.tables tbody tr td.green i:after { + background: #0064D6; +} + +.day-left h1 { + color: #0064D6; +} + +.xuanzhong i { + background: #0064D6 !important; +} +.today i { + background: rgba(0, 100, 214, 0.6); +} + +.courseBox { + border-radius: 4px; + padding: 10px 15px; + margin: 10px 0; + background-color: #fff; + /* -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .1); + box-shadow: 0 0 5px rgba(0, 0, 0, .1); */ + background: #f7f7f7; +} + +.title { + position: relative; + padding-right: 70px; + font-size: 16px; + line-height: 24px; +} + +.title a { + position: absolute; + right: 0; + top: 0; + background-color: #5EB263; + font-size: 12px; + color: #fff; + line-height: 24px; + padding: 0 5px; + border-radius: 3px; +} + +.courseTxt { + display: flex !important; + justify-content: space-between; + margin: 10px 0; + font-size: 14px; +} + +.courseCon { + font-size: 14px; + line-height: 24px; +} +.course-card{ + display: none; +} \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/js/calendar.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/js/calendar.js new file mode 100644 index 000000000..3af9b8415 --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/js/calendar.js @@ -0,0 +1,802 @@ +//全局的年月日,适用于任何时候获取今天的年月日。(很重要) +var sev_m, sev_y, sev_d, active = 3; +// mySwiper.destroy(deleteInstance, cleanupStyles) +var mySwiper = null; + +var yl = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; +var swiperHtml = $('#swiperBox').html(); +//判断农历 +var LunarDate = { + madd: new Array(0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334), + HsString: '甲乙丙丁戊己庚辛壬癸', + EbString: '子丑寅卯辰巳午未申酉戌亥', + NumString: "一二三四五六七八九十", + MonString: "正二三四五六七八九十冬腊", + CalendarData: new Array(0xA4B, 0x5164B, 0x6A5, 0x6D4, 0x415B5, 0x2B6, 0x957, 0x2092F, 0x497, 0x60C96, 0xD4A, + 0xEA5, 0x50DA9, 0x5AD, 0x2B6, 0x3126E, 0x92E, 0x7192D, 0xC95, 0xD4A, 0x61B4A, 0xB55, 0x56A, 0x4155B, + 0x25D, 0x92D, 0x2192B, 0xA95, 0x71695, 0x6CA, 0xB55, 0x50AB5, 0x4DA, 0xA5B, 0x30A57, 0x52B, 0x8152A, + 0xE95, 0x6AA, 0x615AA, 0xAB5, 0x4B6, 0x414AE, 0xA57, 0x526, 0x31D26, 0xD95, 0x70B55, 0x56A, 0x96D, + 0x5095D, 0x4AD, 0xA4D, 0x41A4D, 0xD25, 0x81AA5, 0xB54, 0xB6A, 0x612DA, 0x95B, 0x49B, 0x41497, 0xA4B, + 0xA164B, 0x6A5, 0x6D4, 0x615B4, 0xAB6, 0x957, 0x5092F, 0x497, 0x64B, 0x30D4A, 0xEA5, 0x80D65, 0x5AC, + 0xAB6, 0x5126D, 0x92E, 0xC96, 0x41A95, 0xD4A, 0xDA5, 0x20B55, 0x56A, 0x7155B, 0x25D, 0x92D, 0x5192B, + 0xA95, 0xB4A, 0x416AA, 0xAD5, 0x90AB5, 0x4BA, 0xA5B, 0x60A57, 0x52B, 0xA93, 0x40E95), + Year: null, + Month: null, + Day: null, + TheDate: null, + GetBit: function (m, n) { + return (m >> n) & 1; + }, + e2c: function () { + this.TheDate = (arguments.length != 3) ? new Date() : new Date(arguments[0], arguments[1], arguments[ + 2]); + var total, m, n, k; + var isEnd = false; + var tmp = this.TheDate.getFullYear(); + total = (tmp - 1921) * 365 + Math.floor((tmp - 1921) / 4) + this.madd[this.TheDate.getMonth()] + this + .TheDate.getDate() - 38; + if (this.TheDate.getYear() % 4 == 0 && this.TheDate.getMonth() > 1) { + total++; + } + for (m = 0; ; m++) { + k = (this.CalendarData[m] < 0xfff) ? 11 : 12; + for (n = k; n >= 0; n--) { + if (total <= 29 + this.GetBit(this.CalendarData[m], n)) { + isEnd = true; + break; + } + total = total - 29 - this.GetBit(this.CalendarData[m], n); + } + if (isEnd) + break; + } + this.Year = 1921 + m; + this.Month = k - n + 1; + this.Day = total; + if (k == 12) { + if (this.Month == Math.floor(this.CalendarData[m] / 0x10000) + 1) { + this.Month = 1 - this.Month; + } + if (this.Month > Math.floor(this.CalendarData[m] / 0x10000) + 1) { + this.Month--; + } + } + }, + GetcDateString: function (tip) { + if (tip == 1) { + var ts = (this.Day < 11) ? "初" : ((this.Day < 20) ? "十" : ((this.Day < 30) ? "廿" : "三十")); + if (this.Day % 10 != 0 || this.Day == 10) { + ts += this.NumString.charAt((this.Day - 1) % 10); + } + return ts; + } + var tmp = ""; + if (this.Month < 1) { + tmp += this.MonString.charAt(-this.Month - 1); + } else { + tmp += this.MonString.charAt(this.Month - 1); + } + tmp += "月"; + tmp += (this.Day < 11) ? "初" : ((this.Day < 20) ? "十" : ((this.Day < 30) ? "廿" : "三十")); + if (this.Day % 10 != 0 || this.Day == 10) { + tmp += this.NumString.charAt((this.Day - 1) % 10); + } + + return tmp; + }, + GetLunarDay: function (solarYear, solarMonth, solarDay) { + if (solarYear < 1921 || solarYear > 2020) { + return ""; + } else { + solarMonth = (parseInt(solarMonth) > 0) ? (solarMonth - 1) : 11; + this.e2c(solarYear, solarMonth, solarDay); + return this.GetcDateString(0); + } + }, + GetLunarDayDetail: function (solarYear, solarMonth, solarDay) { + if (solarYear < 1921 || solarYear > 2020) { + return ""; + } else { + solarMonth = (parseInt(solarMonth) > 0) ? (solarMonth - 1) : 11; + this.e2c(solarYear, solarMonth, solarDay); + return this.GetcDateString(1); + } + } +}; + +$(function () { + + $(".prorup").on("click", function () { + $(".prorup").hide(); + $(".jie").hide(); + $(".layer").hide(); + }); + + $(".jqclass").click(function () { + var riziss = $(this).attr('data'); + var srt = riziss.split("-"); + $(".prorup").hide(); + $(".layer").hide(); + jump(srt[0], srt[1], srt[2]); + $(".jie").hide(); + }); + +}); + +function jump(yyyy, mm, dd) { + sev_y = parseInt(yyyy); + sev_m = parseInt(mm); + sev_d = parseInt(dd); + + active = 3; + var globledate = new Date(yyyy, parseInt(mm) - 1, parseInt(dd)); + //var nowweak = globledate.getDay(); + var y = globledate.getFullYear(); + var m = globledate.getMonth() + 1; + var d = globledate.getDate(); + //console.log("globledate:",y,m,d); + + var sev_m_tmp = m; + var sev_y_tmp = y; + var sev_d_tmp = d; + var nowweak = new Date(y, m - 1, 1).getDay(); + if (nowweak == 7) nowweak = 0; + get_first(nowweak, y, m, d, "d3"); + + m = m + 1; + if (m > 12) { + m = 1; + y += 1; + } + nowweak = new Date(y, m - 1, 1).getDay(); + get_first(nowweak, y, m, 0, "d4"); + + m = sev_m - 1; + if (m < 1) { + m = 12; + y = sev_y - 1; + } + nowweak = new Date(y, m - 1, 1).getDay(); + get_first(nowweak, y, m, 0, "d2"); + + $("#ymym").html(sev_y + "年" + sev_m + "月"); + $(".covers").hide(); + mySwiper.slideTo(2, 500, false); + click_sev(); + +} + +function click_sev() { + $("#d3").find("td").each(function () { + if ($(this).attr("data_y") == sev_y && $(this).attr("data_m") == sev_m && $(this).attr("data_d") == + sev_d) { + $(this).click(); + } + }); +} + +function get_first(a, b, c, d, e) { + var str = ''; + if ((c - 2) < 0) { + var ldays = 31; + var lm = 12; + var lb = b - 1; + } else { + var ldays = yl[c - 2]; + var lm = c - 1; + var lb = b; + } + + if (c == 12) { + var xdays = 31; + var xm = 1; + var xb = b + 1; + } else { + var xdays = yl[c]; + var xm = c + 1; + var xb = b; + } + + if (ldays == 28) { + if ((lb % 4 == 0 && lb % 100 != 0) || (lb % 100 == 0 && lb % 400 == 0)) { + ldays = 29; + } + } + + if (xdays == 28) { + if ((xb % 4 == 0 && xb % 100 != 0) || (xb % 100 == 0 && xb % 400 == 0)) { + xdays = 29; + } + } + var dd; + if (yl[c - 1] == 28) { + if ((b % 4 == 0 && b % 100 != 0) || (b % 100 == 0 && b % 400 == 0)) { + dd = 29; + } else { + dd = 28; + } + } else { + dd = yl[c - 1]; + } + + var num = 1; + + for (var i = a; i > 0; i--) { + console.log("123333") + var bday = ldays - i + 1; + var ly = LunarDate.GetLunarDayDetail(lb, lm, bday); + + //修改 + var jqs = getjqs(lb, lm, bday); + console.log(jqs) + var ss = ''; + if (jqs) { + //ly加状态 + if (jqs.state == 1) { + ss = 'active yellow'; + } else if (jqs.state == 2) { + ss = 'active green'; + } else if (jqs.state == 3) { + ss = 'active blue'; + } + + numI = '' + numI; + } + var jd = ""; + var hb = lb + "-" + lm + "-" + bday; + str += ' ' + bday + '' + jd + ''; + // str += ' ' + jd + ''; + if (num % 7 == 0) { + str += ''; + } + num++; + } + // 动态写入日期 + for (var i = 1; i <= dd; i++) { + console.log("123333") + var bday = ldays - i + 1; + var ly = LunarDate.GetLunarDayDetail(b, c, i); + var numI = i + var jqs = getjqs(b, c, i); + //console.log(jqs) + //修改 + var ss = ''; + if (jqs) { + //ly加状态 + if (jqs.state == 1) { + // console.log(b, c, i) + ss = 'active yellow'; + } else if (jqs.state == 2) { + ss = 'active green'; + } else if (jqs.state == 3) { + ss = 'active blue'; + } + + numI = '' + numI; + } + var jd = ""; + var hb = b + "-" + c + "-" + i; + if (new Date().getDate() == i && b == new Date().getFullYear() && c == (new Date().getMonth() + 1)) { + str += ' ' + numI + '' + jd + ''; + // console.log(numI) + } else { + str += ' ' + + numI + '' + jd + ''; + //console.log(jd) + } + + if (num % 7 == 0) { + str += ''; + } + num++; + } + + //插入季节 + var last = 42 - a - dd; + if (last <= 6) { + + for (var i = 1; i <= last; i++) { + var ly = LunarDate.GetLunarDayDetail(xb, xm, i); + var jd = ""; + var hb = xb + "-" + xm + "-" + i; + str += ' ' + i + '' + jd + ''; + if (num % 7 == 0) { + str += ''; + } + num++; + } + } + if (str.substring(str.length - 4, str.length) == "") { + str = str.substring(0, str.length - 4); + } + // console.log(document.getElementById(e)) + document.getElementById(e).innerHTML = str; + + bind_click(e); +} + +function bind_click(a) { + // console.log(a) + $("#" + a).find("td").unbind("click"); + $("#" + a).find("td").each(function () { + if ($(this).hasClass('not_this')) { + $(this).click(function () { + jump($(this).attr('data_y'), $(this).attr('data_m'), $(this).attr('data_d')); + }); + } else { + $(this).click(function () { + set_top($(this)); + }); + } + }); +} + +function set_top(a) { + if (!a) { + var weeks = ['星期一', '星期二', '星期三', '星期四', '星期五', '星期六', '星期日']; + var data = new Date(); + var weekk = weeks[data.getDay() - 1]; + var yue = LunarDate.GetLunarDay(data.getFullYear(), data.getMonth() + 1, data.getDate()); + var shu = data.getDate(); + document.getElementById("top_shu").innerHTML = shu; + sev_d = parseInt(shu); + document.getElementById("top_week").innerHTML = weekk; + document.getElementById("top_yue").innerHTML = yue; + } else { + var weeks = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六']; + var y = a.attr("data_y"); + var m = parseInt(a.attr("data_m")) - 1; + if (m < 0) m = 11; + var d = parseInt(a.attr("data_d")); + var weekk = weeks[new Date(y, m, d).getDay()]; + var ms = parseInt(a.attr("data_m")); + var yue = LunarDate.GetLunarDay(y, ms, d); + document.getElementById("top_shu").innerHTML = d; + sev_d = parseInt(d); + document.getElementById("top_week").innerHTML = weekk; + document.getElementById("top_yue").innerHTML = yue; + $(".xuanzhong").removeClass('xuanzhong'); + a.addClass("xuanzhong"); + } + // console.log(d,weekk,yue) +} + +$('.date').on('click', function () { + + $('.tc').show(); + $('.tc-innner').show(); + + tc(); + +}); + +var e = 1; + +function tc() { + var b, c, d; + var myDate = new Date(); + + if (e == 0) { + b = myDate.getFullYear() - 2000; + c = myDate.getMonth(); + d = myDate.getDate() - 1; + + } else { + b = sev_y - 2000; + c = sev_m - 1; + d = sev_d - 1; + + + } + e = 1; + var mySwiper = new Swiper('.swiper-container2', { + direction: 'vertical', + initialSlide: b, + slidesPerView: 'auto', + roundLengths: true, + centeredSlides: true, + + watchSlidesProgress: true, + watchSlidesVisibility: true, + + freeMode: true, + freeModeMomentumRatio: 1, + freeModeSticky: true, + onTouchMove: function (swiper) { + var b1 = $('.year').children('.swiper-slide-active').html(); + $('.i-year').html(b1); + }, + onSlideChangeEnd: function (swiper) { + var b1 = $('.year').children('.swiper-slide-active').html(); + $('.i-year').html(b1); + }, + + + }); + var mySwiper = new Swiper('.swiper-container3', { + direction: 'vertical', + initialSlide: c, + slidesPerView: 'auto', + roundLengths: true, + centeredSlides: true, + + watchSlidesProgress: true, + watchSlidesVisibility: true, + + freeMode: true, + freeModeMomentumRatio: 1, + freeModeSticky: true, + onTouchMove: function (swiper) { + var b1 = $('.month').children('.swiper-slide-active').html(); + $('.i-month').html(b1); + }, + onSlideChangeEnd: function (swiper) { + var b1 = $('.month').children('.swiper-slide-active').html(); + $('.i-month').html(b1); + }, + + + }); + var mySwiper = new Swiper('.swiper-container4', { + direction: 'vertical', + initialSlide: d, + slidesPerView: 'auto', + roundLengths: true, + centeredSlides: true, + + watchSlidesProgress: true, + watchSlidesVisibility: true, + + freeMode: true, + freeModeMomentumRatio: 1, + freeModeSticky: true, + onTouchMove: function (swiper) { + var b1 = $('.date').children('.swiper-slide-active').html(); + $('.i-date').html(b1); + }, + onSlideChangeEnd: function (swiper) { + var b1 = $('.date').children('.swiper-slide-active').html(); + $('.i-date').html(b1); + }, + + }); +}; + +$('.tc-bot-left').click(function () { + e = 0; + tc(); +}); +$('.tc-bot-right').click(function () { + $('.tc').hide(); + $('.tc-innner').hide(); + var yyyy = parseInt($('.year').children('.swiper-slide-active').html()); + var mm = parseInt($('.month').children('.swiper-slide-active').html()); + var dd = parseInt($('.date').children('.swiper-slide-active').html()); + if (mm != sev_m || yyyy != sev_y || dd != sev_d) { + jump(yyyy, mm, dd); + + }; + + + +}); +$(".tc").on("click", function () { + $(".tc-innner").hide(); + $(this).hide(); +}); +//判断时间 +function getjqs(yyyy, mm, dd) { + var solarTerms = ""; + console.log("111222"); + $.each(dataK, function (i, n) { + if (yyyy == n.y && mm == n.m && dd == n.d) { + solarTerms = n; + } + }) + return solarTerms; +} +//日历初始化 +function calenderInit(LunarDate) { + if (mySwiper) { + mySwiper.destroy(); + $('#swiperBox').html(swiperHtml) + } + mySwiper = new Swiper('.swiper-container', { + initialSlide: 1, + loop: true, + speed: 400, + followFinger: false, + prevButton: '.js_prev', + nextButton: '.js_next', + onSlideChangeStart: function (swiper) { + //swiper.params.allowSwipeToPrev = false; + swiper.lockSwipes(); + + }, + + onSlideChangeEnd: function (swiper) { + var nows = $(".swiper-slide-active").find("table").attr("id"); + // console.log(active,nows); + + if (nows == 'now2') + return; + nows = parseInt(nows.substr(1, 1)); + + if (nows == active) + return; + if (active == 4 && nows == 5) { + var fors = 1; + + sev_m++; + if (sev_m > 12) { + sev_m = 1; + sev_y++; + } + var nowweak = new Date(sev_y, sev_m - 1, 1).getDay(); + get_first(nowweak, sev_y, sev_m, 0, "d2"); + + var lastm = sev_m - 1; + var lasty = sev_y; + if (lastm < 1) { + lastm = 12; + lasty--; + } + + var nm = sev_m + 1; + var ny = sev_y; + if (nm > 12) { + nm = 1; + ny++; + } + var nowweak = new Date(ny, nm - 1, 1).getDay(); + var lastweek = new Date(lasty, lastm - 1, 1).getDay(); + get_first(lastweek, lasty, lastm, 0, "d" + fors); + get_first(nowweak, ny, nm, 0, "d3"); + $("#ymym").html(sev_y + "年" + sev_m + "月"); + active = 5; + } else if (active == 2 && nows == 1) { + var fors = 5; + + var nextweak = new Date(sev_y, sev_m - 1, 1).getDay(); + get_first(nextweak, sev_y, sev_m, 0, "d" + fors); + sev_m--; + if (sev_m < 1) { + sev_m = 12; + sev_y--; + } + var nowweak = new Date(sev_y, sev_m - 1, 1).getDay(); + get_first(nowweak, sev_y, sev_m, 0, "d4"); + + var nm = sev_m - 1; + var ny = sev_y; + if (nm < 1) { + nm = 12; + ny--; + } + var nowweak = new Date(ny, nm - 1, 1).getDay(); + //get_first(nowweak, ny, nm, 0, "d4"); + get_first(nowweak, ny, nm, 0, "d3"); + $("#ymym").html(sev_y + "年" + sev_m + "月"); + active = 1; + } else if (active == 5 && nows == 3) { + var fors = 4; + + var lastm = sev_m; + var lasty = sev_y; + + sev_m++; + if (sev_m > 12) { + sev_m = 1; + sev_y++; + } + + var nm = sev_m + 1; + var ny = sev_y; + if (nm > 12) { + nm = 1; + ny++; + } + var nowweak = new Date(ny, nm - 1, 1).getDay(); + get_first(nowweak, ny, nm, 0, "d" + fors); + var nowweak = new Date(lasty, lastm - 1, 1).getDay(); + get_first(nowweak, lasty, lastm, 0, "d2"); + $("#ymym").html(sev_y + "年" + sev_m + "月"); + active = 3; + } else if (active == 1 && nows == 3) { + var fors = 2; + + var lastm = sev_m; + var lasty = sev_y; + + sev_m--; + if (sev_m < 1) { + sev_m = 12; + sev_y--; + } + + var nm = sev_m - 1; + var ny = sev_y; + if (nm < 1) { + nm = 12; + ny--; + } + var nowweak = new Date(ny, nm - 1, 1).getDay(); + get_first(nowweak, ny, nm, 0, "d" + fors); + var nowweak = new Date(lasty, lastm - 1, 1).getDay(); + get_first(nowweak, lasty, lastm, 0, "d4"); + $("#ymym").html(sev_y + "年" + sev_m + "月"); + active = 3; + } else if (active == 1 && nows == 5) { + var fors = 3; + + var lastm = sev_m; + var lasty = sev_y; + + sev_m++; + if (sev_m > 12) { + sev_m = 1; + sev_y++; + } + + var nm = sev_m + 1; + var ny = sev_y; + if (nm > 12) { + nm = 1; + ny++; + } + var nowweak = new Date(ny, nm - 1, 1).getDay(); + get_first(nowweak, ny, nm, 0, "d" + fors); + $("#ymym").html(sev_y + "年" + sev_m + "月"); + active = 5; + } else if (active == 5 && nows == 1) { + var fors = 3; + + + sev_m--; + if (sev_m < 1) { + sev_m = 12; + sev_y--; + } + var lastm = sev_m; + var lasty = sev_y; + + var nm = sev_m - 1; + var ny = sev_y; + if (nm < 1) { + nm = 12; + ny--; + } + var nowweak = new Date(ny, nm - 1, 1).getDay(); + var lastweak = new Date(lasty, sev_m - 1, 1).getDay(); + get_first(nowweak, ny, nm, 0, "d" + fors); + console.log(lasty, lastm) + get_first(lastweak, lasty, sev_m, 0, "d4"); + $("#ymym").html(sev_y + "年" + sev_m + "月"); + active = 1; + } else if (active > nows) { + var fors = nows - 1; + if (fors < 1) + fors = 5; + + sev_m--; + if (sev_m < 1) { + sev_m = 12; + sev_y--; + } + + var nm = sev_m - 1; + var ny = sev_y; + if (nm < 1) { + nm = 12; + ny--; + } + var nowweak = new Date(ny, nm - 1, 1).getDay(); + get_first(nowweak, ny, nm, 0, "d" + fors); + $("#ymym").html(sev_y + "年" + sev_m + "月"); + active = nows; + } else if (active < nows) { + var fors = nows + 1; + if (fors > 5) + fors = 1; + + sev_m++; + if (sev_m > 12) { + sev_m = 1; + sev_y++; + } + + var nm = sev_m + 1; + var ny = sev_y; + if (nm > 12) { + nm = 1; + ny++; + } + var nowweak = new Date(ny, nm - 1, 1).getDay(); + get_first(nowweak, ny, nm, 0, "d" + fors); + $("#ymym").html(sev_y + "年" + sev_m + "月"); + active = nows; + } + var trLength = $("#d" + nows).find("tr").length; + if (trLength == 6) { + $(".swiper-container").css("paddingBottom", ".45rem"); + } else { + $(".swiper-container").css("paddingBottom", ""); + + } + swiper.unlockSwipes(); + } + + }) + $("#now3").attr("id", "d1"); + $("#now1").attr("id", "d2"); + $("#now2").attr("id", "d3"); + $("#now3").attr("id", "d4"); + $("#now1").attr("id", "d5"); + var globledate = new Date(); + var y = globledate.getFullYear(); + var m = globledate.getMonth() + 1; + var d = globledate.getDate(); + sev_m = m; + sev_y = y; + sev_d = d; + var nowweak = new Date(y, m - 1, 1).getDay(); + if (nowweak == 7) nowweak = 0; + get_first(nowweak, y, m, d, "d3"); + set_top(0); + + m = m + 1; + if (m > 12) { + m = 1; + y += 1; + } + nowweak = new Date(y, m - 1, 1).getDay(); + get_first(nowweak, y, m, 0, "d4"); + + m = sev_m - 1; + if (m < 1) { + m = 12; + y = sev_y - 1; + } + nowweak = new Date(y, m - 1, 1).getDay(); + get_first(nowweak, y, m, 0, "d2"); + + $("#ymym").html(sev_y + "年" + sev_m + "月"); + + $(".js_jin").click(function () { + active = 3; + var globledate = new Date(); + var y = globledate.getFullYear(); + var m = globledate.getMonth() + 1; + var d = globledate.getDate(); + sev_m = m; + sev_y = y; + sev_d = d; + var nowweak = new Date(y, m - 1, 1).getDay(); + if (nowweak == 7) nowweak = 0; + get_first(nowweak, y, m, d, "d3"); + set_top(0); + + m = m + 1; + if (m > 12) { + m = 1; + y += 1; + } + nowweak = new Date(y, m - 1, 1).getDay(); + get_first(nowweak, y, m, 0, "d4"); + + m = sev_m - 1; + if (m < 1) { + m = 12; + y = sev_y - 1; + } + nowweak = new Date(y, m - 1, 1).getDay(); + get_first(nowweak, y, m, 0, "d2"); + + $("#ymym").html(sev_y + "年" + sev_m + "月"); + mySwiper.slideTo(2, 500, false); + }); + mySwiper.unlockSwipes(); +} \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/js/jquery-2.1.4.min.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/js/jquery-2.1.4.min.js new file mode 100644 index 000000000..49990d6e1 --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/js/jquery-2.1.4.min.js @@ -0,0 +1,4 @@ +/*! jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(n.isPlainObject(d)||(e=n.isArray(d)))?(e?(e=!1,f=c&&n.isArray(c)?c:[]):f=c&&n.isPlainObject(c)?c:{},g[b]=n.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){return!n.isArray(a)&&a-parseFloat(a)+1>=0},isPlainObject:function(a){return"object"!==n.type(a)||a.nodeType||n.isWindow(a)?!1:a.constructor&&!j.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use strict")?(b=l.createElement("script"),b.text=a,l.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:g.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(c=a[b],b=a,a=c),n.isFunction(a)?(e=d.call(arguments,2),f=function(){return a.apply(b||this,e.concat(d.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,f):void 0},now:Date.now,support:k}),n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function s(a){var b="length"in a&&a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N=M.replace("w","w#"),O="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+L+"*\\]",P=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",Q=new RegExp(L+"+","g"),R=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),S=new RegExp("^"+L+"*,"+L+"*"),T=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),U=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),V=new RegExp(P),W=new RegExp("^"+N+"$"),X={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,aa=/[+~]/,ba=/'|\\/g,ca=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),da=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ea=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(fa){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],k=b.nodeType,"string"!=typeof a||!a||1!==k&&9!==k&&11!==k)return d;if(!e&&p){if(11!==k&&(f=_.exec(a)))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return H.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName)return H.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=1!==k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(ba,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+ra(o[l]);w=aa.test(a)&&pa(b.parentNode)||b,x=o.join(",")}if(x)try{return H.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function pa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=g.documentElement,e=g.defaultView,e&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",ea,!1):e.attachEvent&&e.attachEvent("onunload",ea)),p=!f(g),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(g.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(g.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!g.getElementsByName||!g.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(g.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){var b=g.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",P)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===g||a.ownerDocument===v&&t(v,a)?-1:b===g||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,h=[a],i=[b];if(!e||!f)return a===g?-1:b===g?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?la(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},g):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ca,da),a[3]=(a[3]||a[4]||a[5]||"").replace(ca,da),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ca,da).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(Q," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(ca,da),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return W.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(ca,da).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:oa(function(){return[0]}),last:oa(function(a,b){return[b-1]}),eq:oa(function(a,b,c){return[0>c?c+b:c]}),even:oa(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:oa(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:oa(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:oa(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function sa(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function ta(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ua(a,b,c){for(var d=0,e=b.length;e>d;d++)ga(a,b[d],c);return c}function va(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function wa(a,b,c,d,e,f){return d&&!d[u]&&(d=wa(d)),e&&!e[u]&&(e=wa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ua(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:va(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=va(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=va(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function xa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=sa(function(a){return a===b},h,!0),l=sa(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[sa(ta(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return wa(i>1&&ta(m),i>1&&ra(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&xa(a.slice(i,e)),f>e&&xa(a=a.slice(e)),f>e&&ra(a))}m.push(c)}return ta(m)}function ya(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=F.call(i));s=va(s)}H.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&ga.uniqueSort(i)}return k&&(w=v,j=t),r};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=xa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,ya(e,d)),f.selector=a}return f},i=ga.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ca,da),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ca,da),aa.test(j[0].type)&&pa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&ra(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,aa.test(a)&&pa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ja(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=n.expr.match.needsContext,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(w.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return g.call(b,a)>=0!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return d=this.pushStack(c>1?n.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,a||[],!0))},is:function(a){return!!x(this,"string"==typeof a&&u.test(a)?n(a):a||[],!1).length}});var y,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=n.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:l,!0)),v.test(c[1])&&n.isPlainObject(b))for(c in b)n.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}return d=l.getElementById(c[2]),d&&d.parentNode&&(this.length=1,this[0]=d),this.context=l,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof y.ready?y.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};A.prototype=n.fn,y=n(l);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(n.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=u.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?"string"==typeof a?g.call(n(a),this[0]):g.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){while((a=a[b])&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return n.dir(a,"parentNode")},parentsUntil:function(a,b,c){return n.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return n.dir(a,"nextSibling")},prevAll:function(a){return n.dir(a,"previousSibling")},nextUntil:function(a,b,c){return n.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return n.dir(a,"previousSibling",c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return a.contentDocument||n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(C[a]||n.unique(e),B.test(a)&&e.reverse()),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return n.each(a.match(E)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):n.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(b=a.memory&&l,c=!0,g=e||0,e=0,f=h.length,d=!0;h&&f>g;g++)if(h[g].apply(l[0],l[1])===!1&&a.stopOnFalse){b=!1;break}d=!1,h&&(i?i.length&&j(i.shift()):b?h=[]:k.disable())},k={add:function(){if(h){var c=h.length;!function g(b){n.each(b,function(b,c){var d=n.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&g(c)})}(arguments),d?f=h.length:b&&(e=c,j(b))}return this},remove:function(){return h&&n.each(arguments,function(a,b){var c;while((c=n.inArray(b,h,c))>-1)h.splice(c,1),d&&(f>=c&&f--,g>=c&&g--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],f=0,this},disable:function(){return h=i=b=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,b||k.disable(),this},locked:function(){return!i},fireWith:function(a,b){return!h||c&&!i||(b=b||[],b=[a,b.slice?b.slice():b],d?i.push(b):j(b)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!c}};return k},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&n.isFunction(a.promise)?e:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(H.resolveWith(l,[n]),n.fn.triggerHandler&&(n(l).triggerHandler("ready"),n(l).off("ready"))))}});function I(){l.removeEventListener("DOMContentLoaded",I,!1),a.removeEventListener("load",I,!1),n.ready()}n.ready.promise=function(b){return H||(H=n.Deferred(),"complete"===l.readyState?setTimeout(n.ready):(l.addEventListener("DOMContentLoaded",I,!1),a.addEventListener("load",I,!1))),H.promise(b)},n.ready.promise();var J=n.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)n.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f};n.acceptData=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function K(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=n.expando+K.uid++}K.uid=1,K.accepts=n.acceptData,K.prototype={key:function(a){if(!K.accepts(a))return 0;var b={},c=a[this.expando];if(!c){c=K.uid++;try{b[this.expando]={value:c},Object.defineProperties(a,b)}catch(d){b[this.expando]=c,n.extend(a,b)}}return this.cache[c]||(this.cache[c]={}),c},set:function(a,b,c){var d,e=this.key(a),f=this.cache[e];if("string"==typeof b)f[b]=c;else if(n.isEmptyObject(f))n.extend(this.cache[e],b);else for(d in b)f[d]=b[d];return f},get:function(a,b){var c=this.cache[this.key(a)];return void 0===b?c:c[b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d,e,f=this.key(a),g=this.cache[f];if(void 0===b)this.cache[f]={};else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e=n.camelCase(b),b in g?d=[b,e]:(d=e,d=d in g?[d]:d.match(E)||[])),c=d.length;while(c--)delete g[d[c]]}},hasData:function(a){return!n.isEmptyObject(this.cache[a[this.expando]]||{})},discard:function(a){a[this.expando]&&delete this.cache[a[this.expando]]}};var L=new K,M=new K,N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(O,"-$1").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}M.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return M.hasData(a)||L.hasData(a)},data:function(a,b,c){ +return M.access(a,b,c)},removeData:function(a,b){M.remove(a,b)},_data:function(a,b,c){return L.access(a,b,c)},_removeData:function(a,b){L.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=M.get(f),1===f.nodeType&&!L.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));L.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){M.set(this,a)}):J(this,function(b){var c,d=n.camelCase(a);if(f&&void 0===b){if(c=M.get(f,a),void 0!==c)return c;if(c=M.get(f,d),void 0!==c)return c;if(c=P(f,d,void 0),void 0!==c)return c}else this.each(function(){var c=M.get(this,d);M.set(this,d,b),-1!==a.indexOf("-")&&void 0!==c&&M.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){M.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=L.get(a,b),c&&(!d||n.isArray(c)?d=L.access(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return L.get(a,c)||L.access(a,c,{empty:n.Callbacks("once memory").add(function(){L.remove(a,[b+"queue",c])})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthx",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var U="undefined";k.focusinBubbles="onfocusin"in a;var V=/^key/,W=/^(?:mouse|pointer|contextmenu)|click/,X=/^(?:focusinfocus|focusoutblur)$/,Y=/^([^.]*)(?:\.(.+)|)$/;function Z(){return!0}function $(){return!1}function _(){try{return l.activeElement}catch(a){}}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return typeof n!==U&&n.event.triggered!==b.type?n.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(E)||[""],j=b.length;while(j--)h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.special[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(o,g,!1)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.global[o]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.hasData(a)&&L.get(a);if(r&&(i=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&(delete r.handle,L.remove(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,m,o,p=[d||l],q=j.call(b,"type")?b.type:b,r=j.call(b,"namespace")?b.namespace.split("."):[];if(g=h=d=d||l,3!==d.nodeType&&8!==d.nodeType&&!X.test(q+n.event.triggered)&&(q.indexOf(".")>=0&&(r=q.split("."),q=r.shift(),r.sort()),k=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=r.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:n.makeArray(c,[b]),o=n.event.special[q]||{},e||!o.trigger||o.trigger.apply(d,c)!==!1)){if(!e&&!o.noBubble&&!n.isWindow(d)){for(i=o.delegateType||q,X.test(i+q)||(g=g.parentNode);g;g=g.parentNode)p.push(g),h=g;h===(d.ownerDocument||l)&&p.push(h.defaultView||h.parentWindow||a)}f=0;while((g=p[f++])&&!b.isPropagationStopped())b.type=f>1?i:o.bindType||q,m=(L.get(g,"events")||{})[b.type]&&L.get(g,"handle"),m&&m.apply(g,c),m=k&&g[k],m&&m.apply&&n.acceptData(g)&&(b.result=m.apply(g,c),b.result===!1&&b.preventDefault());return b.type=q,e||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!==!1||!n.acceptData(d)||k&&n.isFunction(d[q])&&!n.isWindow(d)&&(h=d[k],h&&(d[k]=null),n.event.triggered=q,d[q](),n.event.triggered=void 0,h&&(d[k]=h)),b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(L.get(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(g.namespace))&&(a.handleObj=g,a.data=g.data,e=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(a.result=e)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!==this;i=i.parentNode||this)if(i.disabled!==!0||"click"!==a.type){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>=0:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h]*)\/>/gi,ba=/<([\w:]+)/,ca=/<|&#?\w+;/,da=/<(?:script|style|link)/i,ea=/checked\s*(?:[^=]|=\s*.checked.)/i,fa=/^$|\/(?:java|ecma)script/i,ga=/^true\/(.*)/,ha=/^\s*\s*$/g,ia={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};ia.optgroup=ia.option,ia.tbody=ia.tfoot=ia.colgroup=ia.caption=ia.thead,ia.th=ia.td;function ja(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function ka(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function la(a){var b=ga.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function ma(a,b){for(var c=0,d=a.length;d>c;c++)L.set(a[c],"globalEval",!b||L.get(b[c],"globalEval"))}function na(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(L.hasData(a)&&(f=L.access(a),g=L.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,e,j[e][c])}M.hasData(a)&&(h=M.access(a),i=n.extend({},h),M.set(b,i))}}function oa(a,b){var c=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function pa(a,b){var c=b.nodeName.toLowerCase();"input"===c&&T.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}n.extend({clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,a);if(!(k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=oa(h),f=oa(a),d=0,e=f.length;e>d;d++)pa(f[d],g[d]);if(b)if(c)for(f=f||oa(a),g=g||oa(h),d=0,e=f.length;e>d;d++)na(f[d],g[d]);else na(a,h);return g=oa(h,"script"),g.length>0&&ma(g,!i&&oa(a,"script")),h},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k=b.createDocumentFragment(),l=[],m=0,o=a.length;o>m;m++)if(e=a[m],e||0===e)if("object"===n.type(e))n.merge(l,e.nodeType?[e]:e);else if(ca.test(e)){f=f||k.appendChild(b.createElement("div")),g=(ba.exec(e)||["",""])[1].toLowerCase(),h=ia[g]||ia._default,f.innerHTML=h[1]+e.replace(aa,"<$1>")+h[2],j=h[0];while(j--)f=f.lastChild;n.merge(l,f.childNodes),f=k.firstChild,f.textContent=""}else l.push(b.createTextNode(e));k.textContent="",m=0;while(e=l[m++])if((!d||-1===n.inArray(e,d))&&(i=n.contains(e.ownerDocument,e),f=oa(k.appendChild(e),"script"),i&&ma(f),c)){j=0;while(e=f[j++])fa.test(e.type||"")&&c.push(e)}return k},cleanData:function(a){for(var b,c,d,e,f=n.event.special,g=0;void 0!==(c=a[g]);g++){if(n.acceptData(c)&&(e=c[L.expando],e&&(b=L.cache[e]))){if(b.events)for(d in b.events)f[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);L.cache[e]&&delete L.cache[e]}delete M.cache[c[M.expando]]}}}),n.fn.extend({text:function(a){return J(this,function(a){return void 0===a?n.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=a)})},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=ja(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=ja(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?n.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||n.cleanData(oa(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&ma(oa(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(oa(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return J(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!da.test(a)&&!ia[(ba.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(aa,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(oa(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,n.cleanData(oa(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,m=this,o=l-1,p=a[0],q=n.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&ea.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(c=n.buildFragment(a,this[0].ownerDocument,!1,this),d=c.firstChild,1===c.childNodes.length&&(c=d),d)){for(f=n.map(oa(c,"script"),ka),g=f.length;l>j;j++)h=c,j!==o&&(h=n.clone(h,!0,!0),g&&n.merge(f,oa(h,"script"))),b.call(this[j],h,j);if(g)for(i=f[f.length-1].ownerDocument,n.map(f,la),j=0;g>j;j++)h=f[j],fa.test(h.type||"")&&!L.access(h,"globalEval")&&n.contains(i,h)&&(h.src?n._evalUrl&&n._evalUrl(h.src):n.globalEval(h.textContent.replace(ha,"")))}return this}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=[],e=n(a),g=e.length-1,h=0;g>=h;h++)c=h===g?this:this.clone(!0),n(e[h])[b](c),f.apply(d,c.get());return this.pushStack(d)}});var qa,ra={};function sa(b,c){var d,e=n(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:n.css(e[0],"display");return e.detach(),f}function ta(a){var b=l,c=ra[a];return c||(c=sa(a,b),"none"!==c&&c||(qa=(qa||n("