Commit 0e7694da5a1b1295d931f2cd27ce1e13c2bff6c6

Authored by maoyangou
1 parent bf2c591d

国内专利页面完善

.idea/workspace.xml
@@ -2,7 +2,8 @@ @@ -2,7 +2,8 @@
2 <project version="4"> 2 <project version="4">
3 <component name="ChangeListManager"> 3 <component name="ChangeListManager">
4 <list default="true" id="a8f74803-c7c3-405c-9584-6ffd161452f6" name="Default" comment=""> 4 <list default="true" id="a8f74803-c7c3-405c-9584-6ffd161452f6" name="Default" comment="">
5 - <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/index.jsp" afterPath="$PROJECT_DIR$/src/main/webapp/index.jsp" /> 5 + <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/css/home.css" afterPath="$PROJECT_DIR$/src/main/webapp/css/home.css" />
  6 + <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/home_patent.jsp" afterPath="$PROJECT_DIR$/src/main/webapp/home_patent.jsp" />
6 </list> 7 </list>
7 <ignored path="patent.iws" /> 8 <ignored path="patent.iws" />
8 <ignored path=".idea/workspace.xml" /> 9 <ignored path=".idea/workspace.xml" />
@@ -25,61 +26,21 @@ @@ -25,61 +26,21 @@
25 </component> 26 </component>
26 <component name="FileEditorManager"> 27 <component name="FileEditorManager">
27 <leaf> 28 <leaf>
28 - <file leaf-file-name="HelloController.java" pinned="false" current-in-tab="false">  
29 - <entry file="file://$PROJECT_DIR$/src/main/java/com/canrd/patent/web/HelloController.java"> 29 + <file leaf-file-name="home.css" pinned="false" current-in-tab="true">
  30 + <entry file="file://$PROJECT_DIR$/src/main/webapp/css/home.css">
30 <provider selected="true" editor-type-id="text-editor"> 31 <provider selected="true" editor-type-id="text-editor">
31 - <state vertical-scroll-proportion="0.0">  
32 - <caret line="22" column="13" selection-start-line="22" selection-start-column="13" selection-end-line="22" selection-end-column="13" /> 32 + <state vertical-scroll-proportion="0.97727275">
  33 + <caret line="103" column="1" selection-start-line="103" selection-start-column="1" selection-end-line="103" selection-end-column="1" />
33 <folding /> 34 <folding />
34 </state> 35 </state>
35 </provider> 36 </provider>
36 </entry> 37 </entry>
37 </file> 38 </file>
38 - <file leaf-file-name="ddl.sql" pinned="false" current-in-tab="false">  
39 - <entry file="file://$PROJECT_DIR$/doc/sql/ddl.sql"> 39 + <file leaf-file-name="home_patent.jsp" pinned="false" current-in-tab="false">
  40 + <entry file="file://$PROJECT_DIR$/src/main/webapp/home_patent.jsp">
40 <provider selected="true" editor-type-id="text-editor"> 41 <provider selected="true" editor-type-id="text-editor">
41 - <state vertical-scroll-proportion="-0.5555556">  
42 - <caret line="1" column="0" selection-start-line="1" selection-start-column="0" selection-end-line="1" selection-end-column="0" />  
43 - <folding />  
44 - </state>  
45 - </provider>  
46 - </entry>  
47 - </file>  
48 - <file leaf-file-name="Untitled.sql" pinned="false" current-in-tab="false">  
49 - <entry file="file://$PROJECT_DIR$/doc/sql/Untitled.sql">  
50 - <provider selected="true" editor-type-id="text-editor">  
51 - <state vertical-scroll-proportion="-2.2222223">  
52 - <caret line="8" column="39" selection-start-line="8" selection-start-column="39" selection-end-line="8" selection-end-column="39" />  
53 - <folding />  
54 - </state>  
55 - </provider>  
56 - </entry>  
57 - </file>  
58 - <file leaf-file-name="fdfs.properties" pinned="false" current-in-tab="false">  
59 - <entry file="file://$PROJECT_DIR$/src/main/resources.local/props/fdfs.properties">  
60 - <provider selected="true" editor-type-id="text-editor">  
61 - <state vertical-scroll-proportion="0.0">  
62 - <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />  
63 - <folding />  
64 - </state>  
65 - </provider>  
66 - </entry>  
67 - </file>  
68 - <file leaf-file-name="jdbc.properties" pinned="false" current-in-tab="false">  
69 - <entry file="file://$PROJECT_DIR$/src/main/resources.local/props/jdbc.properties">  
70 - <provider selected="true" editor-type-id="text-editor">  
71 - <state vertical-scroll-proportion="0.0">  
72 - <caret line="1" column="51" selection-start-line="1" selection-start-column="45" selection-end-line="1" selection-end-column="51" />  
73 - <folding />  
74 - </state>  
75 - </provider>  
76 - </entry>  
77 - </file>  
78 - <file leaf-file-name="index.jsp" pinned="false" current-in-tab="true">  
79 - <entry file="file://$PROJECT_DIR$/src/main/webapp/index.jsp">  
80 - <provider selected="true" editor-type-id="text-editor">  
81 - <state vertical-scroll-proportion="0.18844222">  
82 - <caret line="6" column="66" selection-start-line="6" selection-start-column="66" selection-end-line="6" selection-end-column="66" /> 42 + <state vertical-scroll-proportion="-5.8039217">
  43 + <caret line="43" column="28" selection-start-line="43" selection-start-column="28" selection-end-line="43" selection-end-column="28" />
83 <folding /> 44 <folding />
84 </state> 45 </state>
85 </provider> 46 </provider>
@@ -111,7 +72,6 @@ @@ -111,7 +72,6 @@
111 <list> 72 <list>
112 <option value="$PROJECT_DIR$/src/main/webapp/include/footer.jsp" /> 73 <option value="$PROJECT_DIR$/src/main/webapp/include/footer.jsp" />
113 <option value="$PROJECT_DIR$/src/main/webapp/case-manage.jsp" /> 74 <option value="$PROJECT_DIR$/src/main/webapp/case-manage.jsp" />
114 - <option value="$PROJECT_DIR$/src/main/webapp/css/home.css" />  
115 <option value="$PROJECT_DIR$/src/main/java/com/canrd/patent/dal/enums/PaidTypeEnum.java" /> 75 <option value="$PROJECT_DIR$/src/main/java/com/canrd/patent/dal/enums/PaidTypeEnum.java" />
116 <option value="$PROJECT_DIR$/src/main/java/com/canrd/patent/dal/dto/HomePatentTypeOutputDto.java" /> 76 <option value="$PROJECT_DIR$/src/main/java/com/canrd/patent/dal/dto/HomePatentTypeOutputDto.java" />
117 <option value="$PROJECT_DIR$/src/main/java/com/canrd/patent/common/utils/TextUtils.java" /> 77 <option value="$PROJECT_DIR$/src/main/java/com/canrd/patent/common/utils/TextUtils.java" />
@@ -125,7 +85,6 @@ @@ -125,7 +85,6 @@
125 <option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/springmvc-servlet.xml" /> 85 <option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/springmvc-servlet.xml" />
126 <option value="$PROJECT_DIR$/doc/manual/开发规范.txt" /> 86 <option value="$PROJECT_DIR$/doc/manual/开发规范.txt" />
127 <option value="$PROJECT_DIR$/src/main/java/com/canrd/patent/web/HomePatentPageController.java" /> 87 <option value="$PROJECT_DIR$/src/main/java/com/canrd/patent/web/HomePatentPageController.java" />
128 - <option value="$PROJECT_DIR$/src/main/webapp/home_patent.jsp" />  
129 <option value="$PROJECT_DIR$/src/main/java/com/canrd/patent/web/HomePatentDataController.java" /> 88 <option value="$PROJECT_DIR$/src/main/java/com/canrd/patent/web/HomePatentDataController.java" />
130 <option value="$PROJECT_DIR$/src/main/java/com/canrd/patent/web/CasementDataController.java" /> 89 <option value="$PROJECT_DIR$/src/main/java/com/canrd/patent/web/CasementDataController.java" />
131 <option value="$PROJECT_DIR$/src/main/java/com/canrd/patent/web/PaymentDataController.java" /> 90 <option value="$PROJECT_DIR$/src/main/java/com/canrd/patent/web/PaymentDataController.java" />
@@ -160,6 +119,8 @@ @@ -160,6 +119,8 @@
160 <option value="$PROJECT_DIR$/src/main/webapp/css/case-manage.css" /> 119 <option value="$PROJECT_DIR$/src/main/webapp/css/case-manage.css" />
161 <option value="$PROJECT_DIR$/doc/sql/ddl.sql" /> 120 <option value="$PROJECT_DIR$/doc/sql/ddl.sql" />
162 <option value="$PROJECT_DIR$/src/main/webapp/index.jsp" /> 121 <option value="$PROJECT_DIR$/src/main/webapp/index.jsp" />
  122 + <option value="$PROJECT_DIR$/src/main/webapp/home_patent.jsp" />
  123 + <option value="$PROJECT_DIR$/src/main/webapp/css/home.css" />
163 </list> 124 </list>
164 </option> 125 </option>
165 </component> 126 </component>
@@ -242,10 +203,9 @@ @@ -242,10 +203,9 @@
242 <order /> 203 <order />
243 </component> 204 </component>
244 <component name="ProjectFrameBounds"> 205 <component name="ProjectFrameBounds">
245 - <option name="x" value="1280" />  
246 <option name="y" value="23" /> 206 <option name="y" value="23" />
247 - <option name="width" value="1920" />  
248 - <option name="height" value="1057" /> 207 + <option name="width" value="1280" />
  208 + <option name="height" value="737" />
249 </component> 209 </component>
250 <component name="ProjectLevelVcsManager" settingsEditedManually="false"> 210 <component name="ProjectLevelVcsManager" settingsEditedManually="false">
251 <OptionsSetting value="true" id="Add" /> 211 <OptionsSetting value="true" id="Add" />
@@ -271,7 +231,6 @@ @@ -271,7 +231,6 @@
271 </navigator> 231 </navigator>
272 <panes> 232 <panes>
273 <pane id="Scratches" /> 233 <pane id="Scratches" />
274 - <pane id="Scope" />  
275 <pane id="ProjectPane"> 234 <pane id="ProjectPane">
276 <subPane> 235 <subPane>
277 <PATH> 236 <PATH>
@@ -343,111 +302,10 @@ @@ -343,111 +302,10 @@
343 <option name="myItemId" value="main" /> 302 <option name="myItemId" value="main" />
344 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> 303 <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
345 </PATH_ELEMENT> 304 </PATH_ELEMENT>
346 - <PATH_ELEMENT>  
347 - <option name="myItemId" value="webapp" />  
348 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />  
349 - </PATH_ELEMENT>  
350 - <PATH_ELEMENT>  
351 - <option name="myItemId" value="css" />  
352 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />  
353 - </PATH_ELEMENT>  
354 - </PATH>  
355 - <PATH>  
356 - <PATH_ELEMENT>  
357 - <option name="myItemId" value="patent" />  
358 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />  
359 - </PATH_ELEMENT>  
360 - <PATH_ELEMENT>  
361 - <option name="myItemId" value="canrd-patent" />  
362 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />  
363 - </PATH_ELEMENT>  
364 - <PATH_ELEMENT>  
365 - <option name="myItemId" value="src" />  
366 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />  
367 - </PATH_ELEMENT>  
368 - <PATH_ELEMENT>  
369 - <option name="myItemId" value="main" />  
370 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />  
371 - </PATH_ELEMENT>  
372 - </PATH>  
373 - <PATH>  
374 - <PATH_ELEMENT>  
375 - <option name="myItemId" value="patent" />  
376 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />  
377 - </PATH_ELEMENT>  
378 - <PATH_ELEMENT>  
379 - <option name="myItemId" value="canrd-patent" />  
380 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />  
381 - </PATH_ELEMENT>  
382 - <PATH_ELEMENT>  
383 - <option name="myItemId" value="src" />  
384 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />  
385 - </PATH_ELEMENT>  
386 - <PATH_ELEMENT>  
387 - <option name="myItemId" value="main" />  
388 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />  
389 - </PATH_ELEMENT>  
390 - <PATH_ELEMENT>  
391 - <option name="myItemId" value="resources.local" />  
392 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />  
393 - </PATH_ELEMENT>  
394 - </PATH>  
395 - <PATH>  
396 - <PATH_ELEMENT>  
397 - <option name="myItemId" value="patent" />  
398 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />  
399 - </PATH_ELEMENT>  
400 - <PATH_ELEMENT>  
401 - <option name="myItemId" value="canrd-patent" />  
402 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />  
403 - </PATH_ELEMENT>  
404 - <PATH_ELEMENT>  
405 - <option name="myItemId" value="src" />  
406 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />  
407 - </PATH_ELEMENT>  
408 - <PATH_ELEMENT>  
409 - <option name="myItemId" value="main" />  
410 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />  
411 - </PATH_ELEMENT>  
412 - <PATH_ELEMENT>  
413 - <option name="myItemId" value="resources.dev" />  
414 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />  
415 - </PATH_ELEMENT>  
416 - </PATH>  
417 - <PATH>  
418 - <PATH_ELEMENT>  
419 - <option name="myItemId" value="patent" />  
420 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />  
421 - </PATH_ELEMENT>  
422 - <PATH_ELEMENT>  
423 - <option name="myItemId" value="canrd-patent" />  
424 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />  
425 - </PATH_ELEMENT>  
426 - <PATH_ELEMENT>  
427 - <option name="myItemId" value="doc" />  
428 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />  
429 - </PATH_ELEMENT>  
430 - </PATH>  
431 - <PATH>  
432 - <PATH_ELEMENT>  
433 - <option name="myItemId" value="patent" />  
434 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />  
435 - </PATH_ELEMENT>  
436 - <PATH_ELEMENT>  
437 - <option name="myItemId" value="canrd-patent" />  
438 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />  
439 - </PATH_ELEMENT>  
440 - <PATH_ELEMENT>  
441 - <option name="myItemId" value="doc" />  
442 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />  
443 - </PATH_ELEMENT>  
444 - <PATH_ELEMENT>  
445 - <option name="myItemId" value="sql" />  
446 - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />  
447 - </PATH_ELEMENT>  
448 </PATH> 305 </PATH>
449 </subPane> 306 </subPane>
450 </pane> 307 </pane>
  308 + <pane id="Scope" />
451 <pane id="PackagesPane" /> 309 <pane id="PackagesPane" />
452 </panes> 310 </panes>
453 </component> 311 </component>
@@ -938,14 +796,15 @@ @@ -938,14 +796,15 @@
938 <workItem from="1469243959439" duration="3683000" /> 796 <workItem from="1469243959439" duration="3683000" />
939 <workItem from="1469260205882" duration="12837000" /> 797 <workItem from="1469260205882" duration="12837000" />
940 <workItem from="1469585749367" duration="1353000" /> 798 <workItem from="1469585749367" duration="1353000" />
  799 + <workItem from="1469889447244" duration="6184000" />
941 </task> 800 </task>
942 <servers /> 801 <servers />
943 </component> 802 </component>
944 <component name="TimeTrackingManager"> 803 <component name="TimeTrackingManager">
945 - <option name="totallyTimeSpent" value="95728000" /> 804 + <option name="totallyTimeSpent" value="101912000" />
946 </component> 805 </component>
947 <component name="ToolWindowManager"> 806 <component name="ToolWindowManager">
948 - <frame x="1280" y="23" width="1920" height="1057" extended-state="6" /> 807 + <frame x="0" y="23" width="1280" height="737" extended-state="6" />
949 <editor active="true" /> 808 <editor active="true" />
950 <layout> 809 <layout>
951 <window_info id="Palette&#9;" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> 810 <window_info id="Palette&#9;" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
@@ -956,17 +815,17 @@ @@ -956,17 +815,17 @@
956 <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> 815 <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
957 <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> 816 <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
958 <window_info id="Java Enterprise" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> 817 <window_info id="Java Enterprise" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
959 - <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.53367877" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> 818 + <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.36899224" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
960 <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" /> 819 <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
961 <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" /> 820 <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
962 <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32953367" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> 821 <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32953367" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
963 - <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.44974095" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> 822 + <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4496124" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
964 <window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" /> 823 <window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
965 <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> 824 <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
966 - <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />  
967 - <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.19222577" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> 825 + <window_info id="Structure" active="false" anchor="left" auto_hide="true" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
  826 + <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.1914378" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
968 <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.53812635" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> 827 <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.53812635" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
969 - <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.20021299" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" /> 828 + <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.14378029" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
970 <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.36165804" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> 829 <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.36165804" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
971 <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" /> 830 <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
972 <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> 831 <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
@@ -982,24 +841,24 @@ @@ -982,24 +841,24 @@
982 <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> 841 <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
983 <window_info id="Java Enterprise" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> 842 <window_info id="Java Enterprise" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
984 <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="true" content_ui="tabs" /> 843 <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="true" content_ui="tabs" />
985 - <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" /> 844 + <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32953367" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
986 <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> 845 <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
987 <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.53812635" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" /> 846 <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.53812635" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
988 - <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24313408" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" /> 847 + <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.19951534" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
989 <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.36165804" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> 848 <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.36165804" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
990 <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" /> 849 <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
991 <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> 850 <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
992 <window_info id="Designer" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> 851 <window_info id="Designer" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
993 <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> 852 <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
994 - <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.140625" sideWeight="0.5" order="11" side_tool="false" content_ui="tabs" /> 853 + <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.55129534" sideWeight="0.5" order="11" side_tool="false" content_ui="tabs" />
995 <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> 854 <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
996 - <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.528125" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />  
997 - <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.090625" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> 855 + <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3896373" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
  856 + <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.26666668" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
998 <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="4" side_tool="true" content_ui="tabs" /> 857 <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="4" side_tool="true" content_ui="tabs" />
999 - <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.26943004" sideWeight="0.5" order="12" side_tool="false" content_ui="tabs" /> 858 + <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4496124" sideWeight="0.5" order="12" side_tool="false" content_ui="tabs" />
1000 <window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="5" side_tool="true" content_ui="tabs" /> 859 <window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="5" side_tool="true" content_ui="tabs" />
1001 <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> 860 <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
1002 - <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.08642972" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> 861 + <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.1914378" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
1003 <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> 862 <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
1004 <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> 863 <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
1005 </layout-to-restore> 864 </layout-to-restore>
@@ -1300,20 +1159,6 @@ @@ -1300,20 +1159,6 @@
1300 <state /> 1159 <state />
1301 </provider> 1160 </provider>
1302 </entry> 1161 </entry>
1303 - <entry file="file://$PROJECT_DIR$/src/main/webapp/css/home.css">  
1304 - <provider selected="true" editor-type-id="text-editor">  
1305 - <state vertical-scroll-proportion="0.0">  
1306 - <caret line="29" column="0" selection-start-line="29" selection-start-column="0" selection-end-line="29" selection-end-column="0" />  
1307 - </state>  
1308 - </provider>  
1309 - </entry>  
1310 - <entry file="file://$PROJECT_DIR$/src/main/webapp/home_patent.jsp">  
1311 - <provider selected="true" editor-type-id="text-editor">  
1312 - <state vertical-scroll-proportion="-32.375">  
1313 - <caret line="300" column="57" selection-start-line="300" selection-start-column="46" selection-end-line="300" selection-end-column="57" />  
1314 - </state>  
1315 - </provider>  
1316 - </entry>  
1317 <entry file="file://$PROJECT_DIR$/src/main/webapp/originImg/hot.png"> 1162 <entry file="file://$PROJECT_DIR$/src/main/webapp/originImg/hot.png">
1318 <provider selected="true" editor-type-id="images"> 1163 <provider selected="true" editor-type-id="images">
1319 <state /> 1164 <state />
@@ -1344,7 +1189,7 @@ @@ -1344,7 +1189,7 @@
1344 </entry> 1189 </entry>
1345 <entry file="file://$PROJECT_DIR$/doc/sql/ddl.sql"> 1190 <entry file="file://$PROJECT_DIR$/doc/sql/ddl.sql">
1346 <provider selected="true" editor-type-id="text-editor"> 1191 <provider selected="true" editor-type-id="text-editor">
1347 - <state vertical-scroll-proportion="-0.5555556"> 1192 + <state vertical-scroll-proportion="0.0">
1348 <caret line="1" column="0" selection-start-line="1" selection-start-column="0" selection-end-line="1" selection-end-column="0" /> 1193 <caret line="1" column="0" selection-start-line="1" selection-start-column="0" selection-end-line="1" selection-end-column="0" />
1349 <folding /> 1194 <folding />
1350 </state> 1195 </state>
@@ -1352,7 +1197,7 @@ @@ -1352,7 +1197,7 @@
1352 </entry> 1197 </entry>
1353 <entry file="file://$PROJECT_DIR$/doc/sql/Untitled.sql"> 1198 <entry file="file://$PROJECT_DIR$/doc/sql/Untitled.sql">
1354 <provider selected="true" editor-type-id="text-editor"> 1199 <provider selected="true" editor-type-id="text-editor">
1355 - <state vertical-scroll-proportion="-2.2222223"> 1200 + <state vertical-scroll-proportion="0.0">
1356 <caret line="8" column="39" selection-start-line="8" selection-start-column="39" selection-end-line="8" selection-end-column="39" /> 1201 <caret line="8" column="39" selection-start-line="8" selection-start-column="39" selection-end-line="8" selection-end-column="39" />
1357 <folding /> 1202 <folding />
1358 </state> 1203 </state>
@@ -1376,11 +1221,27 @@ @@ -1376,11 +1221,27 @@
1376 </entry> 1221 </entry>
1377 <entry file="file://$PROJECT_DIR$/src/main/webapp/index.jsp"> 1222 <entry file="file://$PROJECT_DIR$/src/main/webapp/index.jsp">
1378 <provider selected="true" editor-type-id="text-editor"> 1223 <provider selected="true" editor-type-id="text-editor">
1379 - <state vertical-scroll-proportion="0.18844222"> 1224 + <state vertical-scroll-proportion="0.0">
1380 <caret line="6" column="66" selection-start-line="6" selection-start-column="66" selection-end-line="6" selection-end-column="66" /> 1225 <caret line="6" column="66" selection-start-line="6" selection-start-column="66" selection-end-line="6" selection-end-column="66" />
1381 <folding /> 1226 <folding />
1382 </state> 1227 </state>
1383 </provider> 1228 </provider>
1384 </entry> 1229 </entry>
  1230 + <entry file="file://$PROJECT_DIR$/src/main/webapp/home_patent.jsp">
  1231 + <provider selected="true" editor-type-id="text-editor">
  1232 + <state vertical-scroll-proportion="-5.8039217">
  1233 + <caret line="43" column="28" selection-start-line="43" selection-start-column="28" selection-end-line="43" selection-end-column="28" />
  1234 + <folding />
  1235 + </state>
  1236 + </provider>
  1237 + </entry>
  1238 + <entry file="file://$PROJECT_DIR$/src/main/webapp/css/home.css">
  1239 + <provider selected="true" editor-type-id="text-editor">
  1240 + <state vertical-scroll-proportion="0.97727275">
  1241 + <caret line="103" column="1" selection-start-line="103" selection-start-column="1" selection-end-line="103" selection-end-column="1" />
  1242 + <folding />
  1243 + </state>
  1244 + </provider>
  1245 + </entry>
1385 </component> 1246 </component>
1386 </project> 1247 </project>
1387 \ No newline at end of file 1248 \ No newline at end of file
src/main/webapp/css/home.css
@@ -52,13 +52,53 @@ li { @@ -52,13 +52,53 @@ li {
52 52
53 .home-wrap>div>div{ 53 .home-wrap>div>div{
54 overflow: hidden; 54 overflow: hidden;
  55 + margin-top:20px;
55 } 56 }
56 57
57 .home-wrap>div>div ul{ 58 .home-wrap>div>div ul{
58 overflow: hidden; 59 overflow: hidden;
59 } 60 }
60 61
  62 +.home-wrap>div>div ul span {
  63 + float: left;
  64 + width: 80px;
  65 + height: 40px;
  66 + line-height: 40px;
  67 + font-size: 16px;
  68 + margin-right: 10px;
  69 + text-align: center;
  70 +}
  71 +
61 .home-wrap>div>div ul li{ 72 .home-wrap>div>div ul li{
  73 + font-size:16px;
  74 + height:40px;
  75 + line-height: 40px;
  76 + width: 142px;
62 float: left; 77 float: left;
63 - padding-right: 50px; 78 + margin-right: 20px;
  79 + text-align:center;
  80 + background: #efefef;
  81 + border-radius: 5px;
  82 +}
  83 +
  84 +.home-wrap>div>div p{
  85 + font-size: 16px;
  86 + color: #1287cd;
  87 + padding-left: 100px;
  88 +}
  89 +
  90 +.expense{
  91 + color:#f78e5b;
  92 + font-size: 16px;
  93 +}
  94 +
  95 +.submit_case{
  96 + width: 142px;
  97 + height: 40px;
  98 + background: #f78e5b;
  99 + border: 0px;
  100 + border-radius: 5px;
  101 + font-size: 16px;
  102 + margin-left: 250px;
  103 + color: white
64 } 104 }
65 \ No newline at end of file 105 \ No newline at end of file
src/main/webapp/home_patent.jsp
@@ -19,23 +19,22 @@ @@ -19,23 +19,22 @@
19 <div class="home-wrap"> 19 <div class="home-wrap">
20 <div> 20 <div>
21 <div class="case_type"> 21 <div class="case_type">
22 - <p></p>  
23 </div> 22 </div>
24 <div class="service_type"> 23 <div class="service_type">
25 - <p></p>  
26 </div> 24 </div>
27 <div class="paid_type"> 25 <div class="paid_type">
28 - <p></p>  
29 </div> 26 </div>
30 <div class="reduce_type"> 27 <div class="reduce_type">
31 - <p></p>  
32 </div> 28 </div>
33 <%--<div> 29 <%--<div>
34 <p>数量:<input type="text" style="width: 40px;height: 20px"></p> 30 <p>数量:<input type="text" style="width: 40px;height: 20px"></p>
35 </div>--%> 31 </div>--%>
36 <div> 32 <div>
37 - <span class="expense"></span>  
38 - <%--<button class="submit_case">提交案件</button>--%> 33 + <ul>
  34 + <span>费用合计:</span><span class="expense"></span>
  35 + </ul>
  36 + </div>
  37 + <div>
39 <form style="display: inline" id="submit_form" method="post"> 38 <form style="display: inline" id="submit_form" method="post">
40 <input type="hidden" name="caseType" id="input_ct"> 39 <input type="hidden" name="caseType" id="input_ct">
41 <input type="hidden" name="serviceType" id="input_st"> 40 <input type="hidden" name="serviceType" id="input_st">
@@ -52,6 +51,7 @@ @@ -52,6 +51,7 @@
52 </body> 51 </body>
53 </html> 52 </html>
54 <script> 53 <script>
  54 + var border_color=[];
55 var selectTypeFlag={}; 55 var selectTypeFlag={};
56 var allData; 56 var allData;
57 /*** 57 /***
@@ -70,18 +70,20 @@ @@ -70,18 +70,20 @@
70 var caseItem = $(".case_type"); 70 var caseItem = $(".case_type");
71 if(data.caseTypeList){ 71 if(data.caseTypeList){
72 var ulItem = $("<ul></ul>").appendTo(caseItem); 72 var ulItem = $("<ul></ul>").appendTo(caseItem);
73 - var ulItem2 = $("<ul></ul>").appendTo(caseItem); 73 + //var ulItem2 = $("<ul></ul>").appendTo(caseItem);
74 ulItem.html(""); 74 ulItem.html("");
  75 + $("<span></span>").text("案件类型:").appendTo(ulItem);
75 $.each(data.caseTypeList,function(i,ct){ 76 $.each(data.caseTypeList,function(i,ct){
76 var caseTypeLi = $("<li onclick=setCaseType(\'"+ct.id+"\',this)></li>").text(ct.title).attr("name",ct.name).attr("data",ct.id).appendTo(ulItem); 77 var caseTypeLi = $("<li onclick=setCaseType(\'"+ct.id+"\',this)></li>").text(ct.title).attr("name",ct.name).attr("data",ct.id).appendTo(ulItem);
77 //默认选择 78 //默认选择
78 if(i==0){ 79 if(i==0){
79 caseTypeLi.css("background","#1287cd"); 80 caseTypeLi.css("background","#1287cd");
  81 + caseTypeLi.css("color","#fff");
80 selectTypeFlag['caseType']=ct.name; 82 selectTypeFlag['caseType']=ct.name;
81 } 83 }
82 //描述信息 84 //描述信息
83 if(i==0&&ct.description!=null){ 85 if(i==0&&ct.description!=null){
84 - $("<li></li>").text(ct.description).appendTo(ulItem2); 86 + $("<p></p>").text(ct.description).appendTo(caseItem);
85 } 87 }
86 }); 88 });
87 } 89 }
@@ -90,18 +92,19 @@ @@ -90,18 +92,19 @@
90 var serviceItem = $(".service_type"); 92 var serviceItem = $(".service_type");
91 if(data.serviceTypeList){ 93 if(data.serviceTypeList){
92 var ulItem = $("<ul></ul>").appendTo(serviceItem); 94 var ulItem = $("<ul></ul>").appendTo(serviceItem);
93 - var ulItem2 = $("<ul></ul>").appendTo(serviceItem);  
94 ulItem.html(""); 95 ulItem.html("");
  96 + $("<span></span>").text("服务类型:").appendTo(ulItem);
95 $.each(data.serviceTypeList,function(i,st){ 97 $.each(data.serviceTypeList,function(i,st){
96 var serviceTypeLi = $("<li onclick=setServiceType("+st.id+",this)></li>").text(st.title).attr("name",st.name).attr("data",st.id).appendTo(ulItem); 98 var serviceTypeLi = $("<li onclick=setServiceType("+st.id+",this)></li>").text(st.title).attr("name",st.name).attr("data",st.id).appendTo(ulItem);
97 //默认选择 99 //默认选择
98 if(i==0){ 100 if(i==0){
99 serviceTypeLi.css("background","#1287cd"); 101 serviceTypeLi.css("background","#1287cd");
  102 + serviceTypeLi.css("color","#fff");
100 selectTypeFlag['serviceType']=st.name; 103 selectTypeFlag['serviceType']=st.name;
101 } 104 }
102 //描述信息 105 //描述信息
103 if(i==0&&st.description!=null){ 106 if(i==0&&st.description!=null){
104 - $("<li></li>").text(st.description).appendTo(ulItem2); 107 + $("<p></p>").text(st.description).appendTo(serviceItem);
105 } 108 }
106 }); 109 });
107 } 110 }
@@ -110,18 +113,19 @@ @@ -110,18 +113,19 @@
110 var paidItem = $(".paid_type"); 113 var paidItem = $(".paid_type");
111 if(data.serviceTypeList){ 114 if(data.serviceTypeList){
112 var ulItem = $("<ul></ul>").appendTo(paidItem); 115 var ulItem = $("<ul></ul>").appendTo(paidItem);
113 - var ulItem2 = $("<ul></ul>").appendTo(paidItem);  
114 ulItem.html(""); 116 ulItem.html("");
  117 + $("<span></span>").text("官方缴纳:").appendTo(ulItem);
115 $.each(data.paidTypeList,function(i,pt){ 118 $.each(data.paidTypeList,function(i,pt){
116 var paidTypeLi = $("<li onclick=setPayType("+pt.id+",this)></li>").text(pt.title).attr("name",pt.name).attr("data",pt.id).appendTo(ulItem); 119 var paidTypeLi = $("<li onclick=setPayType("+pt.id+",this)></li>").text(pt.title).attr("name",pt.name).attr("data",pt.id).appendTo(ulItem);
117 //默认选择 120 //默认选择
118 if(i==0){ 121 if(i==0){
119 paidTypeLi.css("background","#1287cd"); 122 paidTypeLi.css("background","#1287cd");
  123 + paidTypeLi.css("color","#fff");
120 selectTypeFlag['paidType']=pt.name; 124 selectTypeFlag['paidType']=pt.name;
121 } 125 }
122 //描述信息 126 //描述信息
123 if(i==0&&pt.description!=null){ 127 if(i==0&&pt.description!=null){
124 - $("<li></li>").text(pt.description).appendTo(ulItem2); 128 + $("<p></p>").text(pt.description).appendTo(paidItem);
125 } 129 }
126 }); 130 });
127 } 131 }
@@ -129,16 +133,17 @@ @@ -129,16 +133,17 @@
129 var reduceItem = $(".reduce_type"); 133 var reduceItem = $(".reduce_type");
130 if(data.reduceTypeList){ 134 if(data.reduceTypeList){
131 var ulItem = $("<ul></ul>").appendTo(reduceItem); 135 var ulItem = $("<ul></ul>").appendTo(reduceItem);
132 - var ulItem2 = $("<ul></ul>").appendTo(reduceItem);  
133 ulItem.html(""); 136 ulItem.html("");
  137 + $("<span></span>").text("官网减缓:").appendTo(ulItem);
134 $.each(data.reduceTypeList,function(i,rt){ 138 $.each(data.reduceTypeList,function(i,rt){
135 var reduceTypeLi = $("<li onclick=setReduceType("+rt.id+",this)></li>").text(rt.title).attr("name",rt.name).attr("data",rt.id).appendTo(ulItem); 139 var reduceTypeLi = $("<li onclick=setReduceType("+rt.id+",this)></li>").text(rt.title).attr("name",rt.name).attr("data",rt.id).appendTo(ulItem);
136 if(i==0){ 140 if(i==0){
137 reduceTypeLi.css("background","#1287cd"); 141 reduceTypeLi.css("background","#1287cd");
  142 + reduceTypeLi.css("color","#fff");
138 reduceItem.hide(); 143 reduceItem.hide();
139 } 144 }
140 if(i==0&&rt.description!=null){ 145 if(i==0&&rt.description!=null){
141 - $("<li></li>").text(rt.description).appendTo(ulItem2); 146 + $("<p></p>").text(rt.description).appendTo(reduceItem);
142 } 147 }
143 }); 148 });
144 } 149 }
@@ -173,7 +178,12 @@ @@ -173,7 +178,12 @@
173 } 178 }
174 }); 179 });
175 } 180 }
176 - 181 + function setClickStyle(that){
  182 + $(that.parentNode.childNodes).not("span").css("background","#efefef")
  183 + $(that.parentNode.childNodes).css("color","#646464")
  184 + $(that).css("background","#1287cd");
  185 + $(that).css("color","#fff");
  186 + }
177 /*** 187 /***
178 * caseType_description 188 * caseType_description
179 * @param id 189 * @param id
@@ -187,10 +197,9 @@ @@ -187,10 +197,9 @@
187 }); 197 });
188 //设置case类型 198 //设置case类型
189 selectTypeFlag['caseType']=$(that).attr("name"); 199 selectTypeFlag['caseType']=$(that).attr("name");
190 - $(that.parentNode.childNodes).css("background","#fff")  
191 - $(that).css("background","#1287cd"); 200 + setClickStyle(that);
192 //设置描述 201 //设置描述
193 - var descLi = that.parentNode.nextSibling.firstChild; 202 + var descLi = that.parentNode.nextSibling;
194 $(descLi).text(description); 203 $(descLi).text(description);
195 loadExpense(); 204 loadExpense();
196 } 205 }
@@ -207,10 +216,9 @@ @@ -207,10 +216,9 @@
207 }); 216 });
208 //设置service类型 217 //设置service类型
209 selectTypeFlag['serviceType']=$(that).attr("name"); 218 selectTypeFlag['serviceType']=$(that).attr("name");
210 - $(that.parentNode.childNodes).css("background","#fff")  
211 - $(that).css("background","#1287cd"); 219 + setClickStyle(that);
212 //设置描述 220 //设置描述
213 - var descLi = that.parentNode.nextSibling.firstChild; 221 + var descLi = that.parentNode.nextSibling;
214 $(descLi).text(description); 222 $(descLi).text(description);
215 loadExpense(); 223 loadExpense();
216 } 224 }
@@ -218,14 +226,12 @@ @@ -218,14 +226,12 @@
218 function setPayType(id,that){ 226 function setPayType(id,that){
219 if(id==1){ 227 if(id==1){
220 //设置not_paid类型 228 //设置not_paid类型
221 - $(that.parentNode.childNodes).css("background","#fff")  
222 - $(that).css("background","#1287cd"); 229 + setClickStyle(that);
223 $(".reduce_type").hide(); 230 $(".reduce_type").hide();
224 selectTypeFlag['reduceType']=null; 231 selectTypeFlag['reduceType']=null;
225 }else{ 232 }else{
226 //设置paid类型 233 //设置paid类型
227 - $(that.parentNode.childNodes).css("background","#fff")  
228 - $(that).css("background","#1287cd"); 234 + setClickStyle(that);
229 $(".reduce_type").show(); 235 $(".reduce_type").show();
230 selectTypeFlag['reduceType']=$("[name=P85]").attr("name"); 236 selectTypeFlag['reduceType']=$("[name=P85]").attr("name");
231 } 237 }
@@ -234,8 +240,7 @@ @@ -234,8 +240,7 @@
234 } 240 }
235 241
236 function setReduceType(id,that){ 242 function setReduceType(id,that){
237 - $(that.parentNode.childNodes).css("background","#fff")  
238 - $(that).css("background","#1287cd"); 243 + setClickStyle(that);
239 selectTypeFlag['reduceType']=$(that).attr("name"); 244 selectTypeFlag['reduceType']=$(that).attr("name");
240 loadExpense(); 245 loadExpense();
241 } 246 }
@@ -253,7 +258,7 @@ @@ -253,7 +258,7 @@
253 reduceType:selectTypeFlag['reduceType'] 258 reduceType:selectTypeFlag['reduceType']
254 }, 259 },
255 success:function(res){ 260 success:function(res){
256 - $(".expense").text(res.data); 261 + $(".expense").text("¥"+res.data);
257 selectTypeFlag['expense']=res.data; 262 selectTypeFlag['expense']=res.data;
258 }, 263 },
259 error:function(err){ 264 error:function(err){
@@ -302,4 +307,8 @@ @@ -302,4 +307,8 @@
302 $("form#submit_form").submit(); 307 $("form#submit_form").submit();
303 308
304 } 309 }
  310 +
  311 + $.each(border_color,function(i,obj){
  312 + obj.css("background","#1287cd");
  313 + });
305 </script> 314 </script>
target/patent/css/home.css
@@ -52,13 +52,53 @@ li { @@ -52,13 +52,53 @@ li {
52 52
53 .home-wrap>div>div{ 53 .home-wrap>div>div{
54 overflow: hidden; 54 overflow: hidden;
  55 + margin-top:20px;
55 } 56 }
56 57
57 .home-wrap>div>div ul{ 58 .home-wrap>div>div ul{
58 overflow: hidden; 59 overflow: hidden;
59 } 60 }
60 61
  62 +.home-wrap>div>div ul span {
  63 + float: left;
  64 + width: 80px;
  65 + height: 40px;
  66 + line-height: 40px;
  67 + font-size: 16px;
  68 + margin-right: 10px;
  69 + text-align: center;
  70 +}
  71 +
61 .home-wrap>div>div ul li{ 72 .home-wrap>div>div ul li{
  73 + font-size:16px;
  74 + height:40px;
  75 + line-height: 40px;
  76 + width: 142px;
62 float: left; 77 float: left;
63 - padding-right: 50px; 78 + margin-right: 20px;
  79 + text-align:center;
  80 + background: #efefef;
  81 + border-radius: 5px;
  82 +}
  83 +
  84 +.home-wrap>div>div p{
  85 + font-size: 16px;
  86 + color: #1287cd;
  87 + padding-left: 100px;
  88 +}
  89 +
  90 +.expense{
  91 + color:#f78e5b;
  92 + font-size: 16px;
  93 +}
  94 +
  95 +.submit_case{
  96 + width: 142px;
  97 + height: 40px;
  98 + background: #f78e5b;
  99 + border: 0px;
  100 + border-radius: 5px;
  101 + font-size: 16px;
  102 + margin-left: 250px;
  103 + color: white
64 } 104 }
65 \ No newline at end of file 105 \ No newline at end of file
target/patent/home_patent.jsp
@@ -19,23 +19,22 @@ @@ -19,23 +19,22 @@
19 <div class="home-wrap"> 19 <div class="home-wrap">
20 <div> 20 <div>
21 <div class="case_type"> 21 <div class="case_type">
22 - <p></p>  
23 </div> 22 </div>
24 <div class="service_type"> 23 <div class="service_type">
25 - <p></p>  
26 </div> 24 </div>
27 <div class="paid_type"> 25 <div class="paid_type">
28 - <p></p>  
29 </div> 26 </div>
30 <div class="reduce_type"> 27 <div class="reduce_type">
31 - <p></p>  
32 </div> 28 </div>
33 <%--<div> 29 <%--<div>
34 <p>数量:<input type="text" style="width: 40px;height: 20px"></p> 30 <p>数量:<input type="text" style="width: 40px;height: 20px"></p>
35 </div>--%> 31 </div>--%>
36 <div> 32 <div>
37 - <span class="expense"></span>  
38 - <%--<button class="submit_case">提交案件</button>--%> 33 + <ul>
  34 + <span>费用合计:</span><span class="expense"></span>
  35 + </ul>
  36 + </div>
  37 + <div>
39 <form style="display: inline" id="submit_form" method="post"> 38 <form style="display: inline" id="submit_form" method="post">
40 <input type="hidden" name="caseType" id="input_ct"> 39 <input type="hidden" name="caseType" id="input_ct">
41 <input type="hidden" name="serviceType" id="input_st"> 40 <input type="hidden" name="serviceType" id="input_st">
@@ -52,6 +51,7 @@ @@ -52,6 +51,7 @@
52 </body> 51 </body>
53 </html> 52 </html>
54 <script> 53 <script>
  54 + var border_color=[];
55 var selectTypeFlag={}; 55 var selectTypeFlag={};
56 var allData; 56 var allData;
57 /*** 57 /***
@@ -70,18 +70,20 @@ @@ -70,18 +70,20 @@
70 var caseItem = $(".case_type"); 70 var caseItem = $(".case_type");
71 if(data.caseTypeList){ 71 if(data.caseTypeList){
72 var ulItem = $("<ul></ul>").appendTo(caseItem); 72 var ulItem = $("<ul></ul>").appendTo(caseItem);
73 - var ulItem2 = $("<ul></ul>").appendTo(caseItem); 73 + //var ulItem2 = $("<ul></ul>").appendTo(caseItem);
74 ulItem.html(""); 74 ulItem.html("");
  75 + $("<span></span>").text("案件类型:").appendTo(ulItem);
75 $.each(data.caseTypeList,function(i,ct){ 76 $.each(data.caseTypeList,function(i,ct){
76 var caseTypeLi = $("<li onclick=setCaseType(\'"+ct.id+"\',this)></li>").text(ct.title).attr("name",ct.name).attr("data",ct.id).appendTo(ulItem); 77 var caseTypeLi = $("<li onclick=setCaseType(\'"+ct.id+"\',this)></li>").text(ct.title).attr("name",ct.name).attr("data",ct.id).appendTo(ulItem);
77 //默认选择 78 //默认选择
78 if(i==0){ 79 if(i==0){
79 caseTypeLi.css("background","#1287cd"); 80 caseTypeLi.css("background","#1287cd");
  81 + caseTypeLi.css("color","#fff");
80 selectTypeFlag['caseType']=ct.name; 82 selectTypeFlag['caseType']=ct.name;
81 } 83 }
82 //描述信息 84 //描述信息
83 if(i==0&&ct.description!=null){ 85 if(i==0&&ct.description!=null){
84 - $("<li></li>").text(ct.description).appendTo(ulItem2); 86 + $("<p></p>").text(ct.description).appendTo(caseItem);
85 } 87 }
86 }); 88 });
87 } 89 }
@@ -90,18 +92,19 @@ @@ -90,18 +92,19 @@
90 var serviceItem = $(".service_type"); 92 var serviceItem = $(".service_type");
91 if(data.serviceTypeList){ 93 if(data.serviceTypeList){
92 var ulItem = $("<ul></ul>").appendTo(serviceItem); 94 var ulItem = $("<ul></ul>").appendTo(serviceItem);
93 - var ulItem2 = $("<ul></ul>").appendTo(serviceItem);  
94 ulItem.html(""); 95 ulItem.html("");
  96 + $("<span></span>").text("服务类型:").appendTo(ulItem);
95 $.each(data.serviceTypeList,function(i,st){ 97 $.each(data.serviceTypeList,function(i,st){
96 var serviceTypeLi = $("<li onclick=setServiceType("+st.id+",this)></li>").text(st.title).attr("name",st.name).attr("data",st.id).appendTo(ulItem); 98 var serviceTypeLi = $("<li onclick=setServiceType("+st.id+",this)></li>").text(st.title).attr("name",st.name).attr("data",st.id).appendTo(ulItem);
97 //默认选择 99 //默认选择
98 if(i==0){ 100 if(i==0){
99 serviceTypeLi.css("background","#1287cd"); 101 serviceTypeLi.css("background","#1287cd");
  102 + serviceTypeLi.css("color","#fff");
100 selectTypeFlag['serviceType']=st.name; 103 selectTypeFlag['serviceType']=st.name;
101 } 104 }
102 //描述信息 105 //描述信息
103 if(i==0&&st.description!=null){ 106 if(i==0&&st.description!=null){
104 - $("<li></li>").text(st.description).appendTo(ulItem2); 107 + $("<p></p>").text(st.description).appendTo(serviceItem);
105 } 108 }
106 }); 109 });
107 } 110 }
@@ -110,18 +113,19 @@ @@ -110,18 +113,19 @@
110 var paidItem = $(".paid_type"); 113 var paidItem = $(".paid_type");
111 if(data.serviceTypeList){ 114 if(data.serviceTypeList){
112 var ulItem = $("<ul></ul>").appendTo(paidItem); 115 var ulItem = $("<ul></ul>").appendTo(paidItem);
113 - var ulItem2 = $("<ul></ul>").appendTo(paidItem);  
114 ulItem.html(""); 116 ulItem.html("");
  117 + $("<span></span>").text("官方缴纳:").appendTo(ulItem);
115 $.each(data.paidTypeList,function(i,pt){ 118 $.each(data.paidTypeList,function(i,pt){
116 var paidTypeLi = $("<li onclick=setPayType("+pt.id+",this)></li>").text(pt.title).attr("name",pt.name).attr("data",pt.id).appendTo(ulItem); 119 var paidTypeLi = $("<li onclick=setPayType("+pt.id+",this)></li>").text(pt.title).attr("name",pt.name).attr("data",pt.id).appendTo(ulItem);
117 //默认选择 120 //默认选择
118 if(i==0){ 121 if(i==0){
119 paidTypeLi.css("background","#1287cd"); 122 paidTypeLi.css("background","#1287cd");
  123 + paidTypeLi.css("color","#fff");
120 selectTypeFlag['paidType']=pt.name; 124 selectTypeFlag['paidType']=pt.name;
121 } 125 }
122 //描述信息 126 //描述信息
123 if(i==0&&pt.description!=null){ 127 if(i==0&&pt.description!=null){
124 - $("<li></li>").text(pt.description).appendTo(ulItem2); 128 + $("<p></p>").text(pt.description).appendTo(paidItem);
125 } 129 }
126 }); 130 });
127 } 131 }
@@ -129,16 +133,17 @@ @@ -129,16 +133,17 @@
129 var reduceItem = $(".reduce_type"); 133 var reduceItem = $(".reduce_type");
130 if(data.reduceTypeList){ 134 if(data.reduceTypeList){
131 var ulItem = $("<ul></ul>").appendTo(reduceItem); 135 var ulItem = $("<ul></ul>").appendTo(reduceItem);
132 - var ulItem2 = $("<ul></ul>").appendTo(reduceItem);  
133 ulItem.html(""); 136 ulItem.html("");
  137 + $("<span></span>").text("官网减缓:").appendTo(ulItem);
134 $.each(data.reduceTypeList,function(i,rt){ 138 $.each(data.reduceTypeList,function(i,rt){
135 var reduceTypeLi = $("<li onclick=setReduceType("+rt.id+",this)></li>").text(rt.title).attr("name",rt.name).attr("data",rt.id).appendTo(ulItem); 139 var reduceTypeLi = $("<li onclick=setReduceType("+rt.id+",this)></li>").text(rt.title).attr("name",rt.name).attr("data",rt.id).appendTo(ulItem);
136 if(i==0){ 140 if(i==0){
137 reduceTypeLi.css("background","#1287cd"); 141 reduceTypeLi.css("background","#1287cd");
  142 + reduceTypeLi.css("color","#fff");
138 reduceItem.hide(); 143 reduceItem.hide();
139 } 144 }
140 if(i==0&&rt.description!=null){ 145 if(i==0&&rt.description!=null){
141 - $("<li></li>").text(rt.description).appendTo(ulItem2); 146 + $("<p></p>").text(rt.description).appendTo(reduceItem);
142 } 147 }
143 }); 148 });
144 } 149 }
@@ -173,7 +178,12 @@ @@ -173,7 +178,12 @@
173 } 178 }
174 }); 179 });
175 } 180 }
176 - 181 + function setClickStyle(that){
  182 + $(that.parentNode.childNodes).not("span").css("background","#efefef")
  183 + $(that.parentNode.childNodes).css("color","#646464")
  184 + $(that).css("background","#1287cd");
  185 + $(that).css("color","#fff");
  186 + }
177 /*** 187 /***
178 * caseType_description 188 * caseType_description
179 * @param id 189 * @param id
@@ -187,10 +197,9 @@ @@ -187,10 +197,9 @@
187 }); 197 });
188 //设置case类型 198 //设置case类型
189 selectTypeFlag['caseType']=$(that).attr("name"); 199 selectTypeFlag['caseType']=$(that).attr("name");
190 - $(that.parentNode.childNodes).css("background","#fff")  
191 - $(that).css("background","#1287cd"); 200 + setClickStyle(that);
192 //设置描述 201 //设置描述
193 - var descLi = that.parentNode.nextSibling.firstChild; 202 + var descLi = that.parentNode.nextSibling;
194 $(descLi).text(description); 203 $(descLi).text(description);
195 loadExpense(); 204 loadExpense();
196 } 205 }
@@ -207,10 +216,9 @@ @@ -207,10 +216,9 @@
207 }); 216 });
208 //设置service类型 217 //设置service类型
209 selectTypeFlag['serviceType']=$(that).attr("name"); 218 selectTypeFlag['serviceType']=$(that).attr("name");
210 - $(that.parentNode.childNodes).css("background","#fff")  
211 - $(that).css("background","#1287cd"); 219 + setClickStyle(that);
212 //设置描述 220 //设置描述
213 - var descLi = that.parentNode.nextSibling.firstChild; 221 + var descLi = that.parentNode.nextSibling;
214 $(descLi).text(description); 222 $(descLi).text(description);
215 loadExpense(); 223 loadExpense();
216 } 224 }
@@ -218,14 +226,12 @@ @@ -218,14 +226,12 @@
218 function setPayType(id,that){ 226 function setPayType(id,that){
219 if(id==1){ 227 if(id==1){
220 //设置not_paid类型 228 //设置not_paid类型
221 - $(that.parentNode.childNodes).css("background","#fff")  
222 - $(that).css("background","#1287cd"); 229 + setClickStyle(that);
223 $(".reduce_type").hide(); 230 $(".reduce_type").hide();
224 selectTypeFlag['reduceType']=null; 231 selectTypeFlag['reduceType']=null;
225 }else{ 232 }else{
226 //设置paid类型 233 //设置paid类型
227 - $(that.parentNode.childNodes).css("background","#fff")  
228 - $(that).css("background","#1287cd"); 234 + setClickStyle(that);
229 $(".reduce_type").show(); 235 $(".reduce_type").show();
230 selectTypeFlag['reduceType']=$("[name=P85]").attr("name"); 236 selectTypeFlag['reduceType']=$("[name=P85]").attr("name");
231 } 237 }
@@ -234,8 +240,7 @@ @@ -234,8 +240,7 @@
234 } 240 }
235 241
236 function setReduceType(id,that){ 242 function setReduceType(id,that){
237 - $(that.parentNode.childNodes).css("background","#fff")  
238 - $(that).css("background","#1287cd"); 243 + setClickStyle(that);
239 selectTypeFlag['reduceType']=$(that).attr("name"); 244 selectTypeFlag['reduceType']=$(that).attr("name");
240 loadExpense(); 245 loadExpense();
241 } 246 }
@@ -253,7 +258,7 @@ @@ -253,7 +258,7 @@
253 reduceType:selectTypeFlag['reduceType'] 258 reduceType:selectTypeFlag['reduceType']
254 }, 259 },
255 success:function(res){ 260 success:function(res){
256 - $(".expense").text(res.data); 261 + $(".expense").text("¥"+res.data);
257 selectTypeFlag['expense']=res.data; 262 selectTypeFlag['expense']=res.data;
258 }, 263 },
259 error:function(err){ 264 error:function(err){
@@ -302,4 +307,8 @@ @@ -302,4 +307,8 @@
302 $("form#submit_form").submit(); 307 $("form#submit_form").submit();
303 308
304 } 309 }
  310 +
  311 + $.each(border_color,function(i,obj){
  312 + obj.css("background","#1287cd");
  313 + });
305 </script> 314 </script>