new files
@ -0,0 +1,66 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/xml; charset=gb2312" />
|
||||
<title>My97DatePicker</title>
|
||||
<script type="text/javascript" src="config.js" charset=gb2312></script>
|
||||
<script>
|
||||
//var l = location;
|
||||
if(parent==window)
|
||||
location.href = 'http://www.my97.net';
|
||||
/*
|
||||
else{
|
||||
var start=l.href.indexOf('#')+1;
|
||||
if(start>0){
|
||||
document.domain = l.href.substr(start);
|
||||
}
|
||||
}
|
||||
*/
|
||||
var $d, $dp, $pdp = parent.$dp, $dt, $tdt, $sdt, $lastInput, $IE=$pdp.ie, $FF = $pdp.ff,$OPERA=$pdp.opera, $ny, $cMark = false;
|
||||
|
||||
//˵<><CBB5><EFBFBD><EFBFBD>flat<61><74>ʱ,<2C><><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>$dp
|
||||
if ($pdp.eCont) {
|
||||
$dp = {};
|
||||
for (var p in $pdp) {
|
||||
$dp[p] = $pdp[p];
|
||||
}
|
||||
}
|
||||
else{
|
||||
$dp = $pdp;
|
||||
}
|
||||
|
||||
$dp.getLangIndex = function(name){
|
||||
var arr = langList;
|
||||
for (var i = 0; i < arr.length; i++) {
|
||||
if (arr[i].name == name) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
$dp.getLang = function(name){
|
||||
var index = $dp.getLangIndex(name);
|
||||
if (index == -1) {
|
||||
index = 0;
|
||||
}
|
||||
return langList[index];
|
||||
}
|
||||
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
$dp.realLang = $dp.getLang($dp.lang);
|
||||
document.write("<script src='lang/" + $dp.realLang.name + ".js' charset='" + $dp.realLang.charset + "'><\/script>");
|
||||
|
||||
//<2F><><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD>б<EFBFBD><D0B1>ļ<EFBFBD>
|
||||
for (var i = 0; i < skinList.length; i++) {
|
||||
document.write('<link rel="stylesheet" type="text/css" href="skin/' + skinList[i].name + '/datepicker.css" title="' + skinList[i].name + '" charset="' + skinList[i].charset + '" disabled="true"/>');
|
||||
}
|
||||
|
||||
</script>
|
||||
<script type="text/javascript" src="calendar.js" charset="gb2312"></script>
|
||||
</head>
|
||||
<body leftmargin="0" topmargin="0" onLoad="$c.autoSize()" tabindex=0>
|
||||
</body>
|
||||
</html>
|
||||
<script>
|
||||
new My97DP();
|
||||
</script>
|
678
vue3-element-admin-thin/public/vender/date97/WdatePicker.js
Normal file
@ -0,0 +1,678 @@
|
||||
/*
|
||||
* My97 DatePicker 4.8.5
|
||||
* License: http://www.my97.net/license.asp
|
||||
*/
|
||||
var $dp, WdatePicker;
|
||||
(function () {
|
||||
var Config = {
|
||||
$langList: [{
|
||||
name: 'en',
|
||||
charset: 'UTF-8'
|
||||
},
|
||||
{
|
||||
name: 'zh-cn',
|
||||
charset: 'gb2312'
|
||||
},
|
||||
{
|
||||
name: 'zh-tw',
|
||||
charset: 'GBK'
|
||||
}
|
||||
],
|
||||
$skinList: [{
|
||||
name: 'default',
|
||||
charset: 'gb2312'
|
||||
},
|
||||
{
|
||||
name: 'whyGreen',
|
||||
charset: 'gb2312'
|
||||
},
|
||||
{
|
||||
name: 'blue',
|
||||
charset: 'gb2312'
|
||||
},
|
||||
{
|
||||
name: 'green',
|
||||
charset: 'gb2312'
|
||||
},
|
||||
{
|
||||
name: 'simple',
|
||||
charset: 'gb2312'
|
||||
},
|
||||
{
|
||||
name: 'ext',
|
||||
charset: 'gb2312'
|
||||
},
|
||||
{
|
||||
name: 'blueFresh',
|
||||
charset: 'gb2312'
|
||||
},
|
||||
{
|
||||
name: 'twoer',
|
||||
charset: 'gb2312'
|
||||
},
|
||||
{
|
||||
name: 'YcloudRed',
|
||||
charset: 'gb2312'
|
||||
},
|
||||
{
|
||||
name: 'thinkpap',
|
||||
charset: 'gb2312'
|
||||
}
|
||||
],
|
||||
$wdate: false,
|
||||
$crossFrame: false,
|
||||
$preLoad: false,
|
||||
$dpPath: '',
|
||||
doubleCalendar: false,
|
||||
enableKeyboard: true,
|
||||
enableInputMask: true,
|
||||
autoUpdateOnChanged: null,
|
||||
weekMethod: 'MSExcel',
|
||||
position: {},
|
||||
lang: 'auto',
|
||||
skin: 'default',
|
||||
dateFmt: 'yyyy年MM月dd日 HH时mm分',
|
||||
realDateFmt: 'yyyy-MM-dd',
|
||||
realTimeFmt: 'HH:mm:ss',
|
||||
realFullFmt: '%Date %Time',
|
||||
minDate: '0001-01-01 00:00:00',
|
||||
maxDate: '9999-12-31 23:59:59',
|
||||
minTime: '00:00:00',
|
||||
maxTime: '23:59:59',
|
||||
startDate: '',
|
||||
alwaysUseStartDate: false,
|
||||
yearOffset: 1911,
|
||||
firstDayOfWeek: 0,
|
||||
isShowWeek: false,
|
||||
highLineWeekDay: true,
|
||||
isShowClear: true,
|
||||
isShowToday: true,
|
||||
isShowOK: true,
|
||||
isShowOthers: true,
|
||||
readOnly: false,
|
||||
errDealMode: 0,
|
||||
autoPickDate: null,
|
||||
qsEnabled: true,
|
||||
autoShowQS: false,
|
||||
hmsMenuCfg: {
|
||||
H: [1, 6],
|
||||
m: [5, 6],
|
||||
s: [15, 4]
|
||||
},
|
||||
|
||||
opposite: false,
|
||||
specialDates: null,
|
||||
specialDays: null,
|
||||
disabledDates: null,
|
||||
disabledDays: null,
|
||||
onpicking: null,
|
||||
onpicked: null,
|
||||
onclearing: null,
|
||||
oncleared: null,
|
||||
ychanging: null,
|
||||
ychanged: null,
|
||||
Mchanging: null,
|
||||
Mchanged: null,
|
||||
dchanging: null,
|
||||
dchanged: null,
|
||||
Hchanging: null,
|
||||
Hchanged: null,
|
||||
mchanging: null,
|
||||
mchanged: null,
|
||||
schanging: null,
|
||||
schanged: null,
|
||||
eCont: null,
|
||||
vel: null,
|
||||
elProp: '',
|
||||
errMsg: '',
|
||||
quickSel: [],
|
||||
has: {},
|
||||
getRealLang: function () {
|
||||
var arr = Config.$langList;
|
||||
for (var i = 0; i < arr.length; i++) {
|
||||
if (arr[i].name == this.lang) {
|
||||
return arr[i]
|
||||
}
|
||||
}
|
||||
return arr[0]
|
||||
}
|
||||
};
|
||||
WdatePicker = main;
|
||||
var w = window,
|
||||
emptyEl = {
|
||||
innerHTML: ''
|
||||
},
|
||||
d = 'document',
|
||||
de = 'documentElement',
|
||||
tag = 'getElementsByTagName',
|
||||
dptop, jsPath, $IE, $FF, $OPERA;
|
||||
var ua = navigator.userAgent,
|
||||
isTablet = /(?:iPad|PlayBook)/.test(ua) || (/(?:Android)/.test(ua) && !/(?:Mobile)/.test(ua)),
|
||||
isPhone = /(?:iPhone)/.test(ua) || /(?:Android)/.test(ua) && /(?:Mobile)/.test(ua);
|
||||
var appName = navigator.appName;
|
||||
if (appName == 'Microsoft Internet Explorer') $IE = true;
|
||||
else if (appName == 'Opera') $OPERA = true;
|
||||
else $FF = true;
|
||||
jsPath = Config.$dpPath || getJsPath();
|
||||
if (Config.$wdate) {
|
||||
loadCSS(jsPath + 'skin/WdatePicker.css')
|
||||
}
|
||||
dptop = w;
|
||||
if (Config.$crossFrame) {
|
||||
try {
|
||||
while (dptop.parent != dptop && dptop.parent[d][tag]('frameset').length == 0) {
|
||||
dptop = dptop.parent
|
||||
}
|
||||
} catch (e) {}
|
||||
}
|
||||
if (!dptop.$dp) {
|
||||
dptop.$dp = {
|
||||
ff: $FF,
|
||||
ie: $IE,
|
||||
opera: $OPERA,
|
||||
status: 0,
|
||||
defMinDate: Config.minDate,
|
||||
defMaxDate: Config.maxDate,
|
||||
isTablet: isTablet,
|
||||
isPhone: isPhone,
|
||||
isTouch: isTablet || isPhone
|
||||
}
|
||||
}
|
||||
initTopDP();
|
||||
if (Config.$preLoad && $dp.status == 0) {
|
||||
dpAttachEvent(w, 'onload', function () {
|
||||
main(null, true)
|
||||
})
|
||||
}
|
||||
var docEventName = $dp.isTouch ? 'ontouchstart' : 'onmousedown';
|
||||
if (!w[d].docMD) {
|
||||
dpAttachEvent(w[d], docEventName, disposeDP, true);
|
||||
w[d].docMD = true
|
||||
}
|
||||
if (!dptop[d].docMD) {
|
||||
dpAttachEvent(dptop[d], docEventName, disposeDP, true);
|
||||
dptop[d].docMD = true
|
||||
}
|
||||
dpAttachEvent(w, 'onunload', function () {
|
||||
if ($dp.dd) {
|
||||
display($dp.dd, "none")
|
||||
}
|
||||
});
|
||||
|
||||
function initTopDP() {
|
||||
try {
|
||||
dptop[d], dptop.$dp = dptop.$dp || {}
|
||||
} catch (e) {
|
||||
dptop = w;
|
||||
$dp = $dp || {}
|
||||
}
|
||||
var obj = {
|
||||
win: w,
|
||||
$: function (el) {
|
||||
return (typeof el == 'string') ? w[d].getElementById(el) : el
|
||||
},
|
||||
$D: function (id, arg) {
|
||||
return this.$DV(this.$(id).value, arg)
|
||||
},
|
||||
$DV: function (v, arg) {
|
||||
if (v != '') {
|
||||
this.dt = $dp.cal.splitDate(v, $dp.cal.dateFmt);
|
||||
if (arg) {
|
||||
for (var p in arg) {
|
||||
if (this.dt[p] === undefined) {
|
||||
this.errMsg = 'invalid property:' + p
|
||||
} else {
|
||||
this.dt[p] += arg[p];
|
||||
if (p == 'M') {
|
||||
var offset = arg['M'] > 0 ? 1 : 0;
|
||||
var tmpday = new Date(this.dt['y'], this.dt['M'], 0).getDate();
|
||||
this.dt['d'] = Math.min(tmpday + offset, this.dt['d'])
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (this.dt.refresh()) {
|
||||
return this.dt
|
||||
}
|
||||
}
|
||||
return ''
|
||||
},
|
||||
show: function () {
|
||||
var divs = dptop[d].getElementsByTagName('div'),
|
||||
maxZIndex = 1e5;
|
||||
for (var i = 0; i < divs.length; i++) {
|
||||
var curZ = parseInt(divs[i].style.zIndex);
|
||||
if (curZ > maxZIndex) {
|
||||
maxZIndex = curZ
|
||||
}
|
||||
}
|
||||
this.dd.style.zIndex = maxZIndex + 2;
|
||||
display(this.dd, "block");
|
||||
display(this.dd.firstChild, "")
|
||||
},
|
||||
unbind: function (el) {
|
||||
el = this.$(el);
|
||||
if (el.initcfg) {
|
||||
dpDetachEvent(el, 'onclick', function () {
|
||||
main(el.initcfg)
|
||||
});
|
||||
dpDetachEvent(el, 'onfocus', function () {
|
||||
main(el.initcfg)
|
||||
})
|
||||
}
|
||||
},
|
||||
hide: function () {
|
||||
display(this.dd, "none")
|
||||
},
|
||||
attachEvent: dpAttachEvent
|
||||
};
|
||||
for (var p in obj) {
|
||||
dptop.$dp[p] = obj[p];
|
||||
}
|
||||
$dp = dptop.$dp
|
||||
}
|
||||
|
||||
function dpAttachEvent(o, sType, fHandler, useCapture) {
|
||||
if (o.addEventListener) {
|
||||
var shortTypeName = sType.replace(/on/, "");
|
||||
fHandler._ieEmuEventHandler = function (e) {
|
||||
return fHandler(e)
|
||||
};
|
||||
o.addEventListener(shortTypeName, fHandler._ieEmuEventHandler, useCapture)
|
||||
} else {
|
||||
o.attachEvent(sType, fHandler)
|
||||
}
|
||||
}
|
||||
|
||||
function dpDetachEvent(o, sType, fHandler) {
|
||||
if (o.removeEventListener) {
|
||||
var shortTypeName = sType.replace(/on/, "");
|
||||
fHandler._ieEmuEventHandler = function (e) {
|
||||
return fHandler(e)
|
||||
};
|
||||
o.removeEventListener(shortTypeName, fHandler._ieEmuEventHandler, false)
|
||||
} else {
|
||||
o.detachEvent(sType, fHandler)
|
||||
}
|
||||
}
|
||||
|
||||
function compareCfg(o1, o2, issub) {
|
||||
if (typeof o1 != typeof o2) return false;
|
||||
if (typeof o1 == 'object') {
|
||||
if (!issub) {
|
||||
for (var o in o1) {
|
||||
if (typeof o2[o] == 'undefined') return false;
|
||||
if (!compareCfg(o1[o], o2[o], true)) return false
|
||||
}
|
||||
}
|
||||
return true
|
||||
} else if (typeof o1 == 'function' && typeof o2 == 'function') {
|
||||
return o1.toString() == o2.toString()
|
||||
} else {
|
||||
return o1 == o2
|
||||
}
|
||||
}
|
||||
|
||||
function getJsPath() {
|
||||
var path, tmp, scripts = w[d][tag]("script");
|
||||
for (var i = 0; i < scripts.length; i++) {
|
||||
path = scripts[i].getAttribute('src') || '';
|
||||
path = path.substr(0, path.toLowerCase().indexOf('wdatepicker.js'));
|
||||
var tmp = path.lastIndexOf("/");
|
||||
if (tmp > 0) path = path.substring(0, tmp + 1);
|
||||
if (path) break
|
||||
}
|
||||
return path
|
||||
}
|
||||
|
||||
function loadCSS(path, title, charset) {
|
||||
var head = w[d][tag]('HEAD').item(0),
|
||||
style = w[d].createElement('link');
|
||||
if (head) {
|
||||
style.href = path;
|
||||
style.rel = 'stylesheet';
|
||||
style.type = 'text/css';
|
||||
if (title) style.title = title;
|
||||
if (charset) style.charset = charset;
|
||||
head.appendChild(style)
|
||||
}
|
||||
}
|
||||
|
||||
function getAbsM(w) {
|
||||
w = w || dptop;
|
||||
var lm = 0,
|
||||
tm = 0;
|
||||
while (w != dptop) {
|
||||
var ifs = w.parent[d][tag]('iframe');
|
||||
for (var i = 0; i < ifs.length; i++) {
|
||||
try {
|
||||
if (ifs[i].contentWindow == w) {
|
||||
var rc = getBound(ifs[i]);
|
||||
lm += rc.left;
|
||||
tm += rc.top;
|
||||
break
|
||||
}
|
||||
} catch (e) {}
|
||||
}
|
||||
w = w.parent
|
||||
}
|
||||
return {
|
||||
'leftM': lm,
|
||||
'topM': tm
|
||||
}
|
||||
}
|
||||
|
||||
function getBound(o, ignoreScr) {
|
||||
if (o.getBoundingClientRect) {
|
||||
return o.getBoundingClientRect()
|
||||
} else {
|
||||
var patterns = {
|
||||
ROOT_TAG: /^body|html$/i,
|
||||
OP_SCROLL: /^(?:inline|table-row)$/i
|
||||
};
|
||||
var hssFixed = false,
|
||||
win = null,
|
||||
t = o.offsetTop,
|
||||
l = o.offsetLeft,
|
||||
r = o.offsetWidth,
|
||||
b = o.offsetHeight;
|
||||
var parentNode = o.offsetParent;
|
||||
if (parentNode != o) {
|
||||
while (parentNode) {
|
||||
l += parentNode.offsetLeft;
|
||||
t += parentNode.offsetTop;
|
||||
if (getStyle(parentNode, 'position').toLowerCase() == 'fixed') hssFixed = true;
|
||||
else if (parentNode.tagName.toLowerCase() == "body") win = parentNode.ownerDocument.defaultView;
|
||||
parentNode = parentNode.offsetParent
|
||||
}
|
||||
}
|
||||
parentNode = o.parentNode;
|
||||
while (parentNode.tagName && !patterns.ROOT_TAG.test(parentNode.tagName)) {
|
||||
if (parentNode.scrollTop || parentNode.scrollLeft) {
|
||||
if (!patterns.OP_SCROLL.test(display(parentNode))) {
|
||||
if (!$OPERA || parentNode.style.overflow !== 'visible') {
|
||||
l -= parentNode.scrollLeft;
|
||||
t -= parentNode.scrollTop
|
||||
}
|
||||
}
|
||||
}
|
||||
parentNode = parentNode.parentNode
|
||||
}
|
||||
if (!hssFixed) {
|
||||
var scr = getScroll(win);
|
||||
l -= scr.left;
|
||||
t -= scr.top
|
||||
}
|
||||
r += l;
|
||||
b += t;
|
||||
return {
|
||||
'left': l,
|
||||
'top': t,
|
||||
'right': r,
|
||||
'bottom': b
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function getWH(w) {
|
||||
w = w || dptop;
|
||||
var doc = w[d],
|
||||
width = (w.innerWidth) ? w.innerWidth : (doc[de] && doc[de].clientWidth) ? doc[de].clientWidth : doc.body.offsetWidth,
|
||||
height = (w.innerHeight) ? w.innerHeight : (doc[de] && doc[de].clientHeight) ? doc[de].clientHeight : doc.body.offsetHeight;
|
||||
return {
|
||||
'width': width,
|
||||
'height': height
|
||||
}
|
||||
}
|
||||
|
||||
function getScroll(w) {
|
||||
w = w || dptop;
|
||||
var doc = w[d],
|
||||
doce = doc[de],
|
||||
db = doc.body;
|
||||
doc = (doce && doce.scrollTop != null && (doce.scrollTop > db.scrollTop || doce.scrollLeft > db.scrollLeft)) ? doce : db;
|
||||
return {
|
||||
'top': doc.scrollTop,
|
||||
'left': doc.scrollLeft
|
||||
}
|
||||
}
|
||||
|
||||
function disposeDP(e) {
|
||||
try {
|
||||
var src = e ? (e.srcElement || e.target) : null;
|
||||
if ($dp.cal && !$dp.eCont && $dp.dd && src != $dp.el && $dp.dd.style.display == 'block') {
|
||||
$dp.cal.close()
|
||||
}
|
||||
} catch (e) {}
|
||||
}
|
||||
|
||||
function dpLoaded() {
|
||||
$dp.status = 2
|
||||
}
|
||||
var isDptopReady, dptopInterval;
|
||||
|
||||
function main(initcfg, preLoad) {
|
||||
if (!$dp) return;
|
||||
initcfg.el = initcfg.el || w[d].activeElement;
|
||||
if ($dp.isTouch) {
|
||||
try {
|
||||
initcfg.el.readOnly = true;
|
||||
initcfg.el.blur()
|
||||
} catch (e) {}
|
||||
}
|
||||
initTopDP();
|
||||
var cfg = {};
|
||||
for (var p in initcfg) {
|
||||
cfg[p] = initcfg[p]
|
||||
}
|
||||
for (var p in Config) {
|
||||
if (p.substring(0, 1) != '$' && cfg[p] === undefined) {
|
||||
cfg[p] = Config[p]
|
||||
}
|
||||
}
|
||||
if (preLoad) {
|
||||
if (!dptopReady()) {
|
||||
dptopInterval = dptopInterval || setInterval(function () {
|
||||
if (dptop[d].readyState == 'complete') {
|
||||
clearInterval(dptopInterval);
|
||||
}
|
||||
main(null, true)
|
||||
}, 50);
|
||||
return
|
||||
}
|
||||
if ($dp.status == 0) {
|
||||
$dp.status = 1;
|
||||
cfg.el = emptyEl;
|
||||
showPicker(cfg, true)
|
||||
} else {
|
||||
return
|
||||
}
|
||||
} else if (cfg.eCont) {
|
||||
cfg.eCont = $dp.$(cfg.eCont);
|
||||
cfg.el = emptyEl;
|
||||
cfg.autoPickDate = true;
|
||||
cfg.qsEnabled = false;
|
||||
showPicker(cfg)
|
||||
} else {
|
||||
if (Config.$preLoad && $dp.status != 2) return;
|
||||
if (!cfg.el) {
|
||||
var evt = SearchEvent();
|
||||
if (w.event === evt || evt) {
|
||||
cfg.srcEl = evt.srcElement || evt.target;
|
||||
evt.cancelBubble = true
|
||||
}
|
||||
}
|
||||
cfg.el = cfg.el = $dp.$(cfg.el || cfg.srcEl);
|
||||
if (cfg.el == null) {
|
||||
alert('WdatePicker:el is null!\nexample:onclick="WdatePicker({el:this})"');
|
||||
return
|
||||
}
|
||||
try {
|
||||
if (!cfg.el || cfg.el['My97Mark'] === true || cfg.el.disabled || ($dp.dd && display($dp.dd) != 'none' && $dp.dd.style.left != '-970px')) {
|
||||
if (cfg.el['My97Mark']) cfg.el['My97Mark'] = false;
|
||||
return
|
||||
}
|
||||
} catch (e) {}
|
||||
if (evt && cfg.el.nodeType == 1 && !compareCfg(cfg.el.initcfg, initcfg)) {
|
||||
$dp.unbind(cfg.el);
|
||||
dpAttachEvent(cfg.el, evt.type == 'focus' ? 'onclick' : 'onfocus', function () {
|
||||
main(initcfg)
|
||||
});
|
||||
cfg.el.initcfg = initcfg;
|
||||
}
|
||||
showPicker(cfg)
|
||||
}
|
||||
|
||||
function dptopReady() {
|
||||
if ($IE && dptop != w && dptop[d].readyState != 'complete') return false;
|
||||
return true
|
||||
}
|
||||
|
||||
function SearchEvent() {
|
||||
if ($FF) {
|
||||
try {
|
||||
var count = 0;
|
||||
func = SearchEvent.caller;
|
||||
while (func != null) {
|
||||
var arg0 = func.arguments[0];
|
||||
if (arg0 && (arg0 + '').indexOf('Event') >= 0 || (count++) > 97) {
|
||||
return arg0
|
||||
}
|
||||
func = func.caller
|
||||
}
|
||||
} catch (e) {}
|
||||
return null
|
||||
}
|
||||
return event
|
||||
}
|
||||
}
|
||||
|
||||
function getStyle(obj, attribute) {
|
||||
return obj.currentStyle ? obj.currentStyle[attribute] : document.defaultView.getComputedStyle(obj, false)[attribute]
|
||||
}
|
||||
|
||||
function display(obj, value) {
|
||||
if (obj) {
|
||||
if (value != null) obj.style.display = value;
|
||||
else return getStyle(obj, 'display')
|
||||
}
|
||||
}
|
||||
|
||||
function showPicker(cfg, preLoad) {
|
||||
var nodeName = cfg.el ? cfg.el.nodeName : 'INPUT';
|
||||
if (preLoad || cfg.eCont || new RegExp(/input|textarea|div|field|span|p|a/ig).test(nodeName)) {
|
||||
cfg.elProp = cfg.elProp || nodeName == 'INPUT' ? 'value' : 'innerHTML'
|
||||
} else {
|
||||
return
|
||||
}
|
||||
if (cfg.lang == 'auto') {
|
||||
cfg.lang = $IE ? navigator.browserLanguage.toLowerCase() : navigator.language.toLowerCase()
|
||||
}
|
||||
if (!cfg.eCont) {
|
||||
for (var p in cfg) {
|
||||
$dp[p] = cfg[p]
|
||||
}
|
||||
}
|
||||
if (!$dp.dd || cfg.eCont || ($dp.dd && (cfg.getRealLang().name != $dp.dd.lang || cfg.skin != $dp.dd.skin))) {
|
||||
if (cfg.eCont) {
|
||||
ddInit(cfg.eCont, cfg)
|
||||
} else {
|
||||
$dp.dd = dptop[d].createElement("DIV");
|
||||
$dp.dd.style.cssText = 'position:absolute';
|
||||
dptop[d].body.appendChild($dp.dd);
|
||||
ddInit($dp.dd, cfg);
|
||||
if (preLoad) {
|
||||
$dp.dd.style.left = $dp.dd.style.top = '-970px'
|
||||
} else {
|
||||
$dp.show();
|
||||
setPos($dp)
|
||||
}
|
||||
}
|
||||
} else if ($dp.cal) {
|
||||
$dp.show();
|
||||
$dp.cal.init();
|
||||
if (!$dp.eCont) setPos($dp)
|
||||
}
|
||||
|
||||
function ddInit(cont, cfg) {
|
||||
var dm = dptop[d].domain,
|
||||
isCross = false,
|
||||
defHtml = '<iframe hideFocus=true width=9 height=7 frameborder=0 border=0 scrolling=no src="about:blank"></iframe>';
|
||||
cont.innerHTML = defHtml;
|
||||
var langList = Config.$langList,
|
||||
skinList = Config.$skinList,
|
||||
doc;
|
||||
try {
|
||||
doc = cont.lastChild.contentWindow[d]
|
||||
} catch (e) {
|
||||
isCross = true;
|
||||
cont.removeChild(cont.lastChild);
|
||||
var ifr = dptop[d].createElement("iframe");
|
||||
ifr.hideFocus = true;
|
||||
ifr.frameBorder = 0;
|
||||
ifr.scrolling = 'no';
|
||||
ifr.src = "javascript:(function(){var d=document;d.open();d.domain='" + dm + "';})()";
|
||||
cont.appendChild(ifr);
|
||||
setTimeout(function () {
|
||||
doc = cont.lastChild.contentWindow[d];
|
||||
ddWrite()
|
||||
}, 97);
|
||||
return
|
||||
}
|
||||
ddWrite();
|
||||
|
||||
function ddWrite() {
|
||||
var realLang = cfg.getRealLang(),
|
||||
ver = '4.9.0b3';
|
||||
cont.lang = realLang.name;
|
||||
cont.skin = cfg.skin;
|
||||
var h = ['<head><script>', '', 'var doc=document, $d, $dp, $cfg=doc.cfg, $pdp = parent.$dp, $dt, $tdt, $sdt, $lastInput, $IE=$pdp.ie, $FF = $pdp.ff,$OPERA=$pdp.opera, $ny, $cMark = false;', 'if($cfg.eCont){$dp = {};for(var p in $pdp)$dp[p]=$pdp[p];}else{$dp=$pdp;};for(var p in $cfg){$dp[p]=$cfg[p];}', 'if(!$dp.isTouch)doc.oncontextmenu=function(){try{$c._fillQS(!$dp.has.d,1);showB($d.qsDivSel);}catch(e){};return false;};', '</script><script src=', jsPath, 'lang/', realLang.name, '.js?' + ver + ' charset=', realLang.charset, '></script>'];
|
||||
if (isCross) h[1] = 'document.domain="' + dm + '";';
|
||||
for (var i = 0; i < skinList.length; i++) {
|
||||
if (skinList[i].name == cfg.skin) {
|
||||
h.push('<link rel="stylesheet" type="text/css" href="' + jsPath + 'skin/' + skinList[i].name + '/datepicker.css?');
|
||||
h.push(ver);
|
||||
h.push('" charset="' + skinList[i].charset + '"/>')
|
||||
}
|
||||
}
|
||||
h.push('<script src="' + jsPath + 'calendar.js?');
|
||||
h.push(ver);
|
||||
h.push('"></script>');
|
||||
h.push('</head><body leftmargin="0" topmargin="0" tabindex=0></body></html>');
|
||||
h.push('<script>var t;t=t||setInterval(function(){if((typeof(doc.ready)=="boolean"&&doc.ready)||doc.readyState=="complete"){new My97DP();$cfg.onload();$c.autoSize();$cfg.setPos($dp);clearInterval(t);}},20);</script>');
|
||||
cfg.setPos = setPos;
|
||||
cfg.onload = dpLoaded;
|
||||
doc.write('<html>');
|
||||
doc.cfg = cfg;
|
||||
doc.write(h.join(''));
|
||||
doc.close()
|
||||
}
|
||||
}
|
||||
|
||||
function setPos(dp) {
|
||||
var l = dp.position.left,
|
||||
t = dp.position.top,
|
||||
el = dp.el;
|
||||
if (el == emptyEl) return;
|
||||
if (el != dp.srcEl && (display(el) == 'none' || el.type == 'hidden')) el = dp.srcEl;
|
||||
var objxy = getBound(el),
|
||||
mm = getAbsM(w),
|
||||
currWH = getWH(dptop),
|
||||
scr = getScroll(dptop),
|
||||
ddHeight = $dp.dd.offsetHeight,
|
||||
ddWidth = $dp.dd.offsetWidth;
|
||||
if (isNaN(t)) t = 0;
|
||||
if ((mm.topM + objxy.bottom + ddHeight > currWH.height) && (mm.topM + objxy.top - ddHeight > 0)) {
|
||||
t += scr.top + mm.topM + objxy.top - ddHeight - 2
|
||||
} else {
|
||||
t += scr.top + mm.topM + objxy.bottom;
|
||||
var offsetT = t - scr.top + ddHeight - currWH.height;
|
||||
if (offsetT > 0) t -= offsetT
|
||||
}
|
||||
if (isNaN(l)) l = 0;
|
||||
l += scr.left + Math.min(mm.leftM + objxy.left, currWH.width - ddWidth - 5) - ($IE ? 2 : 0);
|
||||
dp.dd.style.top = (t + 2) + 'px';
|
||||
dp.dd.style.left = l + 'px'
|
||||
}
|
||||
}
|
||||
})();
|
5
vue3-element-admin-thin/public/vender/date97/calendar.js
Normal file
14
vue3-element-admin-thin/public/vender/date97/lang/en.js
Normal file
@ -0,0 +1,14 @@
|
||||
var $lang={
|
||||
errAlertMsg: "Invalid date or the date out of range,redo or not?",
|
||||
aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
||||
aLongWeekStr:["wk","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],
|
||||
aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
||||
aLongMonStr: ["January","February","March","April","May","June","July","August","September","October","November","December"],
|
||||
clearStr: "Clear",
|
||||
todayStr: "Today",
|
||||
okStr: "OK",
|
||||
updateStr: "OK",
|
||||
timeStr: "Time",
|
||||
quickStr: "Quick Selection",
|
||||
err_1: 'MinDate Cannot be bigger than MaxDate!'
|
||||
}
|
14
vue3-element-admin-thin/public/vender/date97/lang/zh-cn.js
Normal file
@ -0,0 +1,14 @@
|
||||
var $lang={
|
||||
errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u8303\u56F4,\u9700\u8981\u64A4\u9500\u5417?",
|
||||
aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],
|
||||
aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],
|
||||
aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"],
|
||||
aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],
|
||||
clearStr: "\u6E05\u7A7A",
|
||||
todayStr: "\u4ECA\u5929",
|
||||
okStr: "\u786E\u5B9A",
|
||||
updateStr: "\u786E\u5B9A",
|
||||
timeStr: "\u65F6\u95F4",
|
||||
quickStr: "\u5FEB\u901F\u9009\u62E9",
|
||||
err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u4E8E\u6700\u5927\u65E5\u671F!'
|
||||
}
|
14
vue3-element-admin-thin/public/vender/date97/lang/zh-tw.js
Normal file
@ -0,0 +1,14 @@
|
||||
var $lang={
|
||||
errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u7BC4\u570D,\u9700\u8981\u64A4\u92B7\u55CE?",
|
||||
aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],
|
||||
aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],
|
||||
aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"],
|
||||
aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],
|
||||
clearStr: "\u6E05\u7A7A",
|
||||
todayStr: "\u4ECA\u5929",
|
||||
okStr: "\u78BA\u5B9A",
|
||||
updateStr: "\u78BA\u5B9A",
|
||||
timeStr: "\u6642\u9593",
|
||||
quickStr: "\u5FEB\u901F\u9078\u64C7",
|
||||
err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u65BC\u6700\u5927\u65E5\u671F!'
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
.Wdate{
|
||||
border:#999 1px solid;
|
||||
height:20px;
|
||||
background:#fff url(datePicker.gif) no-repeat right;
|
||||
}
|
||||
.Wdate::-ms-clear{display:none;}
|
||||
|
||||
.WdateFmtErr{
|
||||
font-weight:bold;
|
||||
color:red;
|
||||
}
|
BIN
vue3-element-admin-thin/public/vender/date97/skin/datePicker.gif
Normal file
After Width: | Height: | Size: 1.0 KiB |
@ -0,0 +1,328 @@
|
||||
/**
|
||||
* yyh & kimi from mb518.com
|
||||
* 2019-3-25
|
||||
**/
|
||||
.WdateDiv {
|
||||
width: 216px;
|
||||
background-color: #FFF;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #cecece;
|
||||
}
|
||||
|
||||
.WdateDiv2 {
|
||||
width: 432px;
|
||||
}
|
||||
|
||||
.WdateDiv > div:nth-child(3) {
|
||||
padding: 0px 0.375em;
|
||||
}
|
||||
|
||||
.WdateDiv .NavImg a {
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
|
||||
.WdateDiv .NavImgll a {
|
||||
float: left;
|
||||
background: url(img.gif) no-repeat;
|
||||
background-size: 400%;
|
||||
}
|
||||
|
||||
.WdateDiv .NavImgl a {
|
||||
float: left;
|
||||
background: url(img.gif) no-repeat -1em 0;
|
||||
background-size: 400%;
|
||||
}
|
||||
|
||||
.WdateDiv .NavImgr a {
|
||||
float: right;
|
||||
background: url(img.gif) no-repeat -2em 0;
|
||||
background-size: 400%;
|
||||
}
|
||||
|
||||
.WdateDiv .NavImgrr a {
|
||||
float: right;
|
||||
background: url(img.gif) no-repeat -3em 0;
|
||||
background-size: 400%;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTitle {
|
||||
height: 1.875em;
|
||||
padding: 0.1875em 0.3125em;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTitle > div:nth-child(3),
|
||||
.WdateDiv #dpTitle > div:nth-child(4) {
|
||||
margin: 0px 0.8125em;
|
||||
}
|
||||
|
||||
.WdateDiv .yminput {
|
||||
margin-top: 0.375em;
|
||||
text-align: center;
|
||||
border: 0px;
|
||||
height: 1.75em;
|
||||
width: 3.125em;
|
||||
color: #333;
|
||||
background-color: #eefaff;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
font-size: 0.8125em;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.WdateDiv .yminputfocus {
|
||||
font-size: 0.8125em;
|
||||
margin-top: 0.375em;
|
||||
text-align: center;
|
||||
border: 0;
|
||||
color: #333;
|
||||
height: 1.25em;
|
||||
width: 3.125em;
|
||||
outline: none;
|
||||
background-color: #eefaff;
|
||||
}
|
||||
|
||||
.WdateDiv .menuSel {
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
background-color: #FFFFFF;
|
||||
display: none;
|
||||
padding: 0.3125em;
|
||||
border-radius: 3px;
|
||||
box-shadow: rgb(204, 204, 204) 0px 0px 2px 2px;
|
||||
}
|
||||
|
||||
.WdateDiv .menu {
|
||||
cursor: pointer;
|
||||
background-color: #fff;
|
||||
color: #333;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.WdateDiv .menuOn {
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
background-color: #d6f2ff;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.WdateDiv .invalidMenu {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
.WdateDiv .YMenu {
|
||||
margin-top: 1.875em;
|
||||
}
|
||||
|
||||
.WdateDiv .MMenu {
|
||||
margin-top: 1.875em;
|
||||
box-shadow: rgb(204, 204, 204) 0px 0px 2px 2px;
|
||||
padding: 0.3125em;
|
||||
border-radius: 3px;
|
||||
*width: 3.875em;
|
||||
}
|
||||
|
||||
.WdateDiv .hhMenu {
|
||||
margin-top: -5.625em;
|
||||
margin-left: 1.625em;
|
||||
}
|
||||
|
||||
.WdateDiv .mmMenu {
|
||||
margin-top: -2.875em;
|
||||
margin-left: 1.625em;
|
||||
}
|
||||
|
||||
.WdateDiv .ssMenu {
|
||||
margin-top: -1.5em;
|
||||
margin-left: 1.625em;
|
||||
}
|
||||
|
||||
.WdateDiv .Wweek {
|
||||
text-align: center;
|
||||
background: #DAF3F5;
|
||||
border-right: #BDEBEE 1px solid;
|
||||
}
|
||||
|
||||
.WdateDiv .MTitle {
|
||||
background-color: #f3f3f3;
|
||||
border-radius: 5px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.WdateDiv .WdayTable2 {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.WdateDiv .WdayTable2 table {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.WdateDiv .WdayTable {
|
||||
font-size: 0.75em;
|
||||
line-height: 1.5em;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.WdateDiv .WdayTable td {
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #f3f3f3;
|
||||
padding: 0.1875em 0;
|
||||
}
|
||||
|
||||
.WdateDiv .Wday {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.WdateDiv .WdayOn {
|
||||
cursor: pointer;
|
||||
border-radius: 3px;
|
||||
background-color: #C0EBEF;
|
||||
}
|
||||
|
||||
.WdateDiv .Wwday {
|
||||
cursor: pointer;
|
||||
color: #ab1e1e;
|
||||
}
|
||||
|
||||
.WdateDiv .WwdayOn {
|
||||
cursor: pointer;
|
||||
border-radius: 3px;
|
||||
background-color: #C0EBEF;
|
||||
}
|
||||
|
||||
.WdateDiv .Wtoday {
|
||||
cursor: pointer;
|
||||
color: blue;
|
||||
}
|
||||
|
||||
.WdateDiv .Wselday {
|
||||
background-color: #35baf6;
|
||||
border-radius: 3px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.WdateDiv .WspecialDay {
|
||||
background-color: #66F4DF;
|
||||
}
|
||||
|
||||
.WdateDiv .WotherDay {
|
||||
cursor: pointer;
|
||||
color: #8585e1;
|
||||
}
|
||||
|
||||
.WdateDiv .WotherDayOn {
|
||||
cursor: pointer;
|
||||
background-color: #d6f2ff;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.WdateDiv .WinvalidDay {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime {
|
||||
margin: 0.1875em 0 0.1875em 0.625em;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime #dpTimeStr {
|
||||
margin-left: 0.0625em;
|
||||
color: #333;
|
||||
font-size: 0.75em;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime table:nth-child(4) {
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime table:nth-child(-n+3) {
|
||||
font-size: 0.75em;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime input {
|
||||
-webkit-appearance: none;
|
||||
font-size: 0.75em;
|
||||
height: 1.25em;
|
||||
width: 1.875em;
|
||||
text-align: center;
|
||||
color: #333;
|
||||
border: 0;
|
||||
background-color: #eefaff;
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime input:disabled {
|
||||
background-color: #e7e7e7;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime .tB {
|
||||
border-right: 0px;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime .tE {
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime .tm {
|
||||
width: 0.9375em;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
/*.WdateDiv #dpTime button {
|
||||
font-size: 0.75em;
|
||||
}*/
|
||||
|
||||
.WdateDiv #dpTime #dpTimeUp {
|
||||
height: 0.625em;
|
||||
width: 0.8125em;
|
||||
border: 0px;
|
||||
background: url(img.gif) no-repeat -2em -1em;
|
||||
background-size: 450%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime #dpTimeDown {
|
||||
height: 0.625em;
|
||||
width: 0.8125em;
|
||||
border: 0px;
|
||||
background: url(img.gif) no-repeat -2em -1.625em;
|
||||
background-size: 450%;
|
||||
}
|
||||
|
||||
.WdateDiv #dpQS {
|
||||
float: left;
|
||||
margin-right: 0.1875em;
|
||||
margin-top: 0.3125em;
|
||||
background: url(img.gif) no-repeat 0px -1em;
|
||||
background-size: 320%;
|
||||
width: 1.25em;
|
||||
height: 1.25em;
|
||||
cursor: pointer;
|
||||
margin-left: 0.375em;
|
||||
}
|
||||
|
||||
.WdateDiv #dpControl {
|
||||
text-align: right;
|
||||
margin-top: 0.1875em;
|
||||
padding: 0 0.3125em;
|
||||
padding-bottom: 0.1875em;
|
||||
}
|
||||
|
||||
.WdateDiv .dpButton {
|
||||
font-size: 0.75em;
|
||||
-webkit-appearance: none;
|
||||
padding-top: 0;
|
||||
height: 1.75em;
|
||||
width: 2.8125em;
|
||||
border: 0;
|
||||
margin-top: 0.1875em;
|
||||
margin-right: 0.1875em;
|
||||
background: #35baf6;
|
||||
color: #fff;
|
||||
border-radius: 0;
|
||||
}
|
After Width: | Height: | Size: 2.4 KiB |
@ -0,0 +1,309 @@
|
||||
/*
|
||||
* My97 DatePicker 4.7
|
||||
* Ƥ<><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:ext
|
||||
* Ƥ<><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:CssRain
|
||||
* <20><><EFBFBD><EFBFBD>blog:http://www.CssRain.cn
|
||||
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:cssrain@gmail.com
|
||||
*/
|
||||
|
||||
/* <20><><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD> DIV */
|
||||
.WdateDiv{
|
||||
width:180px;
|
||||
background-color:#fff;
|
||||
border:1px solid #718BB7;
|
||||
}
|
||||
/* ˫<><CBAB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF><EFBFBD> */
|
||||
.WdateDiv2{
|
||||
width:360px;
|
||||
}
|
||||
.WdateDiv *{font-size:9pt;}
|
||||
|
||||
/****************************
|
||||
* <20><><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC> ȫ<><C8AB><EFBFBD><EFBFBD>A<EFBFBD><41>ǩ
|
||||
***************************/
|
||||
.WdateDiv .NavImg a{
|
||||
margin-top:3px;
|
||||
cursor:pointer;
|
||||
display:block;
|
||||
width:15px;
|
||||
height:15px;
|
||||
}
|
||||
.WdateDiv .NavImgll a{
|
||||
background:url(left-btn2.gif) no-repeat center center;
|
||||
float:left;
|
||||
margin-left:2px;
|
||||
}
|
||||
.WdateDiv .NavImgl a{
|
||||
background:url(left-btn.gif) no-repeat center center;
|
||||
float:left;
|
||||
margin-left:2px;
|
||||
}
|
||||
.WdateDiv .NavImgr a{
|
||||
background:url(right-btn.gif) no-repeat center center;
|
||||
float:right;
|
||||
margin-right:2px;
|
||||
}
|
||||
.WdateDiv .NavImgrr a{
|
||||
background:url(right-btn2.gif) no-repeat center center;
|
||||
float:right;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
/****************************
|
||||
* <20><><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD>
|
||||
***************************/
|
||||
/* <20><><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD> DIV */
|
||||
.WdateDiv #dpTitle{
|
||||
height:22px;
|
||||
background:transparent url(hd-sprite.gif) repeat-x scroll 0 -83px;
|
||||
color:#FFFFFF;
|
||||
font-family:"sans serif",tahoma,verdana,helvetica;
|
||||
font-size:12px;
|
||||
font-size-adjust:none;
|
||||
font-stretch:normal;
|
||||
font-style:normal;
|
||||
font-variant:normal;
|
||||
font-weight:bold;
|
||||
padding-top:2px;
|
||||
}
|
||||
/* <20><><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> INPUT */
|
||||
.WdateDiv .yminput{
|
||||
margin-top:2px;
|
||||
text-align:center;
|
||||
border:0px;
|
||||
height:20px;
|
||||
width:50px;
|
||||
color:#FFF;
|
||||
background-color:transparent;
|
||||
cursor:pointer;
|
||||
}
|
||||
/* <20><><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ý<EFBFBD><C3BD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>ʽ INPUT */
|
||||
.WdateDiv .yminputfocus{
|
||||
margin-top:2px;
|
||||
text-align:center;
|
||||
border:#939393 1px solid;
|
||||
font-weight:bold;
|
||||
color:#034c50;
|
||||
height:16px;
|
||||
width:50px;
|
||||
}
|
||||
/* <20>˵<EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD> DIV */
|
||||
.WdateDiv .menuSel{
|
||||
z-index:1;
|
||||
position:absolute;
|
||||
background-color:#FFFFFF;
|
||||
border:1px solid #718BB7;
|
||||
display:none;
|
||||
}
|
||||
/* <20>˵<EFBFBD><CBB5><EFBFBD><EFBFBD><EFBFBD>ʽ TD */
|
||||
.WdateDiv .menu{
|
||||
cursor:pointer;
|
||||
background-color:#fff;
|
||||
color:#11777C;
|
||||
}
|
||||
/* <20>˵<EFBFBD><CBB5><EFBFBD>mouseover<65><72>ʽ TD */
|
||||
.WdateDiv .menuOn{
|
||||
cursor:pointer;
|
||||
background-color: #B3CEEF;
|
||||
}
|
||||
/* <20>˵<EFBFBD><CBB5><EFBFBD>Чʱ<D0A7><CAB1><EFBFBD><EFBFBD>ʽ TD */
|
||||
.WdateDiv .invalidMenu{
|
||||
color:#aaa;
|
||||
}
|
||||
/* <20><>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƫ<EFBFBD><C6AB> DIV */
|
||||
.WdateDiv .YMenu{
|
||||
margin-top:16px;
|
||||
}
|
||||
/* <20><>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƫ<EFBFBD><C6AB> DIV */
|
||||
.WdateDiv .MMenu{
|
||||
margin-top:16px;
|
||||
*width:62px;
|
||||
}
|
||||
/* ʱѡ<CAB1><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB> DIV */
|
||||
.WdateDiv .hhMenu{
|
||||
margin-top:-90px;
|
||||
margin-left:26px;
|
||||
}
|
||||
/* <20><>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB> DIV */
|
||||
.WdateDiv .mmMenu{
|
||||
margin-top:-46px;
|
||||
margin-left:26px;
|
||||
}
|
||||
/* <20><>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB> DIV */
|
||||
.WdateDiv .ssMenu{
|
||||
margin-top:-24px;
|
||||
margin-left:26px;
|
||||
}
|
||||
|
||||
/****************************
|
||||
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
***************************/
|
||||
.WdateDiv .Wweek {
|
||||
text-align:center;
|
||||
background:#DAF3F5;
|
||||
border-right:#BDEBEE 1px solid;
|
||||
}
|
||||
/****************************
|
||||
* <20><><EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
***************************/
|
||||
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> TR */
|
||||
.WdateDiv .MTitle{
|
||||
color:#233D6D;
|
||||
background:#DFECFB url(glass-bg.gif) repeat-x scroll left top;
|
||||
color:#233D6D;
|
||||
cursor:default;
|
||||
font-size:10px;
|
||||
padding-top:2px;
|
||||
}
|
||||
.WdateDiv .MTitle td{
|
||||
border-bottom:1px solid #A3BAD9;
|
||||
}
|
||||
.WdateDiv .WdayTable2{
|
||||
border-collapse:collapse;
|
||||
border:black 1px solid;
|
||||
}
|
||||
.WdateDiv .WdayTable2 table{
|
||||
border:0;
|
||||
}
|
||||
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> TABLE */
|
||||
.WdateDiv .WdayTable{
|
||||
line-height:20px;
|
||||
color:black;
|
||||
}
|
||||
.WdateDiv .WdayTable td{
|
||||
text-align:center;
|
||||
}
|
||||
/* <20><><EFBFBD>ڸ<EFBFBD><DAB8><EFBFBD><EFBFBD><EFBFBD>ʽ TD */
|
||||
.WdateDiv .Wday{
|
||||
cursor:pointer;
|
||||
}
|
||||
/* <20><><EFBFBD>ڸ<EFBFBD><DAB8><EFBFBD>mouseover<65><72>ʽ TD */
|
||||
.WdateDiv .WdayOn{
|
||||
cursor:pointer;
|
||||
background-color:#B3CEEF;
|
||||
}
|
||||
/* <20><>ĩ<EFBFBD><C4A9><EFBFBD>ڸ<EFBFBD><DAB8><EFBFBD><EFBFBD><EFBFBD>ʽ TD */
|
||||
.WdateDiv .Wwday{
|
||||
cursor:pointer;
|
||||
color:#ab1e1e;
|
||||
}
|
||||
/* <20><>ĩ<EFBFBD><C4A9><EFBFBD>ڸ<EFBFBD><DAB8><EFBFBD>mouseover<65><72>ʽ TD */
|
||||
.WdateDiv .WwdayOn{
|
||||
cursor:pointer;
|
||||
background-color:#B3CEEF;
|
||||
}
|
||||
.WdateDiv .Wtoday{
|
||||
cursor:pointer;
|
||||
color:red;
|
||||
}
|
||||
.WdateDiv .Wselday{
|
||||
background-color:#B3CEEF;
|
||||
}
|
||||
.WdateDiv .WspecialDay{
|
||||
background-color:#66F4DF;
|
||||
}
|
||||
/* <20><><EFBFBD><EFBFBD><EFBFBD>·ݵ<C2B7><DDB5><EFBFBD><EFBFBD><EFBFBD> */
|
||||
.WdateDiv .WotherDay{
|
||||
cursor:pointer;
|
||||
color:#AAAAAA;
|
||||
}
|
||||
/* <20><><EFBFBD><EFBFBD><EFBFBD>·ݵ<C2B7><DDB5><EFBFBD><EFBFBD><EFBFBD>mouseover<65><72>ʽ */
|
||||
.WdateDiv .WotherDayOn{
|
||||
cursor:pointer;
|
||||
background-color:#B3CEEF;
|
||||
}
|
||||
/* <20><>Ч<EFBFBD><D0A7><EFBFBD>ڵ<EFBFBD><DAB5><EFBFBD>ʽ,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڷ<EFBFBD>Χ<EFBFBD><CEA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڸ<EFBFBD><DAB8><EFBFBD><EFBFBD><EFBFBD>ʽ,<2C><><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
|
||||
.WdateDiv .WinvalidDay{
|
||||
color:#aaa;
|
||||
}
|
||||
|
||||
/****************************
|
||||
* ʱ<><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
***************************/
|
||||
/* ʱ<><CAB1><EFBFBD><EFBFBD> DIV */
|
||||
.WdateDiv #dpTime{
|
||||
width:120px;
|
||||
text-align:left;
|
||||
margin-left:32px;
|
||||
height:20px;
|
||||
line-height:20px;
|
||||
padding-top:1px;
|
||||
}
|
||||
/* ʱ<><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD> SPAN */
|
||||
.WdateDiv #dpTime #dpTimeStr{
|
||||
margin-left:1px;
|
||||
color:#233D6D;
|
||||
}
|
||||
/* ʱ<><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> INPUT */
|
||||
.WdateDiv #dpTime input{
|
||||
height:16px;
|
||||
width:18px;
|
||||
text-align:center;
|
||||
color:#333;
|
||||
border:#A3BAD9 1px solid;
|
||||
}
|
||||
/* ʱ<><CAB1> ʱ INPUT */
|
||||
.WdateDiv #dpTime .tB{
|
||||
border-right:0px;
|
||||
}
|
||||
/* ʱ<><CAB1> <20>ֺͼ<D6BA><CDBC><EFBFBD><EFBFBD><EFBFBD> ':' INPUT */
|
||||
.WdateDiv #dpTime .tE{
|
||||
border-left:0;
|
||||
border-right:0;
|
||||
}
|
||||
/* ʱ<><CAB1> <20><> INPUT */
|
||||
.WdateDiv #dpTime .tm{
|
||||
width:7px;
|
||||
border-left:0;
|
||||
border-right:0;
|
||||
}
|
||||
/* ʱ<><CAB1><EFBFBD>ұߵ<D2B1><DFB5><EFBFBD><EFBFBD>ϰ<EFBFBD>ť BUTTON */
|
||||
.WdateDiv #dpTime #dpTimeUp{
|
||||
height:8px;
|
||||
width:13px;
|
||||
border:0px;
|
||||
background:url(img.gif) no-repeat -32px -16px;
|
||||
cursor:pointer;
|
||||
margin-bottom:0;
|
||||
padding-bottom:0;
|
||||
}
|
||||
/* ʱ<><CAB1><EFBFBD>ұߵ<D2B1><DFB5><EFBFBD><EFBFBD>°<EFBFBD>ť BUTTON */
|
||||
.WdateDiv #dpTime #dpTimeDown{
|
||||
height:8px;
|
||||
width:13px;
|
||||
border:0px;
|
||||
background:url(img.gif) no-repeat -48px -16px;
|
||||
cursor:pointer;
|
||||
margin-top:0;
|
||||
padding-top:0;
|
||||
}
|
||||
/****************************
|
||||
* <20><><EFBFBD><EFBFBD>
|
||||
***************************/
|
||||
.WdateDiv #dpQS {
|
||||
float:left;
|
||||
margin-left:3px;
|
||||
margin-top:9px;
|
||||
background:url(dateselect.gif) no-repeat;
|
||||
width:20px;
|
||||
height:20px;
|
||||
cursor:pointer;
|
||||
}
|
||||
.WdateDiv #dpControl {
|
||||
text-align:right;
|
||||
margin-top:3px;
|
||||
background:#DFECFB url(glass-bg.gif) repeat-x scroll left top;
|
||||
border-top:1px solid #A3BAD9;
|
||||
padding:4px;
|
||||
}
|
||||
.WdateDiv .dpButton{
|
||||
width:44px;
|
||||
height:22px;
|
||||
background:#083772 none repeat scroll 0 0;
|
||||
border-color:#3366CC #000055 #000055 #3366CC;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
color:white;
|
||||
cursor:pointer;
|
||||
|
||||
}
|
After Width: | Height: | Size: 190 B |
After Width: | Height: | Size: 873 B |
After Width: | Height: | Size: 1.1 KiB |
BIN
vue3-element-admin-thin/public/vender/date97/skin/ext/img.gif
Normal file
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 870 B |
After Width: | Height: | Size: 113 B |
After Width: | Height: | Size: 871 B |
After Width: | Height: | Size: 113 B |
After Width: | Height: | Size: 307 B |
@ -0,0 +1,256 @@
|
||||
/*
|
||||
* My97 DatePicker 4.8 Skin:whyGreen
|
||||
*/
|
||||
.WdateDiv{
|
||||
width:180px;
|
||||
background-color:#fff;
|
||||
border:#C5E1E4 1px solid;
|
||||
padding:2px;
|
||||
}
|
||||
|
||||
.WdateDiv2{
|
||||
width:360px;
|
||||
}
|
||||
.WdateDiv *{font-size:9pt;}
|
||||
|
||||
.WdateDiv .NavImg a{
|
||||
cursor:pointer;
|
||||
display:block;
|
||||
width:16px;
|
||||
height:16px;
|
||||
margin-top:1px;
|
||||
}
|
||||
|
||||
.WdateDiv .NavImgll a{
|
||||
float:left;
|
||||
background:url(img.gif) no-repeat;
|
||||
}
|
||||
.WdateDiv .NavImgl a{
|
||||
float:left;
|
||||
background:url(img.gif) no-repeat -16px 0px;
|
||||
}
|
||||
.WdateDiv .NavImgr a{
|
||||
float:right;
|
||||
background:url(img.gif) no-repeat -32px 0px;
|
||||
}
|
||||
.WdateDiv .NavImgrr a{
|
||||
float:right;
|
||||
background:url(img.gif) no-repeat -48px 0px;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTitle{
|
||||
height:24px;
|
||||
padding:1px;
|
||||
border:#c5d9e8 1px solid;
|
||||
background:url(bg.jpg);
|
||||
margin-bottom:2px;
|
||||
}
|
||||
|
||||
.WdateDiv .yminput{
|
||||
margin-top:2px;
|
||||
text-align:center;
|
||||
border:0px;
|
||||
height:20px;
|
||||
width:50px;
|
||||
color:#034c50;
|
||||
background-color:transparent;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.WdateDiv .yminputfocus{
|
||||
margin-top:2px;
|
||||
text-align:center;
|
||||
border:#939393 1px solid;
|
||||
font-weight:bold;
|
||||
color:#034c50;
|
||||
height:20px;
|
||||
width:50px;
|
||||
}
|
||||
|
||||
.WdateDiv .menuSel{
|
||||
z-index:1;
|
||||
position:absolute;
|
||||
background-color:#FFFFFF;
|
||||
border:#A3C6C8 1px solid;
|
||||
display:none;
|
||||
}
|
||||
|
||||
.WdateDiv .menu{
|
||||
cursor:pointer;
|
||||
background-color:#fff;
|
||||
color:#11777C;
|
||||
}
|
||||
|
||||
.WdateDiv .menuOn{
|
||||
cursor:pointer;
|
||||
background-color:#BEEBEE;
|
||||
}
|
||||
|
||||
.WdateDiv .invalidMenu{
|
||||
color:#aaa;
|
||||
}
|
||||
|
||||
.WdateDiv .YMenu{
|
||||
margin-top:20px;
|
||||
}
|
||||
|
||||
.WdateDiv .MMenu{
|
||||
margin-top:20px;
|
||||
*width:62px;
|
||||
}
|
||||
|
||||
.WdateDiv .hhMenu{
|
||||
margin-top:-90px;
|
||||
margin-left:26px;
|
||||
}
|
||||
|
||||
.WdateDiv .mmMenu{
|
||||
margin-top:-46px;
|
||||
margin-left:26px;
|
||||
}
|
||||
|
||||
.WdateDiv .ssMenu{
|
||||
margin-top:-24px;
|
||||
margin-left:26px;
|
||||
}
|
||||
|
||||
.WdateDiv .Wweek {
|
||||
text-align:center;
|
||||
background:#DAF3F5;
|
||||
border-right:#BDEBEE 1px solid;
|
||||
}
|
||||
|
||||
.WdateDiv .MTitle{
|
||||
color:#13777e;
|
||||
background-color:#bdebee;
|
||||
}
|
||||
.WdateDiv .WdayTable2{
|
||||
border-collapse:collapse;
|
||||
border:#BEE9F0 1px solid;
|
||||
}
|
||||
.WdateDiv .WdayTable2 table{
|
||||
border:0;
|
||||
}
|
||||
|
||||
.WdateDiv .WdayTable{
|
||||
line-height:20px;
|
||||
color:#13777e;
|
||||
background-color:#edfbfb;
|
||||
border:#BEE9F0 1px solid;
|
||||
}
|
||||
.WdateDiv .WdayTable td{
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.WdateDiv .Wday{
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.WdateDiv .WdayOn{
|
||||
cursor:pointer;
|
||||
background-color:#74d2d9 ;
|
||||
}
|
||||
|
||||
.WdateDiv .Wwday{
|
||||
cursor:pointer;
|
||||
color:#ab1e1e;
|
||||
}
|
||||
|
||||
.WdateDiv .WwdayOn{
|
||||
cursor:pointer;
|
||||
background-color:#74d2d9;
|
||||
}
|
||||
.WdateDiv .Wtoday{
|
||||
cursor:pointer;
|
||||
color:blue;
|
||||
}
|
||||
.WdateDiv .Wselday{
|
||||
background-color:#A7E2E7;
|
||||
}
|
||||
.WdateDiv .WspecialDay{
|
||||
background-color:#66F4DF;
|
||||
}
|
||||
|
||||
.WdateDiv .WotherDay{
|
||||
cursor:pointer;
|
||||
color:#0099CC;
|
||||
}
|
||||
|
||||
.WdateDiv .WotherDayOn{
|
||||
cursor:pointer;
|
||||
background-color:#C0EBEF;
|
||||
}
|
||||
|
||||
.WdateDiv .WinvalidDay{
|
||||
color:#aaa;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime{
|
||||
float:left;
|
||||
margin-top:3px;
|
||||
margin-right:30px;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime #dpTimeStr{
|
||||
margin-left:1px;
|
||||
color:#497F7F;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime input{
|
||||
height:20px;
|
||||
width:18px;
|
||||
text-align:center;
|
||||
color:#333;
|
||||
border:#61CAD0 1px solid;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime .tB{
|
||||
border-right:0px;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime .tE{
|
||||
border-left:0;
|
||||
border-right:0;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime .tm{
|
||||
width:7px;
|
||||
border-left:0;
|
||||
border-right:0;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime #dpTimeUp{
|
||||
height:10px;
|
||||
width:13px;
|
||||
border:0px;
|
||||
background:url(img.gif) no-repeat -32px -16px;
|
||||
}
|
||||
|
||||
.WdateDiv #dpTime #dpTimeDown{
|
||||
height:10px;
|
||||
width:13px;
|
||||
border:0px;
|
||||
background:url(img.gif) no-repeat -48px -16px;
|
||||
}
|
||||
|
||||
.WdateDiv #dpQS {
|
||||
float:left;
|
||||
margin-right:3px;
|
||||
margin-top:3px;
|
||||
background:url(img.gif) no-repeat 0px -16px;
|
||||
width:20px;
|
||||
height:20px;
|
||||
cursor:pointer;
|
||||
}
|
||||
.WdateDiv #dpControl {
|
||||
text-align:right;
|
||||
margin-top:3px;
|
||||
}
|
||||
.WdateDiv .dpButton{
|
||||
height:20px;
|
||||
width:45px;
|
||||
margin-top:2px;
|
||||
border:#38B1B9 1px solid;
|
||||
background-color:#CFEBEE;
|
||||
color:#08575B;
|
||||
}
|
After Width: | Height: | Size: 1.6 KiB |