日考4
|
@ -0,0 +1,33 @@
|
|||
HELP.md
|
||||
target/
|
||||
!.mvn/wrapper/maven-wrapper.jar
|
||||
!**/src/main/**/target/
|
||||
!**/src/test/**/target/
|
||||
|
||||
### STS ###
|
||||
.apt_generated
|
||||
.classpath
|
||||
.factorypath
|
||||
.project
|
||||
.settings
|
||||
.springBeans
|
||||
.sts4-cache
|
||||
|
||||
### IntelliJ IDEA ###
|
||||
.idea
|
||||
*.iws
|
||||
*.iml
|
||||
*.ipr
|
||||
|
||||
### NetBeans ###
|
||||
/nbproject/private/
|
||||
/nbbuild/
|
||||
/dist/
|
||||
/nbdist/
|
||||
/.nb-gradle/
|
||||
build/
|
||||
!**/src/main/**/build/
|
||||
!**/src/test/**/build/
|
||||
|
||||
### VS Code ###
|
||||
.vscode/
|
|
@ -0,0 +1,333 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.bw</groupId>
|
||||
<artifactId>Rkday18</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<name>Rkday18</name>
|
||||
<description>Demo project for Spring Boot</description>
|
||||
<properties>
|
||||
<java.version>1.8</java.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<spring-boot.version>2.3.12.RELEASE</spring-boot.version>
|
||||
</properties>
|
||||
<!--依赖清单 开始-->
|
||||
<dependencies>
|
||||
|
||||
<!-- 助记码依赖 -->
|
||||
<dependency>
|
||||
<groupId>com.belerweb</groupId>
|
||||
<artifactId>pinyin4j</artifactId>
|
||||
<version>2.5.1</version>
|
||||
</dependency>
|
||||
|
||||
<!-- pom 导包:hutool 工具 图片上传-->
|
||||
<dependency>
|
||||
<groupId>cn.hutool</groupId>
|
||||
<artifactId>hutool-captcha</artifactId>
|
||||
<version>5.8.5</version>
|
||||
</dependency>
|
||||
|
||||
<!-- xxl-job依赖 -->
|
||||
<dependency>
|
||||
<groupId>com.xuxueli</groupId>
|
||||
<artifactId>xxl-job-core</artifactId>
|
||||
<version>2.3.1</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!--lombok依赖-->
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
<!--分页插件mybatis-->
|
||||
<dependency>
|
||||
<groupId>com.github.pagehelper</groupId>
|
||||
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
||||
<version>1.3.0</version>
|
||||
</dependency>
|
||||
|
||||
<!--JSON-->
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>fastjson</artifactId>
|
||||
<version>1.2.79</version>
|
||||
</dependency>
|
||||
|
||||
<!--mybatis依赖-->
|
||||
<dependency>
|
||||
<groupId>org.mybatis.spring.boot</groupId>
|
||||
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||||
<version>2.1.4</version>
|
||||
</dependency>
|
||||
|
||||
<!--mysql数据库依赖-->
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
<version>5.1.32</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!--添加servlet依赖模块-->
|
||||
<dependency>
|
||||
<groupId>javax.servlet</groupId>
|
||||
<artifactId>javax.servlet-api</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<!--添加jstl标签库依赖模块-->
|
||||
<dependency>
|
||||
<groupId>javax.servlet</groupId>
|
||||
<artifactId>jstl</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- 使用jsp引擎,springboot内置tomcat没有此依赖 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tomcat.embed</groupId>
|
||||
<artifactId>tomcat-embed-jasper</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!--Spring Boot WEB依赖-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!--Aop 依赖导入-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-aop</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- 邮箱依赖 -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-mail</artifactId>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!--嵌入tomcat 依赖-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-tomcat</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
<version>2.6</version>
|
||||
</dependency>
|
||||
|
||||
<!-- junit 测试 -->
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.12</version>
|
||||
</dependency>
|
||||
|
||||
<!--dom4j 解析XML文件使用-->
|
||||
<dependency>
|
||||
<groupId>dom4j</groupId>
|
||||
<artifactId>dom4j</artifactId>
|
||||
<version>1.6.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jaxen</groupId>
|
||||
<artifactId>jaxen</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!--测试依赖-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<!--因为需要在main中要用到,所有去掉依赖范围,默认所有环境都支持-->
|
||||
<!-- <scope>test</scope>-->
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.junit.vintage</groupId>
|
||||
<artifactId>junit-vintage-engine</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<!-- sqringWeb框架依赖 -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mybatis.spring.boot</groupId>
|
||||
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||||
<version>2.1.4</version>
|
||||
</dependency>
|
||||
|
||||
<!--热部署-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-devtools</artifactId>
|
||||
<scope>runtime</scope>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
<!--验证依赖-->
|
||||
<dependency>
|
||||
<groupId>cn.hutool</groupId>
|
||||
<artifactId>hutool-all</artifactId>
|
||||
<version>5.7.22</version>
|
||||
</dependency>
|
||||
|
||||
<!-- MyBatis的二级缓存依赖 -->
|
||||
<dependency>
|
||||
<groupId>org.mybatis.caches</groupId>
|
||||
<artifactId>mybatis-ehcache</artifactId>
|
||||
<version>1.2.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.ehcache</groupId>
|
||||
<artifactId>ehcache</artifactId>
|
||||
<version>3.8.1</version>
|
||||
</dependency>
|
||||
|
||||
<!--短信依赖 5条依赖-->
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>fastjson</artifactId>
|
||||
<version>1.2.15</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents</groupId>
|
||||
<artifactId>httpclient</artifactId>
|
||||
<version>4.2.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents</groupId>
|
||||
<artifactId>httpcore</artifactId>
|
||||
<version>4.2.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
<version>2.6</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-util</artifactId>
|
||||
<version>9.3.7.v20160115</version>
|
||||
</dependency>
|
||||
|
||||
<!-- activeMQ依赖 -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-activemq</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- 缓存依赖 -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-cache</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.sf.ehcache</groupId>
|
||||
<artifactId>ehcache</artifactId>
|
||||
<version>2.10.6</version>
|
||||
</dependency>
|
||||
|
||||
<!-- poi导入导出依赖 excel2007+使用的包 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.poi</groupId>
|
||||
<artifactId>poi-ooxml</artifactId>
|
||||
<version>3.17</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.poi</groupId>
|
||||
<artifactId>poi-ooxml-schemas</artifactId>
|
||||
<version>3.17</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
<version>3.12.0</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 合并单元格 -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>easyexcel</artifactId>
|
||||
<version>2.2.7</version>
|
||||
</dependency>
|
||||
|
||||
<!--依赖清单 结束-->
|
||||
</dependencies>
|
||||
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-dependencies</artifactId>
|
||||
<version>${spring-boot.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<encoding>UTF-8</encoding>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<version>2.3.12.RELEASE</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
<!--扫描包和配置文件-->
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/java</directory>
|
||||
<includes>
|
||||
<include>**/*.xml</include>
|
||||
</includes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<includes>
|
||||
<include>**/*.*</include>
|
||||
</includes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/webapp</directory>
|
||||
<includes>
|
||||
<include>**/*.*</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
package com.bw;
|
||||
|
||||
import com.bw.service.ScheduledPrintNameService;
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.jms.annotation.EnableJms;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
import org.springframework.scheduling.annotation.Scheduled;
|
||||
|
||||
@EnableJms
|
||||
@SpringBootApplication
|
||||
@EnableScheduling
|
||||
public class Application {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(Application.class, args);
|
||||
}
|
||||
|
||||
|
||||
@Autowired
|
||||
private ScheduledPrintNameService service;
|
||||
@Scheduled(cron = "0/5 * * * * ?")
|
||||
public void testName(){
|
||||
service.ScheduledPrintName();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
package com.bw.service;
|
||||
|
||||
public interface ScheduledPrintNameService {
|
||||
void ScheduledPrintName();
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
package com.bw.service;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class ScheduledPrintNameServiceImpl implements ScheduledPrintNameService{
|
||||
@Override
|
||||
public void ScheduledPrintName() {
|
||||
Object name="谢欣悦";
|
||||
System.out.println(name);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,67 @@
|
|||
# ???? WEB ?????
|
||||
server.port=8080
|
||||
|
||||
# ??????????MyBatis??
|
||||
# ??Mybatis?Mapper??
|
||||
mybatis.mapper-locations=classpath:mapper/*.xml
|
||||
# ??Mybatis?????
|
||||
#mybatis.type-aliases-package=com.bw.bean
|
||||
# ????
|
||||
logging.level.com.bw=debug
|
||||
# mybatis???????
|
||||
mybatis.configuration.map-underscore-to-camel-case=true
|
||||
# ??????
|
||||
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
|
||||
# ?????
|
||||
#spring.datasource.name=defaultDataSource
|
||||
# ???????
|
||||
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/zg2_rkday18?characterEncoding=utf-8&useUnicode=true
|
||||
# ??????&???
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=root
|
||||
# ?????
|
||||
spring.mvc.view.prefix=/WEB-INF/view/
|
||||
spring.mvc.view.suffix=.jsp
|
||||
|
||||
# ????????????/??
|
||||
spring.mail.host=smtp.qq.com
|
||||
# ???????
|
||||
spring.mail.port=587
|
||||
# ???
|
||||
spring.mail.username=2289014031@qq.com
|
||||
# ???
|
||||
spring.mail.password=osckrzzuhfbhecgc
|
||||
|
||||
# ??
|
||||
spring.mail.defaultencoding=UTF8
|
||||
# ????
|
||||
spring.mail.properties.mail.smtp.socketFactoryClass=javax.net.ssl.SSLSocketFactory
|
||||
# ???????????? ????????
|
||||
spring.mail.properties.mail.debug=true
|
||||
|
||||
|
||||
# pageHelper??
|
||||
# ?????
|
||||
pagehelper.reasonable=true
|
||||
# ????????????????? ????????? mysql--limit oracle--rownum
|
||||
pagehelper.auto-dialect=true
|
||||
|
||||
|
||||
# activeMq?????
|
||||
spring.activemq.user=admin
|
||||
spring.activemq.password=admin
|
||||
# ???????mq ??????????
|
||||
spring.activemq.in-memory=false
|
||||
# ???? ?61616 ?????8161
|
||||
spring.activemq.broker-url=tcp://127.0.0.1:61616
|
||||
# ????????????? (??????????????)
|
||||
spring.activemq.packages.trust-all=true
|
||||
#??mq?????
|
||||
spring.jms.template.delivery-mode=persistent
|
||||
|
||||
# ????
|
||||
spring.cache.ehcache.config=classpath:ehcache.xml
|
||||
spring.cache.type=ehcache
|
||||
|
||||
#??MQ?????? ???false:???? ??true:???????
|
||||
spring.jms.pub-sub-domain=false
|
|
@ -0,0 +1,187 @@
|
|||
@charset "UTF-8";
|
||||
|
||||
form {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
img {
|
||||
border: medium none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
} /* img elements 图片元素 */
|
||||
/** 设置默认字体 **/
|
||||
body,button,input,select,textarea {
|
||||
font-size: 12px;
|
||||
font: 12px/1.5 ’宋体’, Arial, tahoma, Srial, helvetica, sans-serif;
|
||||
}
|
||||
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
em {
|
||||
font-style: normal;
|
||||
}
|
||||
/** 重置列表元素 **/
|
||||
ul,ol {
|
||||
list-style: none;
|
||||
}
|
||||
/** 重置超链接元素 **/
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #4f4f4f;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
color: #F40;
|
||||
}
|
||||
/** 重置图片元素 **/
|
||||
img {
|
||||
border: 0px;
|
||||
margin-bottom: -7px;
|
||||
}
|
||||
|
||||
body {
|
||||
width: 80%;
|
||||
margin: 40px auto;
|
||||
font-family: 'trebuchet MS', 'Lucida sans', Arial;
|
||||
font-size: 14px;
|
||||
color: #444;
|
||||
background: url(../css/img/48.jpg);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% auto;
|
||||
/* background: #F5F5F5; */
|
||||
}
|
||||
|
||||
table {
|
||||
border: solid #ccc 1px;
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
/* -webkit-box-shadow: 0 1px 1px #ccc;
|
||||
box-shadow: 0 1px 1px #ccc; */
|
||||
-webkit-box-shadow: 0px 2px 1px 5px rgba(242, 242, 242, 0.1);
|
||||
box-shadow: 5px 20px 30px 30px rgba(242, 242, 242, 0.1);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table thead th {
|
||||
background:url(../css/img/zebratable.png);
|
||||
background-repeat:no-repeat;
|
||||
background-position: 0px center;
|
||||
}
|
||||
|
||||
table tr {
|
||||
background: #D5EAF0;
|
||||
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
|
||||
box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
|
||||
}
|
||||
|
||||
table tr:nth-child(even) {
|
||||
background: #D7E1C5;
|
||||
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
|
||||
box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
|
||||
}
|
||||
|
||||
|
||||
|
||||
table td,table th {
|
||||
border-left: 1px solid #ccc;
|
||||
border-top: 1px solid #ccc;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
table th {
|
||||
background-color: #66a9bd;
|
||||
background-image: -moz-linear-gradient(top, #dce9f9, #66a9bd);
|
||||
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
|
||||
box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
|
||||
border-top: none;
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
|
||||
}
|
||||
|
||||
table td:first-child,table th:first-child {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
table th:first-child {
|
||||
-webkit-border-radius: 6px 0 0 0;
|
||||
border-radius: 6px 0 0 0;
|
||||
}
|
||||
|
||||
table th:last-child {
|
||||
-webkit-border-radius: 0 6px 0 0;
|
||||
border-radius: 0 6px 0 0;
|
||||
}
|
||||
|
||||
table th:only-child {
|
||||
-webkit-border-radius: 6px 6px 0 0;
|
||||
border-radius: 6px 6px 0 0;
|
||||
}
|
||||
|
||||
table tr:last-child td:first-child {
|
||||
-webkit-border-radius: 0 0 0 6px;
|
||||
border-radius: 0 0 0 6px;
|
||||
}
|
||||
|
||||
table tr:last-child td:last-child {
|
||||
-webkit-border-radius: 0 0 6px 0;
|
||||
border-radius: 0 0 6px 0;
|
||||
}
|
||||
|
||||
input[type="button"],input[type="submit"],input[type="reset"] {
|
||||
border: solid #ccc 1px;
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
-webkit-box-shadow: 0 1px 1px #ccc;
|
||||
box-shadow: 0 1px 1px #ccc;
|
||||
background: #B0CC7F;
|
||||
margin: 0 2px 0;
|
||||
}
|
||||
|
||||
input[type="text"],input[type="password"] {
|
||||
border: solid #ccc 2px;
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
-webkit-box-shadow: 0 1px 1px #ccc;
|
||||
box-shadow: 0 1px 1px #ccc;
|
||||
background: #efefef;
|
||||
margin: 0 2px 0;
|
||||
text-indent: 5px;
|
||||
}
|
||||
select {
|
||||
width:200px;
|
||||
border: solid #ccc 2px;
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
-webkit-box-shadow: 0 1px 1px #ccc;
|
||||
background: #efefef;
|
||||
margin: 0 2px 0;
|
||||
text-indent: 5px;
|
||||
}
|
||||
option {
|
||||
width:180px;
|
||||
border: solid #ccc 2px;
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
-webkit-box-shadow: 0 1px 1px #ccc;
|
||||
background: #efefef;
|
||||
margin: 0 2px 0;
|
||||
text-indent: 5px;
|
||||
}
|
||||
|
||||
input[name="page.now"] {
|
||||
border: solid #ccc 1px;
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
-webkit-box-shadow: 0 1px 1px #ccc;
|
||||
box-shadow: 0px 0px 0px #CEB754;
|
||||
background: #D5EAF0;
|
||||
margin: 0px 10px 0px 0px;
|
||||
padding-bottom: 0px;
|
||||
padding-top: 5px;
|
||||
width: 24px;
|
||||
line-height:10px;
|
||||
height: 12xp;
|
||||
}
|
After Width: | Height: | Size: 831 KiB |
After Width: | Height: | Size: 1.3 MiB |
After Width: | Height: | Size: 1.2 MiB |
After Width: | Height: | Size: 977 KiB |
|
@ -0,0 +1,57 @@
|
|||
@charset "UTF-8";
|
||||
/* CSS Document */
|
||||
body, h1, h2, h3, h4, h5, h6, hr, p,
|
||||
blockquote, /* structural elements 结构元素 */
|
||||
dl, dt, dd, ul, ol, li, /* list elements 列表元素 */
|
||||
pre, /* text formatting elements 文本格式元素 */
|
||||
form, fieldset, legend, button, input, textarea, /* form elements 表单元素 */
|
||||
th, td, /* table elements 表格元素 */
|
||||
body{
|
||||
background: #F5F5F5;
|
||||
}
|
||||
form{
|
||||
margin-top: 0px;
|
||||
}
|
||||
img{border:medium none;margin:0;padding:0;}/* img elements 图片元素 */
|
||||
/** 设置默认字体 **/
|
||||
body,button, input, select, textarea { font-size:12px; font: 12px/1.5 ’宋体’,Arial,tahoma, Srial, helvetica, sans-serif;}
|
||||
h1,h2,h3,h4,h5,h6 { font-size:100%;}
|
||||
em{font-style:normal;}
|
||||
/** 重置列表元素 **/
|
||||
ul, ol { list-style:none; }
|
||||
/** 重置超链接元素 **/
|
||||
a { text-decoration:none; color:#4f4f4f;}
|
||||
a:hover { text-decoration:underline; color:#F40; }
|
||||
/** 重置图片元素 **/
|
||||
img{ border:0px; margin-bottom: -7px;}
|
||||
table {border: 1px solid #B1CDE3; padding:0; margin:0 auto; margin-left:10px;margin-right:10px; width:98%; border-collapse: collapse; }
|
||||
td,th {text-align:center; border: 1px solid #B1CDE3;background: #fff;font-size:14px;padding: 3px 3px 3px 8px;color: #4f6b72;height: 22px;}
|
||||
input[type="text"]{
|
||||
border: 1px solid; border-color: #CCC #EEE #EEE #CCC;
|
||||
background: #F5F5F5;
|
||||
height: 18px;
|
||||
width: 160px;
|
||||
}
|
||||
input[type="password"]{
|
||||
border: 1px solid; border-color: #CCC #EEE #EEE #CCC;
|
||||
color: #000; background: #F5F5F5;
|
||||
width: 160px;
|
||||
}
|
||||
input[type="submit"]{
|
||||
border: 1px solid; border-color: #EEE #CCC #CCC #EEE;
|
||||
color: #000; font-weight: bold; background: #F5F5F5;
|
||||
}
|
||||
input[type="button"]{
|
||||
border: 1px solid; border-color: #EEE #CCC #CCC #EEE;
|
||||
color: #000; font-weight: bold; background: #F5F5F5;
|
||||
}
|
||||
input[type="reset"]{
|
||||
border: 1px solid; border-color: #EEE #CCC #CCC #EEE;
|
||||
color: #000; background: #F5F5F5;
|
||||
}
|
||||
textarea {
|
||||
border: 1px solid; border-color: #EEE #CCC #CCC #EEE;
|
||||
color: #000; background: #F5F5F5;
|
||||
width:600px;height: 150px;
|
||||
}
|
||||
p{margin-left:10px; margin-top:2px; margin-bottom:5px; width:100%; border-collapse: collapse;font-size:14px;}
|
|
@ -0,0 +1,57 @@
|
|||
<%=request.getContextPath() %><%=request.getContextPath() %>@charset "UTF-8";
|
||||
/* CSS Document */
|
||||
body, h1, h2, h3, h4, h5, h6, hr, p,
|
||||
blockquote, /* structural elements 结构元素 */
|
||||
dl, dt, dd, ul, ol, li, /* list elements 列表元素 */
|
||||
pre, /* text formatting elements 文本格式元素 */
|
||||
form, fieldset, legend, button, input, textarea, /* form elements 表单元素 */
|
||||
th, td, /* table elements 表格元素 */
|
||||
body{
|
||||
background: #F5F5F5;
|
||||
}
|
||||
form{
|
||||
margin-top: 0px;
|
||||
}
|
||||
img{border:medium none;margin:0;padding:0;}/* img elements 图片元素 */
|
||||
/** 设置默认字体 **/
|
||||
body,button, input, select, textarea { font-size:12px; font: 12px/1.5 ’宋体’,Arial,tahoma, Srial, helvetica, sans-serif;}
|
||||
h1,h2,h3,h4,h5,h6 { font-size:100%;}
|
||||
em{font-style:normal;}
|
||||
/** 重置列表元素 **/
|
||||
ul, ol { list-style:none; }
|
||||
/** 重置超链接元素 **/
|
||||
a { text-decoration:none; color:#4f4f4f;}
|
||||
a:hover { text-decoration:underline; color:#F40; }
|
||||
/** 重置图片元素 **/
|
||||
img{ border:0px; margin-bottom: -7px;}
|
||||
table {border: 1px solid #B1CDE3; padding:0; margin:0 auto; margin-left:10px;margin-right:10px; width:98%; border-collapse: collapse; }
|
||||
td,th {text-align:center; border: 1px solid #B1CDE3;background: #fff;font-size:14px;padding: 3px 3px 3px 8px;color: #4f6b72;height: 22px;}
|
||||
input[type="text"]{
|
||||
border: 1px solid; border-color: #CCC #EEE #EEE #CCC;
|
||||
background: #F5F5F5;
|
||||
height: 18px;
|
||||
width: 160px;
|
||||
}
|
||||
input[type="password"]{
|
||||
border: 1px solid; border-color: #CCC #EEE #EEE #CCC;
|
||||
color: #000; background: #F5F5F5;
|
||||
width: 160px;
|
||||
}
|
||||
input[type="submit"]{
|
||||
border: 1px solid; border-color: #EEE #CCC #CCC #EEE;
|
||||
color: #000; font-weight: bold; background: #F5F5F5;
|
||||
}
|
||||
input[type="button"]{
|
||||
border: 1px solid; border-color: #EEE #CCC #CCC #EEE;
|
||||
color: #000; font-weight: bold; background: #F5F5F5;
|
||||
}
|
||||
input[type="reset"]{
|
||||
border: 1px solid; border-color: #EEE #CCC #CCC #EEE;
|
||||
color: #000; background: #F5F5F5;
|
||||
}
|
||||
textarea {
|
||||
border: 1px solid; border-color: #EEE #CCC #CCC #EEE;
|
||||
color: #000; background: #F5F5F5;
|
||||
width:600px;height: 150px;
|
||||
}
|
||||
p{margin-left:10px; margin-top:2px; margin-bottom:5px; width:100%; border-collapse: collapse;font-size:14px;}
|
|
@ -0,0 +1,201 @@
|
|||
@charset "UTF-8";
|
||||
|
||||
form {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
img {
|
||||
border: medium none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
} /* img elements 图片元素 */
|
||||
/** 设置默认字体 **/
|
||||
body,button,input,select,textarea {
|
||||
font-size: 12px;
|
||||
font: 12px/1.5 ’宋体’, Arial, tahoma, Srial, helvetica, sans-serif;
|
||||
}
|
||||
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
em {
|
||||
font-style: normal;
|
||||
}
|
||||
/** 重置列表元素 **/
|
||||
ul,ol {
|
||||
list-style: none;
|
||||
}
|
||||
/** 重置超链接元素 **/
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #4f4f4f;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
color: #F40;
|
||||
}
|
||||
/** 重置图片元素 **/
|
||||
img {
|
||||
border: 0px;
|
||||
margin-bottom: -7px;
|
||||
}
|
||||
|
||||
body {
|
||||
width: 80%;
|
||||
margin: 40px auto;
|
||||
font-family: 'trebuchet MS', 'Lucida sans', Arial;
|
||||
font-size: 14px;
|
||||
color: #444;
|
||||
background: url(../css/img/body1.jpg);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% auto;
|
||||
/* background: #F5F5F5; */
|
||||
}
|
||||
|
||||
table {
|
||||
border: solid #ccc 1px;
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
/* -webkit-box-shadow: 0 1px 1px #ccc;
|
||||
box-shadow: 0 1px 1px #ccc; */
|
||||
-webkit-box-shadow: 0px 2px 1px 5px rgba(242, 242, 242, 0.1);
|
||||
box-shadow: 5px 20px 30px 30px rgba(242, 242, 242, 0.1);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table thead th {
|
||||
background:url(../css/img/zebratable.png);
|
||||
background-repeat:no-repeat;
|
||||
background-position: 0px center;
|
||||
}
|
||||
|
||||
table tr {
|
||||
background: #D5EAF0;
|
||||
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
|
||||
box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
|
||||
}
|
||||
|
||||
table tr:nth-child(even) {
|
||||
background: #D7E1C5;
|
||||
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
|
||||
box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
|
||||
}
|
||||
|
||||
table tr:hover {
|
||||
background: #91C5D4;
|
||||
-o-transition: all 0.1s ease-in-out;
|
||||
-webkit-transition: all 0.1s ease-in-out;
|
||||
-ms-transition: all 0.1s ease-in-out;
|
||||
transition: all 3s ease-in-out;
|
||||
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#151515), to(#404040)) !important;
|
||||
background-image: -webkit-linear-gradient(top, #151515, #404040) !important;
|
||||
background-image: -moz-linear-gradient(top, #151515, #404040) !important;
|
||||
background-image: -ms-linear-gradient(top, #151515, #404040) !important;
|
||||
background-image: -o-linear-gradient(top, #151515, #404040) !important;
|
||||
background-image: linear-gradient(top, #151515, #404040) !important;
|
||||
color:#fff !important;
|
||||
}
|
||||
|
||||
table td,table th {
|
||||
border-left: 1px solid #ccc;
|
||||
border-top: 1px solid #ccc;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
table th {
|
||||
background-color: #66a9bd;
|
||||
background-image: -moz-linear-gradient(top, #dce9f9, #66a9bd);
|
||||
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
|
||||
box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
|
||||
border-top: none;
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
|
||||
}
|
||||
|
||||
table td:first-child,table th:first-child {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
table th:first-child {
|
||||
-webkit-border-radius: 6px 0 0 0;
|
||||
border-radius: 6px 0 0 0;
|
||||
}
|
||||
|
||||
table th:last-child {
|
||||
-webkit-border-radius: 0 6px 0 0;
|
||||
border-radius: 0 6px 0 0;
|
||||
}
|
||||
|
||||
table th:only-child {
|
||||
-webkit-border-radius: 6px 6px 0 0;
|
||||
border-radius: 6px 6px 0 0;
|
||||
}
|
||||
|
||||
table tr:last-child td:first-child {
|
||||
-webkit-border-radius: 0 0 0 6px;
|
||||
border-radius: 0 0 0 6px;
|
||||
}
|
||||
|
||||
table tr:last-child td:last-child {
|
||||
-webkit-border-radius: 0 0 6px 0;
|
||||
border-radius: 0 0 6px 0;
|
||||
}
|
||||
|
||||
input[type="button"],input[type="submit"],input[type="reset"] {
|
||||
border: solid #ccc 1px;
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
-webkit-box-shadow: 0 1px 1px #ccc;
|
||||
box-shadow: 0 1px 1px #ccc;
|
||||
background: #B0CC7F;
|
||||
margin: 0 2px 0;
|
||||
}
|
||||
|
||||
input[type="text"],input[type="password"] {
|
||||
border: solid #ccc 2px;
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
-webkit-box-shadow: 0 1px 1px #ccc;
|
||||
box-shadow: 0 1px 1px #ccc;
|
||||
background: #efefef;
|
||||
margin: 0 2px 0;
|
||||
text-indent: 5px;
|
||||
}
|
||||
select {
|
||||
width:200px;
|
||||
border: solid #ccc 2px;
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
-webkit-box-shadow: 0 1px 1px #ccc;
|
||||
background: #efefef;
|
||||
margin: 0 2px 0;
|
||||
text-indent: 5px;
|
||||
}
|
||||
option {
|
||||
width:180px;
|
||||
border: solid #ccc 2px;
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
-webkit-box-shadow: 0 1px 1px #ccc;
|
||||
background: #efefef;
|
||||
margin: 0 2px 0;
|
||||
text-indent: 5px;
|
||||
}
|
||||
|
||||
input[name="page.now"] {
|
||||
border: solid #ccc 1px;
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
-webkit-box-shadow: 0 1px 1px #ccc;
|
||||
box-shadow: 0px 0px 0px #CEB754;
|
||||
background: #D5EAF0;
|
||||
margin: 0px 10px 0px 0px;
|
||||
padding-bottom: 0px;
|
||||
padding-top: 5px;
|
||||
width: 24px;
|
||||
line-height:10px;
|
||||
height: 12xp;
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
table.gridtable {
|
||||
width:100%;
|
||||
font-family: verdana,arial,sans-serif;
|
||||
font-size:11px;
|
||||
color:green;
|
||||
border-width: 1px;
|
||||
border-color: #666666;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table.gridtable th {
|
||||
border-width: 1px;
|
||||
padding: 8px;
|
||||
border-style: solid;
|
||||
border-color: #666666;
|
||||
background-color: pink;
|
||||
text-align: center;
|
||||
}
|
||||
table.gridtable td {
|
||||
border-width: 1px;
|
||||
padding: 8px;
|
||||
border-style: solid;
|
||||
border-color: #666666;
|
||||
background-color: #ffffff;
|
||||
text-align: center;
|
||||
}
|
||||
a{
|
||||
text-decoration: none;
|
||||
}
|
|
@ -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!'
|
||||
}
|
|
@ -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!'
|
||||
}
|
|
@ -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;
|
||||
}
|
After Width: | Height: | Size: 1.0 KiB |
|
@ -0,0 +1,246 @@
|
|||
/*
|
||||
* My97 DatePicker 4.8
|
||||
*/
|
||||
|
||||
.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;
|
||||
}
|
After Width: | Height: | Size: 1.5 KiB |
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 |
|
@ -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!'
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
var $lang={
|
||||
errAlertMsg: "不合法的日期格式或者日期超出限定范围,需要撤销吗?",
|
||||
aWeekStr: ["周","日","一","二","三","四","五","六"],
|
||||
aLongWeekStr:["周","星期日","星期一","星期二","星期三","星期四","星期五","星期六"],
|
||||
aMonStr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一","十二"],
|
||||
aLongMonStr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],
|
||||
clearStr: "清空",
|
||||
todayStr: "今天",
|
||||
okStr: "确定",
|
||||
updateStr: "确定",
|
||||
timeStr: "时间",
|
||||
quickStr: "快速选择",
|
||||
err_1: '最小日期不能大于最大日期!'
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
var $lang={
|
||||
errAlertMsg: "不合法的日期格式或者日期超出限定範圍,需要撤銷嗎?",
|
||||
aWeekStr: ["周","日","一","二","三","四","五","六"],
|
||||
aLongWeekStr:["周","星期日","星期一","星期二","星期三","星期四","星期五","星期六"],
|
||||
aMonStr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一","十二"],
|
||||
aLongMonStr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],
|
||||
clearStr: "清空",
|
||||
todayStr: "今天",
|
||||
okStr: "確定",
|
||||
updateStr: "確定",
|
||||
timeStr: "時間",
|
||||
quickStr: "快速選擇",
|
||||
err_1: '最小日期不能大於最大日期!'
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
正式发布时,可将此文件夹删去
|
||||
|
||||
|
|
@ -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;
|
||||
}
|
After Width: | Height: | Size: 1.0 KiB |
|
@ -0,0 +1,267 @@
|
|||
/*
|
||||
* My97 DatePicker 4.7
|
||||
* 皮肤名称:default
|
||||
*/
|
||||
|
||||
/* 日期选择容器 DIV */
|
||||
.WdateDiv{
|
||||
width:180px;
|
||||
background-color:#FFFFFF;
|
||||
border:#bbb 1px solid;
|
||||
padding:2px;
|
||||
}
|
||||
/* 双月日历的宽度 */
|
||||
.WdateDiv2{
|
||||
width:360px;
|
||||
}
|
||||
.WdateDiv *{font-size:9pt;}
|
||||
|
||||
/****************************
|
||||
* 导航图标 全部是A标签
|
||||
***************************/
|
||||
.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;
|
||||
}
|
||||
|
||||
/****************************
|
||||
* 年份月份相关
|
||||
***************************/
|
||||
/* 年份月份栏 DIV */
|
||||
.WdateDiv #dpTitle{
|
||||
height:24px;
|
||||
margin-bottom:2px;
|
||||
padding:1px;
|
||||
}
|
||||
/* 年份月份输入框 INPUT */
|
||||
.WdateDiv .yminput{
|
||||
margin-top:2px;
|
||||
text-align:center;
|
||||
height:20px;
|
||||
border:0px;
|
||||
width:50px;
|
||||
cursor:pointer;
|
||||
}
|
||||
/* 年份月份输入框获得焦点时的样式 INPUT */
|
||||
.WdateDiv .yminputfocus{
|
||||
margin-top:2px;
|
||||
text-align:center;
|
||||
font-weight:bold;
|
||||
height:20px;
|
||||
color:blue;
|
||||
border:#ccc 1px solid;
|
||||
width:50px;
|
||||
}
|
||||
/* 菜单选择框 DIV */
|
||||
.WdateDiv .menuSel{
|
||||
z-index:1;
|
||||
position:absolute;
|
||||
background-color:#FFFFFF;
|
||||
border:#ccc 1px solid;
|
||||
display:none;
|
||||
}
|
||||
/* 菜单的样式 TD */
|
||||
.WdateDiv .menu{
|
||||
cursor:pointer;
|
||||
background-color:#fff;
|
||||
}
|
||||
/* 菜单的mouseover样式 TD */
|
||||
.WdateDiv .menuOn{
|
||||
cursor:pointer;
|
||||
background-color:#BEEBEE;
|
||||
}
|
||||
/* 菜单无效时的样式 TD */
|
||||
.WdateDiv .invalidMenu{
|
||||
color:#aaa;
|
||||
}
|
||||
/* 年选择框的偏移 DIV */
|
||||
.WdateDiv .YMenu{
|
||||
margin-top:20px;
|
||||
|
||||
}
|
||||
/* 月选择框的偏移 DIV */
|
||||
.WdateDiv .MMenu{
|
||||
margin-top:20px;
|
||||
*width:62px;
|
||||
}
|
||||
/* 时选择框的位置 DIV */
|
||||
.WdateDiv .hhMenu{
|
||||
margin-top:-90px;
|
||||
margin-left:26px;
|
||||
}
|
||||
/* 分选择框的位置 DIV */
|
||||
.WdateDiv .mmMenu{
|
||||
margin-top:-46px;
|
||||
margin-left:26px;
|
||||
}
|
||||
/* 秒选择框的位置 DIV */
|
||||
.WdateDiv .ssMenu{
|
||||
margin-top:-24px;
|
||||
margin-left:26px;
|
||||
}
|
||||
|
||||
/****************************
|
||||
* 周相关
|
||||
***************************/
|
||||
.WdateDiv .Wweek {
|
||||
text-align:center;
|
||||
background:#DAF3F5;
|
||||
border-right:#BDEBEE 1px solid;
|
||||
}
|
||||
/****************************
|
||||
* 星期,日期相关
|
||||
***************************/
|
||||
/* 星期栏 TR */
|
||||
.WdateDiv .MTitle{
|
||||
background-color:#BDEBEE;
|
||||
}
|
||||
.WdateDiv .WdayTable2{
|
||||
border-collapse:collapse;
|
||||
border:#c5d9e8 1px solid;
|
||||
}
|
||||
.WdateDiv .WdayTable2 table{
|
||||
border:0;
|
||||
}
|
||||
/* 日期栏表格 TABLE */
|
||||
.WdateDiv .WdayTable{
|
||||
line-height:20px;
|
||||
border:#c5d9e8 1px solid;
|
||||
}
|
||||
.WdateDiv .WdayTable td{
|
||||
text-align:center;
|
||||
}
|
||||
/* 日期格的样式 TD */
|
||||
.WdateDiv .Wday{
|
||||
cursor:pointer;
|
||||
}
|
||||
/* 日期格的mouseover样式 TD */
|
||||
.WdateDiv .WdayOn{
|
||||
cursor:pointer;
|
||||
background-color:#C0EBEF;
|
||||
}
|
||||
/* 周末日期格的样式 TD */
|
||||
.WdateDiv .Wwday{
|
||||
cursor:pointer;
|
||||
color:#FF2F2F;
|
||||
}
|
||||
/* 周末日期格的mouseover样式 TD */
|
||||
.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;
|
||||
}
|
||||
/* 其他月份的日期mouseover样式 */
|
||||
.WdateDiv .WotherDayOn{
|
||||
cursor:pointer;
|
||||
background-color:#C0EBEF;
|
||||
}
|
||||
/* 无效日期的样式,即在日期范围以外日期格的样式,不能选择的日期 */
|
||||
.WdateDiv .WinvalidDay{
|
||||
color:#aaa;
|
||||
}
|
||||
|
||||
/****************************
|
||||
* 时间相关
|
||||
***************************/
|
||||
/* 时间栏 DIV */
|
||||
.WdateDiv #dpTime{
|
||||
float:left;
|
||||
margin-top:3px;
|
||||
margin-right:30px;
|
||||
}
|
||||
/* 时间文字 SPAN */
|
||||
.WdateDiv #dpTime #dpTimeStr{
|
||||
margin-left:1px;
|
||||
}
|
||||
/* 时间输入框 INPUT */
|
||||
.WdateDiv #dpTime input{
|
||||
width:18px;
|
||||
height:20px;
|
||||
text-align:center;
|
||||
border:#ccc 1px solid;
|
||||
}
|
||||
/* 时间 时 INPUT */
|
||||
.WdateDiv #dpTime .tB{
|
||||
border-right:0px;
|
||||
}
|
||||
/* 时间 分和间隔符 ':' INPUT */
|
||||
.WdateDiv #dpTime .tE{
|
||||
border-left:0;
|
||||
border-right:0;
|
||||
}
|
||||
/* 时间 秒 INPUT */
|
||||
.WdateDiv #dpTime .tm{
|
||||
width:7px;
|
||||
border-left:0;
|
||||
border-right:0;
|
||||
}
|
||||
/* 时间右边的向上按钮 BUTTON */
|
||||
.WdateDiv #dpTime #dpTimeUp{
|
||||
height:10px;
|
||||
width:13px;
|
||||
border:0px;
|
||||
background:url(img.gif) no-repeat -32px -16px;
|
||||
}
|
||||
/* 时间右边的向下按钮 BUTTON */
|
||||
.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;
|
||||
}
|
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 307 B |
|
@ -0,0 +1,277 @@
|
|||
/*
|
||||
* My97 DatePicker 4.7
|
||||
* 皮肤名称:whyGreen
|
||||
*/
|
||||
|
||||
/* 日期选择容器 DIV */
|
||||
.WdateDiv{
|
||||
width:180px;
|
||||
background-color:#fff;
|
||||
border:#C5E1E4 1px solid;
|
||||
padding:2px;
|
||||
}
|
||||
/* 双月日历的宽度 */
|
||||
.WdateDiv2{
|
||||
width:360px;
|
||||
}
|
||||
.WdateDiv *{font-size:9pt;}
|
||||
|
||||
/****************************
|
||||
* 导航图标 全部是A标签
|
||||
***************************/
|
||||
.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;
|
||||
}
|
||||
/****************************
|
||||
* 年份月份相关
|
||||
***************************/
|
||||
/* 年份月份栏 DIV */
|
||||
.WdateDiv #dpTitle{
|
||||
height:24px;
|
||||
padding:1px;
|
||||
border:#c5d9e8 1px solid;
|
||||
background:url(bg.jpg);
|
||||
margin-bottom:2px;
|
||||
}
|
||||
/* 年份月份输入框 INPUT */
|
||||
.WdateDiv .yminput{
|
||||
margin-top:2px;
|
||||
text-align:center;
|
||||
border:0px;
|
||||
height:20px;
|
||||
width:50px;
|
||||
color:#034c50;
|
||||
background-color:transparent;
|
||||
cursor:pointer;
|
||||
}
|
||||
/* 年份月份输入框获得焦点时的样式 INPUT */
|
||||
.WdateDiv .yminputfocus{
|
||||
margin-top:2px;
|
||||
text-align:center;
|
||||
border:#939393 1px solid;
|
||||
font-weight:bold;
|
||||
color:#034c50;
|
||||
height:20px;
|
||||
width:50px;
|
||||
}
|
||||
/* 菜单选择框 DIV */
|
||||
.WdateDiv .menuSel{
|
||||
z-index:1;
|
||||
position:absolute;
|
||||
background-color:#FFFFFF;
|
||||
border:#A3C6C8 1px solid;
|
||||
display:none;
|
||||
}
|
||||
/* 菜单的样式 TD */
|
||||
.WdateDiv .menu{
|
||||
cursor:pointer;
|
||||
background-color:#fff;
|
||||
color:#11777C;
|
||||
}
|
||||
/* 菜单的mouseover样式 TD */
|
||||
.WdateDiv .menuOn{
|
||||
cursor:pointer;
|
||||
background-color:#BEEBEE;
|
||||
}
|
||||
/* 菜单无效时的样式 TD */
|
||||
.WdateDiv .invalidMenu{
|
||||
color:#aaa;
|
||||
}
|
||||
/* 年选择框的偏移 DIV */
|
||||
.WdateDiv .YMenu{
|
||||
margin-top:20px;
|
||||
}
|
||||
/* 月选择框的偏移 DIV */
|
||||
.WdateDiv .MMenu{
|
||||
margin-top:20px;
|
||||
*width:62px;
|
||||
}
|
||||
/* 时选择框的位置 DIV */
|
||||
.WdateDiv .hhMenu{
|
||||
margin-top:-90px;
|
||||
margin-left:26px;
|
||||
}
|
||||
/* 分选择框的位置 DIV */
|
||||
.WdateDiv .mmMenu{
|
||||
margin-top:-46px;
|
||||
margin-left:26px;
|
||||
}
|
||||
/* 秒选择框的位置 DIV */
|
||||
.WdateDiv .ssMenu{
|
||||
margin-top:-24px;
|
||||
margin-left:26px;
|
||||
}
|
||||
|
||||
/****************************
|
||||
* 周相关
|
||||
***************************/
|
||||
.WdateDiv .Wweek {
|
||||
text-align:center;
|
||||
background:#DAF3F5;
|
||||
border-right:#BDEBEE 1px solid;
|
||||
}
|
||||
/****************************
|
||||
* 星期,日期相关
|
||||
***************************/
|
||||
/* 星期栏 TR */
|
||||
.WdateDiv .MTitle{
|
||||
color:#13777e;
|
||||
background-color:#bdebee;
|
||||
}
|
||||
.WdateDiv .WdayTable2{
|
||||
border-collapse:collapse;
|
||||
border:#BEE9F0 1px solid;
|
||||
}
|
||||
.WdateDiv .WdayTable2 table{
|
||||
border:0;
|
||||
}
|
||||
/* 日期栏表格 TABLE */
|
||||
.WdateDiv .WdayTable{
|
||||
line-height:20px;
|
||||
color:#13777e;
|
||||
background-color:#edfbfb;
|
||||
border:#BEE9F0 1px solid;
|
||||
}
|
||||
.WdateDiv .WdayTable td{
|
||||
text-align:center;
|
||||
}
|
||||
/* 日期格的样式 TD */
|
||||
.WdateDiv .Wday{
|
||||
cursor:pointer;
|
||||
}
|
||||
/* 日期格的mouseover样式 TD */
|
||||
.WdateDiv .WdayOn{
|
||||
cursor:pointer;
|
||||
background-color:#74d2d9 ;
|
||||
}
|
||||
/* 周末日期格的样式 TD */
|
||||
.WdateDiv .Wwday{
|
||||
cursor:pointer;
|
||||
color:#ab1e1e;
|
||||
}
|
||||
/* 周末日期格的mouseover样式 TD */
|
||||
.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;
|
||||
}
|
||||
/* 其他月份的日期mouseover样式 */
|
||||
.WdateDiv .WotherDayOn{
|
||||
cursor:pointer;
|
||||
background-color:#C0EBEF;
|
||||
}
|
||||
/* 无效日期的样式,即在日期范围以外日期格的样式,不能选择的日期 */
|
||||
.WdateDiv .WinvalidDay{
|
||||
color:#aaa;
|
||||
}
|
||||
|
||||
/****************************
|
||||
* 时间相关
|
||||
***************************/
|
||||
/* 时间栏 DIV */
|
||||
.WdateDiv #dpTime{
|
||||
float:left;
|
||||
margin-top:3px;
|
||||
margin-right:30px;
|
||||
}
|
||||
/* 时间文字 SPAN */
|
||||
.WdateDiv #dpTime #dpTimeStr{
|
||||
margin-left:1px;
|
||||
color:#497F7F;
|
||||
}
|
||||
/* 时间输入框 INPUT */
|
||||
.WdateDiv #dpTime input{
|
||||
height:20px;
|
||||
width:18px;
|
||||
text-align:center;
|
||||
color:#333;
|
||||
border:#61CAD0 1px solid;
|
||||
}
|
||||
/* 时间 时 INPUT */
|
||||
.WdateDiv #dpTime .tB{
|
||||
border-right:0px;
|
||||
}
|
||||
/* 时间 分和间隔符 ':' INPUT */
|
||||
.WdateDiv #dpTime .tE{
|
||||
border-left:0;
|
||||
border-right:0;
|
||||
}
|
||||
/* 时间 秒 INPUT */
|
||||
.WdateDiv #dpTime .tm{
|
||||
width:7px;
|
||||
border-left:0;
|
||||
border-right:0;
|
||||
}
|
||||
/* 时间右边的向上按钮 BUTTON */
|
||||
.WdateDiv #dpTime #dpTimeUp{
|
||||
height:10px;
|
||||
width:13px;
|
||||
border:0px;
|
||||
background:url(img.gif) no-repeat -32px -16px;
|
||||
}
|
||||
/* 时间右边的向下按钮 BUTTON */
|
||||
.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 |
|
@ -0,0 +1,4 @@
|
|||
jQuery.validator.addMethod("eng_di",
|
||||
function(value, element, param) {
|
||||
return this.optional(element) || /^(?!\d+$)(?![a-zA-Z]+$)[0-9A-Za-z]{5,10}$/.test(value);
|
||||
}, "Please enter only english or digits");
|
|
@ -0,0 +1,57 @@
|
|||
@charset "UTF-8";
|
||||
/* CSS Document */
|
||||
body, h1, h2, h3, h4, h5, h6, hr, p,
|
||||
blockquote, /* structural elements 结构元素 */
|
||||
dl, dt, dd, ul, ol, li, /* list elements 列表元素 */
|
||||
pre, /* text formatting elements 文本格式元素 */
|
||||
form, fieldset, legend, button, input, textarea, /* form elements 表单元素 */
|
||||
th, td, /* table elements 表格元素 */
|
||||
body{
|
||||
background: #F5F5F5;
|
||||
}
|
||||
form{
|
||||
margin-top: 0px;
|
||||
}
|
||||
img{border:medium none;margin:0;padding:0;}/* img elements 图片元素 */
|
||||
/** 设置默认字体 **/
|
||||
body,button, input, select, textarea { font-size:12px; font: 12px/1.5 ’宋体’,Arial,tahoma, Srial, helvetica, sans-serif;}
|
||||
h1,h2,h3,h4,h5,h6 { font-size:100%;}
|
||||
em{font-style:normal;}
|
||||
/** 重置列表元素 **/
|
||||
ul, ol { list-style:none; }
|
||||
/** 重置超链接元素 **/
|
||||
a { text-decoration:none; color:#4f4f4f;}
|
||||
a:hover { text-decoration:underline; color:#F40; }
|
||||
/** 重置图片元素 **/
|
||||
img{ border:0px; margin-bottom: -7px;}
|
||||
table {border: 1px solid #B1CDE3; padding:0; margin:0 auto; margin-left:10px;margin-right:10px; width:98%; border-collapse: collapse; }
|
||||
td,th {text-align:center; border: 1px solid #B1CDE3;background: #fff;font-size:14px;padding: 3px 3px 3px 8px;color: #4f6b72;height: 22px;}
|
||||
input[type="text"]{
|
||||
border: 1px solid; border-color: #CCC #EEE #EEE #CCC;
|
||||
background: #F5F5F5;
|
||||
height: 18px;
|
||||
width: 160px;
|
||||
}
|
||||
input[type="password"]{
|
||||
border: 1px solid; border-color: #CCC #EEE #EEE #CCC;
|
||||
color: #000; background: #F5F5F5;
|
||||
width: 160px;
|
||||
}
|
||||
input[type="submit"]{
|
||||
border: 1px solid; border-color: #EEE #CCC #CCC #EEE;
|
||||
color: #000; font-weight: bold; background: #F5F5F5;
|
||||
}
|
||||
input[type="button"]{
|
||||
border: 1px solid; border-color: #EEE #CCC #CCC #EEE;
|
||||
color: #000; font-weight: bold; background: #F5F5F5;
|
||||
}
|
||||
input[type="reset"]{
|
||||
border: 1px solid; border-color: #EEE #CCC #CCC #EEE;
|
||||
color: #000; background: #F5F5F5;
|
||||
}
|
||||
textarea {
|
||||
border: 1px solid; border-color: #EEE #CCC #CCC #EEE;
|
||||
color: #000; background: #F5F5F5;
|
||||
width:600px;height: 150px;
|
||||
}
|
||||
p{margin-left:10px; margin-top:2px; margin-bottom:5px; width:100%; border-collapse: collapse;font-size:14px;}
|
|
@ -0,0 +1,186 @@
|
|||
|
||||
form {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
img {
|
||||
border: medium none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
} /* img elements Í¼Æ¬ÔªËØ */
|
||||
/** ÉèÖÃĬÈÏ×ÖÌå **/
|
||||
body,button,input,select,textarea {
|
||||
font-size: 12px;
|
||||
font: 12px/1.5 ¡¯ËÎÌ塯, Arial, tahoma, Srial, helvetica, sans-serif;
|
||||
}
|
||||
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
em {
|
||||
font-style: normal;
|
||||
}
|
||||
/** ÖØÖÃÁбíÔªËØ **/
|
||||
ul,ol {
|
||||
list-style: none;
|
||||
}
|
||||
/** ÖØÖó¬Á´½ÓÔªËØ **/
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #4f4f4f;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
color: #F40;
|
||||
}
|
||||
/** ÖØÖÃÍ¼Æ¬ÔªËØ **/
|
||||
img {
|
||||
border: 0px;
|
||||
margin-bottom: -7px;
|
||||
}
|
||||
|
||||
body {
|
||||
width: 80%;
|
||||
margin: 40px auto;
|
||||
font-family: 'trebuchet MS', 'Lucida sans', Arial;
|
||||
font-size: 14px;
|
||||
color: #444;
|
||||
background: url(../css/img/body1.jpg);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% auto;
|
||||
/* background: #F5F5F5; */
|
||||
}
|
||||
|
||||
table {
|
||||
border: solid #ccc 1px;
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
/* -webkit-box-shadow: 0 1px 1px #ccc;
|
||||
box-shadow: 0 1px 1px #ccc; */
|
||||
-webkit-box-shadow: 0px 2px 1px 5px rgba(242, 242, 242, 0.1);
|
||||
box-shadow: 5px 20px 30px 30px rgba(242, 242, 242, 0.1);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table thead th {
|
||||
background:url(../css/img/zebratable.png);
|
||||
background-repeat:no-repeat;
|
||||
background-position: 0px center;
|
||||
}
|
||||
|
||||
table tr {
|
||||
background: #D5EAF0;
|
||||
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
|
||||
box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
|
||||
}
|
||||
|
||||
table tr:nth-child(even) {
|
||||
background: #D7E1C5;
|
||||
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
|
||||
box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
|
||||
}
|
||||
|
||||
|
||||
|
||||
table td,table th {
|
||||
border-left: 1px solid #ccc;
|
||||
border-top: 1px solid #ccc;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
table th {
|
||||
background-color: #66a9bd;
|
||||
background-image: -moz-linear-gradient(top, #dce9f9, #66a9bd);
|
||||
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
|
||||
box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
|
||||
border-top: none;
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
|
||||
}
|
||||
|
||||
table td:first-child,table th:first-child {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
table th:first-child {
|
||||
-webkit-border-radius: 6px 0 0 0;
|
||||
border-radius: 6px 0 0 0;
|
||||
}
|
||||
|
||||
table th:last-child {
|
||||
-webkit-border-radius: 0 6px 0 0;
|
||||
border-radius: 0 6px 0 0;
|
||||
}
|
||||
|
||||
table th:only-child {
|
||||
-webkit-border-radius: 6px 6px 0 0;
|
||||
border-radius: 6px 6px 0 0;
|
||||
}
|
||||
|
||||
table tr:last-child td:first-child {
|
||||
-webkit-border-radius: 0 0 0 6px;
|
||||
border-radius: 0 0 0 6px;
|
||||
}
|
||||
|
||||
table tr:last-child td:last-child {
|
||||
-webkit-border-radius: 0 0 6px 0;
|
||||
border-radius: 0 0 6px 0;
|
||||
}
|
||||
|
||||
input[type="button"],input[type="submit"],input[type="reset"] {
|
||||
border: solid #ccc 1px;
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
-webkit-box-shadow: 0 1px 1px #ccc;
|
||||
box-shadow: 0 1px 1px #ccc;
|
||||
background: #B0CC7F;
|
||||
margin: 0 2px 0;
|
||||
}
|
||||
|
||||
input[type="text"],input[type="password"] {
|
||||
border: solid #ccc 2px;
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
-webkit-box-shadow: 0 1px 1px #ccc;
|
||||
box-shadow: 0 1px 1px #ccc;
|
||||
background: #efefef;
|
||||
margin: 0 2px 0;
|
||||
text-indent: 5px;
|
||||
}
|
||||
select {
|
||||
width:200px;
|
||||
border: solid #ccc 2px;
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
-webkit-box-shadow: 0 1px 1px #ccc;
|
||||
background: #efefef;
|
||||
margin: 0 2px 0;
|
||||
text-indent: 5px;
|
||||
}
|
||||
option {
|
||||
width:180px;
|
||||
border: solid #ccc 2px;
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
-webkit-box-shadow: 0 1px 1px #ccc;
|
||||
background: #efefef;
|
||||
margin: 0 2px 0;
|
||||
text-indent: 5px;
|
||||
}
|
||||
|
||||
input[name="page.now"] {
|
||||
border: solid #ccc 1px;
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
-webkit-box-shadow: 0 1px 1px #ccc;
|
||||
box-shadow: 0px 0px 0px #CEB754;
|
||||
background: #D5EAF0;
|
||||
margin: 0px 10px 0px 0px;
|
||||
padding-bottom: 0px;
|
||||
padding-top: 5px;
|
||||
width: 24px;
|
||||
line-height:10px;
|
||||
height: 12xp;
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
package com.bw;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest
|
||||
class ApplicationTests {
|
||||
|
||||
@Test
|
||||
void contextLoads() {
|
||||
}
|
||||
|
||||
}
|