main
tamguo 7 years ago
parent f54f6d0f50
commit 7d5fd3fb56

@ -0,0 +1,8 @@
package com.tamguo.modules.tiku.dao;
import com.tamguo.config.dao.SuperMapper;
import com.tamguo.modules.tiku.model.ChapterEntity;
public interface ChapterMapper extends SuperMapper<ChapterEntity>{
}

@ -5,6 +5,7 @@ import java.util.Date;
import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.SerializerFeature;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.tamguo.modules.tiku.model.enums.CourseStatusEnum;
@ -12,7 +13,8 @@ import com.tamguo.modules.tiku.model.enums.CourseStatusEnum;
@TableName(value="tiku_book")
public class BookEntity {
private String uid;
@TableId
private String id;
private String subjectId;
private String courseId;
private String name;
@ -38,13 +40,6 @@ public class BookEntity {
@TableField(exist=false)
private String courseName;
public String getUid() {
return uid;
}
public void setUid(String uid) {
this.uid = uid;
}
public String getSubjectId() {
return subjectId;
@ -158,4 +153,12 @@ public class BookEntity {
this.courseName = courseName;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
}

@ -0,0 +1,93 @@
package com.tamguo.modules.tiku.model;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.tamguo.config.dao.SuperEntity;
import java.util.List;
/**
* The persistent class for the tiku_chapter database table.
*
*/
@TableName(value="tiku_chapter")
public class ChapterEntity extends SuperEntity<ChapterEntity> implements Serializable {
private static final long serialVersionUID = 1L;
private String courseId;
private String name;
private String parentId;
private Integer questionNum;
private Integer pointNum;
private Integer orders;
@TableField(exist=false)
private List<ChapterEntity> childChapterList;
public ChapterEntity() {
}
public String getCourseId() {
return this.courseId;
}
public void setCourseId(String courseId) {
this.courseId = courseId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getParentId() {
return this.parentId;
}
public void setParentId(String parentId) {
this.parentId = parentId;
}
public List<ChapterEntity> getChildChapterList() {
return childChapterList;
}
public void setChildChapterList(List<ChapterEntity> childChapterList) {
this.childChapterList = childChapterList;
}
public Integer getQuestionNum() {
return questionNum;
}
public void setQuestionNum(Integer questionNum) {
this.questionNum = questionNum;
}
public Integer getPointNum() {
return pointNum;
}
public void setPointNum(Integer pointNum) {
this.pointNum = pointNum;
}
public Integer getOrders() {
return orders;
}
public void setOrders(Integer orders) {
this.orders = orders;
}
}

@ -13,7 +13,7 @@ import com.tamguo.modules.tiku.model.enums.CourseStatusEnum;
public class CourseEntity {
@TableId
private String uid;
private String id;
private String subjectId;
private String name;
private Integer sort;
@ -33,12 +33,6 @@ public class CourseEntity {
@JSONField(serialzeFeatures= SerializerFeature.WriteEnumUsingToString)
private CourseStatusEnum status;
public String getUid() {
return uid;
}
public void setUid(String uid) {
this.uid = uid;
}
public String getSubjectId() {
return subjectId;
}
@ -105,5 +99,11 @@ public class CourseEntity {
public void setRemarks(String remarks) {
this.remarks = remarks;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
}

@ -13,7 +13,7 @@ import com.tamguo.modules.tiku.model.enums.SubjectStatusEnum;
public class SubjectEntity {
@TableId
private String uid;
private String id;
private String name;
private String sort;
@ -31,12 +31,7 @@ public class SubjectEntity {
@JSONField(serialzeFeatures= SerializerFeature.WriteEnumUsingToString)
private SubjectStatusEnum status;
public String getUid() {
return uid;
}
public void setUid(String uid) {
this.uid = uid;
}
public String getName() {
return name;
}
@ -85,5 +80,11 @@ public class SubjectEntity {
public void setRemarks(String remarks) {
this.remarks = remarks;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
}

@ -0,0 +1,8 @@
package com.tamguo.modules.tiku.service;
import com.baomidou.mybatisplus.service.IService;
import com.tamguo.modules.tiku.model.ChapterEntity;
public interface IChapterService extends IService<ChapterEntity>{
}

@ -0,0 +1,12 @@
package com.tamguo.modules.tiku.service.impl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.tamguo.modules.tiku.dao.ChapterMapper;
import com.tamguo.modules.tiku.model.ChapterEntity;
import com.tamguo.modules.tiku.service.IChapterService;
@Service
public class ChapterServiceImpl extends ServiceImpl<ChapterMapper, ChapterEntity> implements IChapterService{
}

@ -62,7 +62,7 @@ public class CourseServiceImpl extends ServiceImpl<CourseMapper, CourseEntity> i
@Transactional(readOnly=false)
@Override
public void update(CourseEntity course) {
CourseEntity entity = courseMapper.selectById(course.getUid());
CourseEntity entity = courseMapper.selectById(course.getId());
entity.setName(course.getName());
entity.setSubjectId(course.getSubjectId());
entity.setSort(course.getSort());
@ -106,14 +106,14 @@ public class CourseServiceImpl extends ServiceImpl<CourseMapper, CourseEntity> i
JSONArray entitys = new JSONArray();
for(int i=0 ; i<subjectList.size() ; i++) {
JSONObject entity = new JSONObject();
entity.put("id", subjectList.get(i).getUid());
entity.put("id", subjectList.get(i).getId());
entity.put("name", subjectList.get(i).getName());
entity.put("pId", "0");
entitys.add(entity);
}
for(int i=0 ; i<courseList.size() ; i++) {
JSONObject entity = new JSONObject();
entity.put("id", courseList.get(i).getUid());
entity.put("id", courseList.get(i).getId());
entity.put("name", courseList.get(i).getName());
entity.put("pId", courseList.get(i).getSubjectId());
entitys.add(entity);

@ -47,7 +47,7 @@ public class SubjectServiceImpl extends ServiceImpl<SubjectMapper, SubjectEntity
@Transactional(readOnly=false)
@Override
public void update(SubjectEntity subject) {
SubjectEntity entity = subjectMapper.selectById(subject.getUid());
SubjectEntity entity = subjectMapper.selectById(subject.getId());
entity.setName(subject.getName());
entity.setRemarks(subject.getRemarks());
entity.setSort(subject.getSort());

@ -20,6 +20,10 @@ public class ThymeleafConfig implements EnvironmentAware{
if(viewResolver != null) {
Map<String, Object> vars = new HashMap<>();
vars.put("domainName", env.getProperty("domain.name"));
vars.put("PAPER_TYPE_ZHENTI", "1");
vars.put("PAPER_TYPE_MONI", "2");
vars.put("PAPER_TYPE_YATI", "3");
vars.put("PAPER_TYPE_MINGXIAO", "4");
viewResolver.setStaticVariables(vars);
}
}

@ -0,0 +1,76 @@
package com.tamguo.web.tiku;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;
import com.baomidou.mybatisplus.mapper.Condition;
import com.tamguo.modules.sys.service.ISysAreaService;
import com.tamguo.modules.tiku.model.BookEntity;
import com.tamguo.modules.tiku.model.ChapterEntity;
import com.tamguo.modules.tiku.model.CourseEntity;
import com.tamguo.modules.tiku.model.SubjectEntity;
import com.tamguo.modules.tiku.service.IBookService;
import com.tamguo.modules.tiku.service.IChapterService;
import com.tamguo.modules.tiku.service.ICourseService;
import com.tamguo.modules.tiku.service.ISubjectService;
/**
* Controller -
*
* @author candy.tam
*
*/
@Controller
public class SubjectController {
private Logger logger = LoggerFactory.getLogger(getClass());
@Autowired
private IChapterService iChapterService;
@Autowired
private ISysAreaService iSysAreaService;
@Autowired
private ISubjectService iSubjectService;
@Autowired
private ICourseService iCourseService;
@Autowired
private IBookService iBookService;
@SuppressWarnings("unchecked")
@RequestMapping(value = {"subject/{subjectId}.html"}, method = RequestMethod.GET)
public ModelAndView indexAction(@PathVariable String subjectId , ModelAndView model) {
try {
SubjectEntity subject = iSubjectService.selectById(subjectId);
List<CourseEntity> courseList = iCourseService.selectList(Condition.create().eq("subject_id", subjectId));
// 获取第一个科目
CourseEntity course = courseList.get(0);
// 获取第一本书
List<BookEntity> bookList = iBookService.selectList(Condition.create().eq("course_id", course.getId()));
List<ChapterEntity> chapterList = null;
if(bookList.size() > 0) {
BookEntity book = bookList.get(0);
chapterList = iChapterService.selectList(Condition.create().eq("book_id", book.getId()));
}
model.setViewName("subject");
model.addObject("subject", subject);
model.addObject("course" , course);
model.addObject("courseList", courseList);
model.addObject("chapterList" , chapterList);
model.addObject("areaList", iSysAreaService.selectList(Condition.create().eq("tree_level", "0")));
return model;
} catch (Exception e) {
logger.error(e.getMessage() , e);
model.setViewName("500");
return model;
}
}
}

@ -3,7 +3,7 @@
<head>
<title>探果题库_错误页面</title>
<meta charset="utf-8">
<link type="favicon" rel="shortcut icon" th:href="${setting.domain + 'images/favicon.png'}" />
<link type="favicon" rel="shortcut icon" th:href="${domainName + 'images/favicon.png'}" />
</head>
<body>
服务器异常!

@ -2,20 +2,18 @@
<html lang="Zh-hans" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title th:text="${'探果题库-'+subject.name+'_聪明的学生都在这里'}">探果题库_聪明的学生都在这里</title>
<title>探果题库_聪明的学生都在这里</title>
<meta name="description" content="探果题库携手高校名师为考生提供高效的智能备考服务,涵括领域有高考、财会类、建筑工程、职业资格、医卫类、计算机类和学历类等热门考试题库。拥有高校名师丰富的经验,优质的学习资料和备考全阶段的高效服务,助您丰富自我,不断前行!"/>
<meta name="keyword" content="探果题库,数学试卷,高校试题,名校,名校试题,名校试卷,高校名师,名师专访,名师教案,名师课堂试题库,试卷库,智能题库,历年真题,模拟试题,押题,预测试题,高考,会计证,会计从业,会计师,经济师,施工员,建造师,建筑师,造价师,职业资格,证券资格,考研,计算机考试,建筑考试,财会类,医卫类,护士资格,公务员,知识点,试题,试卷"/>
<meta name="author" content="Tamguo Team" />
<meta name="copyright" content="Tamguo" />
<meta name="keywords" th:content="${course.seoKeywords}" />
<meta name="description" th:content="${course.seoDescription}" />
<link rel="stylesheet" th:href="${setting.domain + 'css/main.css'}"></link>
<link rel="stylesheet" th:href="${setting.domain + 'css/reset.css'}" />
<link rel="stylesheet" th:href="${setting.domain + 'css/iconfont.css'}" />
<link rel="stylesheet" th:href="${setting.domain + 'css/subject.css'}" />
<link rel="stylesheet" th:href="${setting.domain + 'css/footer.css'}" />
<link rel="stylesheet" th:href="${setting.domain + 'css/member/minilogin.css'}" />
<link type="favicon" rel="shortcut icon" th:href="${setting.domain + 'images/favicon.png'}" />
<link rel="stylesheet" th:href="${domainName + 'css/main.css'}"></link>
<link rel="stylesheet" th:href="${domainName + 'css/reset.css'}" />
<link rel="stylesheet" th:href="${domainName + 'css/iconfont.css'}" />
<link rel="stylesheet" th:href="${domainName + 'css/subject.css'}" />
<link rel="stylesheet" th:href="${domainName + 'css/footer.css'}" />
<link rel="stylesheet" th:href="${domainName + 'css/member/minilogin.css'}" />
<link type="favicon" rel="shortcut icon" th:href="${domainName + 'images/favicon.png'}" />
</head>
<body>
@ -30,23 +28,23 @@
<div class="main-submenu">
<div class="submenu-contain clearfix">
<span class="contain-title">
<a th:href="${setting.domain + 'subject/' + subject.uid + '.html'}" th:text="${subject.name}">高考</a>
<a th:href="${domainName + 'subject/' + subject.id + '.html'}" th:text="${subject.name}">高考</a>
</span>
<ul class="contain-ul">
<li class="contain-li">
<a th:href="${setting.domain + 'subject/' + subject.uid + '.html'}" class=" curr ">考试首页</a>
<a th:href="${domainName + 'subject/' + subject.id + '.html'}" class=" curr ">考试首页</a>
</li>
<li class="contain-li curr">
<a class="" th:href="${setting.domain + 'course/' +course.uid+ '.html'}">章节学习</a>
<a class="" th:href="${domainName + 'course/' +course.id+ '.html'}">章节学习</a>
</li>
<li class="contain-li">
<a class="" th:href="${setting.domain + 'paperlist/' + subject.uid + '-'+course.uid+'-'+setting.PAPER_TYPE_ZHENTI+'-0-0-1.html'}">真题试卷</a>
<a class="" th:href="${domainName + 'paperlist/' + subject.id + '-'+course.id+'-'+PAPER_TYPE_ZHENTI+'-0-0-1.html'}">真题试卷</a>
</li>
<li class="contain-li">
<a class="" th:href="${setting.domain + 'paperlist/' + subject.uid + '-'+course.uid+'-'+setting.PAPER_TYPE_MONI+'-0-0-1.html'}">模拟试卷</a>
<a class="" th:href="${domainName + 'paperlist/' + subject.id + '-'+course.id+'-'+PAPER_TYPE_MONI+'-0-0-1.html'}">模拟试卷</a>
</li>
<li class="contain-li">
<a class="" th:href="${setting.domain + 'paperlist/' + subject.uid + '-'+course.uid+'-'+setting.PAPER_TYPE_YATI+'-0-0-1.html'}">考前押题</a>
<a class="" th:href="${domainName + 'paperlist/' + subject.id + '-'+course.id+'-'+PAPER_TYPE_YATI+'-0-0-1.html'}">考前押题</a>
</li>
</ul>
</div>
@ -54,7 +52,7 @@
<!--二级导航结束-->
<!--头部轮播开始-->
<div class="banner" th:if="${a.businessKey == 'subject_' + subject.uid}" th:each="a,aStat:${adList}">
<div class="banner" th:if="${a.businessKey == 'subject_' + subject.id}" th:each="a,aStat:${adList}">
<ul class="banner-list">
<li class="img-list" th:style="${ad.index == 1} ? 'opacity: 1; z-index: 9;' : 'opacity: 1; z-index: 1;'" th:each="ad,adStat:${a.ads}">
<a th:attr="data-href=${ad.href},data-index=${ad.index}" class="banner-link img-1" th:href="${ad.href}" target="_blank">
@ -78,7 +76,7 @@
<div class="title-underline">
</div>
<div class="withyou-main">
<a class="withyou-box withyou-box-learn log-withyou-box " th:href="${setting.domain + 'course/' + course.uid +'.html'}" data-info="kp">
<a class="withyou-box withyou-box-learn log-withyou-box " th:href="${domainName + 'course/' + course.id +'.html'}" data-info="kp">
<div class="box-title">
<p class="box-title-name">章节学习</p>
<p class="box-title-detail">考点各个击破</p>
@ -86,7 +84,7 @@
</div>
<p class="box-content">串考点<span class="box-content-icon iconfont icon-right"></span></p>
</a>
<a class="withyou-box withyou-box-paper log-withyou-box " th:href="${setting.domain + 'paperlist/' + subject.uid + '-'+course.uid+'-'+setting.PAPER_TYPE_ZHENTI+'-0-0-1.html'}" data-info="zhenti">
<a class="withyou-box withyou-box-paper log-withyou-box " th:href="${domainName + 'paperlist/' + subject.id + '-'+course.id+'-'+PAPER_TYPE_ZHENTI+'-0-0-1.html'}" data-info="zhenti">
<div class="withyou-box-mod-triangle">
<div class="triangle-border"></div>
<div class="triangle-inset"></div>
@ -98,7 +96,7 @@
</div>
<p class="box-content">练重点<span class="box-content-icon iconfont icon-right"></span></p>
</a>
<a class="withyou-box withyou-box-score log-withyou-box " th:href="${setting.domain + 'paperlist/' + subject.uid + '-'+course.uid+'-'+setting.PAPER_TYPE_YATI+'-0-0-1.html'}" data-info="yuce">
<a class="withyou-box withyou-box-score log-withyou-box " th:href="${domainName + 'paperlist/' + subject.id + '-'+course.id+'-'+PAPER_TYPE_YATI+'-0-0-1.html'}" data-info="yuce">
<div class="withyou-box-mod-triangle">
<div class="triangle-border"></div>
<div class="triangle-inset"></div>
@ -124,7 +122,7 @@
<p class="container-title">章节学习</p>
<div class="course-list-container">
<div class="course-list">
<a th:class="${cStat.index == 0} ? 'course-item course-item-select' : 'course-item'" th:attr="courseid=${c.uid},data-courseid=${c.uid}" th:each="c,cStat:${courseList}" th:text="${c.name}">
<a th:class="${cStat.index == 0} ? 'course-item course-item-select' : 'course-item'" th:attr="courseid=${c.id},data-courseid=${c.id}" th:each="c,cStat:${courseList}" th:text="${c.name}">
理科数学
</a>
</div>
@ -133,17 +131,17 @@
<ul class="chapterlist-container">
<li class="chapterlist-item" th:each="c,cStat:${chapterList}" th:if="${cStat.index < 5}">
<p class="chapterlist-item-name">
<a class="chapterlist-item-name-link" th:href="${setting.domain + 'course/' +course.uid+'.html'}">
<a class="chapterlist-item-name-link" th:href="${domainName + 'course/' +course.id+'.html'}">
<span th:text="${c.name}">第一章 集合与常用逻辑用语</span>
</a>
</p>
<p class="chapterlist-detail"><span th:text="${c.pointNum}">21</span>知识点 | <span th:text="${c.questionNum}">2295</span>试题</p>
<a class="chapterlist-item-btn" th:href="${setting.domain + 'course/' + course.uid+'.html'}">开始学习</a>
<a class="chapterlist-item-btn" th:href="${domainName + 'course/' + course.id+'.html'}">开始学习</a>
</li>
</ul>
<p class="more-chapterlist-item">
<a class="more-item" th:href="${setting.domain + 'course/' + course.uid+'.html'}">更多章节 &gt; </a>
<a class="more-item" th:href="${domainName + 'course/' + course.id+'.html'}">更多章节 &gt; </a>
</p>
</div>
@ -155,17 +153,17 @@
<div class="feed-list-content">
<ul class="feed-list" style="top: 0px;">
<li class="feed-list-item list-border">
<img th:src="${setting.domain + 'images/avatar.png'}" class="item-img">
<img th:src="${domainName + 'images/avatar.png'}" class="item-img">
<div class="feed-list-detail">
<p class="detail-item"><span class="item-name">刘刘</span>已学完了239个知识点</p>
<p class="detail-item">今天学了
<a class="item-link" th:href="${setting.domain}">中和热</a><span class="course-num">15</span>个知识点</p>
<a class="item-link" th:href="${domainName}">中和热</a><span class="course-num">15</span>个知识点</p>
</div>
</li>
</ul>
</div>
<p class="feed-more-link-item">
<a class="feed-more-link" th:href="${setting.domain}">我也要学 &gt; </a>
<a class="feed-more-link" th:href="${domainName}">我也要学 &gt; </a>
</p>
</div>
</div>
@ -179,22 +177,22 @@
<p class="title-detail">一考知底,高分必刷,全面提分</p>
<div class="title-underline"></div>
<div class="cityArea">
<a th:class="${a.uid == '1'} ? 'cityname selected' : 'cityname'" th:attr="provinceid=${a.uid},data-provinceid=${a.uid}" th:each="a,aStat:${areaList}" th:text="${a.name}">北京</a>
<a th:class="${a.id == '1'} ? 'cityname selected' : 'cityname'" th:attr="provinceid=${a.id},data-provinceid=${a.id}" th:each="a,aStat:${areaList}" th:text="${a.name}">北京</a>
</div>
<div class="paper-main">
<div class="paper-box zhenti-box homepage-zhenti-box">
<div class="paper-list-wrap">
<h3 class="paper-title">历年真题
<a class="list-more-link" th:href="${setting.domain + 'paperlist/' + subject.uid + '-' + course.uid+'-' + setting.PAPER_TYPE_ZHENTI+'-0-0-1.html'}">更多真题试卷 &gt;</a>
<a class="list-more-link" th:href="${domainName + 'paperlist/' + subject.id + '-' + course.id+'-' + PAPER_TYPE_ZHENTI+'-0-0-1.html'}">更多真题试卷 &gt;</a>
</h3>
<ul class="paper-list paper-list-zhenti">
<li class="list-item" th:each="h,hStat:${historyPaperList}">
<p class="list-item-name">
<a class="list-item-name-link" th:href="${setting.domain + 'paper/'+h.uid+'.html'}" th:text="${h.name}">2017年高考真题 语文 (北京卷)</a>
<a class="list-item-name-link" th:href="${domainName + 'paper/'+h.id+'.html'}" th:text="${h.name}">2017年高考真题 语文 (北京卷)</a>
</p>
<p class="list-item-detail">
<a class="list-item-link list-item-link-jiexi" th:href="${setting.domain + 'paper/'+h.uid+'.html'}" data-paperid="d08fb966f5335a8102d220a5" target="_blank">解析</a><span class="item-separate">|</span>
<a th:href="${setting.domain + 'paper/'+h.uid+'.html'}" class=" list-item-link list-item-link-xiazai" "=" " data-paperid="d08fb966f5335a8102d220a5 " target="_blank ">下载</a>
<a class="list-item-link list-item-link-jiexi" th:href="${domainName + 'paper/'+h.id+'.html'}" data-paperid="d08fb966f5335a8102d220a5" target="_blank">解析</a><span class="item-separate">|</span>
<a th:href="${domainName + 'paper/'+h.id+'.html'}" class=" list-item-link list-item-link-xiazai" "=" " data-paperid="d08fb966f5335a8102d220a5 " target="_blank ">下载</a>
</li>
</ul>
</div>
@ -202,27 +200,27 @@
<div class="paper-box moni-box homepage-moni-box">
<div class="paper-list-wrap">
<h3 class="paper-title">模拟试卷
<a class="list-more-link" th:href="${setting.domain + 'paperlist/' + subject.uid + '-'+course.uid+'-'+setting.PAPER_TYPE_MONI+'-0-0-1.html'}">更多模拟试卷 &gt;</a>
<a class="list-more-link" th:href="${domainName + 'paperlist/' + subject.id + '-'+course.id+'-'+PAPER_TYPE_MONI+'-0-0-1.html'}">更多模拟试卷 &gt;</a>
</h3>
<ul class="paper-list paper-list-moni">
<li class="list-item" th:each="s,sStat:${simulationPaperList}">
<p class="list-item-name">
<a class="list-item-name-link" data-paperid="19f2517101f69e31433294f3" th:href="${setting.domain + 'paper/'+s.uid+'.html'}" th:text="${s.name}">英语 西城区2017年高三期末考试</a>
<a class="list-item-name-link" data-paperid="19f2517101f69e31433294f3" th:href="${domainName + 'paper/'+s.id+'.html'}" th:text="${s.name}">英语 西城区2017年高三期末考试</a>
</p>
<p class="list-item-detail">
<a class="list-item-link list-item-link-jiexi" th:href="${setting.domain + 'paper/'+s.uid+'.html'}" data-paperid="19f2517101f69e31433294f3" target="_blank">解析</a><span class="item-separate">|</span>
<a th:href="${setting.domain + 'paper/'+s.uid+'.html'}" class=" list-item-link list-item-link-xiazai" "=" " data-paperid="19f2517101f69e31433294f3 " target="_blank ">下载</a></p>
<a class="list-item-link list-item-link-jiexi" th:href="${domainName + 'paper/'+s.id+'.html'}" data-paperid="19f2517101f69e31433294f3" target="_blank">解析</a><span class="item-separate">|</span>
<a th:href="${domainName + 'paper/'+s.id+'.html'}" class=" list-item-link list-item-link-xiazai" "=" " data-paperid="19f2517101f69e31433294f3 " target="_blank ">下载</a></p>
</li>
</ul>
</div>
</div>
<div class="homepage-paper-box shiti-box">
<div class="hotpaper-list-wrap">
<h3 class="hotpaper-title">热门试卷<a class="list-more-link" th:href="${setting.domain + 'paperlist/' + subject.uid + '-0-0-0-0-0.html'}">更多热门试卷 &gt; </a>
<h3 class="hotpaper-title">热门试卷<a class="list-more-link" th:href="${domainName + 'paperlist/' + subject.id + '-0-0-0-0-0.html'}">更多热门试卷 &gt; </a>
</h3>
<ul class="hotpaper-list">
<li class="hotpaper-list-item" th:each="h,hStat:${hotPaperList}">
<a class="hotpaper-name" data-paperid="d08fb966f5335a8102d220a5" th:href="${setting.domain + 'paper/'+h.uid+'.html'}">
<a class="hotpaper-name" data-paperid="d08fb966f5335a8102d220a5" th:href="${domainName + 'paper/'+h.id+'.html'}">
<span th:class="${'rank-'+(hStat.index+1) + ' hotpaper-rank'}"></span><span th:text="${h.name}">2017年高考真题 语文 (北京卷)</span>
</a>
</li>
@ -233,12 +231,12 @@
<div class="school-paper-main">
<div class="school-paper-container homepage-school-container">
<h3 class="school-container-title">名校精品试卷
<a class="school-paper-more-link" th:href="${setting.domain + 'paperlist/'+subject.uid+'-0-4-0-0-1.html'}">更多名校精品卷 &gt; </a>
<a class="school-paper-more-link" th:href="${domainName + 'paperlist/'+subject.id+'-0-4-0-0-1.html'}">更多名校精品卷 &gt; </a>
</h3>
<div class="school-list">
<div th:class="${sStat.index == 2} ? 'school-list-item school-list-item-lastchild':'school-list-item'" th:each="s,sStat:${eliteSchoolPaperList}">
<div class="school-wrap school-wrap-bg1">
<a class="famous-school-link" th:href="${setting.domain + 'paperlist/'+subject.uid+'-0-4-0-0-1.html'}">
<a class="famous-school-link" th:href="${domainName + 'paperlist/'+subject.id+'-0-4-0-0-1.html'}">
<div class="school-info">
<p class="name" th:text="${s.name}">北京大学附属中学</p>
<p class="info">
@ -252,7 +250,7 @@
</div>
<ul class="paper-wrap">
<li class="paper-item" th:each="p,pStat:${s.paperList}">
<a class="paper-item-name" th:href="${setting.domain + 'paper/'+p.uid+'.html'}" th:text="${p.name}">
<a class="paper-item-name" th:href="${domainName + 'paper/'+p.id+'.html'}" th:text="${p.name}">
语文 海淀区2016年高三期末试卷
</a>
</li>
@ -261,7 +259,7 @@
</div>
</div>
<div class="more-school-list">
<a class="more-school-name" th:each="s,sStat:${eliteSchoolList}" th:text="${s.name}" th:href="${setting.domain + 'paperlist/'+subject.uid+'-0-4-0-0-1.html'}">
<a class="more-school-name" th:each="s,sStat:${eliteSchoolList}" th:text="${s.name}" th:href="${domainName + 'paperlist/'+subject.id+'-0-4-0-0-1.html'}">
北京市八一学校
</a>
</div>
@ -273,8 +271,8 @@
<!-- 页尾开始-->
<div class="gaokao-crumbs-box">
<div class="homepage-crumbs">
<a th:href="${setting.domain}">探果题库</a> &gt;
<a th:href="${setting.domain + 'subject/' + subject.uid + '.html'}" class="cur-crumbs" th:text="${subject.name}">高考</a>
<a th:href="${domainName}">探果题库</a> &gt;
<a th:href="${domainName + 'subject/' + subject.id + '.html'}" class="cur-crumbs" th:text="${subject.name}">高考</a>
</div>
</div>
<!-- 页尾结束-->
@ -291,7 +289,7 @@
<script type="text/javascript" src="http://static.tamguo.com/static/js/jquery-1.8.3.min.js" ></script>
<script type="text/javascript" src="http://static.tamguo.com/static/js/jquery.iDialog.js"></script>
<script type="text/javascript" th:src="${setting.domain + 'js/main.js'}" ></script>
<script type="text/javascript" th:src="${setting.domain + 'js/member/minlogin.js'}"></script>
<script type="text/javascript" th:src="${setting.domain + 'js/subject.js'}" ></script>
<script type="text/javascript" th:src="${domainName + 'js/main.js'}" ></script>
<script type="text/javascript" th:src="${domainName + 'js/member/minlogin.js'}"></script>
<script type="text/javascript" th:src="${domainName + 'js/subject.js'}" ></script>
</html>

Loading…
Cancel
Save