This commit is contained in:
junshuai
2022-07-23 13:54:07 +08:00
parent 809c426b5a
commit 62548736a7
4912 changed files with 827659 additions and 38 deletions

View File

@@ -0,0 +1,7 @@
spring:
datasource:
druid:
url:
username:
password:
driver-class-name: com.mysql.jdbc.Driver

View File

@@ -0,0 +1,10 @@
spring:
datasource:
druid:
url:
username:
password:
driver-class-name: com.mysql.jdbc.Driver
scheduling:
enabled: true

View File

@@ -0,0 +1,7 @@
spring:
datasource:
druid:
url:
username:
password:
driver-class-name: com.mysql.jdbc.Driver

View File

@@ -0,0 +1,40 @@
server:
port: 8084
servlet:
context-path: /wap
spring:
main:
allow-bean-definition-overriding: true
profiles:
include: common, ryx, ys
active: dev
datasource:
url:
username:
password:
driver-class-name: com.mysql.jdbc.Driver
# mvc:
# view:
# prefix: /WEB-INF/jsp/
# suffix: .jsp
# thymeleaf:
# mode: HTML
# encoding: UTF-8
# cache: false
# prefix: classpath:/templates/
# servlet:
# content-type: text/html
resources:
static-locations: classpath:/static
rabbitmq:
username:
password:
host:
port: 5672
jpush:
environment:
# 极光推送开发环境还是线上环境。暂未使用
develop: true

View File

@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--日志级别以及优先级排序: OFF > FATAL > ERROR > WARN > INFO > DEBUG > TRACE > ALL -->
<!--Configuration后面的status这个用于设置log4j2自身内部的信息输出可以不设置当设置成trace时你会看到log4j2内部各种详细输出-->
<!--monitorIntervalLog4j能够自动检测修改配置 文件和重新配置本身,设置间隔秒数-->
<configuration status="WARN" monitorInterval="30">
<!--先定义所有的appender-->
<appenders>
<!--这个输出控制台的配置-->
<console name="Console" target="SYSTEM_OUT">
<!--输出日志的格式-->
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss:SSS} %p - %l - %m%n"/>
</console>
<!--文件会打印出所有信息这个log每次运行程序会自动清空由append属性决定这个也挺有用的适合临时测试用-->
<File name="log" fileName="${sys:user.home}/wap/log/test.log" append="false">
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %class{36} %L %M - %msg%xEx%n" />
</File>
<!-- 这个会打印出所有的info及以下级别的信息每次大小超过size则这size大小的日志会自动存入按年份-月份建立的文件夹下面并进行压缩,作为存档-->
<RollingFile name="RollingFileInfo" fileName="${sys:user.home}/wap/logs/info.log"
filePattern="${sys:user.home}/wap/logs/$${date:yyyy-MM}/info-%d{yyyy-MM-dd}-%i.log">
<!--控制台只输出level及以上级别的信息onMatch其他的直接拒绝onMismatch-->
<ThresholdFilter level="info" onMatch="ACCEPT" onMismatch="DENY"/>
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss:SSS} %p - %l - %m%n"/>
<Policies>
<TimeBasedTriggeringPolicy modulate="true" interval="1"/>
<SizeBasedTriggeringPolicy size="100 MB"/>
</Policies>
</RollingFile>
<RollingFile name="RollingFileWarn" fileName="${sys:user.home}/wap/logs/warn.log"
filePattern="${sys:user.home}/wap/logs/$${date:yyyy-MM}/warn-%d{yyyy-MM-dd}-%i.log">
<ThresholdFilter level="warn" onMatch="ACCEPT" onMismatch="DENY"/>
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss:SSS} %p - %l - %m%n"/>
<Policies>
<TimeBasedTriggeringPolicy modulate="true" interval="1"/>
<SizeBasedTriggeringPolicy size="100 MB"/>
</Policies>
<!-- DefaultRolloverStrategy属性如不设置则默认为最多同一文件夹下7个文件这里设置了20 -->
<DefaultRolloverStrategy max="20"/>
</RollingFile>
<RollingFile name="RollingFileError" fileName="${sys:user.home}/wap/logs/error.log"
filePattern="${sys:user.home}/wap/logs/$${date:yyyy-MM}/error-%d{yyyy-MM-dd}-%i.log">
<ThresholdFilter level="error" onMatch="ACCEPT" onMismatch="DENY"/>
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss:SSS} %p - %l - %m%n"/>
<Policies>
<TimeBasedTriggeringPolicy modulate="true" interval="1"/>
<SizeBasedTriggeringPolicy size="100 MB"/>
</Policies>
</RollingFile>
</appenders>
<!--然后定义logger只有定义了logger并引入的appenderappender才会生效-->
<loggers>
<!--过滤掉spring和mybatis的一些无用的DEBUG信息-->
<logger name="org.springframework" level="INFO"></logger>
<logger name="org.mybatis" level="INFO"></logger>
<root level="all">
<appender-ref ref="Console"/>
<appender-ref ref="RollingFileInfo"/>
<appender-ref ref="RollingFileWarn"/>
<appender-ref ref="RollingFileError"/>
</root>
</loggers>
</configuration>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 420 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 KiB

View File

@@ -0,0 +1,102 @@
s{
text-decoration:none;
}
.perport-container .c {
font-size: 14px;
text-indent: 2em;
color: #666666;
line-height: 38px;
}
.perport-container .c b,.perport-container .c i {
position: relative;
}
.perport-container .c b {
color: #2e6eab;
background: #c1eee1;
}
.perport-container .c b a,.perport-container .c i a {
position: absolute;
padding: 0 6px;
height: 18px;
line-height: 18px;
top: -20px;
left: 10px;
font-size: 12px;
text-indent: 0;
border-radius: 4px 4px 4px 0;
background: #646464;
color: #fff;
}
.perport-container .c b s,.perport-container .c i s {
padding: 0 4px;
}
.perport-container .s {
background: #FCF0E2;
padding: 15px;
position: relative;
border-radius: 0 4px 4px 4px;
font-size: 14px;
color: #FF8901;
line-height: 24px;
margin: 12px auto;
}
.perport-container .s::before {
content: '';
position: absolute;
width: 0;
height: 0;
border-style: solid;
border-width: 5px;
left: 0;
top: -9px;
pointer-events: none;
border-color: transparent transparent #FCF0E2 #FCF0E2;
}
.perport-container .c b i {
color: #FF5844;
border-bottom: 1px solid #FF5844;
}
.list i{
display: inline-block;
width: 10px;
height: 10px;
margin-right: 5px;
}
.green{
color:#2e6eab;
}
.orange{
color:#FF8901;
}
.red{
color:#FF5844;
}
.greenbg{
background-color:#2e6eab;
}
.orangebg{
background-color:#FF8901;
}
.redbg{
background-color:#FF5844;
}
.annotation-side ul li{
border-bottom:1px dotted #ccc;
padding:10px 0;
}
.annotation-side ul li .text {
font-size: 14px;
color: #999999;
line-height: 20px;
padding: 5px 0;
}
.praise{
background: url(../images/common/unprize.png) no-repeat center;
background-size:cover;
vertical-align: text-bottom;
}
.praise.current{
background: url(../images/common/prize.png) no-repeat center;
background-size:cover;
vertical-align: text-bottom;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,68 @@
@font-face {font-family: "iconfont";
src: url('//at.alicdn.com/t/font_2120528_actmdls1his.eot?t=1603691377947'); /* IE9 */
src: url('//at.alicdn.com/t/font_2120528_actmdls1his.eot?t=1603691377947#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAlMAAsAAAAAEaQAAAj/AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCEcAqTSJAgATYCJAM4Cx4ABCAFhG0HgVAbFg/IDiUJwcBggKFEcfDPtz/+95mZCz7xC2iQkh3JUJHcxNUhrP4wiJumlMlbTLbdOveLCS27MiusTIpeFK6K3hS5Ors6cBNh/tdcnbch3lxDgzRimtiX4/FR1UZImvB4h4klDQlCWuiU1LBYLjNbs0UsTkSP1n/lYAiIaUoG0OguvWQgEgdDodgKSlUGIhsBuBFdEfr6kQ1dpKMgjNDsY1wAjrjf1y96KhIMnoUPNXF550rQ7ivnbVPYFNoDhtopwLRfGHC7GVigMwAHuheNuAHgADo7FMfKO44DQDW8zqW+5s+bPk96nvW88Hnz5y2fD3m+/GXayzNvm4QaIe5tZmM4SlQLrxqtB0iICHD4pMRfx788gyXDA/kQSg11sZGZwVeOIiTPuAkIEXASCAFwJggOOAsEH7gQhBS4OQgxcEsQQuAhIAh4OZxg4HsawQKfgRMy+N1E9jeLgNxsUAtgFMC2B8BFMLXCFQwRKZU/slzgsKIyNu0B85i1H+uA2U8LWazKPiKWRCDgQTOJ30EKpbQbO9sNwB7XLA8E7fUOu0utMLkQBGI/DEUPuGsoz2D7bDFunTNMQtjMJPIMsZpEMguGSeX22ZXIUzurKEgEpe4N+Q2CBzhfrtWxboOkZ8WHMv8tPPBEbt+43i3yy/yUdoKWESMvhcXMk8Db4IHCjp1dywEFyxGQzFDtrWtKcfjtPJsNgvfaUf5sK2DssQzmMfh1CJRQdDSjGssiFpTNGKemh/amutueictTZYRq7/WmK64V7brSaPnVsZxZGSWDrPtR7nVf07AVR4b2I2QD5MRAXN5fNvYDhQUC+AffaTA4COnvNh2alUZ4zOly7+zDppR+6HrDcIi2+BP2ndmFWD7pXQcv7YDMxy+fP3nybGLzQu/OrUulLChRrNzutW9EURLiMhUiRyOHP8O6aWV58DnhfyoLPNtfQwRUvjqQvPt8sve6VLohyRYsCvqjoQTedKhllmRLkOh7MJDpXg7sN+QWP27zK2azuQfsEsjsSeKtc0UBq3X0LBZrvwUwzrkT+Ru9EHzGVmNJjtigJMaFogesYryZOgghUNxWQO1SOYoj4KuSJh0/zZWEVHEHgIl4W/2AWXVmi5TYsVuc6k5df1pKJyxNvmwAl1mcyRtvtLzI9/dCbg5mlfr1dsi+RKK07XItF5OVFpN7tlQltUuhsScDscDiQtYdMh1OnO0Wg1X+TpxTT+Mguxfd6DMfSZrlkUBrb3TFbRtEIotDjCO6sAhY14tRECLcKAqTM14IKrpUCtk2SBDswIMgM+xLNqwTyQgMbsfhc+oVamT6sCc2RC76RCayacdlOWJmTJ8+Mzou2mHzz4i5eMAZ7fQwrk/8Fn7k0kwCjjHOTB8OXNw5gLcm40oOUSjLN66IUkSVNzlXSOQPXGUoH6QiiuR2aDCmQDmgt3LsMPeBJUMzqnfO0fH3SWMuYbsley9H7Wl6xdiEPh7emEsWEAUDVy7KdR+cl3ksIhfuE4wUpKsIHsFzpQU+Xzt1u1eias7rVqur1R51kOm+uLhea+QkoEWP1l22/U9L0BCrCyuElrD+o7ouJV1uvCpm4FBs+4CKmbUxYLaS4pJ+KYTfFUGKVC8oDWuumM46+UuXVAQh7sf3XO7f/6Y0Ay8DU8bUZ4PESpfDpKackCXg0NqoA04HibUE8QccDmcoDbBWHBfz4XsmpboePnLBQmxkFe1D5MSXkLLjsnlr19p3DK1dx8uOz4JCz/aAPMCYd/k9ms8ruHaCy2Ow2nUWxAcTMUbHz4+9/Udf6919R+qysOK4xf0uxF1oH/6iF7t44PW46/02AjDh0oqkPj8LTvWaFpVeCjTezWZNb2q1dwXC6A/ZDLvJnAJujehMduSsbavJAwslfQdjUL9T4xdo8ju1aL5nQPyzgczWHSJAuq99vyaBlVCkmzYoNnekTDCV9UZNl//bUyATT8rvXF5Pgd4949rCSH8wrMSBJWIzGHJ0V+HHUkXSLaQ5NJwxs7sTp1AOFP9mh88IbxkxI6JZ+MyIlio2bGxxeI1q0RI7MWjfhOmtdqQmTkiJhEJbfnxKeWPuKG7jTtffpEmn5ZU5V0Rtkna26di8YfdCfgt+XAuwM1wcEOGHWx8p/Hb8c2MX5XzrM/RTzSLw2XVghT1m3XpfRQepWZB+gOqfKyrH6N5XezKgidqnu357HLiuBowVvT3yTnf7bWLe6x2fn3wv8VDiXVnX+PgEAHpN/sZr355vZfPZH53tnB/dhK389u156td9Pjri0Nr5MyJGdyXy6j+ljLRZfb+0ASGukN0vUxdh3BK7U7e4YZe0bjQ53eXqlL7mWf3LxNnAxDoANNbbo7Z9qK5xKvwPngJAow8OWskzo73JuAhg1kAfb9NCDlg58492IcwZYoJD8ISmPbC3zGmLuczRsCnBvDbfCVwgee67EKvnjp2n4Lb6Fon+R05+dWiKliTnA9M6CRIIMUNAL7K8lrhRI6yQ6kXJgbl7kqhejX+rxqDVFsh2scxZRVSaAWLRC/LYmGLun0WVzZZn7lRZZW0IaAJsjN8aOPA7W3sk9AY++MOsYzrRtWJCCTpglC1FdWQqWYtCtooRlXMT1pZCLrId/561RznvrH0KBVvHTJdwhwltRSEddWSZgazEykdjVAVdp5TBBsQXH0CqjDVlurrSmRGkTk8lY7lZOe3srmQdqdtjFf0IVZ7BoMSUOroW61IcjqypoTGNjlaTFYasKoNB0yI7WxlbNauCrgUIo9BBUobB2K8Eo5zRnikqoKlDObgBpPPzAyBRYaSGMnQj9T57JiDRoYcaP0YuWeTMYHdFdbPqTaWsnhGoyMNAYUowVVUHTS0YXSiMpEZk0GBo4vOpIanAQBZVK9I0tCCb2lPORVnnU7W/dcSvr0FeP5eRlZMnX4FCRZnTzlJlylVAsIIuq6TqVNwxVcYyy2Aoo9RU2ZgyilP41WlkJYW+ijZqKTYUPYRZ6XI3KC+rqNZrdDqJjDHSUbcG2hg5popSGhloWEUbuVVGavSOW46gNFqqLCc3fCRJjaLqeN+/Yn5aITKaNk5ja/0BAA==') format('woff2'),
url('//at.alicdn.com/t/font_2120528_actmdls1his.woff?t=1603691377947') format('woff'),
url('//at.alicdn.com/t/font_2120528_actmdls1his.ttf?t=1603691377947') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url('//at.alicdn.com/t/font_2120528_actmdls1his.svg?t=1603691377947#iconfont') format('svg'); /* iOS 4.1- */
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-loading:before {
content: "\e65b";
}
.icon-zhuangtaijiazai:before {
content: "\e69d";
}
.icon-jianpan_shouqi:before {
content: "\e82a";
}
.icon-shouqijianpan:before {
content: "\e62d";
}
.icon-dian:before {
content: "\ec1e";
}
.icon-backspace:before {
content: "\e62e";
}
.icon-zuojiantou:before {
content: "\e626";
}
.icon-zhifubao:before {
content: "\e63b";
}
.icon-gou:before {
content: "\e61e";
}
.icon-huiyuanvipqia01:before {
content: "\e639";
}
.icon-weixin:before {
content: "\e60e";
}
.icon-iconfontjiantou5:before {
content: "\e635";
}
.icon-youhuiquan:before {
content: "\e8c8";
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,216 @@
/*
* mescroll -- 精致的下拉刷新和上拉加载js框架 ( a great JS framework for pull-refresh and pull-up-loading )
* version 1.1.6
* 2017-08-27
* https://github.com/mescroll/mescroll.git
* http://www.mescroll.com
* author: wenju < mescroll@qq.com > 文举
*
* ----- mescroll的html结构解析 ----
*
<div id="mescroll" class="mescroll">
//下拉刷新区域 ( mescroll初始化之后自动创建 )
<div class="mescroll-downwarp">
<div class="downwarp-content">
<p class="downwarp-progress"></p> <p class="downwarp-tip">下拉刷新 </p>
</div>
</div>
//界面的具体内容
//<div>界面内容</div>
//数据列表..
//<ul id="dataList" class="data-list">
// <li>数据列表</li>
//空布局 ( 列表无任何数据时, 自动创建显示 )
<div class="mescroll-empty">
<img class="empty-icon" src="../img/mescroll-empty.png"/>
<p class="empty-tip">暂无相关数据~</p>
<p class="empty-btn">去逛逛 ></p>
</div>
//</ul>
//上拉加载区域 ( mescroll初始化之后自动创建 )
<div class="mescroll-upwarp">
//加载中..
<p class="upwarp-progress mescroll-rotate"></p><p class="upwarp-tip">加载中..</p>
//无数据
<p class="upwarp-nodata">-- END --</p>
</div>
//回到顶部按钮 ( 列表滚动到配置的距离时, 自动创建显示 )
<img class="mescroll-totop" src="../img/mescroll-totop.png"/>
</div>
*
*/
/*下拉刷新和上拉加载的滑动区域*/
.mescroll {
width: 100%;
height: 100%;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
/*启用硬件加速:动画渲染流畅,解决IOS下拉刷新因隐藏进度条致使的闪屏问题,在下拉刷新和上拉加载触发时启用,结束后移除,避免滥用导致其他兼容性问题*/
.mescroll-hardware{
-webkit-transform: translateZ(0);
transform: translateZ(0);
}
/*下拉刷新区域*/
.mescroll-downwarp{
position: relative;
width: 100%;
height: 0;
overflow: hidden;
text-align: center;
}
/*下拉刷新--高度重置的过渡动画*/
.mescroll-downwarp-reset{
-webkit-transition: height 300ms;
transition: height 300ms;
}
/*下拉刷新--内容区,定位于区域底部*/
.mescroll-downwarp .downwarp-content{
position: absolute;
left: 0;
bottom: 0;
width: 100%;
min-height: 30px;
padding: 10px 0;
}
/*上拉加载区域*/
.mescroll-upwarp {
min-height: 30px;
padding: 15px 0;
text-align: center;
visibility: hidden;/*代替display: none,列表快速滑动到底部能及时显示上拉加载的区域*/
}
/*下拉刷新,上拉加载--提示文本*/
.mescroll-downwarp .downwarp-tip,
.mescroll-upwarp .upwarp-tip,
.mescroll-upwarp .upwarp-nodata {
display: inline-block;
font-size: 12px;
color: gray;
vertical-align: middle;
}
/*下拉刷新,上拉加载--旋转进度条*/
.mescroll-downwarp .downwarp-progress,
.mescroll-upwarp .upwarp-progress {
display: inline-block;
width: 16px;
height: 16px;
border-radius: 50%;
border: 1px solid gray;
margin-right: 8px;
border-bottom-color: transparent;
vertical-align: middle;
}
/*旋转动画*/
.mescroll-rotate{
-webkit-animation: mescrollRotate 0.6s linear infinite;
animation: mescrollRotate 0.6s linear infinite;
}
@-webkit-keyframes mescrollRotate {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}
@keyframes mescrollRotate {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/*无任何数据的空布局*/
.mescroll-empty {
width: 100%;
padding-top: 20px;
text-align: center;
}
.mescroll-empty .empty-icon {
width: 45%;
}
.mescroll-empty .empty-tip {
margin-top: 6px;
font-size: 14px;
color: gray;
}
.mescroll-empty .empty-btn {
max-width: 50%;
margin: 20px auto;
padding: 10px;
border: 1px solid #65AADD;
border-radius: 6px;
background-color: white;
color: #65AADD;
}
.mescroll-empty .empty-btn:active {
opacity: .75;
}
/*回到顶部的按钮*/
.mescroll-totop {
z-index: 9990;
position: fixed;
right: 10px;
bottom: 30px;
width: 36px;
height: 36px;
border-radius: 50%;
opacity: 0;
}
/*显示动画--淡入*/
.mescroll-fade-in{
-webkit-animation: mescrollFadeIn .5s linear forwards;
animation: mescrollFadeIn .5s linear forwards;
}
@-webkit-keyframes mescrollFadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
}
@keyframes mescrollFadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
}
/*隐藏动画--淡出*/
.mescroll-fade-out{
pointer-events: none;
-webkit-animation: mescrollFadeOut .5s linear forwards;
animation: mescrollFadeOut .5s linear forwards;
}
@-webkit-keyframes mescrollFadeOut {
0% { opacity: 1; }
100% { opacity: 0; }
}
@keyframes mescrollFadeOut {
0% { opacity: 1; }
100% { opacity: 0; }
}
/*滚动条轨道背景(默认在PC端设置)*/
.mescroll-bar::-webkit-scrollbar-track{
background-color: transparent;
}
/*滚动条轨道宽度 (默认在PC端设置)*/
.mescroll-bar::-webkit-scrollbar{
width: 6px;
}
/*滚动条游标 (默认在PC端设置)*/
.mescroll-bar::-webkit-scrollbar-thumb{
border-radius: 6px;
background-color: #ccc;
}
/*滚动条游标鼠标经过的颜色变化 (默认在PC端设置)*/
.mescroll-bar::-webkit-scrollbar-thumb:hover{
background-color: #aaa;
}

View File

@@ -0,0 +1,150 @@
.mobileSelect {
position: relative;
z-index: 0;
opacity: 0;
visibility: hidden;
-webkit-transition: opacity 0.4s, z-index 0.4s;
transition: opacity 0.4s, z-index 0.4s;
}
.mobileSelect * {
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.mobileSelect .grayLayer {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: #eee;
background: rgba(0, 0, 0, 0.7);
z-index: 888;
display: block;
}
.mobileSelect .content {
width: 100%;
display: block;
position: fixed;
z-index: 889;
color: black;
-webkit-transition: all 0.4s;
transition: all 0.4s;
bottom: -350px;
left: 0;
background: white;
}
.mobileSelect .content .fixWidth {
width: 90%;
margin: 0 auto;
position: relative;
}
.mobileSelect .content .fixWidth:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.mobileSelect .content .btnBar {
border-bottom: 1px solid #DCDCDC;
font-size: 15px;
height: 45px;
position: relative;
text-align: center;
line-height: 45px;
}
.mobileSelect .content .btnBar .cancel,
.mobileSelect .content .btnBar .ensure {
height: 45px;
width: 55px;
cursor: pointer;
position: absolute;
top: 0;
}
.mobileSelect .content .btnBar .cancel {
left: 0;
color: #666;
}
.mobileSelect .content .btnBar .ensure {
right: 0;
color: #1e83d3;
}
.mobileSelect .content .btnBar .title {
font-size: 15px;
padding: 0 15%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.mobileSelect .content .panel:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.mobileSelect .content .panel .wheels {
width: 100%;
height: 200px;
overflow: hidden;
}
.mobileSelect .content .panel .wheel {
position: relative;
z-index: 0;
float: left;
width: 50%;
height: 200px;
overflow: hidden;
-webkit-transition: width 0.3s ease;
transition: width 0.3s ease;
}
.mobileSelect .content .panel .wheel .selectContainer {
display: block;
text-align: center;
-webkit-transition: -webkit-transform 0.18s ease-out;
transition: -webkit-transform 0.18s ease-out;
transition: transform 0.18s ease-out;
transition: transform 0.18s ease-out, -webkit-transform 0.18s ease-out;
}
.mobileSelect .content .panel .wheel .selectContainer li {
font-size: 15px;
display: block;
height: 40px;
line-height: 40px;
cursor: pointer;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.mobileSelect .content .panel .selectLine {
height: 40px;
width: 100%;
position: absolute;
top: 80px;
pointer-events: none;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border-top: 1px solid #DCDCDC;
border-bottom: 1px solid #DCDCDC;
}
.mobileSelect .content .panel .shadowMask {
position: absolute;
top: 0;
width: 100%;
height: 200px;
background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), color-stop(rgba(255, 255, 255, 0)), to(#ffffff));
background: -webkit-linear-gradient(top, #ffffff, rgba(255, 255, 255, 0), #ffffff);
background: linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0), #ffffff);
opacity: 0.9;
pointer-events: none;
}
.mobileSelect-show {
opacity: 1;
z-index: 10000;
visibility: visible;
}
.mobileSelect-show .content {
bottom: 0;
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,392 @@
html {
-ms-text-size-adjust:none;
-webkit-text-size-adjust:none;
font-size:100px;
box-sizing: border-box;
}
body {
font-family: "Helvetica Neue", Helvetica, STHeiTi, Arial, sans-serif;
margin: 0;
padding:0;
color: #333333;
background-color: white;
font-size:0.3rem;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
overflow-y:auto;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
audio,
canvas,
progress,
video {
display: inline-block;
vertical-align: baseline;
}
audio:not([controls]) {
display: none;
height: 0;
}
[hidden],
template {
display: none;
}
svg:not(:root) {
overflow: hidden;
}
a {
background: transparent;
text-decoration: none;
-webkit-tap-highlight-color: transparent;
color: #333;
display:block;
}
li{
list-style-type:none;
}
.red{
color:#f00;
}
a:active {
outline: 0;
}
a:active {
color: #333;
}
abbr[title] {
border-bottom: 1px dotted;
}
b,
strong {
font-weight: bold;
}
dfn {
font-style: italic;
}
mark {
background: #ff0;
color: #000;
}
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;
vertical-align: middle;
}
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
pre {
overflow: auto;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
color: inherit;
font: inherit;
margin: 0;
}
button {
overflow: visible;
}
button,
select {
text-transform: none;
}
div{
text-align:center;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
}
button[disabled],
html input[disabled] {
cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
input {
line-height: normal;
}
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box;
padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
input[type="search"] {
-webkit-appearance: textfield;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
legend {
border: 0;
padding: 0;
}
textarea {
overflow: auto;
resize: vertical;
}
optgroup {
font-weight: bold;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
}
html,
button,
input,
select,
textarea {
font-family: "Helvetica Neue", Helvetica, STHeiTi, Arial, sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
form,
blockquote {
margin: 0;
}
ul,
ol,
li,
dl,
dd {
margin: 0;
padding: 0;
}
ul,
ol {
list-style: none outside none;
}
h1,
h2,
h3 {
font-weight: normal;
}
.fl{
float: left;
}
.fr{
float: right;
}
.mar1{
margin:0.2rem 0.1rem;
}
.pad1{
padding:0.1rem;
}
.textl{
text-align: left;
}
.textr{
text-align: right;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
color: #cccccc;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
color: #cccccc;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
color: #cccccc;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/* 隐藏文字 */
.offScreen {
left: -9999px;
position: absolute;
}
::-webkit-input-placeholder {
/* WebKit browsers */
color: #999;
}
:-moz-placeholder {
/* Mozilla Firefox 4 to 18 */
color: #999;
}
::-moz-placeholder {
/* Mozilla Firefox 19+ */
color: #999;
}
:-ms-input-placeholder {
/* Internet Explorer 10+ */
color: #999;
}
a,
button,
input,
div {
-webkit-tap-highlight-color: rgba(255, 0, 0, 0);
-webkit-overflow-scrolling: touch;
}
.clearfix:after {
content: "\200B";
display: block;
height: 0;
clear: both;
}
.positionr{
position:relative;
}
.positiona{
position:absolute;
}
.red{
color:#df6051;
}
.fw800{
font-weight:800;
}
/* reset 部分样式重置 end ======================================= */
.payBox{
top:0;
left:0;
right:0;
bottom:0;
position: fixed;
background:rgba(0,0,0,0.4);
z-index: 3;
}
.payBox>div{
background-color:white;
position: absolute;
height: 4.2rem;
top:22%;
margin-right: 0.6rem;
margin-left: 0.6rem;
border-radius: 0.08rem;
/*border: 1rem solid #EEEEEE;
border-radius: 10rem;*/
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 787 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 790 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 712 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 735 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 659 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 990 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 745 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 530 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -0,0 +1,49 @@
<html>
<head>
<meta http-equiv="content-type" content="text/xml; charset=utf-8" />
<title>My97DatePicker</title>
<script type="text/javascript" src="config.js"></script>
<script>
if(parent==window)
location.href = 'http://www.my97.net';
var $d, $dp, $pdp = parent.$dp, $dt, $tdt, $sdt, $IE=$pdp.ie, $FF = $pdp.ff,$OPERA=$pdp.opera, $ny, $cMark = false;
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;
}
}

View File

@@ -0,0 +1,523 @@
/*
* My97 DatePicker 4.72 Release
* License: http://www.my97.net/dp/license.asp
*/
var $dp, WdatePicker;
(function() {
var _ = {
$wdate : true,
$dpPath : "",
$crossFrame : true,
doubleCalendar : false,
enableKeyboard : true,
enableInputMask : true,
autoUpdateOnChanged : null,
whichDayIsfirstWeek : 4,
position : {},
lang : "auto",
skin : "twoer",
dateFmt : "yyyy-MM-dd",
realDateFmt : "yyyy-MM-dd",
realTimeFmt : "HH:mm:ss",
realFullFmt : "%Date %Time",
minDate : "1900-01-01 00:00:00",
maxDate : "2099-12-31 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,
specialDates : null,
specialDays : null,
disabledDates : null,
disabledDays : null,
opposite : false,
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,
errMsg : "",
quickSel : [],
has : {}
};
WdatePicker = U;
var X = window, O = "document", J = "documentElement", C = "getElementsByTagName", V, A, T, I, b;
switch (navigator.appName) {
case "Microsoft Internet Explorer":
T = true;
break;
case "Opera":
b = true;
break;
default:
I = true;
break
}
A = L();
if (_.$wdate)
M(A + "skin/WdatePicker.css");
V = X;
if (_.$crossFrame) {
try {
while (V.parent && V.parent[O] != V[O]
&& V.parent[O][C]("frameset").length == 0)
V = V.parent
} catch (P) {
}
}
if (!V.$dp)
V.$dp = {
ff : I,
ie : T,
opera : b,
el : null,
win : X,
status : 0,
defMinDate : _.minDate,
defMaxDate : _.maxDate,
flatCfgs : []
};
B();
if ($dp.status == 0)
Z(X, function() {
U(null, true)
});
if (!X[O].docMD) {
E(X[O], "onmousedown", D);
X[O].docMD = true
}
if (!V[O].docMD) {
E(V[O], "onmousedown", D);
V[O].docMD = true
}
E(X, "onunload", function() {
if ($dp.dd)
Q($dp.dd, "none")
});
function B() {
V.$dp = V.$dp || {};
obj = {
$ : function($) {
return (typeof $ == "string") ? X[O].getElementById($) : $
},
$D : function($, _) {
return this.$DV(this.$($).value, _)
},
$DV : function(_, $) {
if (_ != "") {
this.dt = $dp.cal.splitDate(_, $dp.cal.dateFmt);
if ($)
for ( var B in $)
if (this.dt[B] === undefined)
this.errMsg = "invalid property:" + B;
else {
this.dt[B] += $[B];
if (B == "M") {
var C = $["M"] > 0 ? 1 : 0, A = new Date(
this.dt["y"], this.dt["M"], 0)
.getDate();
this.dt["d"] = Math
.min(A + C, this.dt["d"])
}
}
if (this.dt.refresh())
return this.dt
}
return ""
},
show : function() {
var A = V[O].getElementsByTagName("div"), $ = 100000;
for ( var B = 0; B < A.length; B++) {
var _ = parseInt(A[B].style.zIndex);
if (_ > $)
$ = _
}
this.dd.style.zIndex = $ + 2;
Q(this.dd, "block")
},
hide : function() {
Q(this.dd, "none")
},
attachEvent : E
};
for ( var $ in obj)
V.$dp[$] = obj[$];
$dp = V.$dp;
$dp.dd = V[O].getElementById("_my97DP")
}
function E(A, $, _) {
if (T)
A.attachEvent($, _);
else if (_) {
var B = $.replace(/on/, "");
_._ieEmuEventHandler = function($) {
return _($)
};
A.addEventListener(B, _._ieEmuEventHandler, false)
}
}
function L() {
var _, A, $ = X[O][C]("script");
for ( var B = 0; B < $.length; B++) {
_ = $[B].src.substring(0, $[B].src.toLowerCase().indexOf(
"wdatepicker.js"));
A = _.lastIndexOf("/");
if (A > 0)
_ = _.substring(0, A + 1);
if (_)
break
}
return _
}
function F(F) {
var E, C;
if (F.substring(0, 1) != "/" && F.indexOf("://") == -1) {
E = V.location.href;
C = location.href;
if (E.indexOf("?") > -1)
E = E.substring(0, E.indexOf("?"));
if (C.indexOf("?") > -1)
C = C.substring(0, C.indexOf("?"));
var G, I, $ = "", D = "", A = "", J, H, B = "";
for (J = 0; J < Math.max(E.length, C.length); J++) {
G = E.charAt(J).toLowerCase();
I = C.charAt(J).toLowerCase();
if (G == I) {
if (G == "/")
H = J
} else {
$ = E.substring(H + 1, E.length);
$ = $.substring(0, $.lastIndexOf("/"));
D = C.substring(H + 1, C.length);
D = D.substring(0, D.lastIndexOf("/"));
break
}
}
if ($ != "")
for (J = 0; J < $.split("/").length; J++)
B += "../";
if (D != "")
B += D + "/";
F = E.substring(0, E.lastIndexOf("/") + 1) + B + F
}
_.$dpPath = F
}
function M(A, $, B) {
var D = X[O][C]("HEAD").item(0), _ = X[O].createElement("link");
if (D) {
_.href = A;
_.rel = "stylesheet";
_.type = "text/css";
if ($)
_.title = $;
if (B)
_.charset = B;
D.appendChild(_)
}
}
function Z($, _) {
E($, "onload", _)
}
function G($) {
$ = $ || V;
var A = 0, _ = 0;
while ($ != V) {
var D = $.parent[O][C]("iframe");
for ( var F = 0; F < D.length; F++) {
try {
if (D[F].contentWindow == $) {
var E = W(D[F]);
A += E.left;
_ += E.top;
break
}
} catch (B) {
}
}
$ = $.parent
}
return {
"leftM" : A,
"topM" : _
}
}
function W(F) {
if (F.getBoundingClientRect)
return F.getBoundingClientRect();
else {
var A = {
ROOT_TAG : /^body|html$/i,
OP_SCROLL : /^(?:inline|table-row)$/i
}, E = false, H = null, _ = F.offsetTop, G = F.offsetLeft, D = F.offsetWidth, B = F.offsetHeight, C = F.offsetParent;
if (C != F)
while (C) {
G += C.offsetLeft;
_ += C.offsetTop;
if (S(C, "position").toLowerCase() == "fixed")
E = true;
else if (C.tagName.toLowerCase() == "body")
H = C.ownerDocument.defaultView;
C = C.offsetParent
}
C = F.parentNode;
while (C.tagName && !A.ROOT_TAG.test(C.tagName)) {
if (C.scrollTop || C.scrollLeft)
if (!A.OP_SCROLL.test(Q(C)))
if (!b || C.style.overflow !== "visible") {
G -= C.scrollLeft;
_ -= C.scrollTop
}
C = C.parentNode
}
if (!E) {
var $ = a(H);
G -= $.left;
_ -= $.top
}
D += G;
B += _;
return {
"left" : G,
"top" : _,
"right" : D,
"bottom" : B
}
}
}
function N($) {
$ = $ || V;
var B = $[O], A = ($.innerWidth) ? $.innerWidth
: (B[J] && B[J].clientWidth) ? B[J].clientWidth
: B.body.offsetWidth, _ = ($.innerHeight) ? $.innerHeight
: (B[J] && B[J].clientHeight) ? B[J].clientHeight
: B.body.offsetHeight;
return {
"width" : A,
"height" : _
}
}
function a($) {
$ = $ || V;
var B = $[O], A = B[J], _ = B.body;
B = (A && A.scrollTop != null && (A.scrollTop > _.scrollTop || A.scrollLeft > _.scrollLeft)) ? A
: _;
return {
"top" : B.scrollTop,
"left" : B.scrollLeft
}
}
function D($) {
var _ = $ ? ($.srcElement || $.target) : null;
try {
if ($dp.cal && !$dp.eCont && $dp.dd && _ != $dp.el
&& $dp.dd.style.display == "block")
$dp.cal.close()
} catch ($) {
}
}
function Y() {
$dp.status = 2;
H()
}
function H() {
if ($dp.flatCfgs.length > 0) {
var $ = $dp.flatCfgs.shift();
$.el = {
innerHTML : ""
};
$.autoPickDate = true;
$.qsEnabled = false;
K($)
}
}
var R, $;
function U(J, C) {
$dp.win = X;
B();
J = J || {};
if (C) {
if (!G()) {
$ = $ || setInterval(function() {
if (V[O].readyState == "complete")
clearInterval($);
U(null, true)
}, 50);
return
}
if ($dp.status == 0) {
$dp.status = 1;
K({
el : {
innerHTML : ""
}
}, true)
} else
return
} else if (J.eCont) {
J.eCont = $dp.$(J.eCont);
$dp.flatCfgs.push(J);
if ($dp.status == 2)
H()
} else {
if ($dp.status == 0) {
U(null, true);
return
}
if ($dp.status != 2)
return;
var F = D();
if (F) {
$dp.srcEl = F.srcElement || F.target;
F.cancelBubble = true
}
$dp.el = J.el = $dp.$(J.el || $dp.srcEl);
if (!$dp.el
|| $dp.el["My97Mark"] === true
|| $dp.el.disabled
|| ($dp.el == $dp.el && Q($dp.dd) != "none" && $dp.dd.style.left != "-1970px")) {
$dp.el["My97Mark"] = false;
return
}
K(J);
if (F && $dp.el.nodeType == 1 && $dp.el["My97Mark"] === undefined) {
$dp.el["My97Mark"] = false;
var _, A;
if (F.type == "focus") {
_ = "onclick";
A = "onfocus"
} else {
_ = "onfocus";
A = "onclick"
}
E($dp.el, _, $dp.el[A])
}
}
function G() {
if (T && V != X && V[O].readyState != "complete")
return false;
return true
}
function D() {
if (I) {
func = D.caller;
while (func != null) {
var $ = func.arguments[0];
if ($ && ($ + "").indexOf("Event") >= 0)
return $;
func = func.caller
}
return null
}
return event
}
}
function S(_, $) {
return _.currentStyle ? _.currentStyle[$] : document.defaultView
.getComputedStyle(_, false)[$]
}
function Q(_, $) {
if (_)
if ($ != null)
_.style.display = $;
else
return S(_, "display")
}
function K(H, $) {
for ( var D in _)
if (D.substring(0, 1) != "$")
$dp[D] = _[D];
for (D in H)
if ($dp[D] !== undefined)
$dp[D] = H[D];
var E = $dp.el ? $dp.el.nodeName : "INPUT";
if ($ || $dp.eCont
|| new RegExp(/input|textarea|div|span|p|a/ig).test(E))
$dp.elProp = E == "INPUT" ? "value" : "innerHTML";
else
return;
if ($dp.lang == "auto")
$dp.lang = T ? navigator.browserLanguage.toLowerCase()
: navigator.language.toLowerCase();
if (!$dp.dd
|| $dp.eCont
|| ($dp.lang && $dp.realLang && $dp.realLang.name != $dp.lang
&& $dp.getLangIndex && $dp.getLangIndex($dp.lang) >= 0)) {
if ($dp.dd && !$dp.eCont)
V[O].body.removeChild($dp.dd);
if (_.$dpPath == "")
F(A);
var B = "<iframe style=\"width:1px;height:1px\" src=\""
+ _.$dpPath
+ "My97DatePicker.htm\" frameborder=\"0\" border=\"0\" scrolling=\"no\"></iframe>";
if ($dp.eCont) {
$dp.eCont.innerHTML = B;
Z($dp.eCont.childNodes[0], Y)
} else {
$dp.dd = V[O].createElement("DIV");
$dp.dd.id = "_my97DP";
$dp.dd.style.cssText = "position:absolute";
$dp.dd.innerHTML = B;
V[O].body.appendChild($dp.dd);
Z($dp.dd.childNodes[0], Y);
if ($)
$dp.dd.style.left = $dp.dd.style.top = "-1970px";
else {
$dp.show();
C()
}
}
} else if ($dp.cal) {
$dp.show();
$dp.cal.init();
if (!$dp.eCont)
C()
}
function C() {
var F = $dp.position.left, B = $dp.position.top, C = $dp.el;
if (C != $dp.srcEl && (Q(C) == "none" || C.type == "hidden"))
C = $dp.srcEl;
var H = W(C), $ = G(X), D = N(V), A = a(V), E = $dp.dd.offsetHeight, _ = $dp.dd.offsetWidth;
if (isNaN(B)) {
if (B == "above"
|| (B != "under" && (($.topM + H.bottom + E > D.height) && ($.topM
+ H.top - E > 0))))
B = A.top + $.topM + H.top - E - 2;
else
B = A.top + $.topM + Math.min(H.bottom, D.height - E) + 2
} else
B += A.top + $.topM;
if (isNaN(F))
F = A.left + Math.min($.leftM + H.left, D.width - _ - 5)
- (T ? 2 : 0);
else
F += A.left + $.leftM;
$dp.dd.style.top = B + "px";
$dp.dd.style.left = F + "px"
}
}
})()

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,13 @@
var langList =
[
{name:'en', charset:'UTF-8'},
{name:'zh-cn', charset:'UTF-8'},
{name:'zh-tw', charset:'UTF-8'}
];
var skinList =
[
{name:'default', charset:'UTF-8'},
{name:'twoer', charset:'GB2312'},
{name:'whyGreen', charset:'UTF-8'}
];

View 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!'
}

View 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!'
}

View 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!'
}

View File

@@ -0,0 +1,10 @@
.Wdate{
border:#999 1px solid;
height:20px;
background:#fff url(datePicker.gif) no-repeat right;
}
.WdateFmtErr{
font-weight:bold;
color:red;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -0,0 +1,246 @@
/*
* My97 DatePicker 4.7
*/
.WdateDiv{
width:180px;
background-color:#FFFFFF;
border:#bbb 1px solid;
padding:2px;
}
.WdateDiv2{
width:360px;
}
.WdateDiv *{font-size:9pt;}
.WdateDiv .NavImg a{
display:block;
cursor:pointer;
height:16px;
width:16px;
}
.WdateDiv .NavImgll a{
float:left;
background:transparent url(img.gif) no-repeat scroll 0 0;
}
.WdateDiv .NavImgl a{
float:left;
background:transparent url(img.gif) no-repeat scroll -16px 0;
}
.WdateDiv .NavImgr a{
float:right;
background:transparent url(img.gif) no-repeat scroll -32px 0;
}
.WdateDiv .NavImgrr a{
float:right;
background:transparent url(img.gif) no-repeat scroll -48px 0;
}
.WdateDiv #dpTitle{
height:24px;
margin-bottom:2px;
padding:1px;
}
.WdateDiv .yminput{
margin-top:2px;
text-align:center;
height:20px;
border:0px;
width:50px;
cursor:pointer;
}
.WdateDiv .yminputfocus{
margin-top:2px;
text-align:center;
font-weight:bold;
height:20px;
color:blue;
border:#ccc 1px solid;
width:50px;
}
.WdateDiv .menuSel{
z-index:1;
position:absolute;
background-color:#FFFFFF;
border:#ccc 1px solid;
display:none;
}
.WdateDiv .menu{
cursor:pointer;
background-color:#fff;
}
.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{
background-color:#BDEBEE;
}
.WdateDiv .WdayTable2{
border-collapse:collapse;
border:#c5d9e8 1px solid;
}
.WdateDiv .WdayTable2 table{
border:0;
}
.WdateDiv .WdayTable{
line-height:20px;
border:#c5d9e8 1px solid;
}
.WdateDiv .WdayTable td{
text-align:center;
}
.WdateDiv .Wday{
cursor:pointer;
}
.WdateDiv .WdayOn{
cursor:pointer;
background-color:#C0EBEF;
}
.WdateDiv .Wwday{
cursor:pointer;
color:#FF2F2F;
}
.WdateDiv .WwdayOn{
cursor:pointer;
color:#000;
background-color:#C0EBEF;
}
.WdateDiv .Wtoday{
cursor:pointer;
color:blue;
}
.WdateDiv .Wselday{
background-color:#A9E4E9;
}
.WdateDiv .WspecialDay{
background-color:#66F4DF;
}
.WdateDiv .WotherDay{
cursor:pointer;
color:#6A6AFF;
}
.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;
}
.WdateDiv #dpTime input{
width:18px;
height:20px;
text-align:center;
border:#ccc 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;
}
.WdateDiv .dpButton{
height:20px;
width:45px;
border:#ccc 1px solid;
margin-top:2px;
margin-right:1px;
}

Some files were not shown because too many files have changed in this diff Show More