From 694d5fcb5aaccaf96a6c5818b7f89ff65c31eb49 Mon Sep 17 00:00:00 2001 From: tamguo Date: Sat, 8 Sep 2018 16:03:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=A7=BB=E5=8A=A8=E7=AB=AF?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../test/java/com/tamguo/PaperCrawler.java | 12 +++---- .../java/com/tamguo/PaperQuestionCrawler.java | 4 +-- .../resources/static/mobile/css/index.css | 10 ------ .../resources/templates/mobile/chapter.html | 35 +++++++++--------- .../resources/templates/mobile/index.html | 36 ++++++++++--------- .../templates/mobile/questionList.html | 7 +--- .../resources/templates/mobile/subject.html | 36 ++++++++++--------- 7 files changed, 66 insertions(+), 74 deletions(-) diff --git a/tamguo-crawler/src/test/java/com/tamguo/PaperCrawler.java b/tamguo-crawler/src/test/java/com/tamguo/PaperCrawler.java index 7364208..243906a 100644 --- a/tamguo-crawler/src/test/java/com/tamguo/PaperCrawler.java +++ b/tamguo-crawler/src/test/java/com/tamguo/PaperCrawler.java @@ -29,18 +29,18 @@ public class PaperCrawler { // 高考 private final String SUBJECT_ID = "gaokao"; // 科目 - private final String COURSE_ID = "likeshuxue"; + private final String COURSE_ID = "wenkeshuxue"; // 110000 北京 | 310000 上海 | 500000 重庆 | 120100 天津 | 370000 山东 | 410000 河南 | 420000 湖北 | 320000 江苏 | 330000 浙江 // 140000 山西 | 350000 福建 | 340000 安徽 | 220000 吉林 | 150000 内蒙古 | 640000 宁夏 | 650000 新疆 | 广西 450000 | 210000 辽宁 // 230000 黑龙江 | 610000 陕西 | 360000 江西 | 440000 广东 | 430000 湖南 | 460000 海南 | 530000 云南 | 510000 四川 | 630000 青海 - // 620000 甘肃 - private final String AREA_ID = "620000"; + // 620000 甘肃 | 130000 河北 | 540000 西藏 | 贵州 520000 + private final String AREA_ID = "110000"; // 年份 - private final String YEAR = "2015"; + private final String YEAR = "2016"; // 真题试卷 类型(1:真题试卷,2:模拟试卷,3:押题预测,4:名校精品) - private final String PAPER_TYPE = "3"; + private final String PAPER_TYPE = "4"; // 开始采集的URL - private final String START_URL = "https://tiku.baidu.com/tikupc/paperlist/1bfd700abb68a98271fefa04-16-2-2015-1757-1-download"; + private final String START_URL = "https://tiku.baidu.com/tikupc/paperlist/1bfd700abb68a98271fefa04-17-7-2016-37-1-download"; private RunData runData; diff --git a/tamguo-crawler/src/test/java/com/tamguo/PaperQuestionCrawler.java b/tamguo-crawler/src/test/java/com/tamguo/PaperQuestionCrawler.java index 3778863..900c57f 100644 --- a/tamguo-crawler/src/test/java/com/tamguo/PaperQuestionCrawler.java +++ b/tamguo-crawler/src/test/java/com/tamguo/PaperQuestionCrawler.java @@ -63,8 +63,8 @@ public class PaperQuestionCrawler { @Autowired CacheService cacheService; private static final String FILES_NO_FORMAT = "000000000"; - private static final String FILES_PREFIX = "likeshuxue"; - private static final String COURSE_ID = "likeshuxue"; + private static final String FILES_PREFIX = "wenkeshuxue"; + private static final String COURSE_ID = "wenkeshuxue"; private RunData runData; diff --git a/tamguo-tms/src/main/resources/static/mobile/css/index.css b/tamguo-tms/src/main/resources/static/mobile/css/index.css index ff99fd9..f5b72f3 100644 --- a/tamguo-tms/src/main/resources/static/mobile/css/index.css +++ b/tamguo-tms/src/main/resources/static/mobile/css/index.css @@ -100,15 +100,6 @@ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, -moz-box-sizing: border-box; box-sizing: border-box; } -.header .header_back:after, .header .icon_pull, .header .icon_user, .header .logo, .home_header .icon_user { - font-size: 0; - display: inline-block; - background-image: url(../images/sprite_new.svg); - background-repeat: no-repeat; - background-position: 0 0; - -webkit-transform: none; - transform: none; -} .home_header .icon_user { width: 1.8rem; height: 1.8rem; @@ -384,7 +375,6 @@ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, } .channel_nav { padding: .3125rem .625rem 1.25rem; - margin-top: 0; } .page_home .icon_b_jingjiren { background-position: 0 -63rem; diff --git a/tamguo-tms/src/main/resources/templates/mobile/chapter.html b/tamguo-tms/src/main/resources/templates/mobile/chapter.html index 1b55409..908378d 100644 --- a/tamguo-tms/src/main/resources/templates/mobile/chapter.html +++ b/tamguo-tms/src/main/resources/templates/mobile/chapter.html @@ -1,5 +1,5 @@ - + @@ -22,26 +22,29 @@
-
-
-
- 上海 -
- -
-
- - - +
+
+
+ 探果网 +
+ + +
diff --git a/tamguo-tms/src/main/resources/templates/mobile/index.html b/tamguo-tms/src/main/resources/templates/mobile/index.html index c74c9ed..fa56778 100644 --- a/tamguo-tms/src/main/resources/templates/mobile/index.html +++ b/tamguo-tms/src/main/resources/templates/mobile/index.html @@ -1,5 +1,5 @@ - + @@ -23,26 +23,28 @@
-
-
-
- 上海 -
- -
-
- - - +
+
+
+ 探果网 +
+ +
@@ -50,7 +52,7 @@ 学历类型
- +
去估分
diff --git a/tamguo-tms/src/main/resources/templates/mobile/questionList.html b/tamguo-tms/src/main/resources/templates/mobile/questionList.html index 7cb1391..b852549 100644 --- a/tamguo-tms/src/main/resources/templates/mobile/questionList.html +++ b/tamguo-tms/src/main/resources/templates/mobile/questionList.html @@ -356,11 +356,6 @@ body.filter_show {
探果网 @@ -381,7 +376,7 @@ body.filter_show {
- +
diff --git a/tamguo-tms/src/main/resources/templates/mobile/subject.html b/tamguo-tms/src/main/resources/templates/mobile/subject.html index da45326..429d0e7 100644 --- a/tamguo-tms/src/main/resources/templates/mobile/subject.html +++ b/tamguo-tms/src/main/resources/templates/mobile/subject.html @@ -1,5 +1,5 @@ - + @@ -21,27 +21,29 @@
-
-
-
- 上海 -
- -
-
- - - +
+
+
+ 探果网 +
- + + +