正在显示
10 个修改的文件
包含
1426 行增加
和
179 行删除
@@ -2,10 +2,16 @@ | @@ -2,10 +2,16 @@ | ||
2 | <project version="4"> | 2 | <project version="4"> |
3 | <component name="ChangeListManager"> | 3 | <component name="ChangeListManager"> |
4 | <list default="true" id="1ae5f9a6-acdc-475d-863d-ce05e13f7b72" name="Default Changelist" comment=""> | 4 | <list default="true" id="1ae5f9a6-acdc-475d-863d-ce05e13f7b72" name="Default Changelist" comment=""> |
5 | - <change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" /> | 5 | + <change afterPath="$PROJECT_DIR$/js/jquery.combo.select.js" afterDir="false" /> |
6 | <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> | 6 | <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> |
7 | + <change beforePath="$PROJECT_DIR$/css/dksm.css" beforeDir="false" afterPath="$PROJECT_DIR$/css/dksm.css" afterDir="false" /> | ||
7 | <change beforePath="$PROJECT_DIR$/css/dkxq.css" beforeDir="false" afterPath="$PROJECT_DIR$/css/dkxq.css" afterDir="false" /> | 8 | <change beforePath="$PROJECT_DIR$/css/dkxq.css" beforeDir="false" afterPath="$PROJECT_DIR$/css/dkxq.css" afterDir="false" /> |
9 | + <change beforePath="$PROJECT_DIR$/css/index.css" beforeDir="false" afterPath="$PROJECT_DIR$/css/index.css" afterDir="false" /> | ||
10 | + <change beforePath="$PROJECT_DIR$/css/xyjc.css" beforeDir="false" afterPath="$PROJECT_DIR$/css/xyjc.css" afterDir="false" /> | ||
11 | + <change beforePath="$PROJECT_DIR$/html/dksm.html" beforeDir="false" afterPath="$PROJECT_DIR$/html/dksm.html" afterDir="false" /> | ||
8 | <change beforePath="$PROJECT_DIR$/html/dkxq.html" beforeDir="false" afterPath="$PROJECT_DIR$/html/dkxq.html" afterDir="false" /> | 12 | <change beforePath="$PROJECT_DIR$/html/dkxq.html" beforeDir="false" afterPath="$PROJECT_DIR$/html/dkxq.html" afterDir="false" /> |
13 | + <change beforePath="$PROJECT_DIR$/html/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/html/index.html" afterDir="false" /> | ||
14 | + <change beforePath="$PROJECT_DIR$/html/xyjc.html" beforeDir="false" afterPath="$PROJECT_DIR$/html/xyjc.html" afterDir="false" /> | ||
9 | </list> | 15 | </list> |
10 | <ignored path="$PROJECT_DIR$/.tmp/" /> | 16 | <ignored path="$PROJECT_DIR$/.tmp/" /> |
11 | <ignored path="$PROJECT_DIR$/temp/" /> | 17 | <ignored path="$PROJECT_DIR$/temp/" /> |
@@ -54,31 +60,43 @@ | @@ -54,31 +60,43 @@ | ||
54 | <session id="-407721514"> | 60 | <session id="-407721514"> |
55 | <usages-collector id="statistics.lifecycle.project"> | 61 | <usages-collector id="statistics.lifecycle.project"> |
56 | <counts> | 62 | <counts> |
63 | + <entry key="project.closed" value="2" /> | ||
57 | <entry key="project.open.time.0" value="1" /> | 64 | <entry key="project.open.time.0" value="1" /> |
58 | - <entry key="project.opened" value="1" /> | 65 | + <entry key="project.open.time.18" value="1" /> |
66 | + <entry key="project.opened" value="2" /> | ||
59 | </counts> | 67 | </counts> |
60 | </usages-collector> | 68 | </usages-collector> |
61 | <usages-collector id="statistics.file.extensions.edit"> | 69 | <usages-collector id="statistics.file.extensions.edit"> |
62 | <counts> | 70 | <counts> |
63 | - <entry key="css" value="727" /> | ||
64 | - <entry key="html" value="342" /> | 71 | + <entry key="css" value="3215" /> |
72 | + <entry key="html" value="1849" /> | ||
65 | </counts> | 73 | </counts> |
66 | </usages-collector> | 74 | </usages-collector> |
67 | <usages-collector id="statistics.file.types.edit"> | 75 | <usages-collector id="statistics.file.types.edit"> |
68 | <counts> | 76 | <counts> |
69 | - <entry key="CSS" value="727" /> | ||
70 | - <entry key="HTML" value="342" /> | 77 | + <entry key="CSS" value="3215" /> |
78 | + <entry key="HTML" value="1849" /> | ||
79 | + </counts> | ||
80 | + </usages-collector> | ||
81 | + <usages-collector id="statistics.file.extensions.open"> | ||
82 | + <counts> | ||
83 | + <entry key="js" value="1" /> | ||
84 | + </counts> | ||
85 | + </usages-collector> | ||
86 | + <usages-collector id="statistics.file.types.open"> | ||
87 | + <counts> | ||
88 | + <entry key="JavaScript" value="1" /> | ||
71 | </counts> | 89 | </counts> |
72 | </usages-collector> | 90 | </usages-collector> |
73 | </session> | 91 | </session> |
74 | </component> | 92 | </component> |
75 | <component name="FileEditorManager"> | 93 | <component name="FileEditorManager"> |
76 | <leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> | 94 | <leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> |
77 | - <file pinned="false" current-in-tab="false"> | 95 | + <file pinned="false" current-in-tab="true"> |
78 | <entry file="file://$PROJECT_DIR$/html/xyjc.html"> | 96 | <entry file="file://$PROJECT_DIR$/html/xyjc.html"> |
79 | <provider selected="true" editor-type-id="text-editor"> | 97 | <provider selected="true" editor-type-id="text-editor"> |
80 | - <state relative-caret-position="196"> | ||
81 | - <caret line="13" column="22" lean-forward="true" selection-start-line="13" selection-start-column="22" selection-end-line="13" selection-end-column="22" /> | 98 | + <state relative-caret-position="247"> |
99 | + <caret line="29" column="25" lean-forward="true" selection-start-line="29" selection-start-column="25" selection-end-line="29" selection-end-column="25" /> | ||
82 | <folding> | 100 | <folding> |
83 | <element signature="n#div#1;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 101 | <element signature="n#div#1;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
84 | </folding> | 102 | </folding> |
@@ -89,8 +107,8 @@ | @@ -89,8 +107,8 @@ | ||
89 | <file pinned="false" current-in-tab="false"> | 107 | <file pinned="false" current-in-tab="false"> |
90 | <entry file="file://$PROJECT_DIR$/css/xyjc.css"> | 108 | <entry file="file://$PROJECT_DIR$/css/xyjc.css"> |
91 | <provider selected="true" editor-type-id="text-editor"> | 109 | <provider selected="true" editor-type-id="text-editor"> |
92 | - <state relative-caret-position="324"> | ||
93 | - <caret line="12" column="18" selection-end-line="58" /> | 110 | + <state relative-caret-position="311"> |
111 | + <caret line="51" column="28" selection-start-line="51" selection-start-column="28" selection-end-line="51" selection-end-column="28" /> | ||
94 | </state> | 112 | </state> |
95 | </provider> | 113 | </provider> |
96 | </entry> | 114 | </entry> |
@@ -98,8 +116,8 @@ | @@ -98,8 +116,8 @@ | ||
98 | <file pinned="false" current-in-tab="false"> | 116 | <file pinned="false" current-in-tab="false"> |
99 | <entry file="file://$PROJECT_DIR$/css/dksm.css"> | 117 | <entry file="file://$PROJECT_DIR$/css/dksm.css"> |
100 | <provider selected="true" editor-type-id="text-editor"> | 118 | <provider selected="true" editor-type-id="text-editor"> |
101 | - <state relative-caret-position="27"> | ||
102 | - <caret line="1" selection-start-line="1" selection-end-line="15" selection-end-column="1" /> | 119 | + <state relative-caret-position="162"> |
120 | + <caret line="6" column="12" lean-forward="true" selection-start-line="6" selection-start-column="12" selection-end-line="6" selection-end-column="12" /> | ||
103 | </state> | 121 | </state> |
104 | </provider> | 122 | </provider> |
105 | </entry> | 123 | </entry> |
@@ -107,11 +125,8 @@ | @@ -107,11 +125,8 @@ | ||
107 | <file pinned="false" current-in-tab="false"> | 125 | <file pinned="false" current-in-tab="false"> |
108 | <entry file="file://$PROJECT_DIR$/html/dksm.html"> | 126 | <entry file="file://$PROJECT_DIR$/html/dksm.html"> |
109 | <provider selected="true" editor-type-id="text-editor"> | 127 | <provider selected="true" editor-type-id="text-editor"> |
110 | - <state relative-caret-position="162"> | ||
111 | - <caret line="18" column="14" lean-forward="true" selection-start-line="18" selection-start-column="14" selection-end-line="18" selection-end-column="14" /> | ||
112 | - <folding> | ||
113 | - <element signature="n#div#1;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
114 | - </folding> | 128 | + <state relative-caret-position="137"> |
129 | + <caret line="23" column="49" lean-forward="true" selection-start-line="23" selection-start-column="49" selection-end-line="23" selection-end-column="49" /> | ||
115 | </state> | 130 | </state> |
116 | </provider> | 131 | </provider> |
117 | </entry> | 132 | </entry> |
@@ -119,19 +134,26 @@ | @@ -119,19 +134,26 @@ | ||
119 | <file pinned="false" current-in-tab="false"> | 134 | <file pinned="false" current-in-tab="false"> |
120 | <entry file="file://$PROJECT_DIR$/html/index.html"> | 135 | <entry file="file://$PROJECT_DIR$/html/index.html"> |
121 | <provider selected="true" editor-type-id="text-editor"> | 136 | <provider selected="true" editor-type-id="text-editor"> |
122 | - <state relative-caret-position="81"> | ||
123 | - <caret line="30" column="26" lean-forward="true" selection-start-line="30" selection-start-column="26" selection-end-line="30" selection-end-column="26" /> | 137 | + <state relative-caret-position="162"> |
138 | + <caret line="92" column="22" lean-forward="true" selection-start-line="92" selection-start-column="22" selection-end-line="92" selection-end-column="22" /> | ||
124 | <folding> | 139 | <folding> |
125 | <element signature="n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 140 | <element signature="n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
126 | <element signature="n#div#0;n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 141 | <element signature="n#div#0;n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
127 | <element signature="n#div#1;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 142 | <element signature="n#div#1;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
128 | - <element signature="n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
129 | - <element signature="n#div#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 143 | + <element signature="n#div#0;n#div#1;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
144 | + <element signature="n#div#1;n#div#1;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
130 | <element signature="n#div#1;n#div#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 145 | <element signature="n#div#1;n#div#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
131 | - <element signature="n#div#2;n#div#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
132 | <element signature="n#div#0;n#div#2;n#div#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 146 | <element signature="n#div#0;n#div#2;n#div#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
133 | <element signature="n#div#3;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 147 | <element signature="n#div#3;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
134 | <element signature="n#div#4;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 148 | <element signature="n#div#4;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
149 | + <element signature="n#div#0;n#div#4;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
150 | + <element signature="n#div#0;n#div#0;n#div#4;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
151 | + <element signature="n#div#1;n#div#0;n#div#4;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
152 | + <element signature="n#div#2;n#div#4;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
153 | + <element signature="n#div#0;n#div#2;n#div#4;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
154 | + <element signature="n#div#1;n#div#2;n#div#4;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
155 | + <element signature="n#div#5;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
156 | + <element signature="n#div#6;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
135 | </folding> | 157 | </folding> |
136 | </state> | 158 | </state> |
137 | </provider> | 159 | </provider> |
@@ -140,42 +162,42 @@ | @@ -140,42 +162,42 @@ | ||
140 | <file pinned="false" current-in-tab="false"> | 162 | <file pinned="false" current-in-tab="false"> |
141 | <entry file="file://$PROJECT_DIR$/css/index.css"> | 163 | <entry file="file://$PROJECT_DIR$/css/index.css"> |
142 | <provider selected="true" editor-type-id="text-editor"> | 164 | <provider selected="true" editor-type-id="text-editor"> |
143 | - <state relative-caret-position="-59"> | ||
144 | - <caret line="180" column="24" selection-start-line="180" selection-start-column="24" selection-end-line="180" selection-end-column="24" /> | 165 | + <state relative-caret-position="166"> |
166 | + <caret line="141" column="42" lean-forward="true" selection-start-line="141" selection-start-column="42" selection-end-line="141" selection-end-column="42" /> | ||
145 | </state> | 167 | </state> |
146 | </provider> | 168 | </provider> |
147 | </entry> | 169 | </entry> |
148 | </file> | 170 | </file> |
149 | - <file pinned="false" current-in-tab="true"> | 171 | + <file pinned="false" current-in-tab="false"> |
150 | <entry file="file://$PROJECT_DIR$/html/dkxq.html"> | 172 | <entry file="file://$PROJECT_DIR$/html/dkxq.html"> |
151 | <provider selected="true" editor-type-id="text-editor"> | 173 | <provider selected="true" editor-type-id="text-editor"> |
152 | - <state relative-caret-position="396"> | ||
153 | - <caret line="60" column="14" lean-forward="true" selection-start-line="60" selection-start-column="14" selection-end-line="60" selection-end-column="14" /> | 174 | + <state relative-caret-position="135"> |
175 | + <caret line="44" column="60" selection-start-line="44" selection-start-column="45" selection-end-line="44" selection-end-column="60" /> | ||
154 | <folding> | 176 | <folding> |
155 | <element signature="n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 177 | <element signature="n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
156 | <element signature="n#div#0;n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 178 | <element signature="n#div#0;n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
157 | <element signature="n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 179 | <element signature="n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
180 | + <element signature="n#div#3;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
158 | <element signature="n#div#0;n#div#3;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 181 | <element signature="n#div#0;n#div#3;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
159 | <element signature="n#div#0;n#div#0;n#div#3;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 182 | <element signature="n#div#0;n#div#0;n#div#3;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
183 | + <element signature="n#div#1;n#div#3;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
184 | + <element signature="n#div#0;n#div#1;n#div#3;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
185 | + <element signature="n#div#2;n#div#3;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
160 | </folding> | 186 | </folding> |
161 | </state> | 187 | </state> |
162 | </provider> | 188 | </provider> |
163 | </entry> | 189 | </entry> |
164 | </file> | 190 | </file> |
165 | <file pinned="false" current-in-tab="false"> | 191 | <file pinned="false" current-in-tab="false"> |
166 | - <entry file="file://$PROJECT_DIR$/css/dkxq.css"> | ||
167 | - <provider selected="true" editor-type-id="text-editor"> | ||
168 | - <state relative-caret-position="225"> | ||
169 | - <caret line="104" column="18" lean-forward="true" selection-start-line="104" selection-start-column="18" selection-end-line="104" selection-end-column="18" /> | ||
170 | - </state> | ||
171 | - </provider> | 192 | + <entry file="file://$PROJECT_DIR$/js/jquery.combo.select.js"> |
193 | + <provider selected="true" editor-type-id="text-editor" /> | ||
172 | </entry> | 194 | </entry> |
173 | </file> | 195 | </file> |
174 | <file pinned="false" current-in-tab="false"> | 196 | <file pinned="false" current-in-tab="false"> |
175 | - <entry file="file://$PROJECT_DIR$/js/jquery.min.js"> | 197 | + <entry file="file://$PROJECT_DIR$/css/dkxq.css"> |
176 | <provider selected="true" editor-type-id="text-editor"> | 198 | <provider selected="true" editor-type-id="text-editor"> |
177 | - <state relative-caret-position="3456"> | ||
178 | - <caret line="128" column="26" selection-start-line="128" selection-start-column="26" selection-end-line="128" selection-end-column="26" /> | 199 | + <state relative-caret-position="247"> |
200 | + <caret line="81" column="4" selection-start-line="81" selection-start-column="4" selection-end-line="83" selection-end-column="21" /> | ||
179 | </state> | 201 | </state> |
180 | </provider> | 202 | </provider> |
181 | </entry> | 203 | </entry> |
@@ -197,8 +219,26 @@ | @@ -197,8 +219,26 @@ | ||
197 | </component> | 219 | </component> |
198 | <component name="FindInProjectRecents"> | 220 | <component name="FindInProjectRecents"> |
199 | <findStrings> | 221 | <findStrings> |
222 | + <find>today</find> | ||
223 | + <find>mid_loans_top</find> | ||
224 | + <find>mid_loans_box_bottom_text</find> | ||
225 | + <find>mid_loans_box_bottom</find> | ||
226 | + <find>mid_loans</find> | ||
200 | <find>mid_today</find> | 227 | <find>mid_today</find> |
228 | + <find>box_bottom</find> | ||
229 | + <find>.mid_loans_box</find> | ||
230 | + <find>link</find> | ||
231 | + <find>apply</find> | ||
232 | + <find>apply_name</find> | ||
233 | + <find>apply_box</find> | ||
234 | + <find>url</find> | ||
201 | <find>limit_box</find> | 235 | <find>limit_box</find> |
236 | + <find>top_text</find> | ||
237 | + <find>mid_loans_box</find> | ||
238 | + <find>limit</find> | ||
239 | + <find>limit_box_top</find> | ||
240 | + <find>bottom_box</find> | ||
241 | + <find>mid_</find> | ||
202 | </findStrings> | 242 | </findStrings> |
203 | </component> | 243 | </component> |
204 | <component name="Git.Settings"> | 244 | <component name="Git.Settings"> |
@@ -207,14 +247,14 @@ | @@ -207,14 +247,14 @@ | ||
207 | <component name="IdeDocumentHistory"> | 247 | <component name="IdeDocumentHistory"> |
208 | <option name="CHANGED_PATHS"> | 248 | <option name="CHANGED_PATHS"> |
209 | <list> | 249 | <list> |
210 | - <option value="$PROJECT_DIR$/css/xyjc.css" /> | ||
211 | <option value="$PROJECT_DIR$/css/dksm.css" /> | 250 | <option value="$PROJECT_DIR$/css/dksm.css" /> |
212 | - <option value="$PROJECT_DIR$/html/xyjc.html" /> | ||
213 | - <option value="$PROJECT_DIR$/html/dksm.html" /> | ||
214 | - <option value="$PROJECT_DIR$/html/index.html" /> | ||
215 | <option value="$PROJECT_DIR$/css/index.css" /> | 251 | <option value="$PROJECT_DIR$/css/index.css" /> |
216 | - <option value="$PROJECT_DIR$/css/dkxq.css" /> | 252 | + <option value="$PROJECT_DIR$/html/dksm.html" /> |
217 | <option value="$PROJECT_DIR$/html/dkxq.html" /> | 253 | <option value="$PROJECT_DIR$/html/dkxq.html" /> |
254 | + <option value="$PROJECT_DIR$/css/dkxq.css" /> | ||
255 | + <option value="$PROJECT_DIR$/css/xyjc.css" /> | ||
256 | + <option value="$PROJECT_DIR$/html/xyjc.html" /> | ||
257 | + <option value="$PROJECT_DIR$/html/index.html" /> | ||
218 | </list> | 258 | </list> |
219 | </option> | 259 | </option> |
220 | </component> | 260 | </component> |
@@ -225,16 +265,17 @@ | @@ -225,16 +265,17 @@ | ||
225 | <sorting>DEFINITION_ORDER</sorting> | 265 | <sorting>DEFINITION_ORDER</sorting> |
226 | </component> | 266 | </component> |
227 | <component name="ProjectFrameBounds"> | 267 | <component name="ProjectFrameBounds"> |
228 | - <option name="x" value="954" /> | ||
229 | - <option name="y" value="173" /> | ||
230 | - <option name="width" value="1154" /> | ||
231 | - <option name="height" value="819" /> | 268 | + <option name="x" value="292" /> |
269 | + <option name="y" value="79" /> | ||
270 | + <option name="width" value="1075" /> | ||
271 | + <option name="height" value="878" /> | ||
232 | </component> | 272 | </component> |
233 | <component name="ProjectView"> | 273 | <component name="ProjectView"> |
234 | <navigator proportions="" version="1"> | 274 | <navigator proportions="" version="1"> |
235 | <foldersAlwaysOnTop value="true" /> | 275 | <foldersAlwaysOnTop value="true" /> |
236 | </navigator> | 276 | </navigator> |
237 | <panes> | 277 | <panes> |
278 | + <pane id="Scope" /> | ||
238 | <pane id="ProjectPane"> | 279 | <pane id="ProjectPane"> |
239 | <subPane> | 280 | <subPane> |
240 | <expand> | 281 | <expand> |
@@ -256,7 +297,6 @@ | @@ -256,7 +297,6 @@ | ||
256 | <select /> | 297 | <select /> |
257 | </subPane> | 298 | </subPane> |
258 | </pane> | 299 | </pane> |
259 | - <pane id="Scope" /> | ||
260 | </panes> | 300 | </panes> |
261 | </component> | 301 | </component> |
262 | <component name="PropertiesComponent"> | 302 | <component name="PropertiesComponent"> |
@@ -269,6 +309,7 @@ | @@ -269,6 +309,7 @@ | ||
269 | </component> | 309 | </component> |
270 | <component name="RecentsManager"> | 310 | <component name="RecentsManager"> |
271 | <key name="CopyFile.RECENT_KEYS"> | 311 | <key name="CopyFile.RECENT_KEYS"> |
312 | + <recent name="F:\ljh项目\盛宝财富贷款平台\shengbao\js" /> | ||
272 | <recent name="F:\ljh项目\盛宝财富贷款平台\images" /> | 313 | <recent name="F:\ljh项目\盛宝财富贷款平台\images" /> |
273 | <recent name="F:\ljh项目\盛宝财富贷款平台\js" /> | 314 | <recent name="F:\ljh项目\盛宝财富贷款平台\js" /> |
274 | </key> | 315 | </key> |
@@ -296,18 +337,27 @@ | @@ -296,18 +337,27 @@ | ||
296 | <option name="presentableId" value="Default" /> | 337 | <option name="presentableId" value="Default" /> |
297 | <updated>1547702487075</updated> | 338 | <updated>1547702487075</updated> |
298 | <workItem from="1547702489388" duration="15192000" /> | 339 | <workItem from="1547702489388" duration="15192000" /> |
299 | - <workItem from="1547718617124" duration="4238000" /> | 340 | + <workItem from="1547718617124" duration="4272000" /> |
341 | + <workItem from="1547771777103" duration="22455000" /> | ||
300 | </task> | 342 | </task> |
301 | <servers /> | 343 | <servers /> |
302 | </component> | 344 | </component> |
303 | <component name="TimeTrackingManager"> | 345 | <component name="TimeTrackingManager"> |
304 | - <option name="totallyTimeSpent" value="19430000" /> | 346 | + <option name="totallyTimeSpent" value="41919000" /> |
347 | + </component> | ||
348 | + <component name="TodoView"> | ||
349 | + <todo-panel id="selected-file"> | ||
350 | + <is-autoscroll-to-source value="true" /> | ||
351 | + </todo-panel> | ||
352 | + <todo-panel id="all"> | ||
353 | + <are-packages-shown value="true" /> | ||
354 | + <is-autoscroll-to-source value="true" /> | ||
355 | + </todo-panel> | ||
305 | </component> | 356 | </component> |
306 | <component name="ToolWindowManager"> | 357 | <component name="ToolWindowManager"> |
307 | - <frame x="954" y="173" width="1154" height="819" extended-state="0" /> | ||
308 | - <editor active="true" /> | 358 | + <frame x="292" y="79" width="1075" height="878" extended-state="0" /> |
309 | <layout> | 359 | <layout> |
310 | - <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.16487455" /> | 360 | + <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.2054002" /> |
311 | <window_info id="Structure" order="1" side_tool="true" weight="0.25" /> | 361 | <window_info id="Structure" order="1" side_tool="true" weight="0.25" /> |
312 | <window_info id="Favorites" order="2" side_tool="true" /> | 362 | <window_info id="Favorites" order="2" side_tool="true" /> |
313 | <window_info anchor="bottom" id="Message" order="0" /> | 363 | <window_info anchor="bottom" id="Message" order="0" /> |
@@ -316,10 +366,10 @@ | @@ -316,10 +366,10 @@ | ||
316 | <window_info anchor="bottom" id="Debug" order="3" weight="0.4" /> | 366 | <window_info anchor="bottom" id="Debug" order="3" weight="0.4" /> |
317 | <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" /> | 367 | <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" /> |
318 | <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" /> | 368 | <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" /> |
319 | - <window_info anchor="bottom" id="TODO" order="6" /> | 369 | + <window_info anchor="bottom" id="TODO" order="6" weight="0.32974428" /> |
320 | <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" /> | 370 | <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" /> |
321 | <window_info anchor="bottom" id="Version Control" order="8" /> | 371 | <window_info anchor="bottom" id="Version Control" order="8" /> |
322 | - <window_info anchor="bottom" id="Terminal" order="9" /> | 372 | + <window_info active="true" anchor="bottom" id="Terminal" order="9" visible="true" weight="0.32974428" /> |
323 | <window_info anchor="bottom" id="Event Log" order="10" side_tool="true" /> | 373 | <window_info anchor="bottom" id="Event Log" order="10" side_tool="true" /> |
324 | <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" /> | 374 | <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" /> |
325 | <window_info anchor="right" id="Ant Build" order="1" weight="0.25" /> | 375 | <window_info anchor="right" id="Ant Build" order="1" weight="0.25" /> |
@@ -333,93 +383,104 @@ | @@ -333,93 +383,104 @@ | ||
333 | <option name="myLimit" value="2678400000" /> | 383 | <option name="myLimit" value="2678400000" /> |
334 | </component> | 384 | </component> |
335 | <component name="editorHistoryManager"> | 385 | <component name="editorHistoryManager"> |
336 | - <entry file="file://$PROJECT_DIR$/css/xyjc.css"> | 386 | + <entry file="file://$PROJECT_DIR$/js/jquery.min.js"> |
337 | <provider selected="true" editor-type-id="text-editor"> | 387 | <provider selected="true" editor-type-id="text-editor"> |
338 | - <state relative-caret-position="324"> | ||
339 | - <caret line="12" column="18" selection-end-line="58" /> | 388 | + <state relative-caret-position="3456"> |
389 | + <caret line="128" column="26" selection-start-line="128" selection-start-column="26" selection-end-line="128" selection-end-column="26" /> | ||
340 | </state> | 390 | </state> |
341 | </provider> | 391 | </provider> |
342 | </entry> | 392 | </entry> |
393 | + <entry file="file://$PROJECT_DIR$/js/base.js"> | ||
394 | + <provider selected="true" editor-type-id="text-editor" /> | ||
395 | + </entry> | ||
343 | <entry file="file://$PROJECT_DIR$/css/dksm.css"> | 396 | <entry file="file://$PROJECT_DIR$/css/dksm.css"> |
344 | <provider selected="true" editor-type-id="text-editor"> | 397 | <provider selected="true" editor-type-id="text-editor"> |
345 | - <state relative-caret-position="27"> | ||
346 | - <caret line="1" selection-start-line="1" selection-end-line="15" selection-end-column="1" /> | 398 | + <state relative-caret-position="162"> |
399 | + <caret line="6" column="12" lean-forward="true" selection-start-line="6" selection-start-column="12" selection-end-line="6" selection-end-column="12" /> | ||
347 | </state> | 400 | </state> |
348 | </provider> | 401 | </provider> |
349 | </entry> | 402 | </entry> |
350 | - <entry file="file://$PROJECT_DIR$/js/jquery.min.js"> | 403 | + <entry file="file://$PROJECT_DIR$/js/jquery.combo.select.js"> |
404 | + <provider selected="true" editor-type-id="text-editor" /> | ||
405 | + </entry> | ||
406 | + <entry file="file://$PROJECT_DIR$/css/index.css"> | ||
351 | <provider selected="true" editor-type-id="text-editor"> | 407 | <provider selected="true" editor-type-id="text-editor"> |
352 | - <state relative-caret-position="3456"> | ||
353 | - <caret line="128" column="26" selection-start-line="128" selection-start-column="26" selection-end-line="128" selection-end-column="26" /> | 408 | + <state relative-caret-position="166"> |
409 | + <caret line="141" column="42" lean-forward="true" selection-start-line="141" selection-start-column="42" selection-end-line="141" selection-end-column="42" /> | ||
354 | </state> | 410 | </state> |
355 | </provider> | 411 | </provider> |
356 | </entry> | 412 | </entry> |
357 | - <entry file="file://$PROJECT_DIR$/js/base.js"> | ||
358 | - <provider selected="true" editor-type-id="text-editor" /> | 413 | + <entry file="file://$PROJECT_DIR$/html/dksm.html"> |
414 | + <provider selected="true" editor-type-id="text-editor"> | ||
415 | + <state relative-caret-position="137"> | ||
416 | + <caret line="23" column="49" lean-forward="true" selection-start-line="23" selection-start-column="49" selection-end-line="23" selection-end-column="49" /> | ||
417 | + </state> | ||
418 | + </provider> | ||
359 | </entry> | 419 | </entry> |
360 | - <entry file="file://$PROJECT_DIR$/html/xyjc.html"> | 420 | + <entry file="file://$PROJECT_DIR$/css/dkxq.css"> |
361 | <provider selected="true" editor-type-id="text-editor"> | 421 | <provider selected="true" editor-type-id="text-editor"> |
362 | - <state relative-caret-position="196"> | ||
363 | - <caret line="13" column="22" lean-forward="true" selection-start-line="13" selection-start-column="22" selection-end-line="13" selection-end-column="22" /> | ||
364 | - <folding> | ||
365 | - <element signature="n#div#1;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
366 | - </folding> | 422 | + <state relative-caret-position="247"> |
423 | + <caret line="81" column="4" selection-start-line="81" selection-start-column="4" selection-end-line="83" selection-end-column="21" /> | ||
367 | </state> | 424 | </state> |
368 | </provider> | 425 | </provider> |
369 | </entry> | 426 | </entry> |
370 | - <entry file="file://$PROJECT_DIR$/html/dksm.html"> | 427 | + <entry file="file://$PROJECT_DIR$/css/xyjc.css"> |
371 | <provider selected="true" editor-type-id="text-editor"> | 428 | <provider selected="true" editor-type-id="text-editor"> |
372 | - <state relative-caret-position="162"> | ||
373 | - <caret line="18" column="14" lean-forward="true" selection-start-line="18" selection-start-column="14" selection-end-line="18" selection-end-column="14" /> | 429 | + <state relative-caret-position="311"> |
430 | + <caret line="51" column="28" selection-start-line="51" selection-start-column="28" selection-end-line="51" selection-end-column="28" /> | ||
431 | + </state> | ||
432 | + </provider> | ||
433 | + </entry> | ||
434 | + <entry file="file://$PROJECT_DIR$/html/dkxq.html"> | ||
435 | + <provider selected="true" editor-type-id="text-editor"> | ||
436 | + <state relative-caret-position="135"> | ||
437 | + <caret line="44" column="60" selection-start-line="44" selection-start-column="45" selection-end-line="44" selection-end-column="60" /> | ||
374 | <folding> | 438 | <folding> |
375 | - <element signature="n#div#1;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 439 | + <element signature="n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
440 | + <element signature="n#div#0;n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
441 | + <element signature="n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
442 | + <element signature="n#div#3;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
443 | + <element signature="n#div#0;n#div#3;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
444 | + <element signature="n#div#0;n#div#0;n#div#3;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
445 | + <element signature="n#div#1;n#div#3;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
446 | + <element signature="n#div#0;n#div#1;n#div#3;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
447 | + <element signature="n#div#2;n#div#3;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
376 | </folding> | 448 | </folding> |
377 | </state> | 449 | </state> |
378 | </provider> | 450 | </provider> |
379 | </entry> | 451 | </entry> |
380 | <entry file="file://$PROJECT_DIR$/html/index.html"> | 452 | <entry file="file://$PROJECT_DIR$/html/index.html"> |
381 | <provider selected="true" editor-type-id="text-editor"> | 453 | <provider selected="true" editor-type-id="text-editor"> |
382 | - <state relative-caret-position="81"> | ||
383 | - <caret line="30" column="26" lean-forward="true" selection-start-line="30" selection-start-column="26" selection-end-line="30" selection-end-column="26" /> | 454 | + <state relative-caret-position="162"> |
455 | + <caret line="92" column="22" lean-forward="true" selection-start-line="92" selection-start-column="22" selection-end-line="92" selection-end-column="22" /> | ||
384 | <folding> | 456 | <folding> |
385 | <element signature="n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 457 | <element signature="n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
386 | <element signature="n#div#0;n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 458 | <element signature="n#div#0;n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
387 | <element signature="n#div#1;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 459 | <element signature="n#div#1;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
388 | - <element signature="n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
389 | - <element signature="n#div#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 460 | + <element signature="n#div#0;n#div#1;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
461 | + <element signature="n#div#1;n#div#1;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
390 | <element signature="n#div#1;n#div#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 462 | <element signature="n#div#1;n#div#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
391 | - <element signature="n#div#2;n#div#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
392 | <element signature="n#div#0;n#div#2;n#div#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 463 | <element signature="n#div#0;n#div#2;n#div#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
393 | <element signature="n#div#3;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 464 | <element signature="n#div#3;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
394 | <element signature="n#div#4;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 465 | <element signature="n#div#4;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
466 | + <element signature="n#div#0;n#div#4;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
467 | + <element signature="n#div#0;n#div#0;n#div#4;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
468 | + <element signature="n#div#1;n#div#0;n#div#4;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
469 | + <element signature="n#div#2;n#div#4;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
470 | + <element signature="n#div#0;n#div#2;n#div#4;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
471 | + <element signature="n#div#1;n#div#2;n#div#4;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
472 | + <element signature="n#div#5;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
473 | + <element signature="n#div#6;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
395 | </folding> | 474 | </folding> |
396 | </state> | 475 | </state> |
397 | </provider> | 476 | </provider> |
398 | </entry> | 477 | </entry> |
399 | - <entry file="file://$PROJECT_DIR$/css/index.css"> | ||
400 | - <provider selected="true" editor-type-id="text-editor"> | ||
401 | - <state relative-caret-position="-59"> | ||
402 | - <caret line="180" column="24" selection-start-line="180" selection-start-column="24" selection-end-line="180" selection-end-column="24" /> | ||
403 | - </state> | ||
404 | - </provider> | ||
405 | - </entry> | ||
406 | - <entry file="file://$PROJECT_DIR$/css/dkxq.css"> | ||
407 | - <provider selected="true" editor-type-id="text-editor"> | ||
408 | - <state relative-caret-position="225"> | ||
409 | - <caret line="104" column="18" lean-forward="true" selection-start-line="104" selection-start-column="18" selection-end-line="104" selection-end-column="18" /> | ||
410 | - </state> | ||
411 | - </provider> | ||
412 | - </entry> | ||
413 | - <entry file="file://$PROJECT_DIR$/html/dkxq.html"> | 478 | + <entry file="file://$PROJECT_DIR$/html/xyjc.html"> |
414 | <provider selected="true" editor-type-id="text-editor"> | 479 | <provider selected="true" editor-type-id="text-editor"> |
415 | - <state relative-caret-position="396"> | ||
416 | - <caret line="60" column="14" lean-forward="true" selection-start-line="60" selection-start-column="14" selection-end-line="60" selection-end-column="14" /> | 480 | + <state relative-caret-position="247"> |
481 | + <caret line="29" column="25" lean-forward="true" selection-start-line="29" selection-start-column="25" selection-end-line="29" selection-end-column="25" /> | ||
417 | <folding> | 482 | <folding> |
418 | - <element signature="n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
419 | - <element signature="n#div#0;n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
420 | - <element signature="n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
421 | - <element signature="n#div#0;n#div#3;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | ||
422 | - <element signature="n#div#0;n#div#0;n#div#3;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> | 483 | + <element signature="n#div#1;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" /> |
423 | </folding> | 484 | </folding> |
424 | </state> | 485 | </state> |
425 | </provider> | 486 | </provider> |
@@ -13,6 +13,7 @@ | @@ -13,6 +13,7 @@ | ||
13 | display: flex; | 13 | display: flex; |
14 | flex-flow: column; | 14 | flex-flow: column; |
15 | align-items: center; | 15 | align-items: center; |
16 | + background: #F9F9F9; | ||
16 | } | 17 | } |
17 | .header{ | 18 | .header{ |
18 | width: 6.97rem; | 19 | width: 6.97rem; |
@@ -55,4 +56,24 @@ | @@ -55,4 +56,24 @@ | ||
55 | font-weight: 500; | 56 | font-weight: 500; |
56 | 57 | ||
57 | } | 58 | } |
59 | +.link_left{ | ||
60 | + width: 0.18rem; | ||
61 | + height: 0.66rem; | ||
62 | + display: flex; | ||
63 | + position: absolute; | ||
64 | + bottom: -0.45rem; | ||
65 | + left: 0.29rem; | ||
66 | +} | ||
67 | +.link img{ | ||
68 | + width: 100%; | ||
69 | + height: 100%; | ||
70 | +} | ||
71 | +.link_right{ | ||
72 | + width: 0.18rem; | ||
73 | + height: 0.66rem; | ||
74 | + display: flex; | ||
75 | + position: absolute; | ||
76 | + bottom: -0.45rem; | ||
77 | + right: 0.29rem; | ||
78 | +} | ||
58 | 79 |
@@ -41,14 +41,63 @@ | @@ -41,14 +41,63 @@ | ||
41 | background-color: #ffffff; | 41 | background-color: #ffffff; |
42 | box-shadow: 0 0.07rem 0.1rem 0.01rem rgba(0,0,0,0.08); | 42 | box-shadow: 0 0.07rem 0.1rem 0.01rem rgba(0,0,0,0.08); |
43 | border-radius: 0.16rem; | 43 | border-radius: 0.16rem; |
44 | + display: flex; | ||
45 | + justify-content: center; | ||
44 | } | 46 | } |
45 | .limit_box{ | 47 | .limit_box{ |
46 | width: 4.74rem; | 48 | width: 4.74rem; |
47 | height: 1.61rem; | 49 | height: 1.61rem; |
50 | + box-shadow: 0 0.07rem 0.1rem 0.01rem rgba(0,0,0,0.08); | ||
51 | + border-radius: 0.08rem; | ||
52 | + margin-top: 0.85rem; | ||
53 | + background-color: #fbfbfb; | ||
48 | display: flex; | 54 | display: flex; |
49 | flex-flow: column; | 55 | flex-flow: column; |
50 | - border: 0.01rem solid red ; | ||
51 | - margin: 0.85rem 1.1rem; | 56 | +} |
57 | +.limit_box_top{ | ||
58 | + display: flex; | ||
59 | + height: 0.8rem; | ||
60 | + justify-content: space-around; | ||
61 | + position: relative; | ||
62 | +} | ||
63 | +.limit_box_top_left{ | ||
64 | + font-size: 0.3rem; | ||
65 | + color: #5A441A; | ||
66 | + /*margin-left: 0.2rem;*/ | ||
67 | + /*margin-top: 0.3rem;*/ | ||
68 | +} | ||
69 | +.limit_box_top_right{ | ||
70 | + width: 3rem; | ||
71 | + display: flex; | ||
72 | + /*margin-left: 0.5rem;*/ | ||
73 | +} | ||
74 | +select{ | ||
75 | + width: 100%; | ||
76 | + width: 100%; | ||
77 | + border: none; | ||
78 | + outline: none; | ||
79 | + font-size: 0.3rem; | ||
80 | + color: #5A441A; | ||
81 | + background-color: #fbfbfb; | ||
82 | + -webkit-appearance: none; | ||
83 | + -moz-appearance: none; | ||
84 | + appearance: none; | ||
85 | +} | ||
86 | +select::-ms-expand{ | ||
87 | + display: none; | ||
88 | +} | ||
89 | +.icon-xiajiantou{ | ||
90 | + /*background-color: #DABA6F;*/ | ||
91 | + color: #DABA6F; | ||
92 | + position: absolute; | ||
93 | + top: 0.25rem; | ||
94 | + right: 0.2rem; | ||
95 | +} | ||
96 | +/*下划线*/ | ||
97 | +.limit_box_line{ | ||
98 | + width: 100%; | ||
99 | + height: 0.01rem; | ||
100 | + background-color: #DABA6F; | ||
52 | } | 101 | } |
53 | 102 | ||
54 | .apply{ | 103 | .apply{ |
@@ -64,6 +113,7 @@ | @@ -64,6 +113,7 @@ | ||
64 | color: #585858; | 113 | color: #585858; |
65 | text-align: center; | 114 | text-align: center; |
66 | line-height: 1rem; | 115 | line-height: 1rem; |
116 | + position: relative; | ||
67 | } | 117 | } |
68 | .apply_box{ | 118 | .apply_box{ |
69 | margin-top: 0.22rem; | 119 | margin-top: 0.22rem; |
@@ -73,10 +123,12 @@ | @@ -73,10 +123,12 @@ | ||
73 | box-shadow: 0 0.07rem 0.1rem 0.01rem rgba(0,0,0,0.08); | 123 | box-shadow: 0 0.07rem 0.1rem 0.01rem rgba(0,0,0,0.08); |
74 | border-radius: 0.16rem; | 124 | border-radius: 0.16rem; |
75 | display: flex; | 125 | display: flex; |
126 | + flex-flow: column; | ||
127 | + align-items: center; | ||
76 | justify-content: center; | 128 | justify-content: center; |
77 | } | 129 | } |
78 | .apply_name{ | 130 | .apply_name{ |
79 | - margin-top: 0.48rem; | 131 | + /*margin-top: 0.48rem;*/ |
80 | width: 5rem; | 132 | width: 5rem; |
81 | height: 0.64rem; | 133 | height: 0.64rem; |
82 | border: 0.02rem solid #CCCCCC; | 134 | border: 0.02rem solid #CCCCCC; |
@@ -86,8 +138,8 @@ | @@ -86,8 +138,8 @@ | ||
86 | .apply_name_bg{ | 138 | .apply_name_bg{ |
87 | width: 0.86rem; | 139 | width: 0.86rem; |
88 | height: 0.65rem; | 140 | height: 0.65rem; |
89 | - background-color: red; | ||
90 | - /*background: url("../images/dsfs6@2x.png");*/ | 141 | + /*background-color: red;*/ |
142 | + background: url("../images/bg2_2.png"); | ||
91 | background-size: cover; | 143 | background-size: cover; |
92 | display: flex; | 144 | display: flex; |
93 | align-items: center; | 145 | align-items: center; |
@@ -111,5 +163,47 @@ | @@ -111,5 +163,47 @@ | ||
111 | .m_top{ | 163 | .m_top{ |
112 | margin-top: 0.16rem; | 164 | margin-top: 0.16rem; |
113 | } | 165 | } |
166 | +.apply_toRegister{ | ||
167 | + margin-top: 0.48rem; | ||
168 | + width: 3.8rem; | ||
169 | + height: 0.68rem; | ||
170 | + /*display: flex;*/ | ||
171 | + background: url("../images/ZCxzas4@2x.png"); | ||
172 | + background-size: cover; | ||
173 | + | ||
174 | + font-size: 0.31rem; | ||
175 | + font-weight: bold; | ||
176 | + color: #FFFFFF; | ||
177 | + text-align: center; | ||
178 | + line-height: 0.68rem; | ||
179 | +} | ||
180 | + | ||
181 | + | ||
182 | + | ||
183 | +/*链接图标*/ | ||
184 | +.link_left{ | ||
185 | + width: 0.18rem; | ||
186 | + height: 0.66rem; | ||
187 | + display: flex; | ||
188 | + position: absolute; | ||
189 | + bottom: -0.45rem; | ||
190 | + left: 0.29rem; | ||
191 | +} | ||
192 | +.link_left img{ | ||
193 | + width: 100%; | ||
194 | + height: 100%; | ||
195 | +} | ||
196 | +.link_right{ | ||
197 | + width: 0.18rem; | ||
198 | + height: 0.66rem; | ||
199 | + display: flex; | ||
200 | + position: absolute; | ||
201 | + bottom: -0.45rem; | ||
202 | + right: 0.29rem; | ||
203 | +} | ||
204 | +.link_right img{ | ||
205 | + width: 100%; | ||
206 | + height: 100%; | ||
207 | +} | ||
114 | 208 | ||
115 | 209 |
@@ -7,11 +7,12 @@ | @@ -7,11 +7,12 @@ | ||
7 | } | 7 | } |
8 | .container{ | 8 | .container{ |
9 | width: 100%; | 9 | width: 100%; |
10 | - height: 100%; | 10 | + /*height: 100%;*/ |
11 | line-height: 1; | 11 | line-height: 1; |
12 | display: flex; | 12 | display: flex; |
13 | flex-flow: column; | 13 | flex-flow: column; |
14 | align-items: center; | 14 | align-items: center; |
15 | + background: #F9F9F9; | ||
15 | } | 16 | } |
16 | .top{ | 17 | .top{ |
17 | width: 7.5rem; | 18 | width: 7.5rem; |
@@ -53,8 +54,15 @@ | @@ -53,8 +54,15 @@ | ||
53 | justify-content: center; | 54 | justify-content: center; |
54 | } | 55 | } |
55 | .top_text p{ | 56 | .top_text p{ |
56 | - margin-top: 0.62rem; | 57 | + margin-top: 0.5rem; |
57 | width: 4.48rem; | 58 | width: 4.48rem; |
59 | + line-height: 0.5rem; | ||
60 | + | ||
61 | + text-overflow: ellipsis; | ||
62 | + display: -webkit-box; | ||
63 | + -webkit-box-orient: vertical; | ||
64 | + -webkit-line-clamp: 2; | ||
65 | + overflow: hidden; | ||
58 | } | 66 | } |
59 | .mid_today{ | 67 | .mid_today{ |
60 | margin-top: 0.15rem; | 68 | margin-top: 0.15rem; |
@@ -69,6 +77,7 @@ | @@ -69,6 +77,7 @@ | ||
69 | text-align: center; | 77 | text-align: center; |
70 | line-height: 1rem; | 78 | line-height: 1rem; |
71 | color: #585858; | 79 | color: #585858; |
80 | + position: relative; | ||
72 | } | 81 | } |
73 | .mid_today_menu{ | 82 | .mid_today_menu{ |
74 | margin-top: 0.22rem; | 83 | margin-top: 0.22rem; |
@@ -122,77 +131,146 @@ | @@ -122,77 +131,146 @@ | ||
122 | color: #585858; | 131 | color: #585858; |
123 | text-align: center; | 132 | text-align: center; |
124 | line-height: 0.8rem; | 133 | line-height: 0.8rem; |
134 | + position: relative; | ||
125 | } | 135 | } |
126 | -/*-----秒贷上部分-----*/ | ||
127 | -.mid_loans_top{ | ||
128 | - margin-top: 0.22rem; | ||
129 | - width: 6.97rem; | ||
130 | - height: 0.88rem; | ||
131 | - background: #ffffff; | ||
132 | - box-shadow: 0 0.07rem 0.1rem 0.01rem rgba(0,0,0,0.08); | 136 | +/*-----秒贷框-----*/ |
137 | +.mid_loans_box{ | ||
138 | + /*width: 6.97rem;*/ | ||
139 | + /*height: 2.94rem;*/ | ||
140 | + width: 7.31rem; | ||
141 | + height: 3.28rem; | ||
142 | + background: url("../images/bg_1.png"); | ||
143 | + background-size: cover; | ||
144 | + /*box-shadow: 0 0.07rem 0.1rem 0.01rem rgba(0,0,0,0.08);*/ | ||
133 | border-radius: 0.16rem; | 145 | border-radius: 0.16rem; |
146 | + /*margin-top: 0.12rem;*/ | ||
134 | display: flex; | 147 | display: flex; |
148 | + flex-flow: column; | ||
135 | align-items: center; | 149 | align-items: center; |
150 | + /*margin-top: 0.12rem;*/ | ||
151 | +} | ||
152 | +.fitst_loans{ | ||
153 | + margin-top: 0.12rem; | ||
154 | +} | ||
155 | +.mid_loans_box:last-child{ | ||
156 | + margin-bottom: 2rem; | ||
136 | } | 157 | } |
137 | -.mid_loans_top_left{ | ||
138 | - margin-left: 0.28rem; | 158 | +.mid_loans_box_top{ |
159 | + width: 100%; | ||
160 | + height: 0.88rem; | ||
161 | + display: flex; | ||
162 | + align-items: center; | ||
163 | + margin-left: 1rem; | ||
164 | + margin-top: 0.15rem; | ||
165 | +} | ||
166 | +.mid_loans_box_top_text{ | ||
139 | font-size: 0.28rem; | 167 | font-size: 0.28rem; |
140 | color: #585858; | 168 | color: #585858; |
141 | } | 169 | } |
142 | -.mid_loans_top_right{ | 170 | +.mid_loans_box_top_hot{ |
143 | margin-left: 0.16rem; | 171 | margin-left: 0.16rem; |
144 | width: 1rem; | 172 | width: 1rem; |
145 | height: 0.36rem; | 173 | height: 0.36rem; |
146 | - background: #e8c878; | ||
147 | border-radius: 0.04rem; | 174 | border-radius: 0.04rem; |
148 | - box-shadow: 0 0.07rem 0.1rem 0.01rem rgba(0,0,0,0.08); | ||
149 | font-size: 0.2rem; | 175 | font-size: 0.2rem; |
150 | color: #000000; | 176 | color: #000000; |
177 | + background: #e2c780; | ||
151 | text-align: center; | 178 | text-align: center; |
152 | line-height: 0.36rem; | 179 | line-height: 0.36rem; |
153 | } | 180 | } |
154 | -.mid_loans_bottom{ | ||
155 | - border-top: 1px solid red; | ||
156 | - width: 6.97rem; | ||
157 | - height: 2.05rem; | ||
158 | - background: #ffffff; | ||
159 | - box-shadow: 0 0.07rem 0.1rem 0.01rem rgba(0,0,0,0.08); | ||
160 | - border-radius: 0.16rem; | 181 | +.mid_loans_box_line{ |
182 | + width: 6.43rem; | ||
183 | + margin: 0 0.27rem; | ||
184 | + border: 0.01rem dashed #E1E1E1; | ||
185 | +} | ||
186 | +/*底部盒子*/ | ||
187 | +.mid_loans_box_bottom{ | ||
188 | + margin-top: 0.21rem; | ||
189 | + width: 5.9rem; | ||
190 | + height: 1.6rem; | ||
161 | display: flex; | 191 | display: flex; |
162 | - align-items: center; | 192 | + /*border: 1px solid red;*/ |
163 | } | 193 | } |
164 | -.loans_bottom_left{ | ||
165 | - margin-left: 0.54rem; | 194 | +.mid_loans_box_bottom_pic{ |
166 | width: 1.6rem; | 195 | width: 1.6rem; |
167 | height: 1.6rem; | 196 | height: 1.6rem; |
168 | display: flex; | 197 | display: flex; |
169 | } | 198 | } |
170 | -.loans_bottom_left img{ | 199 | +.mid_loans_box_bottom_pic img{ |
171 | width: 100%; | 200 | width: 100%; |
172 | height: 100%; | 201 | height: 100%; |
173 | } | 202 | } |
174 | -.loans_bottom_right{ | 203 | +.mid_loans_box_bottom_text{ |
204 | + width: 3.6rem; | ||
175 | margin-left: 0.53rem; | 205 | margin-left: 0.53rem; |
176 | - width: 4rem; | ||
177 | - height: 1.6rem; | ||
178 | display: flex; | 206 | display: flex; |
179 | flex-flow: column; | 207 | flex-flow: column; |
180 | font-size: 0.28rem; | 208 | font-size: 0.28rem; |
181 | - line-height: 0.4rem; | 209 | + color: #585858; |
182 | } | 210 | } |
211 | +.mid_loans_box_bottom_text_title{ | ||
212 | + overflow: hidden; | ||
213 | + text-overflow: ellipsis; | ||
214 | + white-space: nowrap; | ||
215 | + /*display: -webkit-box;*/ | ||
216 | + /*-webkit-box-orient: vertical;*/ | ||
217 | + /*-webkit-line-clamp: 1;*/ | ||
218 | + | ||
183 | 219 | ||
184 | -.loans_color{ | ||
185 | - color: #F5C32D; | ||
186 | } | 220 | } |
187 | -.loans_bottom_right_last{ | ||
188 | - width: 3.6rem; | 221 | +.mid_loans_box_bottom_text_top{ |
222 | + margin-top: 0.13rem; | ||
223 | + overflow: hidden; | ||
224 | + text-overflow: ellipsis; | ||
225 | + white-space: nowrap; | ||
226 | +} | ||
227 | +.mid_loans_box_bottom_text_mid{ | ||
228 | + margin-top: 0.13rem; | ||
229 | + overflow: hidden; | ||
230 | + text-overflow: ellipsis; | ||
231 | + white-space: nowrap; | ||
232 | +} | ||
233 | +.mid_loans_box_bottom_text_bottom{ | ||
234 | + margin-top: 0.13rem; | ||
235 | + /*width: 3.24rem;*/ | ||
189 | height: 0.36rem; | 236 | height: 0.36rem; |
237 | + line-height: 0.36rem; | ||
190 | border-radius: 0.04rem; | 238 | border-radius: 0.04rem; |
191 | - background-color: #DDC178; | ||
192 | font-size: 0.2rem; | 239 | font-size: 0.2rem; |
193 | - color: #000000; | ||
194 | - display: flex; | ||
195 | - line-height: 0.36rem; | 240 | + background-color: #DCBE75; |
196 | text-align: center; | 241 | text-align: center; |
242 | + color: #000000; | ||
243 | + overflow: hidden; | ||
244 | + text-overflow: ellipsis; | ||
245 | + white-space: nowrap; | ||
197 | } | 246 | } |
247 | +.span_color{ | ||
248 | + color: #F5C32D; | ||
249 | +} | ||
250 | + | ||
198 | 251 | ||
252 | +/*链接图标*/ | ||
253 | +.link_left{ | ||
254 | + width: 0.18rem; | ||
255 | + height: 0.66rem; | ||
256 | + display: flex; | ||
257 | + position: absolute; | ||
258 | + bottom: -0.45rem; | ||
259 | + left: 0.29rem; | ||
260 | +} | ||
261 | +.link_left img{ | ||
262 | + width: 100%; | ||
263 | + height: 100%; | ||
264 | +} | ||
265 | +.link_right{ | ||
266 | + width: 0.18rem; | ||
267 | + height: 0.66rem; | ||
268 | + display: flex; | ||
269 | + position: absolute; | ||
270 | + bottom: -0.45rem; | ||
271 | + right: 0.29rem; | ||
272 | +} | ||
273 | +.link_right img{ | ||
274 | + width: 100%; | ||
275 | + height: 100%; | ||
276 | +} |
@@ -13,6 +13,7 @@ | @@ -13,6 +13,7 @@ | ||
13 | display: flex; | 13 | display: flex; |
14 | flex-flow: column; | 14 | flex-flow: column; |
15 | align-items: center; | 15 | align-items: center; |
16 | + background: #F9F9F9; | ||
16 | } | 17 | } |
17 | .header{ | 18 | .header{ |
18 | width: 6.97rem; | 19 | width: 6.97rem; |
@@ -48,11 +49,34 @@ | @@ -48,11 +49,34 @@ | ||
48 | width: 6.2rem; | 49 | width: 6.2rem; |
49 | /*height: 4.04rem;*/ | 50 | /*height: 4.04rem;*/ |
50 | /*border: 1px solid red;*/ | 51 | /*border: 1px solid red;*/ |
51 | - margin: 0.42rem 0.44rem 0 0.33rem; | 52 | + margin: 0.42rem 0.44rem ; |
52 | line-height: 0.42rem; | 53 | line-height: 0.42rem; |
53 | font-size: 0.28rem; | 54 | font-size: 0.28rem; |
54 | color: rgba(88,88,88,1); | 55 | color: rgba(88,88,88,1); |
55 | font-weight: 500; | 56 | font-weight: 500; |
56 | - | 57 | +} |
58 | +.link_left{ | ||
59 | + width: 0.18rem; | ||
60 | + height: 0.66rem; | ||
61 | + display: flex; | ||
62 | + position: absolute; | ||
63 | + bottom: -0.45rem; | ||
64 | + left: 0.29rem; | ||
65 | +} | ||
66 | +.link_left img{ | ||
67 | + width: 100%; | ||
68 | + height: 100%; | ||
69 | +} | ||
70 | +.link_right{ | ||
71 | + width: 0.18rem; | ||
72 | + height: 0.66rem; | ||
73 | + display: flex; | ||
74 | + position: absolute; | ||
75 | + bottom: -0.45rem; | ||
76 | + right: 0.29rem; | ||
77 | +} | ||
78 | +.link_right img{ | ||
79 | + width: 100%; | ||
80 | + height: 100%; | ||
57 | } | 81 | } |
58 | 82 |
@@ -16,9 +16,15 @@ | @@ -16,9 +16,15 @@ | ||
16 | <!--头部--> | 16 | <!--头部--> |
17 | <div class="header"> | 17 | <div class="header"> |
18 | <img src="../images/xzACsa@2x.png"> | 18 | <img src="../images/xzACsa@2x.png"> |
19 | - </div> | ||
20 | <!--链接--> | 19 | <!--链接--> |
21 | - <!--<div class="link"></div>--> | 20 | + <div class="link_left"> |
21 | + <img src="../images/lianjie.png"> | ||
22 | + </div> | ||
23 | + <div class="link_right"> | ||
24 | + <img src="../images/lianjie.png"> | ||
25 | + </div> | ||
26 | + </div> | ||
27 | + | ||
22 | 28 | ||
23 | <!--底部--> | 29 | <!--底部--> |
24 | <div class="bottom"> | 30 | <div class="bottom"> |
@@ -5,9 +5,12 @@ | @@ -5,9 +5,12 @@ | ||
5 | <title>盛宝财富</title> | 5 | <title>盛宝财富</title> |
6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
7 | <meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width" /> | 7 | <meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width" /> |
8 | + <link rel="stylesheet" href="//at.alicdn.com/t/font_1022306_gfurfu6tnqq.css"> | ||
8 | <link rel="stylesheet" type="text/css" href="../css/dkxq.css"> | 9 | <link rel="stylesheet" type="text/css" href="../css/dkxq.css"> |
9 | <script src="../js/base.js"></script> | 10 | <script src="../js/base.js"></script> |
10 | <script src="../js/jquery.min.js"></script> | 11 | <script src="../js/jquery.min.js"></script> |
12 | + <script src="../js/jquery.combo.select.js"></script> | ||
13 | + | ||
11 | </head> | 14 | </head> |
12 | <body> | 15 | <body> |
13 | <div class="main"> | 16 | <div class="main"> |
@@ -26,13 +29,49 @@ | @@ -26,13 +29,49 @@ | ||
26 | <!--额度信息--> | 29 | <!--额度信息--> |
27 | <div class="limit"> | 30 | <div class="limit"> |
28 | <div class="limit_box"> | 31 | <div class="limit_box"> |
32 | + <div class="limit_box_top"> | ||
33 | + <div class="limit_box_top_left"> | ||
34 | + <p>额度</p> | ||
29 | 35 | ||
36 | + </div> | ||
37 | + <div class="limit_box_top_right"> | ||
38 | + <select> | ||
39 | + <option>1000</option> | ||
40 | + <option>2000</option> | ||
41 | + <option>3000</option> | ||
42 | + </select> | ||
30 | 43 | ||
44 | + <!--图标--> | ||
45 | + <div class="iconfont icon-xiajiantou"></div> | ||
46 | + </div> | ||
47 | + </div> | ||
48 | + <div class="limit_box_line"></div> | ||
49 | + <div class="limit_box_top"> | ||
50 | + <div class="limit_box_top_left"> | ||
51 | + <p>期限</p> | ||
52 | + </div> | ||
53 | + <div class="limit_box_top_right"> | ||
54 | + <select> | ||
55 | + <option>一个月</option> | ||
56 | + <option>二个月</option> | ||
57 | + <option>三个月</option> | ||
58 | + </select> | ||
59 | + <!--图标--> | ||
60 | + <div class="iconfont icon-xiajiantou"></div> | ||
61 | + </div> | ||
62 | + </div> | ||
31 | </div> | 63 | </div> |
32 | </div> | 64 | </div> |
33 | <!--申请人信息标题--> | 65 | <!--申请人信息标题--> |
34 | <div class="apply"> | 66 | <div class="apply"> |
35 | 申请人信息 | 67 | 申请人信息 |
68 | + <!--链接--> | ||
69 | + <div class="link_left"> | ||
70 | + <img src="../images/lianjie.png"> | ||
71 | + </div> | ||
72 | + <div class="link_right"> | ||
73 | + <img src="../images/lianjie.png"> | ||
74 | + </div> | ||
36 | </div> | 75 | </div> |
37 | <!--申请人信息--> | 76 | <!--申请人信息--> |
38 | <div class="apply_box"> | 77 | <div class="apply_box"> |
@@ -48,20 +87,27 @@ | @@ -48,20 +87,27 @@ | ||
48 | <input class="apply_name_input" placeholder="请输入您的真实姓名"> | 87 | <input class="apply_name_input" placeholder="请输入您的真实姓名"> |
49 | </div> | 88 | </div> |
50 | <!--手机号--> | 89 | <!--手机号--> |
51 | - <!--<div class="apply_name m_top">--> | ||
52 | - <!--<!–图片–>--> | ||
53 | - <!--<div class="apply_name_bg">--> | ||
54 | - <!--<div class="apply_name_bg_pic">--> | ||
55 | - <!--<img src="../images/dfgdf@2x.png">--> | ||
56 | - <!--</div>--> | ||
57 | - <!--</div>--> | ||
58 | - <!--<!–输入框–>--> | ||
59 | - <!--<input class="apply_name_input" placeholder="请输入您的真实姓名">--> | ||
60 | - <!--</div>--> | 90 | + <div class="apply_name m_top"> |
91 | + <!--图片--> | ||
92 | + <div class="apply_name_bg"> | ||
93 | + <div class="apply_name_bg_pic"> | ||
94 | + <img src="../images/ZxzxZ@2x.png"> | ||
95 | + </div> | ||
96 | + </div> | ||
97 | + <!--输入框--> | ||
98 | + <input class="apply_name_input" placeholder="请输入您的手机号"> | ||
99 | + </div> | ||
100 | + <!--前往注册--> | ||
101 | + <div class="apply_toRegister"> | ||
102 | + 前往注册 | ||
103 | + | ||
104 | + </div> | ||
61 | </div> | 105 | </div> |
62 | 106 | ||
63 | </div> | 107 | </div> |
64 | </div> | 108 | </div> |
109 | + <!--<script src="../js/jquery.combo.select.js">--> | ||
110 | + <!--</script>--> | ||
65 | 111 | ||
66 | </body> | 112 | </body> |
67 | </html> | 113 | </html> |
@@ -20,6 +20,7 @@ | @@ -20,6 +20,7 @@ | ||
20 | </div> | 20 | </div> |
21 | <div class="top_text"> | 21 | <div class="top_text"> |
22 | <p>通知通知通知通知通知通知通通知通知通知通知通知通知通 | 22 | <p>通知通知通知通知通知通知通通知通知通知通知通知通知通 |
23 | + 通知通知通知通知通知通知通通知通知通知通知通知通知通 | ||
23 | </p> | 24 | </p> |
24 | 25 | ||
25 | </div> | 26 | </div> |
@@ -27,12 +28,19 @@ | @@ -27,12 +28,19 @@ | ||
27 | <!--今日推荐--> | 28 | <!--今日推荐--> |
28 | <div class="mid_today"> | 29 | <div class="mid_today"> |
29 | 今日推荐: | 30 | 今日推荐: |
31 | + <!--链接--> | ||
32 | + <div class="link_left"> | ||
33 | + <img src="../images/lianjie.png"> | ||
34 | + </div> | ||
35 | + <div class="link_right"> | ||
36 | + <img src="../images/lianjie.png"> | ||
37 | + </div> | ||
30 | </div> | 38 | </div> |
31 | <!--今日推荐菜单栏--> | 39 | <!--今日推荐菜单栏--> |
32 | <div class="mid_today_menu"> | 40 | <div class="mid_today_menu"> |
33 | <div class="today_box"> | 41 | <div class="today_box"> |
34 | <!--推荐1--> | 42 | <!--推荐1--> |
35 | - <div class="mid_today_menu_item"> | 43 | + <div class="mid_today_menu_item" onclick="btn_next()"> |
36 | <!--图片--> | 44 | <!--图片--> |
37 | <div class="mid_today_menu_item_pic"> | 45 | <div class="mid_today_menu_item_pic"> |
38 | <img src="../images/dsvgfds1@2x.png"> | 46 | <img src="../images/dsvgfds1@2x.png"> |
@@ -43,7 +51,7 @@ | @@ -43,7 +51,7 @@ | ||
43 | </div> | 51 | </div> |
44 | </div> | 52 | </div> |
45 | <!--推荐2--> | 53 | <!--推荐2--> |
46 | - <div class="mid_today_menu_item"> | 54 | + <div class="mid_today_menu_item" onclick="btn_next()"> |
47 | <!--图片--> | 55 | <!--图片--> |
48 | <div class="mid_today_menu_item_pic"> | 56 | <div class="mid_today_menu_item_pic"> |
49 | <img src="../images/dfsfds@2x.png"> | 57 | <img src="../images/dfsfds@2x.png"> |
@@ -54,7 +62,7 @@ | @@ -54,7 +62,7 @@ | ||
54 | </div> | 62 | </div> |
55 | </div> | 63 | </div> |
56 | <!--推荐3--> | 64 | <!--推荐3--> |
57 | - <div class="mid_today_menu_item"> | 65 | + <div class="mid_today_menu_item" onclick="btn_next()"> |
58 | <!--图片--> | 66 | <!--图片--> |
59 | <div class="mid_today_menu_item_pic"> | 67 | <div class="mid_today_menu_item_pic"> |
60 | <img src="../images/dsfs3@2x.png"> | 68 | <img src="../images/dsfs3@2x.png"> |
@@ -72,35 +80,135 @@ | @@ -72,35 +80,135 @@ | ||
72 | <!--推荐贷款--> | 80 | <!--推荐贷款--> |
73 | <div class="mid_loans"> | 81 | <div class="mid_loans"> |
74 | 推荐贷款 | 82 | 推荐贷款 |
83 | + <!--链接--> | ||
84 | + <div class="link_left"> | ||
85 | + <img src="../images/lianjie.png"> | ||
86 | + </div> | ||
87 | + <div class="link_right"> | ||
88 | + <img src="../images/lianjie.png"> | ||
75 | </div> | 89 | </div> |
76 | - <!--秒贷_上部分--> | ||
77 | - <div class="mid_loans_top"> | ||
78 | - <!--秒贷--> | ||
79 | - <div class="mid_loans_top_left"> | 90 | + |
91 | + </div> | ||
92 | + | ||
93 | + <!--秒贷框--> | ||
94 | + <div class="mid_loans_box fitst_loans"> | ||
95 | + <!--头部名字--> | ||
96 | + <div class="mid_loans_box_top"> | ||
97 | + <div class="mid_loans_box_top_text"> | ||
80 | 秒贷 | 98 | 秒贷 |
81 | </div> | 99 | </div> |
82 | <!--热门--> | 100 | <!--热门--> |
83 | - <div class="mid_loans_top_right"> | 101 | + <div class="mid_loans_box_top_hot"> |
84 | 热门 | 102 | 热门 |
85 | </div> | 103 | </div> |
86 | </div> | 104 | </div> |
87 | - <!--秒贷_下部分--> | ||
88 | - <div class="mid_loans_bottom"> | ||
89 | - <!--图片--> | ||
90 | - <div class="loans_bottom_left"> | 105 | + <!--下划虚线--> |
106 | + <div class="mid_loans_box_line"></div> | ||
107 | + <!--底部内容--> | ||
108 | + <div class="mid_loans_box_bottom"> | ||
109 | + <!--左边图片--> | ||
110 | + <div class="mid_loans_box_bottom_pic"> | ||
91 | <img src="../images/dsfds4@2x.png"> | 111 | <img src="../images/dsfds4@2x.png"> |
92 | </div> | 112 | </div> |
93 | - <div class="loans_bottom_right"> | ||
94 | - <div>芝麻分500+无负面,立马放</div> | ||
95 | - <div >申请人数: <span class="loans_color">99</span>人</div> | ||
96 | - <div>月利率: <span class="loans_color">0.3%-0.5%</span></div> | ||
97 | - <div class="loans_bottom_right_last"> | 113 | + <!--右边文字--> |
114 | + <div class="mid_loans_box_bottom_text"> | ||
115 | + <div class="mid_loans_box_bottom_text_title"> | ||
116 | + 芝麻粉500+无负面,立马放 | ||
117 | + </div> | ||
118 | + <div class="mid_loans_box_bottom_text_top"> | ||
119 | + 申请人数: <span class="span_color">3658</span>人 | ||
120 | + </div> | ||
121 | + <div class="mid_loans_box_bottom_text_mid"> | ||
122 | + 月利率: <span class="span_color">0.3%-0.5%</span> | ||
123 | + </div> | ||
124 | + <div class="mid_loans_box_bottom_text_bottom"> | ||
125 | + 3分钟申请,30分钟审核,秒下款 | ||
126 | + </div> | ||
127 | + </div> | ||
128 | + </div> | ||
129 | + </div> | ||
130 | + <div class="mid_loans_box"> | ||
131 | + <!--头部名字--> | ||
132 | + <div class="mid_loans_box_top"> | ||
133 | + <div class="mid_loans_box_top_text"> | ||
134 | + 秒贷 | ||
135 | + </div> | ||
136 | + <!--热门--> | ||
137 | + <div class="mid_loans_box_top_hot"> | ||
138 | + 热门 | ||
139 | + </div> | ||
140 | + </div> | ||
141 | + <!--下划虚线--> | ||
142 | + <div class="mid_loans_box_line"></div> | ||
143 | + <!--底部内容--> | ||
144 | + <div class="mid_loans_box_bottom"> | ||
145 | + <!--左边图片--> | ||
146 | + <div class="mid_loans_box_bottom_pic"> | ||
147 | + <img src="../images/sdfsfesw@2x.png"> | ||
148 | + </div> | ||
149 | + <!--右边文字--> | ||
150 | + <div class="mid_loans_box_bottom_text"> | ||
151 | + <div class="mid_loans_box_bottom_text_title"> | ||
152 | + 芝麻粉500+无负面,立马放 | ||
153 | + </div> | ||
154 | + <div class="mid_loans_box_bottom_text_top"> | ||
155 | + 申请人数: <span class="span_color">3658</span>人 | ||
156 | + </div> | ||
157 | + <div class="mid_loans_box_bottom_text_mid"> | ||
158 | + 月利率: <span class="span_color">0.3%-0.5%</span> | ||
159 | + </div> | ||
160 | + <div class="mid_loans_box_bottom_text_bottom"> | ||
161 | + 3分钟申请,30分钟审核,秒下款 | ||
162 | + </div> | ||
163 | + </div> | ||
164 | + </div> | ||
165 | + </div> | ||
166 | + <div class="mid_loans_box"> | ||
167 | + <!--头部名字--> | ||
168 | + <div class="mid_loans_box_top"> | ||
169 | + <div class="mid_loans_box_top_text"> | ||
170 | + 秒贷 | ||
171 | + </div> | ||
172 | + <!--热门--> | ||
173 | + <div class="mid_loans_box_top_hot"> | ||
174 | + 热门 | ||
175 | + </div> | ||
176 | + </div> | ||
177 | + <!--下划虚线--> | ||
178 | + <div class="mid_loans_box_line"></div> | ||
179 | + <!--底部内容--> | ||
180 | + <div class="mid_loans_box_bottom"> | ||
181 | + <!--左边图片--> | ||
182 | + <div class="mid_loans_box_bottom_pic"> | ||
183 | + <img src="../images/dsfs6@2x.png"> | ||
184 | + </div> | ||
185 | + <!--右边文字--> | ||
186 | + <div class="mid_loans_box_bottom_text"> | ||
187 | + <div class="mid_loans_box_bottom_text_title"> | ||
188 | + 芝麻粉500+无负面,立马放 | ||
189 | + </div> | ||
190 | + <div class="mid_loans_box_bottom_text_top"> | ||
191 | + 申请人数: <span class="span_color">3658</span>人 | ||
192 | + </div> | ||
193 | + <div class="mid_loans_box_bottom_text_mid"> | ||
194 | + 月利率: <span class="span_color">0.3%-0.5%</span> | ||
195 | + </div> | ||
196 | + <div class="mid_loans_box_bottom_text_bottom"> | ||
98 | 3分钟申请,30分钟审核,秒下款 | 197 | 3分钟申请,30分钟审核,秒下款 |
99 | </div> | 198 | </div> |
100 | </div> | 199 | </div> |
101 | </div> | 200 | </div> |
102 | </div> | 201 | </div> |
202 | + | ||
203 | + | ||
204 | + | ||
205 | + </div> | ||
103 | </div> | 206 | </div> |
104 | 207 | ||
105 | </body> | 208 | </body> |
209 | +<script> | ||
210 | + function btn_next() { | ||
211 | + window.location.href = "dkxq.html" | ||
212 | + } | ||
213 | +</script> | ||
106 | </html> | 214 | </html> |
@@ -14,11 +14,20 @@ | @@ -14,11 +14,20 @@ | ||
14 | <div class="main"> | 14 | <div class="main"> |
15 | <div class="container"> | 15 | <div class="container"> |
16 | <!--头部--> | 16 | <!--头部--> |
17 | - <div class="header"> | 17 | + <div class="header" onclick="btn_next()"> |
18 | <img src="../images/xzACsa@2x.png"> | 18 | <img src="../images/xzACsa@2x.png"> |
19 | + <!--链接--> | ||
20 | + <div class="link_left"> | ||
21 | + <img src="../images/lianjie.png"> | ||
22 | + </div> | ||
23 | + <div class="link_right"> | ||
24 | + <img src="../images/lianjie.png"> | ||
25 | + </div> | ||
19 | </div> | 26 | </div> |
20 | <!--链接--> | 27 | <!--链接--> |
21 | - <!--<div class="link"></div>--> | 28 | + <!--<div class="link">--> |
29 | + <!--<img src="../images/lianjie.png">--> | ||
30 | + <!--</div>--> | ||
22 | 31 | ||
23 | <!--底部--> | 32 | <!--底部--> |
24 | <div class="bottom"> | 33 | <div class="bottom"> |
@@ -32,11 +41,14 @@ | @@ -32,11 +41,14 @@ | ||
32 | </div> | 41 | </div> |
33 | </div> | 42 | </div> |
34 | 43 | ||
35 | - | ||
36 | - | ||
37 | - | ||
38 | </div> | 44 | </div> |
39 | </div> | 45 | </div> |
40 | 46 | ||
41 | </body> | 47 | </body> |
48 | + | ||
49 | +<script> | ||
50 | + function btn_next() { | ||
51 | + window.location.href = "index.html" | ||
52 | + } | ||
53 | +</script> | ||
42 | </html> | 54 | </html> |
js/jquery.combo.select.js
0 → 100644
1 | +/*jshint asi:true, expr:true */ | ||
2 | +/** | ||
3 | + * Plugin Name: Combo Select | ||
4 | + * Author : Vinay@Pebbleroad | ||
5 | + * Date: 23/11/2014 | ||
6 | + * Description: | ||
7 | + * Converts a select box into a searchable and keyboard friendly interface. Fallbacks to native select on mobile and tablets | ||
8 | + */ | ||
9 | + | ||
10 | +// Expose plugin as an AMD module if AMD loader is present: | ||
11 | +(function (factory) { | ||
12 | + 'use strict'; | ||
13 | + if (typeof define === 'function' && define.amd) { | ||
14 | + // AMD. Register as an anonymous module. | ||
15 | + define(['jquery'], factory); | ||
16 | + } else if (typeof exports === 'object' && typeof require === 'function') { | ||
17 | + // Browserify | ||
18 | + factory(require('jquery')); | ||
19 | + } else { | ||
20 | + // Browser globals | ||
21 | + factory(jQuery); | ||
22 | + } | ||
23 | +}(function ( $, undefined ) { | ||
24 | + | ||
25 | + var pluginName = "comboSelect", | ||
26 | + dataKey = 'comboselect'; | ||
27 | + var defaults = { | ||
28 | + comboClass : 'combo-select', | ||
29 | + comboArrowClass : 'combo-arrow', | ||
30 | + comboDropDownClass : 'combo-dropdown', | ||
31 | + inputClass : 'combo-input text-input', | ||
32 | + disabledClass : 'option-disabled', | ||
33 | + hoverClass : 'option-hover', | ||
34 | + selectedClass : 'option-selected', | ||
35 | + markerClass : 'combo-marker', | ||
36 | + themeClass : '', | ||
37 | + maxHeight : 200, | ||
38 | + extendStyle : true, | ||
39 | + focusInput : true | ||
40 | + }; | ||
41 | + | ||
42 | + /** | ||
43 | + * Utility functions | ||
44 | + */ | ||
45 | + | ||
46 | + var keys = { | ||
47 | + ESC: 27, | ||
48 | + TAB: 9, | ||
49 | + RETURN: 13, | ||
50 | + LEFT: 37, | ||
51 | + UP: 38, | ||
52 | + RIGHT: 39, | ||
53 | + DOWN: 40, | ||
54 | + ENTER: 13, | ||
55 | + SHIFT: 16 | ||
56 | + }, | ||
57 | + isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase())); | ||
58 | + | ||
59 | + /** | ||
60 | + * Constructor | ||
61 | + * @param {[Node]} element [Select element] | ||
62 | + * @param {[Object]} options [Option object] | ||
63 | + */ | ||
64 | + function Plugin ( element, options ) { | ||
65 | + | ||
66 | + /* Name of the plugin */ | ||
67 | + | ||
68 | + this._name = pluginName; | ||
69 | + | ||
70 | + /* Reverse lookup */ | ||
71 | + | ||
72 | + this.el = element | ||
73 | + | ||
74 | + /* Element */ | ||
75 | + | ||
76 | + this.$el = $(element) | ||
77 | + | ||
78 | + /* If multiple select: stop */ | ||
79 | + | ||
80 | + if(this.$el.prop('multiple')) return; | ||
81 | + | ||
82 | + /* Settings */ | ||
83 | + | ||
84 | + this.settings = $.extend( {}, defaults, options, this.$el.data() ); | ||
85 | + | ||
86 | + /* Defaults */ | ||
87 | + | ||
88 | + this._defaults = defaults; | ||
89 | + | ||
90 | + /* Options */ | ||
91 | + | ||
92 | + this.$options = this.$el.find('option, optgroup') | ||
93 | + | ||
94 | + /* Initialize */ | ||
95 | + | ||
96 | + this.init(); | ||
97 | + | ||
98 | + /* Instances */ | ||
99 | + | ||
100 | + $.fn[ pluginName ].instances.push(this); | ||
101 | + | ||
102 | + } | ||
103 | + | ||
104 | + $.extend(Plugin.prototype, { | ||
105 | + init: function () { | ||
106 | + | ||
107 | + /* Construct the comboselect */ | ||
108 | + | ||
109 | + this._construct(); | ||
110 | + | ||
111 | + | ||
112 | + /* Add event bindings */ | ||
113 | + | ||
114 | + this._events(); | ||
115 | + | ||
116 | + | ||
117 | + }, | ||
118 | + _construct: function(){ | ||
119 | + | ||
120 | + var self = this | ||
121 | + | ||
122 | + /** | ||
123 | + * Add negative TabIndex to `select` | ||
124 | + * Preserves previous tabindex | ||
125 | + */ | ||
126 | + | ||
127 | + this.$el.data('plugin_'+ dataKey + '_tabindex', this.$el.prop('tabindex')) | ||
128 | + | ||
129 | + /* Add a tab index for desktop browsers */ | ||
130 | + | ||
131 | + !isMobile && this.$el.prop("tabIndex", -1) | ||
132 | + | ||
133 | + /** | ||
134 | + * Wrap the Select | ||
135 | + */ | ||
136 | + | ||
137 | + this.$container = this.$el.wrapAll('<div class="' + this.settings.comboClass + ' '+ this.settings.themeClass + '" />').parent(); | ||
138 | + | ||
139 | + /** | ||
140 | + * Check if select has a width attribute | ||
141 | + */ | ||
142 | + if(this.settings.extendStyle && this.$el.attr('style')){ | ||
143 | + | ||
144 | + this.$container.attr('style', this.$el.attr("style")) | ||
145 | + | ||
146 | + } | ||
147 | + | ||
148 | + | ||
149 | + /** | ||
150 | + * Append dropdown arrow | ||
151 | + */ | ||
152 | + | ||
153 | + this.$arrow = $('<div class="'+ this.settings.comboArrowClass+ '" />').appendTo(this.$container) | ||
154 | + | ||
155 | + | ||
156 | + /** | ||
157 | + * Append dropdown | ||
158 | + */ | ||
159 | + | ||
160 | + this.$dropdown = $('<ul class="'+this.settings.comboDropDownClass+'" />').appendTo(this.$container) | ||
161 | + | ||
162 | + | ||
163 | + /** | ||
164 | + * Create dropdown options | ||
165 | + */ | ||
166 | + | ||
167 | + var o = '', k = 0, p = ''; | ||
168 | + | ||
169 | + this.selectedIndex = this.$el.prop('selectedIndex') | ||
170 | + | ||
171 | + this.$options.each(function(i, e){ | ||
172 | + | ||
173 | + if(e.nodeName.toLowerCase() == 'optgroup'){ | ||
174 | + | ||
175 | + return o+='<li class="option-group">'+this.label+'</li>' | ||
176 | + } | ||
177 | + | ||
178 | + if(!e.value) p = e.innerHTML | ||
179 | + | ||
180 | + o+='<li class="'+(this.disabled? self.settings.disabledClass : "option-item") + ' ' +(k == self.selectedIndex? self.settings.selectedClass : '')+ '" data-index="'+(k)+'" data-value="'+this.value+'">'+ (this.innerHTML) + '</li>' | ||
181 | + | ||
182 | + k++; | ||
183 | + }) | ||
184 | + | ||
185 | + this.$dropdown.html(o) | ||
186 | + | ||
187 | + /** | ||
188 | + * Items | ||
189 | + */ | ||
190 | + | ||
191 | + this.$items = this.$dropdown.children(); | ||
192 | + | ||
193 | + | ||
194 | + /** | ||
195 | + * Append Input | ||
196 | + */ | ||
197 | + | ||
198 | + this.$input = $('<input type="text"' + (isMobile? 'tabindex="-1"': '') + ' placeholder="'+p+'" class="'+ this.settings.inputClass + '">').appendTo(this.$container) | ||
199 | + | ||
200 | + /* Update input text */ | ||
201 | + | ||
202 | + this._updateInput() | ||
203 | + | ||
204 | + }, | ||
205 | + | ||
206 | + _events: function(){ | ||
207 | + | ||
208 | + /* Input: focus */ | ||
209 | + | ||
210 | + this.$container.on('focus.input', 'input', $.proxy(this._focus, this)) | ||
211 | + | ||
212 | + /** | ||
213 | + * Input: mouseup | ||
214 | + * For input select() event to function correctly | ||
215 | + */ | ||
216 | + this.$container.on('mouseup.input', 'input', function(e){ | ||
217 | + e.preventDefault() | ||
218 | + }) | ||
219 | + | ||
220 | + /* Input: blur */ | ||
221 | + | ||
222 | + this.$container.on('blur.input', 'input', $.proxy(this._blur, this)) | ||
223 | + | ||
224 | + /* Select: change */ | ||
225 | + | ||
226 | + this.$el.on('change.select', $.proxy(this._change, this)) | ||
227 | + | ||
228 | + /* Select: focus */ | ||
229 | + | ||
230 | + this.$el.on('focus.select', $.proxy(this._focus, this)) | ||
231 | + | ||
232 | + /* Select: blur */ | ||
233 | + | ||
234 | + this.$el.on('blur.select', $.proxy(this._blurSelect, this)) | ||
235 | + | ||
236 | + /* Dropdown Arrow: click */ | ||
237 | + | ||
238 | + this.$container.on('click.arrow', '.'+this.settings.comboArrowClass , $.proxy(this._toggle, this)) | ||
239 | + | ||
240 | + /* Dropdown: close */ | ||
241 | + | ||
242 | + this.$container.on('comboselect:close', $.proxy(this._close, this)) | ||
243 | + | ||
244 | + /* Dropdown: open */ | ||
245 | + | ||
246 | + this.$container.on('comboselect:open', $.proxy(this._open, this)) | ||
247 | + | ||
248 | + | ||
249 | + /* HTML Click */ | ||
250 | + | ||
251 | + $('html').off('click.comboselect').on('click.comboselect', function(){ | ||
252 | + | ||
253 | + $.each($.fn[ pluginName ].instances, function(i, plugin){ | ||
254 | + | ||
255 | + plugin.$container.trigger('comboselect:close') | ||
256 | + | ||
257 | + }) | ||
258 | + }); | ||
259 | + | ||
260 | + /* Stop `event:click` bubbling */ | ||
261 | + | ||
262 | + this.$container.on('click.comboselect', function(e){ | ||
263 | + e.stopPropagation(); | ||
264 | + }) | ||
265 | + | ||
266 | + | ||
267 | + /* Input: keydown */ | ||
268 | + | ||
269 | + this.$container.on('keydown', 'input', $.proxy(this._keydown, this)) | ||
270 | + | ||
271 | + /* Input: keyup */ | ||
272 | + | ||
273 | + this.$container.on('keyup', 'input', $.proxy(this._keyup, this)) | ||
274 | + | ||
275 | + /* Dropdown item: click */ | ||
276 | + | ||
277 | + this.$container.on('click.item', '.option-item', $.proxy(this._select, this)) | ||
278 | + | ||
279 | + }, | ||
280 | + | ||
281 | + _keydown: function(event){ | ||
282 | + | ||
283 | + | ||
284 | + | ||
285 | + switch(event.which){ | ||
286 | + | ||
287 | + case keys.UP: | ||
288 | + this._move('up', event) | ||
289 | + break; | ||
290 | + | ||
291 | + case keys.DOWN: | ||
292 | + this._move('down', event) | ||
293 | + break; | ||
294 | + | ||
295 | + case keys.TAB: | ||
296 | + this._enter(event) | ||
297 | + break; | ||
298 | + | ||
299 | + case keys.RIGHT: | ||
300 | + this._autofill(event); | ||
301 | + break; | ||
302 | + | ||
303 | + case keys.ENTER: | ||
304 | + this._enter(event); | ||
305 | + break; | ||
306 | + | ||
307 | + default: | ||
308 | + break; | ||
309 | + | ||
310 | + | ||
311 | + } | ||
312 | + | ||
313 | + }, | ||
314 | + | ||
315 | + | ||
316 | + _keyup: function(event){ | ||
317 | + | ||
318 | + switch(event.which){ | ||
319 | + case keys.ESC: | ||
320 | + this.$container.trigger('comboselect:close') | ||
321 | + break; | ||
322 | + | ||
323 | + case keys.ENTER: | ||
324 | + case keys.UP: | ||
325 | + case keys.DOWN: | ||
326 | + case keys.LEFT: | ||
327 | + case keys.RIGHT: | ||
328 | + case keys.TAB: | ||
329 | + case keys.SHIFT: | ||
330 | + break; | ||
331 | + | ||
332 | + default: | ||
333 | + this._filter(event.target.value) | ||
334 | + break; | ||
335 | + } | ||
336 | + }, | ||
337 | + | ||
338 | + _enter: function(event){ | ||
339 | + | ||
340 | + var item = this._getHovered() | ||
341 | + | ||
342 | + item.length && this._select(item); | ||
343 | + | ||
344 | + /* Check if it enter key */ | ||
345 | + if(event && event.which == keys.ENTER){ | ||
346 | + | ||
347 | + if(!item.length) { | ||
348 | + | ||
349 | + /* Check if its illegal value */ | ||
350 | + | ||
351 | + this._blur(); | ||
352 | + | ||
353 | + return true; | ||
354 | + } | ||
355 | + | ||
356 | + event.preventDefault(); | ||
357 | + } | ||
358 | + | ||
359 | + | ||
360 | + }, | ||
361 | + _move: function(dir){ | ||
362 | + | ||
363 | + var items = this._getVisible(), | ||
364 | + current = this._getHovered(), | ||
365 | + index = current.prevAll('.option-item').filter(':visible').length, | ||
366 | + total = items.length | ||
367 | + | ||
368 | + | ||
369 | + switch(dir){ | ||
370 | + case 'up': | ||
371 | + index--; | ||
372 | + (index < 0) && (index = (total - 1)); | ||
373 | + break; | ||
374 | + | ||
375 | + case 'down': | ||
376 | + index++; | ||
377 | + (index >= total) && (index = 0); | ||
378 | + break; | ||
379 | + } | ||
380 | + | ||
381 | + | ||
382 | + items | ||
383 | + .removeClass(this.settings.hoverClass) | ||
384 | + .eq(index) | ||
385 | + .addClass(this.settings.hoverClass) | ||
386 | + | ||
387 | + | ||
388 | + if(!this.opened) this.$container.trigger('comboselect:open'); | ||
389 | + | ||
390 | + this._fixScroll() | ||
391 | + }, | ||
392 | + | ||
393 | + _select: function(event){ | ||
394 | + | ||
395 | + var item = event.currentTarget? $(event.currentTarget) : $(event); | ||
396 | + | ||
397 | + if(!item.length) return; | ||
398 | + | ||
399 | + /** | ||
400 | + * 1. get Index | ||
401 | + */ | ||
402 | + | ||
403 | + var index = item.data('index'); | ||
404 | + | ||
405 | + this._selectByIndex(index); | ||
406 | + | ||
407 | + this.$container.trigger('comboselect:close') | ||
408 | + | ||
409 | + }, | ||
410 | + | ||
411 | + _selectByIndex: function(index){ | ||
412 | + | ||
413 | + /** | ||
414 | + * Set selected index and trigger change | ||
415 | + * @type {[type]} | ||
416 | + */ | ||
417 | + if(typeof index == 'undefined'){ | ||
418 | + | ||
419 | + index = 0 | ||
420 | + | ||
421 | + } | ||
422 | + | ||
423 | + if(this.$el.prop('selectedIndex') != index){ | ||
424 | + | ||
425 | + this.$el.prop('selectedIndex', index).trigger('change'); | ||
426 | + } | ||
427 | + | ||
428 | + }, | ||
429 | + | ||
430 | + _autofill: function(){ | ||
431 | + | ||
432 | + var item = this._getHovered(); | ||
433 | + | ||
434 | + if(item.length){ | ||
435 | + | ||
436 | + var index = item.data('index') | ||
437 | + | ||
438 | + this._selectByIndex(index) | ||
439 | + | ||
440 | + } | ||
441 | + | ||
442 | + }, | ||
443 | + | ||
444 | + | ||
445 | + _filter: function(search){ | ||
446 | + | ||
447 | + var self = this, | ||
448 | + items = this._getAll(); | ||
449 | + needle = $.trim(search).toLowerCase(), | ||
450 | + reEscape = new RegExp('(\\' + ['/', '.', '*', '+', '?', '|', '(', ')', '[', ']', '{', '}', '\\'].join('|\\') + ')', 'g'), | ||
451 | + pattern = '(' + search.replace(reEscape, '\\$1') + ')'; | ||
452 | + | ||
453 | + | ||
454 | + /** | ||
455 | + * Unwrap all markers | ||
456 | + */ | ||
457 | + | ||
458 | + $('.'+self.settings.markerClass, items).contents().unwrap(); | ||
459 | + | ||
460 | + /* Search */ | ||
461 | + | ||
462 | + if(needle){ | ||
463 | + | ||
464 | + /* Hide Disabled and optgroups */ | ||
465 | + | ||
466 | + this.$items.filter('.option-group, .option-disabled').hide(); | ||
467 | + | ||
468 | + | ||
469 | + items | ||
470 | + .hide() | ||
471 | + .filter(function(){ | ||
472 | + | ||
473 | + var $this = $(this), | ||
474 | + text = $.trim($this.text()).toLowerCase(); | ||
475 | + | ||
476 | + /* Found */ | ||
477 | + if(text.toString().indexOf(needle) != -1){ | ||
478 | + | ||
479 | + /** | ||
480 | + * Wrap the selection | ||
481 | + */ | ||
482 | + | ||
483 | + $this | ||
484 | + .html(function(index, oldhtml){ | ||
485 | + return oldhtml.replace(new RegExp(pattern, 'gi'), '<span class="'+self.settings.markerClass+'">$1</span>') | ||
486 | + }) | ||
487 | + | ||
488 | + return true | ||
489 | + } | ||
490 | + | ||
491 | + }) | ||
492 | + .show() | ||
493 | + }else{ | ||
494 | + | ||
495 | + | ||
496 | + this.$items.show(); | ||
497 | + } | ||
498 | + | ||
499 | + /* Open the comboselect */ | ||
500 | + | ||
501 | + this.$container.trigger('comboselect:open') | ||
502 | + | ||
503 | + | ||
504 | + }, | ||
505 | + | ||
506 | + _highlight: function(){ | ||
507 | + | ||
508 | + /* | ||
509 | + 1. Check if there is a selected item | ||
510 | + 2. Add hover class to it | ||
511 | + 3. If not add hover class to first item | ||
512 | + */ | ||
513 | + | ||
514 | + var visible = this._getVisible().removeClass(this.settings.hoverClass), | ||
515 | + $selected = visible.filter('.'+this.settings.selectedClass) | ||
516 | + | ||
517 | + if($selected.length){ | ||
518 | + | ||
519 | + $selected.addClass(this.settings.hoverClass); | ||
520 | + | ||
521 | + }else{ | ||
522 | + | ||
523 | + visible | ||
524 | + .removeClass(this.settings.hoverClass) | ||
525 | + .first() | ||
526 | + .addClass(this.settings.hoverClass) | ||
527 | + } | ||
528 | + | ||
529 | + }, | ||
530 | + | ||
531 | + _updateInput: function(){ | ||
532 | + | ||
533 | + var selected = this.$el.prop('selectedIndex') | ||
534 | + | ||
535 | + if(this.$el.val()){ | ||
536 | + | ||
537 | + text = this.$el.find('option').eq(selected).text() | ||
538 | + | ||
539 | + this.$input.val(text) | ||
540 | + | ||
541 | + }else{ | ||
542 | + | ||
543 | + this.$input.val('') | ||
544 | + | ||
545 | + } | ||
546 | + | ||
547 | + return this._getAll() | ||
548 | + .removeClass(this.settings.selectedClass) | ||
549 | + .filter(function(){ | ||
550 | + | ||
551 | + return $(this).data('index') == selected | ||
552 | + }) | ||
553 | + .addClass(this.settings.selectedClass) | ||
554 | + | ||
555 | + }, | ||
556 | + _blurSelect: function(){ | ||
557 | + | ||
558 | + this.$container.removeClass('combo-focus'); | ||
559 | + | ||
560 | + }, | ||
561 | + _focus: function(event){ | ||
562 | + | ||
563 | + /* Toggle focus class */ | ||
564 | + | ||
565 | + this.$container.toggleClass('combo-focus', !this.opened); | ||
566 | + | ||
567 | + /* If mobile: stop */ | ||
568 | + | ||
569 | + if(isMobile) return; | ||
570 | + | ||
571 | + /* Open combo */ | ||
572 | + | ||
573 | + if(!this.opened) this.$container.trigger('comboselect:open'); | ||
574 | + | ||
575 | + /* Select the input */ | ||
576 | + | ||
577 | + this.settings.focusInput && event && event.currentTarget && event.currentTarget.nodeName == 'INPUT' && event.currentTarget.select() | ||
578 | + }, | ||
579 | + | ||
580 | + _blur: function(){ | ||
581 | + | ||
582 | + /** | ||
583 | + * 1. Get hovered item | ||
584 | + * 2. If not check if input value == select option | ||
585 | + * 3. If none | ||
586 | + */ | ||
587 | + | ||
588 | + var val = $.trim(this.$input.val().toLowerCase()), | ||
589 | + isNumber = !isNaN(val); | ||
590 | + | ||
591 | + var index = this.$options.filter(function(){ | ||
592 | + | ||
593 | + if(isNumber){ | ||
594 | + return parseInt($.trim(this.innerHTML).toLowerCase()) == val | ||
595 | + } | ||
596 | + | ||
597 | + return $.trim(this.innerHTML).toLowerCase() == val | ||
598 | + | ||
599 | + }).prop('index') | ||
600 | + | ||
601 | + /* Select by Index */ | ||
602 | + | ||
603 | + this._selectByIndex(index) | ||
604 | + | ||
605 | + }, | ||
606 | + | ||
607 | + _change: function(){ | ||
608 | + | ||
609 | + | ||
610 | + this._updateInput(); | ||
611 | + | ||
612 | + }, | ||
613 | + | ||
614 | + _getAll: function(){ | ||
615 | + | ||
616 | + return this.$items.filter('.option-item') | ||
617 | + | ||
618 | + }, | ||
619 | + _getVisible: function(){ | ||
620 | + | ||
621 | + return this.$items.filter('.option-item').filter(':visible') | ||
622 | + | ||
623 | + }, | ||
624 | + | ||
625 | + _getHovered: function(){ | ||
626 | + | ||
627 | + return this._getVisible().filter('.' + this.settings.hoverClass); | ||
628 | + | ||
629 | + }, | ||
630 | + | ||
631 | + _open: function(){ | ||
632 | + | ||
633 | + var self = this | ||
634 | + | ||
635 | + this.$container.addClass('combo-open') | ||
636 | + | ||
637 | + this.opened = true | ||
638 | + | ||
639 | + /* Focus input field */ | ||
640 | + | ||
641 | + this.settings.focusInput && setTimeout(function(){ !self.$input.is(':focus') && self.$input.focus(); }); | ||
642 | + | ||
643 | + /* Highligh the items */ | ||
644 | + | ||
645 | + this._highlight() | ||
646 | + | ||
647 | + /* Fix scroll */ | ||
648 | + | ||
649 | + this._fixScroll() | ||
650 | + | ||
651 | + /* Close all others */ | ||
652 | + | ||
653 | + | ||
654 | + $.each($.fn[ pluginName ].instances, function(i, plugin){ | ||
655 | + | ||
656 | + if(plugin != self && plugin.opened) plugin.$container.trigger('comboselect:close') | ||
657 | + }) | ||
658 | + | ||
659 | + }, | ||
660 | + | ||
661 | + _toggle: function(){ | ||
662 | + | ||
663 | + this.opened? this._close.call(this) : this._open.call(this) | ||
664 | + }, | ||
665 | + | ||
666 | + _close: function(){ | ||
667 | + | ||
668 | + this.$container.removeClass('combo-open combo-focus') | ||
669 | + | ||
670 | + this.$container.trigger('comboselect:closed') | ||
671 | + | ||
672 | + this.opened = false | ||
673 | + | ||
674 | + /* Show all items */ | ||
675 | + | ||
676 | + this.$items.show(); | ||
677 | + | ||
678 | + }, | ||
679 | + _fixScroll: function(){ | ||
680 | + | ||
681 | + /** | ||
682 | + * If dropdown is hidden | ||
683 | + */ | ||
684 | + if(this.$dropdown.is(':hidden')) return; | ||
685 | + | ||
686 | + | ||
687 | + /** | ||
688 | + * Else | ||
689 | + */ | ||
690 | + var item = this._getHovered(); | ||
691 | + | ||
692 | + if(!item.length) return; | ||
693 | + | ||
694 | + /** | ||
695 | + * Scroll | ||
696 | + */ | ||
697 | + | ||
698 | + var offsetTop, | ||
699 | + upperBound, | ||
700 | + lowerBound, | ||
701 | + heightDelta = item.outerHeight() | ||
702 | + | ||
703 | + offsetTop = item[0].offsetTop; | ||
704 | + | ||
705 | + upperBound = this.$dropdown.scrollTop(); | ||
706 | + | ||
707 | + lowerBound = upperBound + this.settings.maxHeight - heightDelta; | ||
708 | + | ||
709 | + if (offsetTop < upperBound) { | ||
710 | + | ||
711 | + this.$dropdown.scrollTop(offsetTop); | ||
712 | + | ||
713 | + } else if (offsetTop > lowerBound) { | ||
714 | + | ||
715 | + this.$dropdown.scrollTop(offsetTop - this.settings.maxHeight + heightDelta); | ||
716 | + } | ||
717 | + | ||
718 | + }, | ||
719 | + /** | ||
720 | + * Destroy API | ||
721 | + */ | ||
722 | + | ||
723 | + dispose: function(){ | ||
724 | + | ||
725 | + /* Remove combo arrow, input, dropdown */ | ||
726 | + | ||
727 | + this.$arrow.remove() | ||
728 | + | ||
729 | + this.$input.remove() | ||
730 | + | ||
731 | + this.$dropdown.remove() | ||
732 | + | ||
733 | + /* Remove tabindex property */ | ||
734 | + this.$el | ||
735 | + .removeAttr("tabindex") | ||
736 | + | ||
737 | + /* Check if there is a tabindex set before */ | ||
738 | + | ||
739 | + if(!!this.$el.data('plugin_'+ dataKey + '_tabindex')){ | ||
740 | + this.$el.prop('tabindex', this.$el.data('plugin_'+ dataKey + '_tabindex')) | ||
741 | + } | ||
742 | + | ||
743 | + /* Unwrap */ | ||
744 | + | ||
745 | + this.$el.unwrap() | ||
746 | + | ||
747 | + /* Remove data */ | ||
748 | + | ||
749 | + this.$el.removeData('plugin_'+dataKey) | ||
750 | + | ||
751 | + /* Remove tabindex data */ | ||
752 | + | ||
753 | + this.$el.removeData('plugin_'+dataKey + '_tabindex') | ||
754 | + | ||
755 | + /* Remove change event on select */ | ||
756 | + | ||
757 | + this.$el.off('change.select focus.select blur.select'); | ||
758 | + | ||
759 | + } | ||
760 | + }); | ||
761 | + | ||
762 | + | ||
763 | + | ||
764 | + // A really lightweight plugin wrapper around the constructor, | ||
765 | + // preventing against multiple instantiations | ||
766 | + $.fn[ pluginName ] = function ( options, args ) { | ||
767 | + | ||
768 | + this.each(function() { | ||
769 | + | ||
770 | + var $e = $(this), | ||
771 | + instance = $e.data('plugin_'+dataKey) | ||
772 | + | ||
773 | + if (typeof options === 'string') { | ||
774 | + | ||
775 | + if (instance && typeof instance[options] === 'function') { | ||
776 | + instance[options](args); | ||
777 | + } | ||
778 | + | ||
779 | + }else{ | ||
780 | + | ||
781 | + if (instance && instance.dispose) { | ||
782 | + instance.dispose(); | ||
783 | + } | ||
784 | + | ||
785 | + $.data( this, "plugin_" + dataKey, new Plugin( this, options ) ); | ||
786 | + | ||
787 | + } | ||
788 | + | ||
789 | + }); | ||
790 | + | ||
791 | + // chain jQuery functions | ||
792 | + return this; | ||
793 | + }; | ||
794 | + | ||
795 | + $.fn[ pluginName ].instances = []; | ||
796 | + | ||
797 | +})); |
-
请 注册 或 登录 后发表评论