first commit

dev
ihzero 2025-03-10 17:32:54 +08:00
commit f9b39bde5f
11 changed files with 1579 additions and 0 deletions

BIN
static/resources/.DS_Store vendored 100644

Binary file not shown.

View File

@ -0,0 +1,4 @@
$(function () {
});

View File

@ -0,0 +1,181 @@
@charset 'utf-8';
*{
box-sizing: border-box;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
margin: 0;
padding: 0;
}
ul,
ol {
list-style: none;
}
a {
text-decoration: none;
color: #333333
}
a,
span {
vertical-align: top;
}
img {
border: 0;
vertical-align: middle;
}
input,
button,
text {
vertical-align: top;
outline: none;
border: none;
}
button {
padding: 0;
background: none;
cursor: pointer;
}
button::-moz-focus-inner {
padding: 0;
}
textarea {
outline: none;
border: none;
resize: none;
}
input,
textarea {
box-sizing: content-box;
outline: none;
background: 0 0;
font-family: "Microsoft YaHei"
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
color: #999999;
}
input:-moz-placeholder,
textarea:-moz-placeholder {
color: #999999;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
color: #999999;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
color: #999999;
}
table tr td,
table {
border-collapse: collapse;
}
/*a { display: inline-block; transition:all .3s linear; -webkit-transition:all .3s linear; -moz-transition:all .3s linear; -o-transition:all .3s linear; -ms-transition:all .3s linear; }*/
body {
font-size: 0;
color: #000;
font-family: "Microsoft YaHei";
min-width: 1400px;
max-width: 1920px;
margin: 0 auto;
}
.clearfix {
*zoom: 1;
}
.clearfix:before,
.clearfix:after {
display: table;
content: "";
line-height: 0;
}
.clearfix:after {
clear: both;
}
.lf {
float: left;
}
.rt {
float: right;
}
.db {
display: inline-block;
}
.centerWidth{
width: 1400px;
margin: 0 auto;
}
.h5show{
display: none;
}
.animated{
transition: all .3s linear;
-webkit-transition: all .3s linear;
-moz-transition: all .3s linear;
-o-transition: all .3s linear;
-ms-transition: all .3s linear;
}
@media screen and (max-width: 768px) {
.h5show{
display: block;
}
.pcshow{
display: none;
}
body{
min-width: auto;
}
.centerWidth{
width: 100%;
box-sizing: border-box;
padding: 0 .2rem;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,29 @@
/*! jQuery ellipsis - v1.1.1 - 2014-02-23
* https://github.com/STAR-ZERO/jquery-ellipsis
* Copyright (c) 2014 Kenji Abe; Licensed MIT */
!function (a) {
a.fn.ellipsis = function (b) {
var c = {
row: 1, onlyFullWords: !1, 'char': '...', callback: function () {
}, position: 'tail'
};
return b = a.extend (c, b), this.each (function () {
var c = a (this), d = c.html (), e = d, f = e.length, g = c.height ();
c.html ('a');
var h = parseFloat (c.css ('lineHeight'), 10), i = c.height (), j = h > i ? h - i : 0,
k = j * (b.row - 1) + i * b.row;
if (k >= g) return c.html (d), void b.callback.call (this);
var l = 1, m = 0, n = d.length;
if ('tail' === b.position) {
for (; n > l;) m = Math.ceil ((l + n) / 2), c.html (d.slice (0, m) + b['char']), c.height () <= k ? l = m : n = m - 1;
d = d.slice (0, l), b.onlyFullWords && (d = d.replace (/[\u00AD\w\uac00-\ud7af]+$/, '')), d += b['char']
} else if ('middle' === b.position) {
for (var o = 0; n > l;) m = Math.ceil ((l + n) / 2), o = Math.max (f - m, 0), c.html (e.slice (0, Math.floor ((f - o) / 2)) + b['char'] + e.slice (Math.floor ((f + o) / 2), f)), c.height () <= k ? l = m : n = m - 1;
o = Math.max (f - l, 0);
var p = e.slice (0, Math.floor ((f - o) / 2)), q = e.slice (Math.floor ((f + o) / 2), f);
b.onlyFullWords && (p = p.replace (/[\u00AD\w\uac00-\ud7af]+$/, '')), d = p + b['char'] + q
}
c.html (d), b.callback.call (this)
}), this
}
} (jQuery);

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,23 @@
"use strict";
/*
* 以1920设计稿为基准计算时将设计稿上的尺寸除以100即可
*/
(function(doc, win) {
var htmlFont = function() {
var docEl = doc.documentElement,
view = docEl.clientWidth,
height = docEl.clientHeight,
font,font1;
docEl.style.minHeight = height + "px";
font = view / 7.5;
if (view<=750) {
docEl.style.fontSize = font + "px"
}else{
docEl.style.fontSize=""
}
};
htmlFont();
win.addEventListener("resize", htmlFont, false)
})(document, window);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File