initial project

main
weiruyu 2 weeks ago
parent ab0cd28572
commit bda8dbe604

@ -0,0 +1,12 @@
package com.ssm.test;
import java.io.IOException;
public class Test {
public static void main(String[] args) throws IOException {
}
}

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE configuration
PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-config.dtd">
<!-- mybatis全局配置文件 -->
<configuration>
</configuration>

@ -0,0 +1,2 @@
# SpringMVCProject

@ -0,0 +1,5 @@
package com.ssm.controller;
public class FirstController {
}

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/tool http://www.springframework.org/schema/tool/spring-tool.xsd http://www.springframework.org/schema/mvc https://www.springframework.org/schema/mvc/spring-mvc.xsd">
</beans>

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" id="WebApp_ID" version="3.1">
<display-name>equipment-SpringMVCProject</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>

@ -0,0 +1,8 @@
package com.ssm.first;
public class TestFirst {
public static void main(String[] args) {
//1.初始化Spring容器加载配置文件
}
}

@ -0,0 +1,2 @@
# SSMProject-initial

@ -0,0 +1,27 @@
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for demo
-- ----------------------------
DROP TABLE IF EXISTS `demo`;
CREATE TABLE `demo` (
`did` int(11) NOT NULL AUTO_INCREMENT,
`dname` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`comment` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`did`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 27 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of demo
-- ----------------------------
INSERT INTO `demo` VALUES (20, '1', '1111');
INSERT INTO `demo` VALUES (21, '2', '222');
INSERT INTO `demo` VALUES (22, '3', '333');
INSERT INTO `demo` VALUES (23, '4', '444');
INSERT INTO `demo` VALUES (24, '5', '555');
INSERT INTO `demo` VALUES (25, '6', '666');
INSERT INTO `demo` VALUES (26, '7', '777');

@ -0,0 +1,85 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:mybatis-spring="http://mybatis.org/schema/mybatis-spring"
xsi:schemaLocation="http://mybatis.org/schema/mybatis-spring http://mybatis.org/schema/mybatis-spring-1.2.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.3.xsd">
<!-- 1.自动扫描包希望Spring管理所有业务逻辑组件、Bean等,SpringMVC负责网站跳转逻辑的控制Controller
注意①当springmvc.xml配置了只扫描@Controller此处就要配
除了标了@Controller注解的控制器以外都扫描即配置子标签
<context:exclude-filter type="annotation" expression="org.springframework.stereotype.Controller"/> -->
<context:component-scan base-package="com.ssm">
<context:exclude-filter type="annotation" expression="org.springframework.stereotype.Controller"/>
</context:component-scan>
<!-- 2.引入db.properties
注意:①方式二:<bean id="" class="PropertyPlaceholderConfigurer"> -->
<context:property-placeholder location="classpath:db.properties"/>
<!-- 3.引入数据库的数据源配置:
注意①还可以配置事务控制、AOP等
②当使用c3p0连接池时配置如下
<bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource">
<property name="driverClass" value="${driver}"></property>
<property name="jdbcUrl" value="${url}"></property>
<property name="user" value="${user}"></property>
<property name="password" value="${password}"></property>
</bean> -->
<bean id="dataSource" class="org.apache.commons.dbcp2.BasicDataSource">
<!-- 这里报错说明类中不存在这个属性,需要改成规定的属性名 -->
<property name="driverClassName" value="${driver}"></property>
<property name="url" value="${url}"></property>
<property name="username" value="${user}"></property>
<property name="password" value="${password}"></property>
</bean>
<!-- 事务管理器DataSourceTransactionManager该类在spring-jdbc包中指定这个事务管理器管理配置的dataSource数据源 -->
<!-- <bean id="dataSourceTransactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource" ref="dataSource"></property>
</bean> -->
<!-- 开启基于注解的事务 -->
<!-- <tx:annotation-driven transaction-manager="dataSourceTransactionManager"/> -->
<!-- 4.整合mybatis配置:创建MyBatis核心对象SqlSessionFactory整合关键步骤
目的:(1)想让Spring管理所有组件包括mapper
以后Service层要调用Dao层时只需使用@Autowired注解自动注入即可。
这样就避免了每次操作增删改查之前需要先获取到SqlSessionFactory->SqlSession->getMapper方法获得动态代理对象
即接口类的对象,然后才能操作具体增删改查操作。
(2)Spring声明式事务非常强大想让Spring管理事务。
注意①SqlSessionFactoryBean类能创建出SqlSessionFactory对象意味着容器一启动让容器帮我们创建SqlSessionFactory-->
<bean id="sqlSessionFactoryBean" class="org.mybatis.spring.SqlSessionFactoryBean">
<!-- 访问数据库必然需要数据源,管理数据库的连接,提高数据库性能,在数据源中配置使用的连接池 -->
<property name="dataSource" ref="dataSource"></property>
<!-- 加载MyBatis全局配置文件config.xml如果config.xml中没有东西可以删掉
但一般建议留下可以放一些不太常用的配置如全局参数settings、数据库提供厂商等配置 -->
<!-- <property name="configLocation" value="classpath:config.xml"></property> -->
<!-- 指定SQL映射文件的位置当SQL映射文件和接口名不一致时使用该方法指定。
(不讲)?如果名字一致,则可以使用<mybatis:scan base-package=""/>扫描所有mapper SQL映射文件(报错mybatis前缀未绑定)? -->
<property name="mapperLocations" value="classpath:com/ssm/mapper/*.xml"></property>
<!-- 此处还可以配置别名处理器等,这些以前都是在全局配置文件中定义的现在都变成sqlSessionFactoryBean的一个属性,
相当于mybatis全局配置文件中的内容都拿到Spring配置文件来配置。 -->
</bean>
<!-- 5.扫描所有的mapper接口类让这些mapper能够自动注入
base-package:指定mapper接口的包名
注意:① 查找类路径下的映射器并自动将它们创建成MapperFactoryBean
即扫描所有的mapper接口类让这些mapper能够自动注入
② 如果有红叉报错也可以用,是约束引入有问题,不影响;
③ 以前还有这种写法(老版的项目一般这么做):
a.使用MapperScannerConfigurer
<bean class="MapperScannerConfigurer">
<property name="basePackage" value="Dao接口包名"/>
<bean> 或者
b.采用实体DAO调用方式采用接口org.apache.ibatis.session.SqlSession的实现类org.mybatis.spring.SqlSessionTemplate
<bean id="sqlSessionTemplate" class="org.mybatis.spring.SqlSessionTemplate">
<constructor-arg index="0" ref="sqlSessionFactory"></constructor-arg>
</bean>
-->
<mybatis-spring:scan base-package="com.ssm.mapper"/>
</beans>

@ -0,0 +1,38 @@
package com.ssm.Utils;
import java.util.List;
public class PageBean<T> {
private int page;//第几页
private int totlePage;//一共多少页
private int limitPage;//每页多少个
private List<T> list;//目标集合
public int getPage() {
return page;
}
public void setPage(int page) {
this.page = page;
}
public int getTotlePage() {
return totlePage;
}
public void setTotlePage(int totlePage) {
this.totlePage = totlePage;
}
public int getLimitPage() {
return limitPage;
}
public void setLimitPage(int limitPage) {
this.limitPage = limitPage;
}
public List<T> getList() {
return list;
}
public void setList(List<T> list) {
this.list = list;
}
public String toString() {
return "PageBean [page=" + page + ", totlePage=" + totlePage
+ ", limitPage=" + limitPage + ", list=" + list + "]";
}
}

@ -0,0 +1,9 @@
package com.ssm.Utils;
import java.util.UUID;
public class UUIDUtiils {
public static String getUUID(){
return UUID.randomUUID().toString();
}
}

@ -0,0 +1,18 @@
package com.ssm.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class AdminController {
// 进入管理员页面
@RequestMapping("/admin")
public String AdminIndex() {
return "admin/home";
}
}

@ -0,0 +1,88 @@
package com.ssm.controller;
import com.ssm.Utils.PageBean;
import com.ssm.entity.Demo;
import com.ssm.service.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletRequest;
import java.util.List;
@Controller
@RequestMapping("demo")
public class DemoController {
@Autowired
public DemoService demoService;
@RequestMapping("findAllByPage")
public ModelAndView findAllByPage(@RequestParam int page){
ModelAndView mv=new ModelAndView("admin/demo/list");
PageBean<Demo> allProPageBean= demoService.getDemoAll(page);
System.out.println(allProPageBean);
mv.addObject("allProPageBean",allProPageBean);
return mv;
}
//后台通过demoid查询
@RequestMapping("findById")
public String getDemoById(Integer did, Model model){
Demo demo= demoService.getDemoById(did);
model.addAttribute("findByDid", demo);
return "admin/demo/look";
}
//添加demo
@RequestMapping("add")
public ModelAndView add(){
ModelAndView mv=new ModelAndView("admin/demo/add");
return mv;
}
//添加成功
@RequestMapping("addOk")
public String addok(Demo demo, HttpServletRequest request) throws Exception {
System.out.println(demo);
demoService.addDemo(demo);
return "redirect:/demo/findAllByPage.action?page=1";
}
//调出更新demo
@RequestMapping("updateById")
public String updateById(Integer did, Model model){
Demo demo=demoService.getDemoById(did);
model.addAttribute("findByDid", demo);
return "admin/demo/edit";
}
//demo更新成功
@RequestMapping("updateOk")
public String updateOk(Demo demo, HttpServletRequest request) throws Exception{
System.out.println(demo);
demoService.updateDemo(demo);
return "redirect:/demo/findAllByPage.action?page=1";
}
//删除商品
@RequestMapping("deleteById")
public String deleteById(Integer did){
demoService.deleteDemoById(did);
return "redirect:/demo/findAllByPage.action?page=1";
}
//后台通过条件搜索商品信息
@RequestMapping("searchDemoByCondition")
public ModelAndView searchDemoByCondition(@RequestParam String condition){
ModelAndView mv=new ModelAndView("admin/demo/search");
List<Demo> demoList= demoService.searchDemoByCondition(condition);
mv.addObject("srList",demoList);
return mv;
}
//前台通过id查询demo信息
@RequestMapping("/findDemoByDid")
public String demoFindByDid(@RequestParam int did,Model model) throws Exception {
System.out.println("前台通过id查询商品信息");
Demo demo= demoService.getDemoById(did);
model.addAttribute("demo", demo);
return "demo";
}
}

@ -0,0 +1,57 @@
package com.ssm.entity;
import java.util.Date;
public class Demo {
private Integer did; //demo id
private String dname; //demo名
private String comment; //备注
public Integer getDid() {
return did;
}
public void setDid(Integer did) {
this.did = did;
}
public String getDname() {
return dname;
}
public void setDname(String dname) {
this.dname = dname;
}
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment;
}
@Override
public String toString() {
return "Demo{" +
"did=" + did +
", dname='" + dname +
", comment='" + comment +
'}';
}
public Demo(Integer did, String dname, String comment) {
this.did = did;
this.dname = dname;
this.comment = comment;
}
public Demo(String dname, String comment) {
this.dname = dname;
this.comment = comment;
}
public Demo(){}//不加,一对多映射会出错
}

@ -0,0 +1,31 @@
package com.ssm.mapper;
import com.ssm.entity.Demo;
import org.apache.ibatis.annotations.Param;
import java.util.List;
//操作mybatis的接口
public interface DemoMapper {
/*
* 1mapper.xmlid
* 2mapper.xmlparameterType
* 3mapper.xmlresultType
* namespacemapper.xmlSQL
*
* 1.mapper.xmlnamespace=
* 2.mapper.xmlSQL=SQLid
* SQLstudentMapper.xml(config.xml)
*/
//方法的三要素:返回值 方法名(参数列表)
Demo getDemoById(Integer id);
List<Demo> getDemoAll(@Param("param1") int beginPage, @Param("param2") int limitpage);
void addDemo(Demo demo);
void updateDemo(Demo demo);
void deleteDemoById(Integer id);
void deleteDemoAll();
Integer countTotlePage();
Demo findDemoByDid(Integer id);
List<Demo> searchDemoByCondition(String condition);
List<Demo> findDemoByDId(Integer did);
}

@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!-- 映射文件存放CRUD的sql语句 -->
<mapper namespace="com.ssm.mapper.DemoMapper">
<select id="getDemoById" resultMap="DemoResult" parameterType="Integer">
SELECT did,dname,comment
FROM Demo d
WHERE d.did=#{did}
</select>
<resultMap type="com.ssm.entity.Demo" id="DemoResult">
<id property="did" column="did"/>
<result property="dname" column="dname"/>
<result property="comment" column="comment"/>
</resultMap>
<select id="getDemoAll" resultMap="DemoResult" parameterType="int">
SELECT did,dname,comment
FROM Demo d
WHERE 1=1
limit #{param1},#{param2}
</select>
<insert id="addDemo" parameterType="com.ssm.entity.Demo">
insert into Demo(dname,comment)
values(#{dname},#{comment})
</insert>
<update id="updateDemo" parameterType="com.ssm.entity.Demo">
update Demo set dname=#{dname},comment=#{comment} where did=#{did}
</update>
<delete id="deleteDemoById" parameterType="Integer">
<!-- delete from 表名 where 列名称=某值 -->
delete from Demo where did=#{did}
</delete>
<delete id="deleteDemoAll">
<!-- delete from 表名 -->
delete from Demo
</delete>
<select id="countTotlePage" resultType="Integer">
SELECT count(*)
FROM Demo d
</select>
<select id="findDemoByDid" resultMap="DemoResult" parameterType="Integer">
SELECT did,dname,comment
FROM Demo d
WHERE d.did=#{did}
</select>
<!-- 模糊查询 -->
<select id="searchDemoByCondition" parameterType="String"
resultMap="DemoResult">
SELECT did,dname,comment
FROM Demo d
WHERE d.dname like '%${value}%' or d.comment like '%${value}%'
</select>
</mapper>

@ -0,0 +1,54 @@
package com.ssm.service;
import com.ssm.Utils.PageBean;
import com.ssm.entity.Demo;
import com.ssm.mapper.DemoMapper;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
@Service
public class DemoService {
@Resource
private DemoMapper demoMapper;
public PageBean<Demo> getDemoAll(int page) {
PageBean<Demo> pageBean = new PageBean<>();
pageBean.setPage(page);
// 设置7个
int limitPage = 6;
pageBean.setLimitPage(limitPage);
// 设置一共多少页
int totlePage = 0;
// 查询一共有多少页
totlePage = demoMapper.countTotlePage();
if (Math.ceil(totlePage % limitPage) == 0) {
totlePage = totlePage / limitPage;
} else {
totlePage = totlePage / limitPage + 1;
}
pageBean.setTotlePage(totlePage);
int beginPage = (page - 1) * limitPage;
List<Demo> list = demoMapper.getDemoAll(beginPage, limitPage);
pageBean.setList(list);
return pageBean;
}
public Demo getDemoById(Integer id) {
return demoMapper.findDemoByDid(id);
}
public void addDemo(Demo demo) {
demoMapper.addDemo(demo);
}
public void updateDemo(Demo demo) {
demoMapper.updateDemo(demo);
}
public void deleteDemoById(Integer id) {
demoMapper.deleteDemoById(id);
}
public List<Demo> searchDemoByCondition(String condition){ return demoMapper.searchDemoByCondition(condition); }
public List<Demo> findDemoByDId(Integer did){return demoMapper.findDemoByDId(did);}
}

@ -0,0 +1,4 @@
driver=com.mysql.cj.jdbc.Driver
url=jdbc:mysql://localhost:3306/ssm_farm?serverTimezone=Asia/Shanghai
user=root
password=root

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.3.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.3.xsd">
<!-- 配置扫描器
只扫描标了@Controller的控制器
use-default-filters="false"禁用掉默认的过滤行为,只包含才会生效。即:
<context:component-scan base-package="com.ssm" use-default-filters="false">
<context:include-filter type="annotation" expression="org.springframework.stereotype.Controller"/>
</context:component-scan> -->
<!-- <context:component-scan base-package="com.ssm"></context:component-scan> -->
<context:component-scan base-package="com.ssm" use-default-filters="false">
<context:include-filter type="annotation" expression="org.springframework.stereotype.Controller"/>
</context:component-scan>
<!-- 视图解析器 -->
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix" value="/WEB-INF/jsp/"></property> <!-- 前缀 -->
<property name="suffix" value=".jsp"></property> <!-- 后缀 -->
</bean>
<!-- 处理动态资源是SpringMVC的基础配置可以协调很多功能一般写SpringMVC项目都加上 -->
<mvc:annotation-driven></mvc:annotation-driven>
<!-- 正确的处理静态资源 -->
<mvc:default-servlet-handler/>
<bean class="org.springframework.format.support.FormattingConversionServiceFactoryBean">
</bean>
<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<property name="maxUploadSize">
<value>5242880</value>
</property>
</bean>
</beans>

@ -0,0 +1,103 @@
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
pageContext.setAttribute("APP_PATH", request.getContextPath());
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加demo</title>
<!-- 引入Jquery -->
<script type="text/javascript"
src="${APP_PATH}/static/js/jquery-2.1.1.min.js"></script>
<style type="text/css">
.tabl td {
font-size: 16px;
font-weight: bold;
}
.tabl {
height: 460px;
}
.tabl td input {
height: 30px;
width: 260px;
border-radius: 4px;
font-size: 14px;
}
.tabl .sele {
height: 36px;
width: 260px;
border-radius: 4px;
}
</style>
<script type="text/javascript">
function ret() {
window.location.href = "${pageContext.request.contextPath}/admin/adminDemo_findAllByPage.action?page=1";
}
$(document).on("click", ".sav", function() {
alert("添加完成!!!");
});
function checkForm() {
var dname = document.getElementById("dname").value;
var comment = document.getElementById("comment").value;
if (pname == null || pname == '') {
alert("demo名不能为空");
window.location.reload();
}
window.location.href = "${pageContext.request.contextPath}/demo/addOk.action";
}
</script>
</head>
<body>
<div>
<div class="b" style="float: left; padding-left: 30px;">
<h2>添加demo</h2>
</div>
<div align="right" style="padding-right: 60px; padding-top: 20px;">
<input type="button" onclick="history.go(-1)" value="返回"
style="width: 74px; height: 40px; background-color: #0f83c7; color: white; margin-left: 800px;"
align="right" />
</div>
</div>
<hr
style="height: 1px; border: none; border-top: 1px solid #555555; width: 95%" />
<div style="margin-left: 60px;" class="formm">
<form id="userAction_save_do" name="Form1"
action="${pageContext.request.contextPath}/demo/addOk.action"
method="post" enctype="multipart/form-data">
<table class="tabl">
<tr>
<td style="text-align: right;">demo名</td>
<td width="20"></td>
<td><input type="text" name="dname" placeholder="请输入demo名" /></td>
</tr>
<tr>
<td>备注:</td>
<td width="20"></td>
<td><textarea name="comment" rows="5" cols="35"></textarea></td>
</tr>
<tr>
<td align="right"><button type="reset" value="重置"
style="width: 70px; height: 38px; background-color: #0f83c7; color: white;">&#37325;&#32622;</button></td>
<td></td>
<td align="center">
<button type="submit" id="userAction_save_do_submit" value="提交"
class="submit_btn sav"
style="width: 70px; height: 38px; background-color: #0f83c7; color: white;">&#30830;&#23450;</button>
</td>
</tr>
</table>
</form>
</div>
</body>
</html>

@ -0,0 +1,101 @@
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
pageContext.setAttribute("APP_PATH", request.getContextPath());
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>编辑demo</title>
<script type="text/javascript"
src="${APP_PATH}/static/js/jquery-2.1.1.min.js"></script>
<link
href="${ pageContext.request.contextPath }/static/bootstrap-3.3.7-dist/css/bootstrap.min.css"
rel="stylesheet">
<style type="text/css">
.tabl .tt {
font-size: 15px;
font-weight: bold;
}
.tabl {
height: 460px;
}
.tabl td input {
height: 30px;
width: 260px;
border-radius: 4px;
font-size: 14px;
}
.tabl .sele {
height: 36px;
width: 260px;
border-radius: 4px;
}
</style>
<script type="text/javascript">
function edit() {
var r = confirm("确定修改吗?");
if (r == true) {
alert("商品修改成功");
} else {
alert("取消修改商品");
window.location.reload();
}
}
function refresh() {
window.location.href = "${pageContext.request.contextPath}/demo/findAllByPage.action?page=1";
}
</script>
</head>
<body>
<div>
<div class="b" style="float: left; padding-left: 30px;">
<h2>demo编辑</h2>
</div>
<div align="right" style="padding-right: 60px; padding-top: 20px;">
<input class="btn btn-info" type="button" onclick="refresh()"
value="返回" style="margin-left: 600px;" align="right" />
</div>
</div>
<hr
style="height: 1px; border: none; border-top: 1px solid #555555; width: 95%" />
<div style="margin-left: 60px; margin-bottom: 20px;" class="formm">
<form id="userAction_save_do" name="Form1"
action="${pageContext.request.contextPath}/demo/updateOk.action"
method="post" enctype="multipart/form-data">
<input type="hidden" name="did" value="${findByDid.did}" />
<table class="tabl">
<tr height="50">
<td class="tt">demo名</td>
<td width="20"></td>
<td><input type="text" name="dname" value="${findByDid.dname}" class="bg" />
</tr>
<tr height="50">
<td class="tt">备注:</td>
<td width="20"></td>
<td><textarea name="comment" rows="6" cols="38">${findByDid.comment}</textarea></td>
</tr>
<tr height="50">
<td align="right"><button type="reset" value="重置"
class="btn btn-primary">&#37325;&#32622;</button></td>
<td></td>
<td align="center">
<button type="submit" id="userAction_save_do_submit" value="提交"
class="btn btn-primary" onclick="edit()">&#30830;&#23450;</button>
</td>
</tr>
</table>
</form>
</div>
</body>
</html>

@ -0,0 +1,179 @@
<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>demo列表</title>
<link rel="stylesheet"
href="${ pageContext.request.contextPath }/css/goodslist.css" />
<!-- 引入Jquery -->
<script type="text/javascript"
src="${ pageContext.request.contextPath }/static/js/jquery-2.1.1.min.js"></script>
<link href="${pageContext.request.contextPath}/css/Style1.css"
rel="stylesheet" type="text/css" />
<!-- 引入样式 -->
<link
href="${ pageContext.request.contextPath }/static/bootstrap-3.3.7-dist/css/bootstrap.min.css"
rel="stylesheet">
<script
src="'${ pageContext.request.contextPath }/static/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
<script type="text/javascript">
var basepath= '${APP_PATH}';
function refresh(){
window.location.href = "${pageContext.request.contextPath}/demo/findAllByPage.action?page=1";
}
function addDemo(){
window.location.href = "${pageContext.request.contextPath}/demo/add.action";
}
function edit(did) {
window.location.href = "${pageContext.request.contextPath}/demo/updateById.action?did="+did;
}
function deletecs(did) {
var r=confirm("确定删除吗?");
if (r==true){
window.location.href = "${pageContext.request.contextPath}/demo/deleteById.action?did="+did;
}
else{
}
}
function look(did) {
window.location.href = "${pageContext.request.contextPath}/demo/findById.action?did="+did;
}
function validate() {
var condition = document.getElementById("condition").value;
if (condition == null || condition == '') {
alert("请输入关键字");
return false;
}
return true;
}
</script>
</head>
<body>
<div class="a">
<div class="b">
<form method="post"
action="${pageContext.request.contextPath}/demo/searchDemoByCondition.action">
<input id="condition" name="condition" type="text" class="input1"
value="请输入关键词" onfocus="this.value = '';"
onblur="if (this.value == '') {this.value = '请输入关键词';}">&nbsp;&nbsp;
<button type="submit"
class="btn btn-primary btn-sm glyphicon glyphicon-search"
onclick="validate()"></button>
</form>
</div>
<div align="right" style="padding-right: 30px;">
<input type="button" value="+添加demo" class="btn btn-primary"
onclick="addDemo()" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<button type="button" onclick="refresh()"
class="btn glyphicon glyphicon-refresh"></button>
</div>
</div>
<div class="d" style="width: 96%; margin-left: 25px;">
<!-- 显示结果 -->
<form style="margin-top: 3px;">
<table width="100%" align="center"
class="table table-hover table-striped" id="table"
style="border: 1px solid #D0D0D0">
<thead>
<tr align="center" bgcolor="#93b6bd" height="33px;">
<th scope="col" style="text-align: center;">demoID</th>
<th scope="col" style="text-align: center;">demo名</th>
<th scope="col" style="text-align: center;">备注</th>
<th scope="col" style="text-align: center;">操作</th>
</tr>
</thead>
<!-- <tbody></tbody> -->
<c:forEach items="${allProPageBean.list }" var="d"
varStatus="status">
<tr height="30">
<td style="CURSOR: hand; HEIGHT: 22px" align="center" width="5%">${d.did}</td>
<td style="CURSOR: hand; HEIGHT: 22px" align="center" width="15%">${d.dname }</td>
<td style="CURSOR: hand; HEIGHT: 22px" align="center" width="15%">${d.comment }</td>
<td>
<button type="button"
class="btn btn-primary btn-sm glyphicon glyphicon-pencil"
onclick="edit(${d.did})"></button>&nbsp;
<button type="button"
class="btn btn-success btn-sm glyphicon glyphicon-asterisk"
onclick="look(${d.did})"></button>
<button type="button"
class="btn btn-success btn-sm glyphicon glyphicon-trash"
onclick="deletecs(${d.did})"></button>
</td>
</tr>
</c:forEach>
</table>
</form>
</div>
<!-- 分页 -->
<div align="right"
style="padding-right: 40px; margin-bottom: 10px; font-size: 13px;">
第${allProPageBean.page }/${allProPageBean.totlePage}页
<c:if test="${allProPageBean.page!= 1}">
<a style="font-size: 13px;"
href="${pageContext.request.contextPath }/demo/findAllByPage.action?page=1">首页</a>|
<a style="font-size: 13px;"
href="${pageContext.request.contextPath }/demo/findAllByPage.action?page=${allProPageBean.page-1}">上一页</a>
</c:if>
<c:choose>
<c:when test="${allProPageBean.totlePage<=6}">
<c:set var="begin" value="1" />
<c:set var="end" value="${allProPageBean.totlePage}" />
</c:when>
<c:otherwise>
<c:set var="begin" value="${allProPageBean.page-3}" />
<c:set var="end" value="${allProPageBean.page+3}" />
<!-- 头溢出 -->
<c:if test="${begin<1}">
<c:set var="begin" value="1" />
<c:set var="end" value="7" />
</c:if>
<!-- 尾溢出 -->
<c:if test="${end>allProPageBean.totlePage}">
<c:set var="begin" value="${allProPageBean.totlePage-6}" />
<c:set var="end" value="${allProPageBean.totlePage}" />
</c:if>
</c:otherwise>
</c:choose>
<%-- <c:forEach begin="1" end="${allProPageBean.totlePage}" var="i"> --%>
<c:forEach var="i" begin="${begin}" end="${end}">
<c:choose>
<c:when test="${allProPageBean.page!=i}">
<a style="font-size: 13px;"
href="${ pageContext.request.contextPath }/product/findAllByPage.action?page=${i}">${i}</a>
</c:when>
<c:otherwise>
<span class="currentPage">${i}</span>
</c:otherwise>
</c:choose>
</c:forEach>
<c:if test="${allProPageBean.page!= allProPageBean.totlePage }">
<a style="font-size: 13px;"
href="${pageContext.request.contextPath }/demo/findAllByPage.action?page=${allProPageBean.page+1}">下一页</a> |
<a style="font-size: 13px;"
href="${pageContext.request.contextPath }/demo/findAllByPage.action?page=${allProPageBean.totlePage }">尾页</a>
</c:if>
</div>
</body>
</html>

@ -0,0 +1,70 @@
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
pageContext.setAttribute("APP_PATH", request.getContextPath());
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>demo详情</title>
<link
href="${ pageContext.request.contextPath }/static/bootstrap-3.3.7-dist/css/bootstrap.min.css"
rel="stylesheet">
<style type="text/css">
.tabl .tt {
font-size: 15px;
font-weight: bold;
}
.tabl {
height: 460px;
}
.tabl td input {
height: 30px;
width: 260px;
border-radius: 4px;
font-size: 14px;
}
.tabl .sele {
height: 36px;
width: 160px;
border-radius: 4px;
}
</style>
</head>
<body>
<div>
<div class="b" style="float: left; padding-left: 30px;">
<h2>demo详情</h2>
</div>
<div align="right" style="padding-right: 60px; padding-top: 20px;">
<input class="btn btn-info" type="button"
onclick="history.go(-1)" value="返回" style="margin-left: 700px;"
align="right" />
</div>
</div>
<hr
style="height: 1px; border: none; border-top: 1px solid #555555; width: 95%" />
<div style="margin-left: 100px; margin-bottom: 20px;" class="formm">
<table class="tabl">
<tr height="">
<td class="tt">demo名</td>
<td width="20"></td>
<td><strong><font>${findByDid.dname}</font></strong></td>
</tr>
<tr height="">
<td class="tt">备注:</td>
<td width="20"></td>
<td><strong><font>${findByDid.comment}</font></strong></td>
</tr>
</table>
</div>
</body>
</html>

@ -0,0 +1,115 @@
<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>demo列表</title>
<link rel="stylesheet"
href="${ pageContext.request.contextPath }/css/goodslist.css" />
<script type="text/javascript"
src="${ pageContext.request.contextPath }/js/goodslist.js"></script>
<link href="${pageContext.request.contextPath}/css/Style1.css"
rel="stylesheet" type="text/css" />
<!-- 引入Jquery -->
<script type="text/javascript"
src="${ pageContext.request.contextPath }/static/js/jquery-2.1.1.min.js"></script>
<!-- 引入样式 -->
<link
href="${ pageContext.request.contextPath }/static/bootstrap-3.3.7-dist/css/bootstrap.min.css"
rel="stylesheet">
<script
src="'${ pageContext.request.contextPath }/static/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
<script type="text/javascript">
var basepath= '${APP_PATH}';
function refresh(){
window.location.href = "${pageContext.request.contextPath}/admin/adminDemo_findAllByPage.action?page=1";
}
function addDemo(){
window.location.href = "${pageContext.request.contextPath}/demo/add.action";
}
function edit(did) {
window.location.href = "${pageContext.request.contextPath}/demo/updateById.action?did="+did;
}
function deletecs(did) {
var r=confirm("确定删除吗?");
if (r==true){
window.location.href = "${pageContext.request.contextPath}/demo/deleteById.action?did="+did;
}
else{
}
}
function look(did) {
window.location.href = "${pageContext.request.contextPath}/demo/findById.action?did="+did;
}
function ret() {
window.location.href = "${pageContext.request.contextPath}/demo/findAllByPage.action?page=1";
}
function refresh(){
window.location.href = "${pageContext.request.contextPath}/demo/findAllByPage.action?page=1";
}
</script>
</head>
<body>
<div class="a">
<div class="b">
<form method="post"
action="${pageContext.request.contextPath}/demo/searchDemoByCondition.action">
<input id="condition" name="condition" type="text" class="input1"
value="请输入关键词" onfocus="this.value = '';"
onblur="if (this.value == '') {this.value = '请输入关键词';}">&nbsp;&nbsp;
<button type="submit"
class="btn btn-primary btn-sm glyphicon glyphicon-search"
onclick="validate()"></button>
</form>
</div>
<div align="right" style="padding-right: 30px;">
<input type="button" value="+添加demo" class="btn btn-primary"
onclick="addDemo()" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<button type="button" onclick="refresh()"
class="btn glyphicon glyphicon-refresh"></button>
</div>
</div>
<div class="d" style="width: 96%; margin-left: 25px;">
<!-- 显示结果 -->
<form style="margin-top: 20px;">
<table width="100%" align="center"
class="table table-hover table-striped" id="table"
style="border: 1px solid #D0D0D0">
<thead>
<tr align="center" bgcolor="#93b6bd" height="33px;">
<th scope="col" style="text-align: center;">demoID</th>
<th scope="col" style="text-align: center;">demo名</th>
<th scope="col" style="text-align: center;">备注</th>
<th scope="col" style="text-align: center;">操作</th>
</tr>
</thead>
<c:forEach items="${srList}" var="d" varStatus="status">
<tr height="30">
<td style="CURSOR: hand; HEIGHT: 22px" align="center" width="12%">${d.did}</td>
<td style="CURSOR: hand; HEIGHT: 22px" align="center" width="17%">${d.dname }</td>
<td style="CURSOR: hand; HEIGHT: 22px" align="center" width="17%">${d.comment}</td>
<td>
<button type="button"
class="btn btn-primary btn-sm glyphicon glyphicon-pencil"
onclick="edit(${d.did})"></button>&nbsp;
<button type="button"
class="btn btn-success btn-sm glyphicon glyphicon-asterisk"
onclick="look(${d.did})"></button>
</td>
</tr>
</c:forEach>
</table>
</form>
</div>
</body>
</html>

@ -0,0 +1,24 @@
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
body {
SCROLLBAR-ARROW-COLOR: #ffffff;
SCROLLBAR-BASE-COLOR: #dee3f7;
}
</style>
</head>
<frameset rows="56,*,10" frameborder=1 border="1" framespacing="1">
<frame src="${pageContext.request.contextPath}/jsp/top.jsp"
name="topFrame" scrolling="NO" noresize>
<frameset cols="159,*">
<frame src="${pageContext.request.contextPath}/jsp/left.jsp"
name="leftFrame" noresize scrolling="YES">
<frame src="${pageContext.request.contextPath}/jsp/right.jsp"
name="mainFrame">
</frameset>
</frameset>
</html>

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" id="WebApp_ID" version="3.1">
<display-name>SSMProjectPreview</display-name>
<welcome-file-list>
<welcome-file>admin.action</welcome-file>
</welcome-file-list>
<!-- 1.Spring配置文件让Spring在web项目中起作用让Spring IoC容器跟随项目一起启动 -->
<!-- needed for ContextLoaderListener -->
<context-param>
<param-name>contextConfigLocation</param-name>
<!-- 指定Spring配置文件的地址 -->
<param-value>classpath:applicationContext.xml</param-value>
</context-param>
<!-- Bootstraps the root web application context before servlet initialization -->
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<!-- 2.SpringMVC配置文件前端控制器 -->
<!-- The front controller of this Spring Web application, responsible for handling all application requests -->
<servlet>
<servlet-name>springDispatcherServlet</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<!-- SpringMVC要想启动得需要他的配置文件 -->
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:springmvc.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- Map all requests to the DispatcherServlet for handling -->
<servlet-mapping>
<servlet-name>springDispatcherServlet</servlet-name>
<url-pattern>/</url-pattern><!-- 拦截所有请求 -->
</servlet-mapping>
<!-- 解决中文乱码问题 -->
<filter>
<filter-name>CharacterEncodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>CharacterEncodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
</web-app>

@ -0,0 +1,590 @@
body {
background-color: #FFFFFF;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
td,select {
font-size: 12px;
}
A.cl:link {
font-size:12px;
color: #000000;
text-decoration:none;
}
A.cl:visited {
font-size:12px;
color: #000000;
text-decoration:none;
}
A.cl:hover {
font-size:12px;
color: #cc0000;
text-decoration:underline;
}
A.cl_01:link {
font-size:12px;
color: #000066;
text-decoration:none;
}
A.cl_01:visited {
font-size:12px;
color: #000066;
text-decoration:none;
}
A.cl_01:hover {
font-size:12px;
color: #0066CC;
text-decoration:underline;
}
.bt_01 {
line-height: 155%;
color: #FFFFFF;
padding-left: 15px;
padding-bottom: 10px;
}
.box04 {
font-size: 12px;
padding-top: 7px;
padding-left: 16px;
background-color: #88A5DF;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #7798DC;
border-right-color: #2C416B;
border-bottom-color: #2C416B;
border-left-color: #7798DC;
padding-bottom: 4px;
}
.box01 {
font-size: 12px;
color: #000000;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #EDF8FF;
border-right-color: #8099B2;
border-bottom-color: #8099B2;
border-left-color: #EDF8FF;
background-color: #B2CFED;
padding-top: 7px;
padding-left: 16px;
border-top-style: solid;
padding-bottom: 4px;
}
.box05 {
font-size: 12px;
padding-top: 5px;
padding-left: 30px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #B2CFED;
border-right-width: 1px;
border-right-style: solid;
border-right-color: #F4F9FF;
padding-bottom: 3px;
background-color: #EDF8FF;
}
.box06 {
font-size: 12px;
background-color: #EDF6FF;
padding-top: 5px;
padding-left: 30px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #ADAEAD;
padding-bottom: 3px;
}
.bottom {
color: #000066;
}
A.cl_02:link {
font-size:12px;
color: #CC0000;
text-decoration:underline;
}
A.cl_02:visited {
font-size:12px;
color: #CC0000;
text-decoration:underline;
}
A.cl_02:hover {
font-size:12px;
color: #CC0000;
text-decoration:none;
}
.top {
padding-top: 4px;
padding-bottom: 2px;
font-weight: bold;
background-color: #AFD1F3;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #E3EFFB;
border-right-color: #7990A8;
border-bottom-color: #7990A8;
border-left-color: #E3EFFB;
}
.ta_01 {
padding-top: 4px;
padding-bottom: 2px;
padding-right: 2px;
padding-left: 3px;
line-height: 135%;
}
A:link {
font-size:12px;
color: #000000;
text-decoration:none;
}
A:visited {
font-size:12px;
color: #000000;
text-decoration:none;
}
A.eq:hover {
font-size:12px;
color: #0066FF;
text-decoration:underline;
}
A.eq:link {
font-size:12px;
color: #000000;
text-decoration:underline;
}
A.eq:visited {
font-size:12px;
color: #000000;
text-decoration:underline;
}
A.eq:hover {
font-size:12px;
color: #0066FF;
text-decoration:underline;
}
.bg {
border-top:0px ;
border-left:0px ;
border-right:0px ;
border-bottom: solid 1px gray;
background-color: #FBFDFF;
height:21px ;
width:150px;
}
.button {
background-color: #DAE6FF;
margin: 1px;
padding: 0px 2px 0px 2px;
border: 1px solid #8AA2CC;
color: #333333;
cursor: hand;
/*
left: 10px;
top: 10px;
right: 0px;
bottom: 10px;
clip: rect(10px 10px 10px 10px);
*/
height: 18px;
}
.button_ok {
background-color: #DAE6FF;
margin: 1px;
padding: 2px 4px 2px 10px;
border: 1px solid #8AA2CC;
background-attachment: fixed;
background-image: url(../images/button_ok.gif);
background-repeat: no-repeat;
background-position: left center;
color: #2F3F5B;
cursor: hand;
text-align: right;
left: 10px;
top: 10px;
right: 0px;
bottom: 10px;
clip: rect(10px 10px 10px 10px);
height: 20px;
}
.button_cancel {
background-color: #DAE6FF;
margin: 1px;
padding: 2px 4px 2px 10px;
border: 1px solid #8AA2CC;
background-attachment: fixed;
background-image: url(../images/button_cancel.gif);
background-repeat: no-repeat;
background-position: left center;
color: #2F3F5B;
cursor: hand;
text-align: right;
left: 10px;
top: 10px;
right: 0px;
bottom: 10px;
clip: rect(10px 10px 10px 10px);
height: 20px;
}
.button_help {
background-color: #DAE6FF;
margin: 1px;
padding: 2px 4px 2px 10px;
border: 1px solid #8AA2CC;
background-attachment: fixed;
background-image: url(../images/button_help.gif);
background-repeat: no-repeat;
background-position: left center;
color: #2F3F5B;
cursor: hand;
text-align: right;
left: 10px;
top: 10px;
right: 0px;
bottom: 10px;
clip: rect(10px 10px 10px 10px);
height: 20px;
}
.button_exit {
background-color: #DAE6FF;
margin: 1px;
padding: 2px 4px 2px 10px;
border: 1px solid #8AA2CC;
background-attachment: fixed;
background-image: url(../images/button_search.gif);
background-repeat: no-repeat;
background-position: left center;
color: #2F3F5B;
cursor: hand;
text-align: right;
left: 10px;
top: 10px;
right: 0px;
bottom: 10px;
clip: rect(10px 10px 10px 10px);
height: 20px;
.button_search {
background-color: #DAE6FF;
margin: 1px;
padding: 2px 4px 2px 10px;
border: 1px solid #8AA2CC;
background-attachment: fixed;
background-image: url(../images/button_exit.gif);
background-repeat: no-repeat;
background-position: left center;
color: #2F3F5B;
cursor: hand;
text-align: right;
left: 10px;
top: 10px;
right: 0px;
bottom: 10px;
clip: rect(10px 10px 10px 10px);
height: 20px;
}
.button_view {
background-color: #DAE6FF;
margin: 1px;
padding: 2px 4px 2px 10px;
border: 1px solid #8AA2CC;
background-attachment: fixed;
background-image: url(../images/button_view.gif);
background-repeat: no-repeat;
background-position: left center;
color: #2F3F5B;
cursor: hand;
text-align: right;
left: 10px;
top: 10px;
right: 0px;
bottom: 10px;
clip: rect(10px 10px 10px 10px);
height: 20px;
}
.button_add {
background-color: #DAE6FF;
margin: 1px;
padding: 2px 4px 2px 10px;
border: 1px solid #8AA2CC;
background-attachment: fixed;
background-image: url(../images/button_add.gif);
background-repeat: no-repeat;
background-position: left center;
color: #2F3F5B;
cursor: hand;
text-align: right;
left: 10px;
top: 10px;
right: 0px;
bottom: 10px;
clip: rect(10px 10px 10px 10px);
height: 20px;
}
.button_del {
background-color: #DAE6FF;
margin: 1px;
padding: 2px 4px 2px 10px;
border: 1px solid #8AA2CC;
background-attachment: fixed;
background-image: url(../images/button_del.gif);
background-repeat: no-repeat;
background-position: left center;
color: #2F3F5B;
cursor: hand;
text-align: right;
left: 10px;
top: 10px;
right: 0px;
bottom: 10px;
clip: rect(10px 10px 10px 10px);
height: 20px;
}
.button_print {
background-color: #DAE6FF;
margin: 1px;
padding: 2px 4px 2px 10px;
border: 1px solid #8AA2CC;
background-attachment: fixed;
background-image: url(../images/button_print.gif);
background-repeat: no-repeat;
background-position: left center;
color: #2F3F5B;
cursor: hand;
text-align: right;
left: 10px;
top: 10px;
right: 0px;
bottom: 10px;
clip: rect(10px 10px 10px 10px);
height: 20px;
}
.button_modi {
background-color: #DAE6FF;
margin: 1px;
padding: 2px 4px 2px 10px;
border: 1px solid #8AA2CC;
background-attachment: fixed;
background-image: url(../images/button_modi.gif);
background-repeat: no-repeat;
background-position: left center;
color: #2F3F5B;
cursor: hand;
text-align: right;
left: 10px;
top: 10px;
right: 0px;
bottom: 10px;
clip: rect(10px 10px 10px 10px);
height: 20px;
}
.button_save {
background-color: #DAE6FF;
margin: 1px;
padding: 2px 4px 2px 10px;
border: 1px solid #8AA2CC;
background-attachment: fixed;
background-image: url(../images/button_save.gif);
background-repeat: no-repeat;
background-position: left center;
color: #2F3F5B;
cursor: hand;
text-align: right;
left: 10px;
top: 10px;
right: 0px;
bottom: 10px;
clip: rect(10px 10px 10px 10px);
height: 20px;
}
.button_alert {
background-color: #DAE6FF;
margin: 1px;
padding: 2px 4px 2px 10px;
border: 1px solid #8AA2CC;
background-attachment: fixed;
background-image: url(../images/button_alert.gif);
background-repeat: no-repeat;
background-position: left center;
color: #2F3F5B;
cursor: hand;
text-align: right;
left: 10px;
top: 10px;
right: 0px;
bottom: 10px;
clip: rect(10px 10px 10px 10px);
height: 20px;
}
.button_clock {
background-color: #DAE6FF;
margin: 1px;
padding: 2px 4px 2px 10px;
border: 1px solid #8AA2CC;
background-attachment: fixed;
background-image: url(../images/button_clock.gif);
background-repeat: no-repeat;
background-position: left center;
color: #2F3F5B;
cursor: hand;
text-align: right;
left: 10px;
top: 10px;
right: 0px;
bottom: 10px;
clip: rect(10px 10px 10px 10px);
height: 20px;
}
.button_close {
background-color: #DAE6FF;
margin: 1px;
padding: 2px 4px 2px 10px;
border: 1px solid #8AA2CC;
background-attachment: fixed;
background-image: url(../images/button_close.gif);
background-repeat: no-repeat;
background-position: left center;
color: #2F3F5B;
cursor: hand;
text-align: right;
left: 10px;
top: 10px;
right: 0px;
bottom: 10px;
clip: rect(10px 10px 10px 10px);
height: 20px;
}
.button_phone01 {
background-color: #DAE6FF;
margin: 1px;
padding: 2px 4px 2px 10px;
border: 1px solid #8AA2CC;
background-attachment: fixed;
background-image: url(../images/button_phone01.gif);
background-repeat: no-repeat;
background-position: left center;
color: #2F3F5B;
cursor: hand;
text-align: right;
left: 10px;
top: 10px;
right: 0px;
bottom: 10px;
clip: rect(10px 10px 10px 10px);
height: 20px;
}
.button_dire {
background-color: #DAE6FF;
margin: 1px;
padding: 2px 4px 2px 10px;
border: 1px solid #8AA2CC;
background-attachment: fixed;
background-image: url(../images/hotel_dire_arrowc.jpg);
background-repeat: no-repeat;
background-position: left center;
color: #2F3F5B;
cursor: hand;
text-align: right;
left: 10px;
top: 10px;
right: 0px;
bottom: 10px;
clip: rect(10px 10px 10px 10px);
height: 20px;
}
.NextLine
{
word-break:break-all;word-wrap:break-word;
}
.test
{
BACKGROUND-IMAGE: url(../images/aaa.gif); HEIGHT: 25px;
}
.optionOff
{
color:#909090;
background-image:url(../images/optionbgOff.gif);
background-position:right;
background-repeat:no-repeat;
border-left:1px solid #a0a0a0;
text-align:center;
width:110px;
cursor:hand;
}
.optionOn {
color:#1E6BAE;
background-image:url(../images/optionbgOn.gif);
background-position:right;
background-repeat:no-repeat;
border-left:1px solid #808080;
text-align:center;
font-weight:bold;
width:110px;
cursor:hand;
}
.optionOff A,.optionOff A:link,.optionOff A:visited,.optionOff A:hover,.optionOff A:active {
color:#909090;
text-decoration:none;
}
.optionOn A,.optionOn A:link,.optionOn A:visited,.optionOn A:hover,.optionOn A:active {
color:#1E6BAE;
text-decoration:none;
}
.tbodyhidden {
display:none;
}
.xscroll {
overflow-x:auto;
height:auto;
SCROLLBAR-FACE-COLOR: #E0F0FC;
SCROLLBAR-SHADOW-COLOR: #EAF5FD;
SCROLLBAR-3DLIGHT-COLOR: #808080;
SCROLLBAR-ARROW-COLOR: #808080;
SCROLLBAR-DARKSHADOW-COLOR:#808080;
buttonface: #666666;
}
.xscrollhidden {
overflow-x:auto;
display:none;
SCROLLBAR-FACE-COLOR: #E0F0FC;
SCROLLBAR-SHADOW-COLOR: #EAF5FD;
SCROLLBAR-3DLIGHT-COLOR: #808080;
SCROLLBAR-ARROW-COLOR: #808080;
SCROLLBAR-DARKSHADOW-COLOR:#808080;
buttonface: #666666;
}
.sep1 {
padding:0px;
background-color:#AFD1F3;
}
.grouptitle {
background-color:#E0F0FC;
color: #5580D7;
}
.bodyscroll {
SCROLLBAR-FACE-COLOR: #f6f6f6;
SCROLLBAR-SHADOW-COLOR: #8099B2;
SCROLLBAR-3DLIGHT-COLOR: #8099B2;
SCROLLBAR-ARROW-COLOR: #8099B2;
SCROLLBAR-DARKSHADOW-COLOR:#cccccc;
buttonface: #f6f6f6;
}

@ -0,0 +1,156 @@
@charset "utf-8";
div.cart .step {
height: 38px;
margin-bottom: 10px;
}
div.cart .step li {
width: 100px;
height: 38px;
line-height: 38px;
float: left;
padding-left: 50px;
font-size: 14px;
font-family: "Microsoft YaHei";
}
div.cart .step .current {
color: #ffffff;
}
div.cart .step1 {
}
div.cart .step2 {
}
div.cart .step3 {
}
div.cart table {
width: 100%;
margin-bottom: 10px;
}
div.cart table th {
line-height: 36px;
padding: 0px 6px;
color: #999999;
font-weight: normal;
text-align: left;
border: solid 1px #e6e4e3;
background-color: #fafafa;
}
div.cart table td {
line-height: 20px;
padding: 4px;
border: solid 1px #f1f1f1;
}
div.cart table img {
width: 60px;
height: 60px;
}
div.cart dl {
height: 20px;
line-height: 20px;
padding: 4px 10px;
margin-bottom: 10px;
border: solid 1px #f1f1f1;
}
div.cart dt {
float: left;
margin-right: 10px;
font-weight: bold;
}
div.cart dd {
float: left;
margin-right: 10px;
}
div.cart .quantity input {
width: 30px;
height: 18px;
line-height: 18px;
float: left;
padding: 0px 2px;
text-align: center;
ime-mode: disabled;
border: 1px solid #dbdbdb;
}
div.cart .quantity div {
height: 18px;
float: left;
padding-left: 2px;
}
div.cart .quantity .increase {
width: 18px;
height: 7px;
display: block;
clear: both;
margin-bottom: 2px;
cursor: pointer;
overflow: hidden;
border: 1px solid #dbdbdb;
}
div.cart .quantity .decrease {
width: 18px;
height: 7px;
display: block;
clear: both;
cursor: pointer;
overflow: hidden;
border: 1px solid #dbdbdb;
}
div.cart .total {
padding: 10px 0px;
margin-bottom: 10px;
text-align: right;
}
div.cart .total em {
margin-right: 14px;
color: #ff6600;
font-style: normal;
}
div.cart .total strong {
color: #ef0101;
font-size: 14px;
}
div.cart .bottom {
height: 30px;
line-height: 30px;
margin-bottom: 10px;
text-align: right;
overflow: hidden;
border: 1px dotted #e4e4e4;
background-color: #fdfdfd;
}
div.cart .clear {
margin-right: 10px;
}
div.cart .submit {
padding: 14px;
color: #ffffff;
background-color: #b31d04;
}
div.cart p {
line-height: 60px;
margin-bottom: 10px;
border-top: 1px solid #e4e4e4;
border-bottom: 1px solid #e4e4e4;
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,29 @@
.dtree {
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #fff;
white-space: nowrap;
}
.dtree img {
border: 0px;
vertical-align: middle;
}
.dtree a {
color: #333;
text-decoration: none;
}
.dtree a.node, .dtree a.nodeSel {
white-space: nowrap;
padding: 1px 2px 1px 2px;
}
.dtree a.node:hover, .dtree a.nodeSel:hover {
color: #333;
text-decoration: underline;
}
.dtree a.nodeSel {
background-color: #fff;
}
.dtree .clip {
overflow: hidden;
}

@ -0,0 +1,67 @@
@CHARSET "UTF-8";
table {
border-collapse: collapse; /* 合并为单一的边框线 */
}
table.tb td {
padding: 7px;
/* border: 1px solid green; */
border: 1px solid #D1D1D1;
}
.a {
height: 20px;
margin-top: 20px;
}
.b {
float: left;
margin-left: 50px;
}
.c {
float: left;
padding-left: 490px;
}
.d {
margin-top: 28px;
/* background-color: #ECF5FF; */
width: 97%;
margin-left: 16px;
text-align: center;
}
.input1 {
height: 30px;
border-radius: 8px;
}
.input2 {
height: 38px;
width: 69px;
background-color: #0f83c7;
color: white;
border-radius: 8px;
font-size: 14px;
}
.input3 {
height: 38px;
width: 75px;
margin-left: 14px;
background-color: #0f83c7;
color: white;
border-radius: 8px;
font-size: 14px;
}
.c td input {
height: 38px;
width: 90px;
background-color: #149ff0;
color: white;
border-radius: 8px;
font-size: 14px;
}

@ -0,0 +1,54 @@
@CHARSET "UTF-8";
table {
border-collapse: collapse; /* 合并为单一的边框线 */
}
table.tb td {
padding: 7px;
/* border: 1px solid green; */
}
.a {
height: 20px;
margin-top: 20px;
}
.b {
float: left;
margin-left: 26px;
}
.c {
float: left;
margin-left: 660px;
}
.d {
margin-top: 28px;
/* background-color: #ECF5FF; */
width: 97%;
margin-left: 16px;
text-align: center;
}
/* .b botton {
height: 42px;
width: 78px;
background-color: #0f83c7;
color: white;
border-radius: 8px;
font-size: 14px;
} */
/* .c input {
height: 40px;
width: 90px;
background-color: #149ff0;
color: white;
border-radius: 8px;
font-size: 14px;
font-weight: bold;
}
*/

@ -0,0 +1,526 @@
@charset "utf-8";
/*
* Copyright 2005-2013 dhcc.com.cn. All rights reserved.
* Support: http://www.dhcc.com.cn
* License: http://www.dhcc.com.cn/license
*
* Style - Index
* Version: 3.0
*/
/* ---------- Index ---------- */
div.index .slider {
height: 290px;
margin-bottom: 10px;
overflow: hidden;
position: relative;
}
div.index .slider img {
width: 710px;
height: 290px;
position: absolute;
top: 0px;
left: 0px;
}
div.index .newArticle {
width: 228px;
height: 172px;
margin-bottom: 10px;
overflow: hidden;
border: solid 1px #e4e4e4;
}
div.index .newArticle .tab {
width: 300px;
height: 30px;
background-color: #f1f1f1;
}
div.index .newArticle .tab li {
width: 76px;
height: 30px;
line-height: 30px;
float: left;
text-align: center;
overflow: hidden;
border-right: solid 1px #e4e4e4;
}
div.index .newArticle .tab li.current {
background-color: #ffffff;
}
div.index .newArticle .tabContent {
padding: 6px;
}
div.index .newArticle .tabContent li {
line-height: 26px;
}
div.index .hotBrand {
padding: 0px 10px 10px 10px;
background-color: #f1f1f1;
}
div.index .hotBrand .title {
height: 30px;
line-height: 30px;
color: #cacaca;
font-weight: bold;
font-family: "Microsoft YaHei";
}
div.index .hotBrand .title strong {
margin-right: 10px;
color: #d31c31;
font-size: 14px;
font-weight: bold;
}
div.index .hotBrand .title a {
float: right;
color: #999999;
font-weight: normal;
}
div.index .hotBrand li {
white-space: nowrap;
float: left;
margin-right: -1px;
margin-bottom: -1px;
_position: relative;
border: 1px solid #e4e4e4;
background-color: #ffffff;
}
div.index .hotBrand li a {
width: 97px;
height: 50px;
display: block;
overflow: hidden;
background: url(../images/index.gif) 0px 0px repeat-x;
}
div.index .hotBrand li a:hover {
height: 49px;
border-bottom: 1px solid #656565;
}
div.index .hotBrand li img {
width: 97px;
height: 50px;
}
div.index .hotProductCategory {
padding: 0px 10px 10px 10px;
margin-bottom: 10px;
background-color: #f1f1f1;
border:1px solid #ff0000;
}
div.index .hotProductCategory .title {
height: 30px;
line-height: 30px;
color: #cacaca;
font-weight: bold;
font-family: "Microsoft YaHei";
}
div.index .hotProductCategory .title strong {
margin-right: 10px;
color: #d31c31;
font-size: 14px;
font-weight: bold;
}
div.index .hotProductCategory .title a {
float: right;
color: #999999;
font-weight: normal;
}
div.index .hotProductCategory .content {
border: 1px solid #e4e4e4;
background-color: #ffffff;
}
div.index .hotProductCategory table {
width: 100%;
}
div.index .hotProductCategory tr {
border-bottom: 1px solid #f1f1f1;
}
div.index .hotProductCategory tr.last {
border-bottom: none;
}
div.index .hotProductCategory th {
width: 90px;
height: 60px;
font-weight: normal;
text-align: center;
white-space: nowrap;
border: 3px solid #ffffff;
background-color: #f8f8f8;
}
div.index .hotProductCategory tr:hover th {
background-color: #e4e4e4;
}
@media screen and (-webkit-min-device-pixel-ratio:0){
div.index .hotProductCategory th {
height: 60px;
}
}
div.index .hotProductCategory td a {
line-height: 30px;
padding: 0px 10px;
color: #666666;
white-space: nowrap;
}
div.index .promotionProduct {
width: 228px;
margin-bottom: 10px;
overflow: hidden;
border-left: solid 1px #e4e4e4;
border-right: solid 1px #e4e4e4;
border-bottom: solid 1px #e4e4e4;
}
div.index .promotionProduct .tab {
width: 300px;
height: 31px;
}
div.index .promotionProduct .tab li {
width: 114px;
height: 31px;
line-height: 31px;
float: left;
text-align: center;
overflow: hidden;
border-right: solid 1px #e4e4e4;
background: url(../images/index.gif) 0px -90px repeat-x;
}
div.index .promotionProduct .tab li.current {
height: 29px;
line-height: 29px;
border-top: solid 2px #ff830f;
background-color: #ffffff;
background-image: none;
}
div.index .promotionProduct .tabContent {
padding: 6px;
}
div.index .promotionProduct .tabContent li {
height: 94px;
padding-bottom: 10px;
margin-bottom: 10px;
overflow: hidden;
border-bottom: 1px solid #f1f1f1;
}
div.index .promotionProduct .tabContent li.last {
padding-bottom: 0px;
margin-bottom: 0px;
border-bottom: none;
}
div.index .promotionProduct .tabContent .info {
line-height: 26px;
color: #a5a5a5;
}
div.index .promotionProduct .tabContent em {
color: #404040;
font-weight: bold;
font-style: normal;
}
div.index .promotionProduct .tabContent del {
color: #a5a5a5;
font-weight: normal;
font-style: normal;
text-decoration: line-through;
}
div.index .promotionProduct .tabContent strong {
color: #ff0000;
font-size: 14px;
font-weight: bold;
}
div.index .promotionProduct .tabContent span {
display: block;
clear: both;
}
div.index .promotionProduct .tabContent div img {
width: 50px;
height: 50px;
display: block;
float: left;
padding: 2px;
margin: 4px 4px 0px 0px;
border: 1px solid #e4e4e4;
}
div.index .promotionProduct .tabContent div div {
width: 156px;
line-height: 20px;
float: left;
overflow: hidden;
}
div.index .newReview {
margin-bottom: 10px;
overflow: hidden;
border: solid 1px #e4e4e4;
}
div.index .newReview .title {
height: 30px;
line-height: 30px;
padding: 0px 10px;
color: #d31c31;
font-size: 14px;
font-weight: bold;
font-family: "Microsoft YaHei";
background-color: #f1f1f1;
}
div.index .newReview ul {
line-height: 28px;
padding: 2px 6px;
}
div.index .middleAd {
margin-bottom: 10px;
}
div.index .hotProduct {
margin-bottom: 10px;
}
div.index .hotProduct .title {
width: 260px;
height: 30px;
float: left;
margin-bottom: 10px;
/* background: url(../images/index.gif) 0px -150px no-repeat; */
background-color: #ffffff;
}
div.index .hotProduct .title strong {
line-height: 28px;
display: block;
float: left;
padding-left: 10px;
color: #000000;
font-size: 16px;
font-family: "Microsoft YaHei";
}
div.index .hotProduct .title a {
width: 40px;
height: 30px;
display: block;
float: right;
}
div.index .hotProduct .tab {
width: 690px;
height: 30px;
line-height: 30px;
float: left;
margin-bottom: 10px;
overflow: hidden;
/* background: url(../images/index.gif) 0px -210px repeat-x; */
background-color: #ffffff;
}
div.index .hotProduct .tab li {
width: 120px;
height: 35px;
line-height: 35px;
float: left;
margin-top: 2px;
font-size: 14px;
text-align: center;
overflow: hidden;
}
div.index .hotProduct .tab li.current {
font-weight: bold;
background-color: #825996;
}
div.index .hotProduct .hotProductAd {
width: 260px;
height: 343px;
float: left;
}
div.index .hotProduct .tabContent {
width: 950px;
float: left;
padding-left: 5px;
_padding-left: 2px;
}
div.index .hotProduct .tabContent li {
float: left;
margin-right: -1px;
margin-bottom: 10px;
_position: relative;
border:1px solid #e4e4e4;
margin-left: 14px;
}
div.index .hotProduct .tabContent li:hover {
filter: alpha(opacity = 70);
-moz-opacity: 0.7;
opacity: 0.7;
}
div.index .hotProduct .tabContent img {
width: 170px;
height: 170px;
display: block;
}
div.index .newProduct {
margin-bottom: 10px;
}
div.index .newProduct .title {
width: 260px;
height: 30px;
float: left;
margin-bottom: 10px;
/* background: url(../images/index.gif) 0px -270px no-repeat; */
background-color: #ff0000;
}
div.index .newProduct .title strong {
line-height: 28px;
display: block;
float: left;
padding-left: 10px;
color: #ffffff;
font-size: 15px;
font-family: "Microsoft YaHei";
}
div.index .newProduct .title a {
width: 40px;
height: 30px;
display: block;
float: right;
}
div.index .newProduct .tab {
width: 690px;
height: 30px;
line-height: 30px;
float: left;
margin-bottom: 10px;
overflow: hidden;
/* background: url(../images/index.gif) 0px -330px repeat-x; */
background-color: #ff0000;
}
div.index .newProduct .tab li {
width: 120px;
height: 28px;
line-height: 28px;
float: left;
margin-top: 2px;
font-size: 15px;
text-align: center;
overflow: hidden;
}
div.index .newProduct .tab li.current {
font-weight: bold;
background-color: #ff0000;
}
div.index .newProduct .newProductAd {
width: 260px;
height: 343px;
float: left;
}
div.index .newProduct .tabContent {
width: 950px;
float: left;
padding-left: 5px;
_padding-left: 2px;
}
div.index .newProduct .tabContent li {
float: left;
margin-right: -1px;
margin-bottom: 10px;
_position: relative;
border:1px solid #e4e4e4;
margin-left: 14px;}
div.index .newProduct .tabContent li:hover {
filter: alpha(opacity = 70);
-moz-opacity: 0.7;
opacity: 0.7;
}
div.index .newProduct .tabContent img {
width: 170px;
height: 170px;
display: block;
}
div.index .friendLink {
height: 30px;
line-height: 30px;
padding-left: 30px;
margin-bottom: 10px;
color: #ffffff;
background-color: #c5c5c5;
}
div.index .friendLink dt {
float: left;
padding: 0px 30px;
background-color: #6e6e6e;
}
div.index .friendLink dd {
float: left;
}
div.index .friendLink a {
margin: 0px 10px;
color: #ffffff;
}
div.index .friendLink .more {
float: right;
background-color: #6e6e6e;
}

@ -0,0 +1,4 @@
body {background-color: #fff;margin: 0px;text-align:left;}
td {font-size:12px;color:#303030;line-height:20px;}
a:link,a:visited {color:#012F68;text-decoration: none;}
a:hover {color: #406EA8;text-decoration:none}

@ -0,0 +1,91 @@
@charset "utf-8";
/*
* Copyright 2005-2013 dhcc.com.cn. All rights reserved.
* Support: http://www.dhcc.com.cn
* License: http://www.dhcc.com.cn/license
*
* Style - Login
* Version: 3.0
*/
/* ---------- Login ---------- */
div.login .wrap {
margin-bottom: 10px;
border: 2px solid #f2f2f2;
}
div.login .main {
border: 1px solid #d7d7d7;
}
div.login .title {
height: 40px;
line-height: 40px;
color: #d8d8d8;
font-family: "Microsoft YaHei";
border-bottom: 1px dotted #ededed;
}
div.login .title strong {
padding: 0px 10px;
color: #3164af;
font-size: 18px;
font-weight: normal;
}
div.login table {
width: 100%;
margin-top: 10px;
}
div.login th {
width: 38%;
padding: 12px;
font-weight: normal;
text-align: right;
}
div.login .captcha {
width: 90px;
}
div.login .captchaImage {
margin-left: 10px;
vertical-align: middle;
cursor: pointer;
}
div.login .submit {
width: 100px;
height: 35px;
line-height: 35px;
margin-bottom: 10px;
color: #ffffff;
cursor: pointer;
outline: none;
blr: expression(this.hideFocus = true);
border: none;
background: url(../images/login.gif) 0px 0px no-repeat;
}
div.login .register {
background-color: #f3f3f3;
}
div.login .register dt {
line-height: 40px;
color: #cc062d;
font-size: 18px;
font-family: "Microsoft YaHei";
}
div.login .register dd {
line-height: 30px;
color: #565656
}
div.login .register dd a {
color: #3164af
}

@ -0,0 +1,85 @@
@CHARSET "UTF-8";
/* html {
width: 100%;
height: 100%;
overflow: hidden;
font-style: sans-serif;
}
*/
body {
width: 100%;
height: 100%;
font-family: 'Open Sans', sans-serif;
margin: 0;
background-color: #4A374A;
}
#login {
position: absolute;
top: 45%;
left: 50%;
margin: -150px 0 0 -150px;
/*width: 300px;*/
width: auto;
height: 300px;
}
#login h1 {
color: #fff;
letter-spacing: 3px; /*login1之间的间距*/
text-align: center;
font-size: 2.5em;
margin: 1em 0;
}
input {
width: 278px;
height: 18px;
margin-bottom: 10px;
outline: none;
font-size: 13px;
border-top: 1px solid #003D79;
border-left: 1px solid #003D79;
border-right: 1px solid #003D79;
border-bottom: 1px solid #003D79;
border-radius: 4px;
/* background-color: #fff; */
background-color: transparent; /* 设置input框为透明 */
/* border:0; */
}
/* .but1 {
width: 120px;
min-height: 20px;
display: block;
background-color: #4a77d4;
border: 1px solid #3762bc;
color: #fff;
padding: 9px 14px;
font-size: 15px;
line-height: normal;
border-radius: 5px;
display:inline;
margin-top: 10px;
} */
.but2 {
width: 120px;
min-height: 20px;
display: block;
background-color: #4a77d4;
border: 1px solid #3762bc;
color: #fff;
padding: 9px 14px;
font-size: 15px;
line-height: normal;
border-radius: 5px;
margin: 0em;
margin-left:50px;
display:inline; /*两个按钮在同一行*/
margin-top: 10px;
background-color: transparent; /* 设置input框为透明 */
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,554 @@
@CHARSET "UTF-8";
.bookShow
{
width: 1500px;
margin-top: 10px;
padding: 10px;
overflow: hidden;
}
.bookShow img
{
width: 180px;
display: block;
height: 180px;
}
.bookShow label
{
margin-left: 50%;
font-size : 14px;
}
.bookShow ul
{
width: 1500px;
padding-top: 20px;
margin: 0px;
padding: 0px;
list-style-type: none;
border: 0px none;
float: left;
}
.bookShow ul li
{
width: 230px;
margin-right: 30px;
margin-bottom: 26px;
height: 230px;
position: relative;
overflow: visible;
float: left;
}
.bookShow ul li .name a:hover
{
text-decoration: underline;
color: #EC7814;
}
.bookShow ul li .name a
{
color: #000;
font-size: 12px;
}
.bookShow ul li .author
{
height: 24px;
line-height: 24px;
overflow: hidden;
color: #AAA;
list-style-type: none;
border: 0px none;
font-size: 12px;
}
.bookShow ul li .press_date
{
line-height: 24px;
list-style-type: none;
font-size: 12px;
}
.bookShow ul li .price .rob
{
color: #C30;
font-weight: bold;
line-height: 16px;
font-family: "Arial";
font-size: 14px;
list-style-type: none;
}
.bookShow ul li .price .price_r
{
color: #AAA;
text-decoration: line-through;
overflow: hidden;
line-height: 16px;
font-family: "Arial";
font-size: 14px;
list-style-type: none;
}
.bookDetailShow
{
}
.bookDetailShow .priceP
{
}
.bookDetailShow .priceP label
{
color: #999;
}
.bookDetailShow h3
{
font-size: 1.2em;
}
#marketPrice
{
color: #AAA;
text-decoration: line-through;
overflow: hidden;
line-height: 16px;
font-family: "Arial";
font-size: 14px;
list-style-type: none;
}
#vipPrice
{
color: #DC0000;
display: inline-block;
font-size: 12px;
}
.productDetailImg
{
}
.productDetailImg img
{
width: 450px;
display: block;
height: 450px;
}
.productInfo
{
width: 500px;
padding: 20px 0;
border-top: 2px solid #CD1F25;
margin: 0px;
font: inherit;
vertical-align: baseline;
}
.productInfo label
{
color: #AAA;
font-size : 12px;
}
#salesvolume
{
color: #DC0000;
font-size: 15px;
}
#LinkBuy
{
margin-right: 0px;
float: left;
overflow: hidden;
position: relative;
width: 178px;
height: 38px;
line-height: 38px;
background-color: #FFEDED;
border: 1px solid #C40000;
color: #C40000;
font-family: "Microsoft Yahei";
font-size: 16px;
text-align: center;
text-decoration: none;
margin: 0px;
padding: 0px;
}
#LinkBasket
{
background-color: #C40000;
border: 1px solid #C40000;
color: #FFF;
margin-right: 0px;
float: left;
overflow: hidden;
position: relative;
width: 178px;
height: 38px;
line-height: 38px;
font-family: "Microsoft Yahei";
font-size: 16px;
text-align: center;
text-decoration: none;
margin: 0px;
padding: 0px;
}
#buyCount
{
vertical-align: middle;
color: #666;
font-size: 12px;
margin: 0;
padding: 3px 2px 0 3px;
height: 26px;
border: 1px solid #a7a6ac;
width: 36px;
line-height: 26px;
background-position: -406px -41px;
font: 12px/1.5 tahoma,arial,"\5b8b\4f53";
-webkit-appearance: textfield;
background-color: white;
-webkit-rtl-ordering: logical;
-webkit-user-select: text;
cursor: auto;
letter-spacing: normal;
word-spacing: normal;
text-transform: none;
text-indent: 0px;
text-shadow: none;
display: inline-block;
text-align: start;
-webkit-writing-mode: horizontal-tb;
}
#mui-amount-btn
{
display: inline-block;
vertical-align: middle;
margin: 0;
padding: 0;
line-height: 31px;
color: #878787;
font-family: tahoma,arial,\5FAE\8F6F\96C5\9ED1,sans-serif;
font: 12px/1.5 tahoma,arial,'Hiragino Sans GB','\5FAE\8F6F\96C5\9ED1','\5b8b\4f53',sans-serif;
}
.myCupCountTd
{
}
#mui-amount-increase
{
width: 16px;
height: 11px;
overflow: hidden;
cursor: pointer;
border: 1px solid #a7a6ab;
display: block;
font-family: tm-detail-font;
line-height: 12px;
font-size: 16px;
margin-bottom: 3px;
padding: 0;
padding-left: 3px;
padding-bottom: 4px;
color: #878787;
font: 12px/1.5 tahoma,arial,'Hiragino Sans GB','\5FAE\8F6F\96C5\9ED1','\5b8b\4f53',sans-serif;
}
#mui-amount-decrease
{
width: 16px;
height: 12px;
overflow: hidden;
cursor: pointer;
border: 1px solid #a7a6ab;
display: block;
font-family: tm-detail-font;
line-height: 12px;
font-size: 16px;
margin-top: 3px;
padding: 0;
padding-left: 3px;
padding-bottom: 3px;
color: #878787;
font: 12px/1.5 tahoma,arial,'Hiragino Sans GB','\5FAE\8F6F\96C5\9ED1','\5b8b\4f53',sans-serif;
}
#addressUl
{
}
#addressUl li
{
font-size: 13px;
padding: 4px;
}
#addressDiv
{
padding: 10px;
}
.makeSureTable
{
width: 990px;
margin-bottom: 50px;
margin-top: 20px;
table-layout: fixed;
text-align: center;
border-collapse: collapse;
border-spacing: 0;
display: table;
border-color: gray;
font: 12px/1.5 tahoma,arial,"\5b8b\4f53";
}
.makeSureTable th
{
padding: 4px 0;
color: #999;
font-weight: 400;
text-align: center;
font: 12px/1.5 tahoma,arial,"\5b8b\4f53";
}
.row-border
{
display: table-row;
vertical-align: inherit;
border-color: inherit;
text-align: center;
border-collapse: collapse;
border-spacing: 0;
border-spacing: 2px;
border-color: gray;
font: 12px/1.5 tahoma,arial,"\5b8b\4f53";
}
.row-border td
{
background: #b2d1ff;
height: 3px;
border-right: 2px solid #fff;
margin: 0;
padding: 0;
display: table-cell;
vertical-align: inherit;
text-align: center;
border-collapse: collapse;
border-spacing: 0;
border-spacing: 2px;
border-color: gray;
font: 12px/1.5 tahoma,arial,"\5b8b\4f53";
}
.row-info
{
}
.row-info td
{
border-bottom: 1px solid #b4d0ff;
padding:8px
text-align: center;
}
.row-foot
{
}
.tube-annex
{
background: #f2f6ff;
text-align: left;
}
.tube-count
{
padding-right: 10px;
text-align: right;
background: #f2f6ff;
}
#clearCup
{
background-color: #5D7378;
border: 1px solid #C40000;
color: #FFF;
margin-right: 30px;
float: right;
overflow: hidden;
position: relative;
width: 178px;
height: 38px;
line-height: 38px;
font-family: "Microsoft Yahei";
font-size: 16px;
text-align: center;
text-decoration: none;
padding: 0px;
}
#submitSubscribe
{
background-color: #C40000;
border: 1px solid #C40000;
color: #FFF;
margin-right: 0px;
float: right;
overflow: hidden;
position: relative;
width: 178px;
height: 38px;
line-height: 38px;
font-family: "Microsoft Yahei";
font-size: 16px;
text-align: center;
text-decoration: none;
margin: 0px;
padding: 0px;
}
#makeSureRecive
{
display: inline-block;
margin-bottom: 4px;
color: #fff;
font-weight: 700;
background-color: #66b6ff;
padding: 8px 12px;
line-height: 1;
text-align: center;
cursor: pointer;
-webkit-border-radius: 2px;
text-decoration: none;
border-collapse: collapse;
border-spacing: 0;
border-spacing: 2px;
border-color: gray;
zoom: 1;
}
.J_Minus
{
border-right-color: transparent;
display: block;
height: 23px;
width: 17px;
border: 1px solid #e5e5e5;
background: #f0f0f0;
text-align: center;
line-height: 23px;
color: #444;
position: absolute;
zoom: 1;
list-style: none;
}
.J_Plus
{
border-left-color: transparent;
right: 0;
display: block;
height: 23px;
width: 17px;
border: 1px solid #e5e5e5;
background: #f0f0f0;
text-align: center;
line-height: 23px;
color: #444;
position: absolute;
top: 0;
float: left;
text-decoration: none;
zoom: 1;
list-style: none;
}
.text-amount
{
width: 39px;
height: 15px;
border: 1px solid #aaa;
color: #343434;
text-align: center;
padding: 4px 0;
background-color: #fff;
background-position: -75px -375px;
-webkit-appearance: textfield;
-webkit-rtl-ordering: logical;
-webkit-user-select: text;
cursor: auto;
letter-spacing: normal;
word-spacing: normal;
text-transform: none;
text-indent: 0px;
text-shadow: none;
display: inline-block;
}
.item-amount
{
height: 25px;
overflow: hidden;
position: relative;
z-index: 1;
width: 77px;
text-align: -webkit-match-parent;
}
.myCupPrice
{
font-weight: 700;
line-height: 48px;
font-family: Arial;
vertical-align: middle;
}
.realPay
{
margin-top: -6px;
display: block;
color: #999;
text-align: right;
font: 12px/1.5 tahoma,arial,"\5b8b\4f53";
border-bottom: 1px dotted #888;
margin-bottom: 20px;
}
.productComment
{
width: 100%;
table-layout: fixed;
border-collapse: collapse;
border-spacing: 0px;
margin: 0px;
padding: 0px;
color: #404040;
font-family: tahoma,arial,΢<EFBFBD><EFBFBD><EFBFBD>ź<EFBFBD>,sans-serif;
font: 12px/1.5 tahoma,arial,"<22><><EFBFBD><EFBFBD>";
}
.productComment td
{
padding-right: 30px;
padding: 16px 7px;
border-bottom: 1px solid #E3E3E3;
}

@ -0,0 +1,106 @@
@charset "utf-8";
/*
* Copyright 2005-2013 dhcc.com.cn. All rights reserved.
* Support: http://www.dhcc.com.cn
* License: http://www.dhcc.com.cn/license
*
* Style - Register
* Version: 3.0
*/
/* ---------- Register ---------- */
div.register .wrap {
margin-bottom: 10px;
border: 2px solid #f2f2f2;
}
div.register .main {
padding-bottom: 20px;
border: 1px solid #d7d7d7;
}
div.register .title {
height: 40px;
line-height: 40px;
color: #d8d8d8;
font-family: "Microsoft YaHei";
border-bottom: 1px dotted #ededed;
}
div.register .title strong {
padding: 0px 10px;
color: #3164af;
font-size: 18px;
font-weight: normal;
}
div.register table {
width: 640px;
float: left;
margin-top: 20px;
}
div.register th {
width: 80px;
padding: 12px;
font-weight: normal;
text-align: right;
}
div.register .captcha {
width:130px;
}
div.register .captchaImage {
margin-left: 10px;
vertical-align: middle;
cursor: pointer;
}
div.register .submit {
width: 142px;
height: 37px;
line-height: 37px;
margin-top: 10px;
color: #ffffff;
cursor: pointer;
outline: none;
blr: expression(this.hideFocus = true);
border: none;
background: url(../images/register.gif) 0px 0px no-repeat;
}
div.register .agreement {
height: 96px;
line-height: 24px;
padding: 0px 4px;
color: #999999;
overflow-y: scroll;
border: 1px solid #e6e6e6;
}
div.register .login {
width: 260px;
float: right;
padding: 20px;
border-bottom: 2px solid #f2f2f2;
border-left: 2px solid #f2f2f2;
background-color: #fff8db;
}
div.register .login dt {
line-height: 40px;
color: #bd5613;
font-size: 16px;
font-family: "Microsoft YaHei";
}
div.register .login dd {
line-height: 28px;
color: #565656
}
div.register .login dd a {
color: #bd5613
}

@ -0,0 +1,128 @@
@charset "utf-8";
.nivoSlider {
position: relative;
background: #fff url(loading.gif) no-repeat 50% 50%;
}
.nivoSlider img {
position: absolute;
top: 0px;
left: 0px;
display: none;
}
.nivoSlider a {
display: block;
}
a.nivo-imageLink {
width: 100%;
height: 100%;
display: none;
position: absolute;
top: 0px;
left: 0px;
z-index: 6;
}
.nivo-slice {
height: 100%;
display: block;
position: absolute;
z-index: 5;
}
.nivo-box {
display: block;
position: absolute;
z-index: 5;
}
.nivo-controlNav a {
position: relative;
z-index: 9;
cursor: pointer;
}
.nivo-controlNav a.active {
font-weight: bold;
}
.nivo-controlNav {
position: absolute;
right: 3px;
bottom: 7px;
}
.nivo-controlNav a {
width: 24px;
height: 10px;
display: block;
float: left;
margin-right: 4px;
overflow: hidden;
text-indent: -9999px;
filter: alpha(opacity = 60);
-moz-opacity: 0.6;
opacity: 0.6;
background-color: #000000;
}
.nivo-controlNav a.active {
background-color: #ffffff;
}
.nivo-directionNav a {
width: 45px;
height: 99px;
display: block;
position: absolute;
top: 30%;
z-index: 9;
cursor: pointer;
text-indent: -9999px;
filter: alpha(opacity = 30);
-moz-opacity: 0.3;
opacity: 0.3;
background: url(arrows.gif) no-repeat;
}
a.nivo-prevNav {
left: 0px;
}
a.nivo-nextNav {
right: 0px;
background-position: -46px 0px;
}
.nivo-caption {
width: 100%;
position: absolute;
left: 0px;
bottom: 0px;
color: #ffffff;
font-family: Helvetica, Arial, sans-serif;
opacity: 0.4;
z-index: 8;
background: #000000;
}
.nivo-caption a {
color: #fff;
display: inline !important;
border-bottom: 1px dotted #fff;
}
.nivo-caption a:hover {
color: #fff;
}
.nivo-caption p {
padding: 5px;
}
.nivo-html-caption {
display: none;
}

@ -0,0 +1,148 @@
#slider {
background:#FFF;
border:1px solid #EEE;
height: 47.7%;
overflow: hidden;
position: relative;
margin:0px 0;
}
/* DEFAULT is for three panels in width, adjust as needed
This only matters if JS is OFF, otherwise JS sets this. */
#mover {
width: 2880px;
position: relative;
}
.slide {
padding:24px 25px;
width:31%;
float: left;
position: relative;
}
.slider-text{
float:left;
width:47%;
padding-left:4%;
padding-top:3%;
}
.slider-img{
float:left;
width:42%;
}
.slide h1{
font-size:2.5em;
font-weight:bold;
color:#CD1F25;
text-transform:uppercase;
}
.slide h1 span{
font-size:2em;
}
.slide h2{
font-size:2em;
color:#999;
font-family: 'ambleregular';
}
.slide h2 span{
color:#CD1F25;
font-size:2em;
}
.slide p {
color:#222;
font-size:0.9em;
padding:5px 0;
line-height:1.8em;
}
.slide p span{
color:#0B86AA;
}
.slide h3{
font-size:1.2em;
color: #999;
text-transform:uppercase;
padding-top:10px;
}
.features_list{
padding-top:5px;
}
.features_list h4{
font-family: 'ambleregular';
font-size:1.2em;
color:#222;
}
.features_list li{
font-size:0.9em;
color:#888888;
padding:8px 20px;
background:url(../images/list_img.png) no-repeat 0px;
cursor:pointer;
}
.features_list li:hover{
color:#DDD;
}
.button {
font-size: 1.2em;
padding:8px 15px;
text-shadow:0px 1px 1px rgba(94, 94, 94, 0.9);
}
.button {
margin-top:20px;
display: inline-block;
background:#CD1F25;
color: #FFF;
text-decoration: none;
border-radius:5px;
outline: 0;
-webkit-transition:all 0.2s linear;
-moz-transition:all 0.2s linear;
-o-transition:all 0.2s linear;
transition:all 0.2s linear;
}
.button:hover {
text-shadow: 0px 1px 1px #000;
background:#CD1F25;
-webkit-transform:scale(1.05);
-moz-transform:scale(1.05);
-ms-transform:scale(1.05);
-o-transform:scale(1.05);
transform:scale(1.05);
}
.button-icon-download{
margin-left:15px;
}
#slider-stopper {
position: absolute;
top: 1px;
right: 20px;
background: #ac0000;
color: white;
padding: 3px 8px;
font-size: 10px;
text-transform: uppercase;
z-index: 1000;
}
@media only screen and (max-width: 1024px) {
.slide h1 {
font-size:2em;
}
}
@media only screen and (max-width:800px) {
.slider-text{
width:55%;
float:none;
}
.slider-img{
float:none;
text-align:center;
}
}
@media only screen and (max-width:320px) {
.slider-text{
width:31%;
padding:0 1% 0 0;
}
.slider-img{
width:30%;
}
}

@ -0,0 +1,303 @@
@charset "utf-8";
/* CSS Document */
/***
*/
*{font-size:9pt;border:0;margin:0;padding:0;}
body{font-family:'微软雅黑'; margin:0 auto;min-width:980px;}
ul{display:block;margin:0;padding:0;list-style:none;}
li{display:block;margin:0;padding:0;list-style: none;}
img{border:0;}
dl,dt,dd,span{margin:0;padding:0;display:block;}
a,a:focus{text-decoration:none;color:#000;outline:none;blr:expression(this.onFocus=this.blur());}
a:hover{color:#00a4ac;text-decoration:none;}
table{border-collapse:collapse;border-spacing: 0;}
cite{font-style:normal;}
h2{font-weight:normal;}
/*cloud*/
#mainBody {width:100%;height:100%;position:absolute;z-index:-1;}
.cloud {position:absolute;top:0px;left:0px;width:100%;height:100%;background:url(../images/cloud.png) no-repeat;z-index:1;opacity:0.5;}
#cloud2 {z-index:2;}
/*login*/
.logintop{height:47px; position:absolute; top:0; background:url(../images/loginbg1.png) repeat-x;z-index:100; width:100%;}
.logintop span{color:#fff; line-height:47px; background:url(../images/loginsj.png) no-repeat 21px 18px; text-indent:44px; color:#afc5d2; float:left;}
.logintop ul{float:right; padding-right:30px;}
.logintop ul li{float:left; margin-left:20px; line-height:47px;}
.logintop ul li a{color:#afc5d2;}
.logintop ul li a:hover{color:#fff;}
.loginbody{background:url(../images/loginbg3.png) no-repeat center center; width:100%; height:585px; overflow:hidden; position:absolute; top:47px;}
.systemlogo{background:url(../images/loginlogo.png) no-repeat center;width:680px; height:71px; ;position:relative;margin:75px auto 0;}
.systemlogo b{color:white;position:absolute;left:300px;top:5px;font:600 25px/30px yahei}
.loginbox{width:692px; height:336px; background:url(../images/logininfo.png) no-repeat; margin-top:30px;}
.loginbox ul{margin-top:88px; margin-left:285px;}
.loginbox ul li{margin-bottom:25px;position:relative;}
.loginbox ul li label{color:#687f92; padding-left:25px;}
.loginbox ul li label a{color:#687f92;}
.loginbox ul li label a:hover{color:#3d96c9;}
.loginbox ul li label input{margin-right:5px;}
.loginuser{color:#bac7d2;width:299px; height:48px; background:url(../images/loginuser.png) no-repeat; border:none; line-height:40px; padding-left:44px; font-size:14px; font-weight:bold;}
.loginpwd{width:299px; height:48px; background:url(../images/loginpassword.png) no-repeat; border:none;line-height:40px; padding-left:44px; font-size:14px; color:#90a2bc;}
.logintype{width:100px; height:28px; border:1px solid;line-height:28px; padding-left:20px; font-size:14px; color:#90a2bc;}
.loginbtn{width:111px;height:35px; background:url(../images/buttonbg.png) repeat-x; font-size:14px; font-weight:bold; color:#fff;cursor:pointer; line-height:35px;}
.loginbtns{padding:0 65px;border-radius:5px;height:35px; background-image: -moz-linear-gradient(top,#449acb,#3591c6); font-size:14px; font-weight:bold; color:#000;cursor:pointer; line-height:35px;}
.loginbm{height:50px; line-height:50px; text-align:center; background:url(../images/loginbg2.png) repeat-x;position:absolute; bottom:0; width:100%; color:#0b3a58;}
.loginbm a{font-weight:bold;color:#0b3a58;}
.loginbm a:hover{color:#fff;}
.inputtext{
border:1px solid #bac7d2;border-radius:5px;padding:10px;background:#ecf5fa;width:70px;color:#bac7d2;
}
.loginbox img{
margin:0 20px -15px 0;border:1px solid #bac7d2;
}
/*top.html*/
.header{height:88px;}
.topleft{height:88px;background:url(../images/topleft.jpg) no-repeat;float:left; width:400px;position:relative}
.topleft .sysName{position:absolute;color:#fff;left:100px;top:20px;font:600 25px/30px yahei}
.topleft img{margin-top:12px;margin-left:10px;}
.topright{height:88px;background:url(../images/topright.jpg) no-repeat right;float:right;}
.nav{float:left;}
.nav li{float:left;width:87px;height:88px; text-align:center;}
.nav li a{display:block;width:87px;height:88px;-moz-transition: none; transition: background-color 0.3s linear; -moz-transition: background-color 0.3s linear; -webkit-transition: background-color 0.3s linear; -o-transition: background-color 0.3s linear; }
.nav li a.selected{background:url(../images/navbg.png) no-repeat;}
.nav li a:hover{display:block;background:#000;color:#fff;background: none repeat scroll 0% 0% rgb(43, 127, 181);}
.nav li img{margin-top:10px;}
.nav li a{display:block;}
.nav a h2{font-size:14px;color:#d6e8f1;}
.nav a:hover h2{color:#fff;}
.topright ul{padding-top:15px; float:right; padding-right:12px;}
.topright ul li{float:left; padding-left:9px; padding-right:9px; background:url(../images/line.gif) no-repeat right;}
.topright ul li:last-child{background:none;}
.topright ul li a{font-size:13px; color:#e9f2f7;}
.topright ul li a:hover{color:#fff;}
.topright ul li span{margin-top:2px;float:left;padding-right:3px;}
.user{height:30px;background:url(../images/ub1.png) repeat-x;clear:both;margin-top:10px;float:right; margin-right:12px;border-radius:30px; behavior:url(js/pie.htc); white-space:nowrap;position:relative;}
.user span{display:inline-block;padding-right:10px; background:url(../images/user.png) no-repeat 15px 10px; line-height:30px; font-size:14px;color:#b8ceda; padding-left:20px; padding-left:35px;}
.user b{display:inline-block;width:20px;height:18px; background:url(../images/msg.png);text-align:center; font-weight:normal; color:#fff;font-size:14px;margin-right:13px; margin-top:7px; line-height:18px;}
.user i{display:inline-block;margin-right:5px;font-style:normal;line-height:30px; font-size:14px;color:#b8ceda;}
/*left.html*/
.lefttop{background:url(../images/lefttop.gif) repeat-x;height:40px;color:#fff;font-size:14px;line-height:40px;}
.lefttop span{margin-left:8px; margin-top:10px;margin-right:8px; background:url(../images/leftico.png) no-repeat; width:20px; height:21px;float:left;}
.leftmenu{width:187px;padding-bottom: 9999px;margin-bottom: -9999px; overflow:hidden; background:url(../images/leftline.gif) repeat-y right;}
.leftmenu dd{background:url(../images/leftmenubg.gif) repeat-x;line-height:35px;font-weight:bold;font-size:14px;border-right:solid 1px #b7d5df;}
.leftmenu dd span{float:left;margin:10px 8px 0 12px;}
.leftmenu dd .menuson{display:none;}
.leftmenu dd:first-child .menuson{display:block;}
.menuson {line-height:30px; font-weight:normal; }
.menuson li{cursor:pointer;}
.menuson li.active{position:relative; background:url(../images/libg.png) repeat-x; line-height:30px; color:#fff;}
.menuson li cite{display:block; float:left; margin-left:32px; background:url(../images/list.gif) no-repeat; width:16px; height:16px; margin-top:7px;}
.menuson li.active cite{background:url(../images/list1.gif) no-repeat;}
.menuson li.active i{display:block; background:url(../images/sj.png) no-repeat; width:6px; height:11px; position:absolute; right:0;z-index:10000; top:9px; right:-1px;}
.menuson li a{ display:block; *display:inline; *padding-top:5px;}
.menuson li.active a{color:#fff;}
.title{cursor:pointer;}
/*right.html*/
.place{height:40px; background:url(../images/righttop.gif) repeat-x;}
.place span{line-height:40px; font-weight:bold;float:left; margin-left:12px;}
.placeul li{float:left; line-height:40px; padding-left:7px; padding-right:12px; background:url(../images/rlist.gif) no-repeat right;}
.placeul li:last-child{background:none;}
.rightinfo{padding:8px;}
.tools{clear:both; height:35px; margin-bottom:8px;}
.toolbar{float:left;}
.toolbar li{background:url(../images/toolbg.gif) repeat-x; line-height:33px; height:33px; border:solid 1px #d3dbde; float:left; padding-right:10px; margin-right:5px;border-radius: 3px; behavior:url(js/pie.htc); cursor:pointer;}
.toolbar li span{float:left; margin-left:10px; margin-right:5px; margin-top:5px;}
.toolbar1{float:right;}
.toolbar1 li{background:url(../images/toolbg.gif) repeat-x; line-height:33px; height:33px; border:solid 1px #d3dbde; float:left; padding-right:10px; margin-left:5px;border-radius: 3px; behavior:url(js/pie.htc);}
.toolbar1 li span{float:left; margin-left:10px; margin-right:5px; margin-top:5px;}
.tablelist{border:solid 1px #cbcbcb; width:100%; clear:both;}
.tablelist th{background:url(../images/th.gif) repeat-x; height:34px; line-height:34px; border-bottom:solid 1px #b6cad2; text-indent:11px; text-align:left;}
.tablelist td{line-height:35px; text-indent:11px; border-right: dotted 1px #c7c7c7;}
.tablelink{color:#056dae;}
.tablelist tbody tr.odd{background:#f5f8fa;}
.tablelist tbody tr:hover{background:#e5ebee;}
.sort{padding-left:3px;}
/*page*/
.pagin{position:relative;margin-top:10px;padding:0 12px;}
.pagin .blue{color:#056dae;font-style:normal;}
.pagin .paginList{position:absolute;right:12px;top:0;}
.pagin .paginList .paginItem{float:left;}
.pagin .paginList .paginItem a{float:left;width:31px;height:28px;border:1px solid #DDD; text-align:center;line-height:30px;border-left:none;color:#3399d5;}
.pagin .paginList .paginItem:first-child a{border-left:1px solid #DDD;}
.pagin .paginList .paginItem:first-child a{border-bottom-left-radius:5px;border-top-left-radius:5px;}
.pagin .paginList .paginItem:last-child a{border-bottom-right-radius:5px;border-top-right-radius:5px;}
.pagin .paginList .paginItem.current,.pagin .paginList .paginItem.current a{background:#f5f5f5; cursor:default;color:#737373;}
.pagin .paginList .paginItem:hover{background:#f5f5f5;}
.pagin .paginList .paginItem.more,.pagin .paginList .paginItem.more a:hover{ cursor:default;}
.pagin .paginList .paginItem.more:hover{background:#FFF;}
.pagin .paginList .paginItem.more a{color:#737373;}
.pagepre{background:url(../images/pre.gif) no-repeat center center; width:31px; height:28px;}
.pagenxt{background:url(../images/next.gif) no-repeat center center; width:31px; height:28px;}
/*index*/
.mainindex{padding:20px; overflow:hidden;}
.welinfo{height:32px; line-height:32px; padding-bottom:8px;}
.welinfo span{float:left;}
.welinfo b{padding-left:8px;}
.welinfo a{padding-left:15px;color:#3186c8;}
.welinfo a:hover{color:#F60;}
.welinfo i{font-style:normal; padding-left:8px;}
.xline{border-bottom:solid 1px #dfe9ee; height:5px;}
.iconlist{padding-left:40px; overflow:hidden;}
.iconlist li{text-align:center; float:left; margin-right:25px; margin-top:25px;}
.iconlist li p{line-height:25px;}
.ibox{clear:both; padding-left:40px; padding-top:18px; overflow:hidden; padding-bottom:18px;}
.ibtn{background:url(../images/ibtnbg.png) repeat-x;border:solid 1px #bfcfe1; height:23px; line-height:23px; display:block; float:left; padding:0 15px; cursor:pointer;}
.ibtn img{margin-top:5px; float:left; padding-right:7px;}
.box{height:15px;}
.infolist{padding-left:40px; padding-bottom:15px;}
.infolist li{ line-height:23px; height:23px; margin-bottom:8px;}
.infolist li span{float:left; display:block; margin-right:10px;}
.uimakerinfo{padding-left:40px; background:url(../images/search.png) no-repeat 10px 15px; padding-top:15px; padding-bottom:20px;}
.umlist{padding-left:40px;}
.umlist li{float:left; background:url(../images/ulist.png) no-repeat 0 5px; padding-left:10px; margin-right:15px;}
/*default*/
.mainbox{padding:8px;position:relative;}
.mainleft{padding-right:298px;}
.leftinfo{border:#d3dbde solid 1px; height:290px;}
.mainright{width:298px;position:absolute; top:8px; right:8px;}
.dflist{border:#d3dbde solid 1px; width:288px; height:290px; float:right;}
.dflist1{border:#d3dbde solid 1px; width:288px; height:238px; float:right; margin-top:8px;}
.listtitle{background:url(../images/tbg.png) repeat-x; height:36px; line-height:36px; border-bottom:solid 1px #d3dbde; text-indent:14px; font-weight:bold; font-size:14px;}
.more1{float:right; font-weight:normal;color:#307fb1; padding-right:17px;}
.maintj{text-align:center;}
.newlist{padding-left:14px; padding-top:15px;}
.newlist li{line-height:25px; background:url(../images/list2.png) no-repeat 0px 8px; text-indent:11px;}
.newlist i{width:80px; display:block; float:left; font-style:normal;}
.newlist b{font-weight:normal; color:#7b7b7b; padding-left:10px;}
.leftinfos{height:238px;margin-top:8px;}
.infoleft{border:#d3dbde solid 1px; float:left;height:238px;}
.inforight{border:#d3dbde solid 1px; float:right;height:238px; }
.tooli{padding:30px 20px;}
.tooli li{float:left;padding-left:15px; padding-right:15px;margin-bottom:20px;}
.tooli li span{text-align:center;}
.tooli li p{line-height:35px; text-align:center;}
/*form*/
.formbody{padding:10px 18px;}
.formtitle{border-bottom:solid 1px #d0dee5; line-height:35px; position:relative; height:35px; margin-bottom:28px;}
.formtitle span{font-weight:bold;font-size:14px; border-bottom:solid 3px #66c9f3;float:left; position:absolute; z-index:100; bottom:-1px; padding:0 3px; height:30px; line-height:30px;}
.forminfo{padding-left:23px;}
.forminfo li{margin-bottom:13px; clear:both;}
.forminfo li label{width:86px;line-height:34px; display:block; float:left;}
.forminfo li i{color:#7f7f7f; padding-left:20px; font-style:normal;}
.forminfo li cite{display:block; padding-top:10px;}
.dfinput{width:345px; height:32px; line-height:32px; border-top:solid 1px #a7b5bc; border-left:solid 1px #a7b5bc; border-right:solid 1px #ced9df; border-bottom:solid 1px #ced9df; background:url(../images/inputbg.gif) repeat-x; text-indent:10px;}
.textinput{border-top:solid 1px #a7b5bc; border-left:solid 1px #a7b5bc; border-right:solid 1px #ced9df; border-bottom:solid 1px #ced9df; background:url(../images/inputbg.gif) repeat-x; padding:10px; width:504px; height:135px; line-height:20px; overflow:hidden;}
.btn{width:137px;height:35px; background:url(../images/btnbg.png) no-repeat; font-size:14px;font-weight:bold;color:#fff; cursor:pointer;}
/*tip*/
.tip{width:485px; height:260px; position:absolute;top:10%; left:30%;background:#fcfdfd;box-shadow:1px 8px 10px 1px #9b9b9b;border-radius:1px;behavior:url(js/pie.htc); display:none; z-index:111111;}
.tiptop{height:40px; line-height:40px; background:url(../images/tcbg.gif) repeat-x; cursor:pointer;}
.tiptop span{font-size:14px; font-weight:bold; color:#fff;float:left; text-indent:20px;}
.tiptop a{display:block; background:url(../images/close.png) no-repeat; width:22px; height:22px;float:right;margin-right:7px; margin-top:10px; cursor:pointer;}
.tiptop a:hover{background:url(../images/close1.png) no-repeat;}
.tipinfo{padding-top:30px;margin-left:65px; height:95px;}
.tipinfo span{width:95px; height:95px;float:left;}
.tipright{float:left;padding-top:15px; padding-left:10px;}
.tipright p{font-size:14px; font-weight:bold; line-height:35px;}
.tipright cite{color:#858686;}
.tipbtn{margin-top:25px; margin-left:125px;}
.sure ,.cancel{width:96px; height:35px; line-height:35px; color:#fff; background:url(../images/btnbg1.png) repeat-x; font-size:14px; font-weight:bold;border-radius: 3px; cursor:pointer;}
.cancel{background:url(../images/btnbg2.png) repeat-x;color:#000;font-weight:normal;}
/*tools*/
.toolsli{clear:both; overflow:hidden; margin-bottom:20px;}
.toollist{margin-left:20px; overflow:hidden; float:left;}
.toollist li{width:66px; text-align:center; float:left; margin-right:32px;}
.toollist li a{width:65px; height:65px; background:#fafbfb; border-right:solid 1px #dbdbdb;border-bottom:solid 1px #dbdbdb; display:block;}
.toollist li a:hover{background:#eef4f7;border-right:solid 1px #d0d5d7;border-bottom:solid 1px #d0d5d7;}
.toollist li h2{line-height:35px;}
.tooladd{margin-top:25px; width:20px; height:20px; float:left; display:block;}
/*error 404*/
.error{background:url(../images/404.png) no-repeat; width:490px; margin-top:75px;padding-top:65px;}
.error h2{font-size:22px; padding-left:154px;}
.error p{padding-left:154px; line-height:35px;color:#717678;}
.reindex{padding-left:154px;}
.reindex a{width:115px; height:35px; font-size:14px; font-weight:bold; color:#fff; background:#3c95c8; display:block; line-height:35px; text-align:center;border-radius: 3px; behavior:url(js/pie.htc);margin-top:20px;}
/*computer*/
.comtitle{padding:20px; clear:both;}
.comtitle span{width:10px;height:10px; background:url(../images/clist.png) no-repeat; float:left; background:#fff; padding-top:3px;}
.comtitle h2{font-size:14px; display:block; float:left;color:#2a3e93; background:#fff; padding-left:5px; padding-right:8px;}
.rline{border-bottom:solid 1px #e5ecf0; height:10px; margin-left:50px;}
.disklist{padding-left:20px; padding-right:20px;}
.disklist li{width:275px;_width:270px;float:left; margin-right:10px;px;height:70px; cursor:pointer; margin-bottom:5px;border:solid 1px #fff;}
.disklist li a{color:#000;}
.disklist li:hover{background:#fcfcfc; border:solid 1px #e5ecf0;}
.dleft{background:url(../images/c02.png) no-repeat; height:50px; margin-left:12px; float:left; width:50px; margin-top:15px;}
.dleft1{background:url(../images/c01.png) no-repeat; height:50px; margin-left:12px; float:left; width:50px; margin-top:15px;}
.dleft2{background:url(../images/c03.png) no-repeat; height:50px; margin-left:12px; float:left; width:50px; margin-top:15px;}
.dright{float:left; margin-left:10px; margin-top:5px;}
.dright h3{font-weight:normal; padding-top:15px;}
.dright p{color:#949494;}
.dinfo{width:189px;height:15px; background:url(../images/diskbg.png) no-repeat; margin-top:5px; margin-bottom:5px;}
.dinfo span{background:url(../images/cbg.png) repeat-x; height:15px;}
.filetable{width:100%;}
.filetable thead tr{background:#f5f9fb; line-height:35px;}
.filetable thead tr th{text-align:left; text-indent:15px;font-weight:normal;color:#597190;}
.filetable tbody tr td{text-indent:15px; line-height:23px;}
.filetable tbody tr td img {margin-right:5px;}
.tdlast{text-align:right;}
.filetable tbody tr:hover{background:#f5f8fa; cursor:pointer;}
/*imglist*/
.imglist{clear:both; overflow:hidden; margin-bottom:20px; margin-left:5px;}
.imglist li{width:188px; border:solid 1px #fff;height:199px;float:left; margin-right:8px; margin-bottom:10px; cursor:pointer;}
.imglist li:hover{border:solid 1px #d7e4ea;}
.imglist li span{width:168px; height:126px; margin:8px;}
.imglist li h2{text-align:center; line-height:25px;}
.imglist li p{text-align:center; line-height:17px; background:url(../images/line1.png) center center no-repeat;}
.imglist li p a{color:#1f7cb6;}
.imglist li p a:hover{color:#F60;}
/*imgtable*/
.imgtable{width:100%;border:solid 1px #cbcbcb; }
.imgtable th{background:url(../images/th.gif) repeat-x; height:34px; line-height:34px; border-bottom:solid 1px #b6cad2; text-indent:21px; text-align:left;}
.imgtable td{line-height:20px; text-indent:21px; border-right: dotted 1px #c7c7c7;}
.imgtable td img{margin:10px 20px 10px 0;}
.imgtable td p{color:#919191;}
.imgtable td i{font-style:normal; color:#ea2020;}
.imgtd{text-indent:0;}
.imgtable tbody tr.odd{background:#f5f8fa;}
.imgtable tbody tr:hover{background:#e5ebee;}
/*tab*/
.itab{height:36px; border-bottom:solid 1px #d0dee5; position:relative; border-left:solid 1px #d3dbde;}
.itab ul li{float:left;height:37px; line-height:37px; background:url(../images/itabbg.png) repeat-x; border-right:solid 1px #d3dbde;}
.itab ul li a{font-size:14px; color:#000; padding-left:25px; padding-right:25px;}
.itab ul li a.selected{ height:37px; display:block; background:url(../images/itabbg1.png) repeat-x; font-weight:bold;}
.tabson{margin:18px 0px;}
.formtext{height:45px; padding-left:25px; line-height:20px; color:#848383;}
.formtext b{color:#d70101;}
.forminfo b{color:#ea2020; padding-left:3px;}
/*class*/
.classlist li{float:left;margin-right:10px;margin-bottom:10px;padding:12px;border:1px solid #ebebeb; background:#fcfcfc;}
.classlist li:hover{border:1px solid #3eafe0; cursor:pointer;}
.classlist li span{float:left;margin-right:18px;border:3px solid #fff;}
.classlist li .lright{float:left;width:150px;}
.classlist li .lright h2{font-size:12px; font-weight:bold;line-height:30px;}
.classlist li .lright p{line-height:20px;}
.enter{display:block;margin-top:5px;width:94px;height:30px;color:#fff;background:#3eafe0;font-weight:bold; border-radius:2px; text-align:center;line-height:30px; cursor:pointer;}
.enter:hover{color:#fff; background:#d98c1d;}
.clear{clear:both;}
/*seachform*/
.seachform{ height:42px;}
.seachform li{float:left; margin-right:15px;}
.seachform li label{padding-right:10px; float:left; line-height:32px;}
.scinput{width:150px; height:32px; line-height:32px; border-top:solid 1px #a7b5bc; border-left:solid 1px #a7b5bc; border-right:solid 1px #ced9df; border-bottom:solid 1px #ced9df; background:url(../images/inputbg.gif) repeat-x; text-indent:10px;}
.scbtn{width:85px;height:35px; background:url(../images/btnbg.png) no-repeat center; font-size:14px;font-weight:bold;color:#fff; cursor:pointer;border-radius:3px; behavior:url(js/pie.htc);}

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 847 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 933 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 861 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 870 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 582 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 B

@ -0,0 +1,10 @@
// 创建Ajax对象
function Ajax() {
var Ajax = false;
if(window.XMLHttpRequest) {
Ajax = new XMLHttpRequest();
} else {
Ajax = new window.ActiveXObject('Mircorsoft.XMLHTTP')
}
return Ajax;
}

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

Loading…
Cancel
Save