Commit 0e7694da5a1b1295d931f2cd27ce1e13c2bff6c6
1 parent
bf2c591d
国内专利页面完善
Showing
5 changed files
with
205 additions
and
246 deletions
.idea/workspace.xml
... | ... | @@ -2,7 +2,8 @@ |
2 | 2 | <project version="4"> |
3 | 3 | <component name="ChangeListManager"> |
4 | 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 | 7 | </list> |
7 | 8 | <ignored path="patent.iws" /> |
8 | 9 | <ignored path=".idea/workspace.xml" /> |
... | ... | @@ -25,61 +26,21 @@ |
25 | 26 | </component> |
26 | 27 | <component name="FileEditorManager"> |
27 | 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 | 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 | 34 | <folding /> |
34 | 35 | </state> |
35 | 36 | </provider> |
36 | 37 | </entry> |
37 | 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 | 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 | 44 | <folding /> |
84 | 45 | </state> |
85 | 46 | </provider> |
... | ... | @@ -111,7 +72,6 @@ |
111 | 72 | <list> |
112 | 73 | <option value="$PROJECT_DIR$/src/main/webapp/include/footer.jsp" /> |
113 | 74 | <option value="$PROJECT_DIR$/src/main/webapp/case-manage.jsp" /> |
114 | - <option value="$PROJECT_DIR$/src/main/webapp/css/home.css" /> | |
115 | 75 | <option value="$PROJECT_DIR$/src/main/java/com/canrd/patent/dal/enums/PaidTypeEnum.java" /> |
116 | 76 | <option value="$PROJECT_DIR$/src/main/java/com/canrd/patent/dal/dto/HomePatentTypeOutputDto.java" /> |
117 | 77 | <option value="$PROJECT_DIR$/src/main/java/com/canrd/patent/common/utils/TextUtils.java" /> |
... | ... | @@ -125,7 +85,6 @@ |
125 | 85 | <option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/springmvc-servlet.xml" /> |
126 | 86 | <option value="$PROJECT_DIR$/doc/manual/开发规范.txt" /> |
127 | 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 | 88 | <option value="$PROJECT_DIR$/src/main/java/com/canrd/patent/web/HomePatentDataController.java" /> |
130 | 89 | <option value="$PROJECT_DIR$/src/main/java/com/canrd/patent/web/CasementDataController.java" /> |
131 | 90 | <option value="$PROJECT_DIR$/src/main/java/com/canrd/patent/web/PaymentDataController.java" /> |
... | ... | @@ -160,6 +119,8 @@ |
160 | 119 | <option value="$PROJECT_DIR$/src/main/webapp/css/case-manage.css" /> |
161 | 120 | <option value="$PROJECT_DIR$/doc/sql/ddl.sql" /> |
162 | 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 | 124 | </list> |
164 | 125 | </option> |
165 | 126 | </component> |
... | ... | @@ -242,10 +203,9 @@ |
242 | 203 | <order /> |
243 | 204 | </component> |
244 | 205 | <component name="ProjectFrameBounds"> |
245 | - <option name="x" value="1280" /> | |
246 | 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 | 209 | </component> |
250 | 210 | <component name="ProjectLevelVcsManager" settingsEditedManually="false"> |
251 | 211 | <OptionsSetting value="true" id="Add" /> |
... | ... | @@ -271,7 +231,6 @@ |
271 | 231 | </navigator> |
272 | 232 | <panes> |
273 | 233 | <pane id="Scratches" /> |
274 | - <pane id="Scope" /> | |
275 | 234 | <pane id="ProjectPane"> |
276 | 235 | <subPane> |
277 | 236 | <PATH> |
... | ... | @@ -343,111 +302,10 @@ |
343 | 302 | <option name="myItemId" value="main" /> |
344 | 303 | <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> |
345 | 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 | 305 | </PATH> |
449 | 306 | </subPane> |
450 | 307 | </pane> |
308 | + <pane id="Scope" /> | |
451 | 309 | <pane id="PackagesPane" /> |
452 | 310 | </panes> |
453 | 311 | </component> |
... | ... | @@ -938,14 +796,15 @@ |
938 | 796 | <workItem from="1469243959439" duration="3683000" /> |
939 | 797 | <workItem from="1469260205882" duration="12837000" /> |
940 | 798 | <workItem from="1469585749367" duration="1353000" /> |
799 | + <workItem from="1469889447244" duration="6184000" /> | |
941 | 800 | </task> |
942 | 801 | <servers /> |
943 | 802 | </component> |
944 | 803 | <component name="TimeTrackingManager"> |
945 | - <option name="totallyTimeSpent" value="95728000" /> | |
804 | + <option name="totallyTimeSpent" value="101912000" /> | |
946 | 805 | </component> |
947 | 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 | 808 | <editor active="true" /> |
950 | 809 | <layout> |
951 | 810 | <window_info id="Palette	" 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 864 | </layout-to-restore> |
... | ... | @@ -1300,20 +1159,6 @@ |
1300 | 1159 | <state /> |
1301 | 1160 | </provider> |
1302 | 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 | 1162 | <entry file="file://$PROJECT_DIR$/src/main/webapp/originImg/hot.png"> |
1318 | 1163 | <provider selected="true" editor-type-id="images"> |
1319 | 1164 | <state /> |
... | ... | @@ -1344,7 +1189,7 @@ |
1344 | 1189 | </entry> |
1345 | 1190 | <entry file="file://$PROJECT_DIR$/doc/sql/ddl.sql"> |
1346 | 1191 | <provider selected="true" editor-type-id="text-editor"> |
1347 | - <state vertical-scroll-proportion="-0.5555556"> | |
1192 | + <state vertical-scroll-proportion="0.0"> | |
1348 | 1193 | <caret line="1" column="0" selection-start-line="1" selection-start-column="0" selection-end-line="1" selection-end-column="0" /> |
1349 | 1194 | <folding /> |
1350 | 1195 | </state> |
... | ... | @@ -1352,7 +1197,7 @@ |
1352 | 1197 | </entry> |
1353 | 1198 | <entry file="file://$PROJECT_DIR$/doc/sql/Untitled.sql"> |
1354 | 1199 | <provider selected="true" editor-type-id="text-editor"> |
1355 | - <state vertical-scroll-proportion="-2.2222223"> | |
1200 | + <state vertical-scroll-proportion="0.0"> | |
1356 | 1201 | <caret line="8" column="39" selection-start-line="8" selection-start-column="39" selection-end-line="8" selection-end-column="39" /> |
1357 | 1202 | <folding /> |
1358 | 1203 | </state> |
... | ... | @@ -1376,11 +1221,27 @@ |
1376 | 1221 | </entry> |
1377 | 1222 | <entry file="file://$PROJECT_DIR$/src/main/webapp/index.jsp"> |
1378 | 1223 | <provider selected="true" editor-type-id="text-editor"> |
1379 | - <state vertical-scroll-proportion="0.18844222"> | |
1224 | + <state vertical-scroll-proportion="0.0"> | |
1380 | 1225 | <caret line="6" column="66" selection-start-line="6" selection-start-column="66" selection-end-line="6" selection-end-column="66" /> |
1381 | 1226 | <folding /> |
1382 | 1227 | </state> |
1383 | 1228 | </provider> |
1384 | 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 | 1246 | </component> |
1386 | 1247 | </project> |
1387 | 1248 | \ No newline at end of file | ... | ... |
src/main/webapp/css/home.css
... | ... | @@ -52,13 +52,53 @@ li { |
52 | 52 | |
53 | 53 | .home-wrap>div>div{ |
54 | 54 | overflow: hidden; |
55 | + margin-top:20px; | |
55 | 56 | } |
56 | 57 | |
57 | 58 | .home-wrap>div>div ul{ |
58 | 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 | 72 | .home-wrap>div>div ul li{ |
73 | + font-size:16px; | |
74 | + height:40px; | |
75 | + line-height: 40px; | |
76 | + width: 142px; | |
62 | 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 | 105 | \ No newline at end of file | ... | ... |
src/main/webapp/home_patent.jsp
... | ... | @@ -19,23 +19,22 @@ |
19 | 19 | <div class="home-wrap"> |
20 | 20 | <div> |
21 | 21 | <div class="case_type"> |
22 | - <p></p> | |
23 | 22 | </div> |
24 | 23 | <div class="service_type"> |
25 | - <p></p> | |
26 | 24 | </div> |
27 | 25 | <div class="paid_type"> |
28 | - <p></p> | |
29 | 26 | </div> |
30 | 27 | <div class="reduce_type"> |
31 | - <p></p> | |
32 | 28 | </div> |
33 | 29 | <%--<div> |
34 | 30 | <p>数量:<input type="text" style="width: 40px;height: 20px"></p> |
35 | 31 | </div>--%> |
36 | 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 | 38 | <form style="display: inline" id="submit_form" method="post"> |
40 | 39 | <input type="hidden" name="caseType" id="input_ct"> |
41 | 40 | <input type="hidden" name="serviceType" id="input_st"> |
... | ... | @@ -52,6 +51,7 @@ |
52 | 51 | </body> |
53 | 52 | </html> |
54 | 53 | <script> |
54 | + var border_color=[]; | |
55 | 55 | var selectTypeFlag={}; |
56 | 56 | var allData; |
57 | 57 | /*** |
... | ... | @@ -70,18 +70,20 @@ |
70 | 70 | var caseItem = $(".case_type"); |
71 | 71 | if(data.caseTypeList){ |
72 | 72 | var ulItem = $("<ul></ul>").appendTo(caseItem); |
73 | - var ulItem2 = $("<ul></ul>").appendTo(caseItem); | |
73 | + //var ulItem2 = $("<ul></ul>").appendTo(caseItem); | |
74 | 74 | ulItem.html(""); |
75 | + $("<span></span>").text("案件类型:").appendTo(ulItem); | |
75 | 76 | $.each(data.caseTypeList,function(i,ct){ |
76 | 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 | 79 | if(i==0){ |
79 | 80 | caseTypeLi.css("background","#1287cd"); |
81 | + caseTypeLi.css("color","#fff"); | |
80 | 82 | selectTypeFlag['caseType']=ct.name; |
81 | 83 | } |
82 | 84 | //描述信息 |
83 | 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 | 92 | var serviceItem = $(".service_type"); |
91 | 93 | if(data.serviceTypeList){ |
92 | 94 | var ulItem = $("<ul></ul>").appendTo(serviceItem); |
93 | - var ulItem2 = $("<ul></ul>").appendTo(serviceItem); | |
94 | 95 | ulItem.html(""); |
96 | + $("<span></span>").text("服务类型:").appendTo(ulItem); | |
95 | 97 | $.each(data.serviceTypeList,function(i,st){ |
96 | 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 | 100 | if(i==0){ |
99 | 101 | serviceTypeLi.css("background","#1287cd"); |
102 | + serviceTypeLi.css("color","#fff"); | |
100 | 103 | selectTypeFlag['serviceType']=st.name; |
101 | 104 | } |
102 | 105 | //描述信息 |
103 | 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 | 113 | var paidItem = $(".paid_type"); |
111 | 114 | if(data.serviceTypeList){ |
112 | 115 | var ulItem = $("<ul></ul>").appendTo(paidItem); |
113 | - var ulItem2 = $("<ul></ul>").appendTo(paidItem); | |
114 | 116 | ulItem.html(""); |
117 | + $("<span></span>").text("官方缴纳:").appendTo(ulItem); | |
115 | 118 | $.each(data.paidTypeList,function(i,pt){ |
116 | 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 | 121 | if(i==0){ |
119 | 122 | paidTypeLi.css("background","#1287cd"); |
123 | + paidTypeLi.css("color","#fff"); | |
120 | 124 | selectTypeFlag['paidType']=pt.name; |
121 | 125 | } |
122 | 126 | //描述信息 |
123 | 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 | 133 | var reduceItem = $(".reduce_type"); |
130 | 134 | if(data.reduceTypeList){ |
131 | 135 | var ulItem = $("<ul></ul>").appendTo(reduceItem); |
132 | - var ulItem2 = $("<ul></ul>").appendTo(reduceItem); | |
133 | 136 | ulItem.html(""); |
137 | + $("<span></span>").text("官网减缓:").appendTo(ulItem); | |
134 | 138 | $.each(data.reduceTypeList,function(i,rt){ |
135 | 139 | var reduceTypeLi = $("<li onclick=setReduceType("+rt.id+",this)></li>").text(rt.title).attr("name",rt.name).attr("data",rt.id).appendTo(ulItem); |
136 | 140 | if(i==0){ |
137 | 141 | reduceTypeLi.css("background","#1287cd"); |
142 | + reduceTypeLi.css("color","#fff"); | |
138 | 143 | reduceItem.hide(); |
139 | 144 | } |
140 | 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 | 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 | 188 | * caseType_description |
179 | 189 | * @param id |
... | ... | @@ -187,10 +197,9 @@ |
187 | 197 | }); |
188 | 198 | //设置case类型 |
189 | 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 | 203 | $(descLi).text(description); |
195 | 204 | loadExpense(); |
196 | 205 | } |
... | ... | @@ -207,10 +216,9 @@ |
207 | 216 | }); |
208 | 217 | //设置service类型 |
209 | 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 | 222 | $(descLi).text(description); |
215 | 223 | loadExpense(); |
216 | 224 | } |
... | ... | @@ -218,14 +226,12 @@ |
218 | 226 | function setPayType(id,that){ |
219 | 227 | if(id==1){ |
220 | 228 | //设置not_paid类型 |
221 | - $(that.parentNode.childNodes).css("background","#fff") | |
222 | - $(that).css("background","#1287cd"); | |
229 | + setClickStyle(that); | |
223 | 230 | $(".reduce_type").hide(); |
224 | 231 | selectTypeFlag['reduceType']=null; |
225 | 232 | }else{ |
226 | 233 | //设置paid类型 |
227 | - $(that.parentNode.childNodes).css("background","#fff") | |
228 | - $(that).css("background","#1287cd"); | |
234 | + setClickStyle(that); | |
229 | 235 | $(".reduce_type").show(); |
230 | 236 | selectTypeFlag['reduceType']=$("[name=P85]").attr("name"); |
231 | 237 | } |
... | ... | @@ -234,8 +240,7 @@ |
234 | 240 | } |
235 | 241 | |
236 | 242 | function setReduceType(id,that){ |
237 | - $(that.parentNode.childNodes).css("background","#fff") | |
238 | - $(that).css("background","#1287cd"); | |
243 | + setClickStyle(that); | |
239 | 244 | selectTypeFlag['reduceType']=$(that).attr("name"); |
240 | 245 | loadExpense(); |
241 | 246 | } |
... | ... | @@ -253,7 +258,7 @@ |
253 | 258 | reduceType:selectTypeFlag['reduceType'] |
254 | 259 | }, |
255 | 260 | success:function(res){ |
256 | - $(".expense").text(res.data); | |
261 | + $(".expense").text("¥"+res.data); | |
257 | 262 | selectTypeFlag['expense']=res.data; |
258 | 263 | }, |
259 | 264 | error:function(err){ |
... | ... | @@ -302,4 +307,8 @@ |
302 | 307 | $("form#submit_form").submit(); |
303 | 308 | |
304 | 309 | } |
310 | + | |
311 | + $.each(border_color,function(i,obj){ | |
312 | + obj.css("background","#1287cd"); | |
313 | + }); | |
305 | 314 | </script> | ... | ... |
target/patent/css/home.css
... | ... | @@ -52,13 +52,53 @@ li { |
52 | 52 | |
53 | 53 | .home-wrap>div>div{ |
54 | 54 | overflow: hidden; |
55 | + margin-top:20px; | |
55 | 56 | } |
56 | 57 | |
57 | 58 | .home-wrap>div>div ul{ |
58 | 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 | 72 | .home-wrap>div>div ul li{ |
73 | + font-size:16px; | |
74 | + height:40px; | |
75 | + line-height: 40px; | |
76 | + width: 142px; | |
62 | 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 | 105 | \ No newline at end of file | ... | ... |
target/patent/home_patent.jsp
... | ... | @@ -19,23 +19,22 @@ |
19 | 19 | <div class="home-wrap"> |
20 | 20 | <div> |
21 | 21 | <div class="case_type"> |
22 | - <p></p> | |
23 | 22 | </div> |
24 | 23 | <div class="service_type"> |
25 | - <p></p> | |
26 | 24 | </div> |
27 | 25 | <div class="paid_type"> |
28 | - <p></p> | |
29 | 26 | </div> |
30 | 27 | <div class="reduce_type"> |
31 | - <p></p> | |
32 | 28 | </div> |
33 | 29 | <%--<div> |
34 | 30 | <p>数量:<input type="text" style="width: 40px;height: 20px"></p> |
35 | 31 | </div>--%> |
36 | 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 | 38 | <form style="display: inline" id="submit_form" method="post"> |
40 | 39 | <input type="hidden" name="caseType" id="input_ct"> |
41 | 40 | <input type="hidden" name="serviceType" id="input_st"> |
... | ... | @@ -52,6 +51,7 @@ |
52 | 51 | </body> |
53 | 52 | </html> |
54 | 53 | <script> |
54 | + var border_color=[]; | |
55 | 55 | var selectTypeFlag={}; |
56 | 56 | var allData; |
57 | 57 | /*** |
... | ... | @@ -70,18 +70,20 @@ |
70 | 70 | var caseItem = $(".case_type"); |
71 | 71 | if(data.caseTypeList){ |
72 | 72 | var ulItem = $("<ul></ul>").appendTo(caseItem); |
73 | - var ulItem2 = $("<ul></ul>").appendTo(caseItem); | |
73 | + //var ulItem2 = $("<ul></ul>").appendTo(caseItem); | |
74 | 74 | ulItem.html(""); |
75 | + $("<span></span>").text("案件类型:").appendTo(ulItem); | |
75 | 76 | $.each(data.caseTypeList,function(i,ct){ |
76 | 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 | 79 | if(i==0){ |
79 | 80 | caseTypeLi.css("background","#1287cd"); |
81 | + caseTypeLi.css("color","#fff"); | |
80 | 82 | selectTypeFlag['caseType']=ct.name; |
81 | 83 | } |
82 | 84 | //描述信息 |
83 | 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 | 92 | var serviceItem = $(".service_type"); |
91 | 93 | if(data.serviceTypeList){ |
92 | 94 | var ulItem = $("<ul></ul>").appendTo(serviceItem); |
93 | - var ulItem2 = $("<ul></ul>").appendTo(serviceItem); | |
94 | 95 | ulItem.html(""); |
96 | + $("<span></span>").text("服务类型:").appendTo(ulItem); | |
95 | 97 | $.each(data.serviceTypeList,function(i,st){ |
96 | 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 | 100 | if(i==0){ |
99 | 101 | serviceTypeLi.css("background","#1287cd"); |
102 | + serviceTypeLi.css("color","#fff"); | |
100 | 103 | selectTypeFlag['serviceType']=st.name; |
101 | 104 | } |
102 | 105 | //描述信息 |
103 | 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 | 113 | var paidItem = $(".paid_type"); |
111 | 114 | if(data.serviceTypeList){ |
112 | 115 | var ulItem = $("<ul></ul>").appendTo(paidItem); |
113 | - var ulItem2 = $("<ul></ul>").appendTo(paidItem); | |
114 | 116 | ulItem.html(""); |
117 | + $("<span></span>").text("官方缴纳:").appendTo(ulItem); | |
115 | 118 | $.each(data.paidTypeList,function(i,pt){ |
116 | 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 | 121 | if(i==0){ |
119 | 122 | paidTypeLi.css("background","#1287cd"); |
123 | + paidTypeLi.css("color","#fff"); | |
120 | 124 | selectTypeFlag['paidType']=pt.name; |
121 | 125 | } |
122 | 126 | //描述信息 |
123 | 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 | 133 | var reduceItem = $(".reduce_type"); |
130 | 134 | if(data.reduceTypeList){ |
131 | 135 | var ulItem = $("<ul></ul>").appendTo(reduceItem); |
132 | - var ulItem2 = $("<ul></ul>").appendTo(reduceItem); | |
133 | 136 | ulItem.html(""); |
137 | + $("<span></span>").text("官网减缓:").appendTo(ulItem); | |
134 | 138 | $.each(data.reduceTypeList,function(i,rt){ |
135 | 139 | var reduceTypeLi = $("<li onclick=setReduceType("+rt.id+",this)></li>").text(rt.title).attr("name",rt.name).attr("data",rt.id).appendTo(ulItem); |
136 | 140 | if(i==0){ |
137 | 141 | reduceTypeLi.css("background","#1287cd"); |
142 | + reduceTypeLi.css("color","#fff"); | |
138 | 143 | reduceItem.hide(); |
139 | 144 | } |
140 | 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 | 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 | 188 | * caseType_description |
179 | 189 | * @param id |
... | ... | @@ -187,10 +197,9 @@ |
187 | 197 | }); |
188 | 198 | //设置case类型 |
189 | 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 | 203 | $(descLi).text(description); |
195 | 204 | loadExpense(); |
196 | 205 | } |
... | ... | @@ -207,10 +216,9 @@ |
207 | 216 | }); |
208 | 217 | //设置service类型 |
209 | 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 | 222 | $(descLi).text(description); |
215 | 223 | loadExpense(); |
216 | 224 | } |
... | ... | @@ -218,14 +226,12 @@ |
218 | 226 | function setPayType(id,that){ |
219 | 227 | if(id==1){ |
220 | 228 | //设置not_paid类型 |
221 | - $(that.parentNode.childNodes).css("background","#fff") | |
222 | - $(that).css("background","#1287cd"); | |
229 | + setClickStyle(that); | |
223 | 230 | $(".reduce_type").hide(); |
224 | 231 | selectTypeFlag['reduceType']=null; |
225 | 232 | }else{ |
226 | 233 | //设置paid类型 |
227 | - $(that.parentNode.childNodes).css("background","#fff") | |
228 | - $(that).css("background","#1287cd"); | |
234 | + setClickStyle(that); | |
229 | 235 | $(".reduce_type").show(); |
230 | 236 | selectTypeFlag['reduceType']=$("[name=P85]").attr("name"); |
231 | 237 | } |
... | ... | @@ -234,8 +240,7 @@ |
234 | 240 | } |
235 | 241 | |
236 | 242 | function setReduceType(id,that){ |
237 | - $(that.parentNode.childNodes).css("background","#fff") | |
238 | - $(that).css("background","#1287cd"); | |
243 | + setClickStyle(that); | |
239 | 244 | selectTypeFlag['reduceType']=$(that).attr("name"); |
240 | 245 | loadExpense(); |
241 | 246 | } |
... | ... | @@ -253,7 +258,7 @@ |
253 | 258 | reduceType:selectTypeFlag['reduceType'] |
254 | 259 | }, |
255 | 260 | success:function(res){ |
256 | - $(".expense").text(res.data); | |
261 | + $(".expense").text("¥"+res.data); | |
257 | 262 | selectTypeFlag['expense']=res.data; |
258 | 263 | }, |
259 | 264 | error:function(err){ |
... | ... | @@ -302,4 +307,8 @@ |
302 | 307 | $("form#submit_form").submit(); |
303 | 308 | |
304 | 309 | } |
310 | + | |
311 | + $.each(border_color,function(i,obj){ | |
312 | + obj.css("background","#1287cd"); | |
313 | + }); | |
305 | 314 | </script> | ... | ... |