diff --git a/gxlbytj/css/style.css b/gxlbytj/css/style.css index 266cb2d..640286c 100644 --- a/gxlbytj/css/style.css +++ b/gxlbytj/css/style.css @@ -4,6 +4,73 @@ body{ background-repeat: no-repeat; background-size: 100% 100%; } +.model { + width: 100%; + height: 100%; + position: fixed; + display: flex; + justify-content: center; + align-items: center; + background: rgba(0, 0, 0, .3); + top: 0; + left: 0; + z-index: 999; +} +.modelFixed { + padding: 20px 40px; + width: 28rem; + height: 22rem; + border-radius:10px; + overflow: auto; + background: #ffffff; + box-shadow: 3px 2px 5px #7777; +} +.title{ + color:#3D8AF9; + height:3rem; + line-height:5rem; + font-size:2rem; + text-align:center; +} +.input-box{ + width: 65%; + height: 2.7rem; + border: 1px solid #ccc; + border-radius: 2rem; + padding-left: 3rem; + font-size: 1.2rem; + /*margin: 2vh 0;*/ +} +.input-box::placeholder{ + color: #ccc; +} +.input-box:focus{ + outline: none; +} + +.btn{ + background-image: linear-gradient(to right, #3194EF , #205AE0); + color: #fff; + width: calc(65% + 3rem); + height: 2.8rem; + border: 1px solid #ccc; + border-radius: 2rem; + font-size: 1.3rem; + margin-top: 3rem; + line-height: 2.8rem; + cursor: pointer; +} +.loginout{ + position: absolute; + right: 0; + top: 0; + font-size: 1rem; + /*color: #3499FB;*/ + color: #fff; + cursor: pointer; +} + + h3 { margin-bottom: 20px; } @@ -11,7 +78,7 @@ h3 { display: block; position: absolute; height: 50px; - z-index: 29999999; + z-index: 2; top:50px; left:50px; } @@ -181,88 +248,111 @@ div.wall > div > a{ } #specialty{ padding: 15px; - background-color: #f5f5f5; + /*background-color: #f5f5f5;*/ } -#specialty h2 { - font-size: 20px; - margin-bottom: 20px 0; - display: block; - clear: both; - height: 40px; - width: 100%; -} -#specialty h2 > i { +#specialty h3{ display: block; - width:26px; - float:left; - background-color: #1859ff; - padding: 5px 10px; -} -#specialty h2 > i > img{ - display: block; - width: 100%; -} -#specialty h2 > span.department-name{ - min-height: 26px; - color: #ffffff; - float:left; - background-color: #117afb; - padding: 5px 50px 5px 30px; + font-size: 1.17em; + font-weight: bold; } -#specialty h2 > span.triangle { + +#specialty h5{ display: block; - float: left; - width: 0; - height: 0; - border-top: 37px solid #117afb; - border-right: 50px solid transparent; - margin-left: -1px; -} -#specialty div.card{ - background: #ffffff; - /*border-radius: 10px;*/ - padding: 15px;; - margin: 10px 0; -} -#specialty div.card h3{ - color:#666666; - display: block; - /* background-image: url(../img/college.svg); */ + font-size: 0.83em; font-weight: bold; - background-repeat: no-repeat; - background-position: center left; - background-size: 20px; - padding:5px 5px 5px 5px; -} -#specialty div.card ul{ - clear: both; - display: inline-block; - width: 100%; - font-size: 14px; } -#specialty div.card ul > li > span{ - display: block; - padding:10px 10px 10px 30px; - background-image: url(../img/specialty.svg); - background-repeat: no-repeat; - background-size: 14px; - background-position: 5px 14px; +#specialty .c-flex { + display: flex; + flex-wrap: wrap; + justify-content: space-evenly; + align-content: space-evenly; } -#specialty div.card table.layui-table{ - display:block; - margin:5px +#specialty .c-ellipsis { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } -.specialty-info{ - clear: both; - margin-bottom: 20px; -} -.specialty-info .card ul > li{ - width:25%; - float:left; - min-height: 40px; -} +/*#specialty h2 {*/ + /*font-size: 20px;*/ + /*margin-bottom: 20px 0;*/ + /*display: block; */ + /*clear: both; */ + /*height: 40px; */ + /*width: 100%;*/ +/*}*/ +/*#specialty h2 > i {*/ + /*display: block;*/ + /*width:26px; */ + /*float:left; */ + /*background-color: #1859ff;*/ + /*padding: 5px 10px;*/ +/*}*/ +/*#specialty h2 > i > img{*/ + /*display: block;*/ + /*width: 100%;*/ +/*}*/ +/*#specialty h2 > span.department-name{*/ + /*min-height: 26px;*/ + /*color: #ffffff;*/ + /*float:left;*/ + /*background-color: #117afb; */ + /*padding: 5px 50px 5px 30px;*/ +/*}*/ +/*#specialty h2 > span.triangle {*/ + /*display: block;*/ + /*float: left;*/ + /*width: 0;*/ + /*height: 0;*/ + /*border-top: 37px solid #117afb;*/ + /*border-right: 50px solid transparent;*/ + /*margin-left: -1px;*/ +/*}*/ +/*#specialty div.card{*/ + /*background: #ffffff;*/ + /*!*border-radius: 10px;*!*/ + /*padding: 15px;;*/ + /*margin: 10px 0;*/ +/*}*/ +/*#specialty div.card h3{*/ + /*color:#666666;*/ + /*display: block; */ + /*!* background-image: url(../img/college.svg); *!*/ + /*font-weight: bold;*/ + /*background-repeat: no-repeat; */ + /*background-position: center left; */ + /*background-size: 20px;*/ + /*padding:5px 5px 5px 5px;*/ +/*}*/ +/*#specialty div.card ul{*/ + /*clear: both; */ + /*display: inline-block; */ + /*width: 100%;*/ + /*font-size: 14px;*/ +/*}*/ +/*#specialty div.card ul > li > span{*/ + /*display: block; */ + /*padding:10px 10px 10px 30px; */ + /*background-image: url(../img/specialty.svg); */ + /*background-repeat: no-repeat;*/ + /*background-size: 14px;*/ + /*background-position: 5px 14px;*/ +/*}*/ +/*#specialty div.card table.layui-table{*/ + /*display:block; */ + /*margin:5px*/ +/*}*/ + +/*.specialty-info{*/ + /*clear: both;*/ + /*margin-bottom: 20px;*/ +/*}*/ +/*.specialty-info .card ul > li{*/ + /*width:25%;*/ + /*float:left;*/ + /*min-height: 40px;*/ +/*}*/ #summary{ display: inline-block; padding:15px; @@ -307,11 +397,12 @@ div.wall > div > a{ #summary .tags span{ display: block; float:left; - color: #666666; - background-color: #f5f5f5; + /*color: #666666;*/ + /*background-color: #f5f5f5;*/ + background-color: #fff; border-radius: 5px; line-height: 16px; - padding:11px 15px; + padding:9px 15px; margin: 5px; font-size: 16px; height: 14px; @@ -404,9 +495,10 @@ span.none{ color: #ffffff; font-size: 16px; padding: 10px; + background: rgba(0,0,0,.55) } .autocomplete-suggestion.selected { - background: rgba(0,0,0,.65) + background: rgba(0,0,0,.75); } #keyword{ background: none; diff --git a/gxlbytj/img/attention.png b/gxlbytj/img/attention.png new file mode 100644 index 0000000..44f643b Binary files /dev/null and b/gxlbytj/img/attention.png differ diff --git a/gxlbytj/img/closeModal.png b/gxlbytj/img/closeModal.png new file mode 100644 index 0000000..c256e9d Binary files /dev/null and b/gxlbytj/img/closeModal.png differ diff --git a/gxlbytj/img/down.png b/gxlbytj/img/down.png new file mode 100644 index 0000000..bf71739 Binary files /dev/null and b/gxlbytj/img/down.png differ diff --git a/gxlbytj/img/hat.png b/gxlbytj/img/hat.png new file mode 100644 index 0000000..bb1b85a Binary files /dev/null and b/gxlbytj/img/hat.png differ diff --git a/gxlbytj/img/label.png b/gxlbytj/img/label.png new file mode 100644 index 0000000..7b69319 Binary files /dev/null and b/gxlbytj/img/label.png differ diff --git a/gxlbytj/img/local.png b/gxlbytj/img/local.png new file mode 100644 index 0000000..2b94703 Binary files /dev/null and b/gxlbytj/img/local.png differ diff --git a/gxlbytj/img/lock.png b/gxlbytj/img/lock.png new file mode 100644 index 0000000..811eaa7 Binary files /dev/null and b/gxlbytj/img/lock.png differ diff --git a/gxlbytj/img/phone.png b/gxlbytj/img/phone.png new file mode 100644 index 0000000..ed5251d Binary files /dev/null and b/gxlbytj/img/phone.png differ diff --git a/gxlbytj/img/time.png b/gxlbytj/img/time.png new file mode 100644 index 0000000..7d63a1e Binary files /dev/null and b/gxlbytj/img/time.png differ diff --git a/gxlbytj/img/tx.png b/gxlbytj/img/tx.png new file mode 100644 index 0000000..31d452a Binary files /dev/null and b/gxlbytj/img/tx.png differ diff --git a/gxlbytj/img/up.png b/gxlbytj/img/up.png new file mode 100644 index 0000000..d8d041e Binary files /dev/null and b/gxlbytj/img/up.png differ diff --git a/gxlbytj/img/user.png b/gxlbytj/img/user.png new file mode 100644 index 0000000..0d4d9ba Binary files /dev/null and b/gxlbytj/img/user.png differ diff --git a/gxlbytj/index.html b/gxlbytj/index.html index f776952..c1c8962 100644 --- a/gxlbytj/index.html +++ b/gxlbytj/index.html @@ -1,861 +1,1287 @@  - - 高校信息综合查询 Ver 1.0.210926 - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - + + }) + }); + \ No newline at end of file diff --git a/gxlbytj/lib/cookie/jquery.cookie.js b/gxlbytj/lib/cookie/jquery.cookie.js new file mode 100644 index 0000000..9271900 --- /dev/null +++ b/gxlbytj/lib/cookie/jquery.cookie.js @@ -0,0 +1,117 @@ +/*! + * jQuery Cookie Plugin v1.4.0 + * https://github.com/carhartl/jquery-cookie + * + * Copyright 2013 Klaus Hartl + * Released under the MIT license + */ +(function (factory) { + if (typeof define === 'function' && define.amd) { + // AMD. Register as anonymous module. + define(['jquery'], factory); + } else { + // Browser globals. + factory(jQuery); + } +}(function ($) { + + var pluses = /\+/g; + + function encode(s) { + return config.raw ? s : encodeURIComponent(s); + } + + function decode(s) { + return config.raw ? s : decodeURIComponent(s); + } + + function stringifyCookieValue(value) { + return encode(config.json ? JSON.stringify(value) : String(value)); + } + + function parseCookieValue(s) { + if (s.indexOf('"') === 0) { + // This is a quoted cookie as according to RFC2068, unescape... + s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\'); + } + + try { + // Replace server-side written pluses with spaces. + // If we can't decode the cookie, ignore it, it's unusable. + s = decodeURIComponent(s.replace(pluses, ' ')); + } catch(e) { + return; + } + + try { + // If we can't parse the cookie, ignore it, it's unusable. + return config.json ? JSON.parse(s) : s; + } catch(e) {} + } + + function read(s, converter) { + var value = config.raw ? s : parseCookieValue(s); + return $.isFunction(converter) ? converter(value) : value; + } + + var config = $.cookie = function (key, value, options) { + + // Write + if (value !== undefined && !$.isFunction(value)) { + options = $.extend({}, config.defaults, options); + + if (typeof options.expires === 'number') { + var days = options.expires, t = options.expires = new Date(); + t.setDate(t.getDate() + days); + } + + return (document.cookie = [ + encode(key), '=', stringifyCookieValue(value), + options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE + options.path ? '; path=' + options.path : '', + options.domain ? '; domain=' + options.domain : '', + options.secure ? '; secure' : '' + ].join('')); + } + + // Read + + var result = key ? undefined : {}; + + // To prevent the for loop in the first place assign an empty array + // in case there are no cookies at all. Also prevents odd result when + // calling $.cookie(). + var cookies = document.cookie ? document.cookie.split('; ') : []; + + for (var i = 0, l = cookies.length; i < l; i++) { + var parts = cookies[i].split('='); + var name = decode(parts.shift()); + var cookie = parts.join('='); + + if (key && key === name) { + // If second argument (value) is a function it's a converter... + result = read(cookie, value); + break; + } + + // Prevent storing a cookie that we couldn't decode. + if (!key && (cookie = read(cookie)) !== undefined) { + result[name] = cookie; + } + } + + return result; + }; + + config.defaults = {}; + + $.removeCookie = function (key, options) { + if ($.cookie(key) !== undefined) { + // Must not alter options, thus extending a fresh object... + $.cookie(key, '', $.extend({}, options, { expires: -1 })); + return true; + } + return false; + }; + +})); diff --git a/gxlbytj/lib/jquery-auto-complete/jquery.auto-complete.js b/gxlbytj/lib/jquery-auto-complete/jquery.auto-complete.js index 330e04a..5efaeba 100644 --- a/gxlbytj/lib/jquery-auto-complete/jquery.auto-complete.js +++ b/gxlbytj/lib/jquery-auto-complete/jquery.auto-complete.js @@ -157,7 +157,7 @@ $.fn.autoComplete.defaults = { source: 0, minChars: 3, - delay: 150, + delay: 50, cache: 1, menuClass: '', renderItem: function (item, search){ diff --git a/gxlbytj/newIndex.html b/gxlbytj/newIndex.html new file mode 100644 index 0000000..96a8242 --- /dev/null +++ b/gxlbytj/newIndex.html @@ -0,0 +1,1467 @@ + + + + + 高校信息综合查询 Ver 1.0.210926 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file