Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
bestpay
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
831c8e51
authored
Dec 22, 2017
by
张恒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
k
parent
1d966dd5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
8 deletions
+32
-8
.idea/workspace.xml
+28
-8
index.html
+1
-0
js/index.js
+3
-0
No files found.
.idea/workspace.xml
View file @
831c8e51
...
...
@@ -3,6 +3,7 @@
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"d52db3c2-5e88-4692-bb71-d738c8d9556a"
name=
"Default"
comment=
""
>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/index.html"
afterPath=
"$PROJECT_DIR$/index.html"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/js/index.js"
afterPath=
"$PROJECT_DIR$/js/index.js"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/.tmp/"
/>
...
...
@@ -27,7 +28,7 @@
<file
leaf-file-name=
"main.scss"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/css/main.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
20
0"
>
<state
relative-caret-position=
"
-22
0"
>
<caret
line=
"111"
column=
"22"
lean-forward=
"false"
selection-start-line=
"111"
selection-start-column=
"18"
selection-end-line=
"111"
selection-end-column=
"22"
/>
<folding
/>
</state>
...
...
@@ -37,8 +38,18 @@
<file
leaf-file-name=
"index.js"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/js/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"360"
>
<caret
line=
"18"
column=
"35"
lean-forward=
"false"
selection-start-line=
"18"
selection-start-column=
"35"
selection-end-line=
"18"
selection-end-column=
"35"
/>
<state
relative-caret-position=
"281"
>
<caret
line=
"26"
column=
"15"
lean-forward=
"false"
selection-start-line=
"26"
selection-start-column=
"15"
selection-end-line=
"26"
selection-end-column=
"15"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"index.html"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/index.html"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"100"
>
<caret
line=
"22"
column=
"31"
lean-forward=
"false"
selection-start-line=
"22"
selection-start-column=
"31"
selection-end-line=
"22"
selection-end-column=
"31"
/>
<folding
/>
</state>
</provider>
...
...
@@ -58,6 +69,7 @@
<option
name=
"CHANGED_PATHS"
>
<list>
<option
value=
"$PROJECT_DIR$/css/main.scss"
/>
<option
value=
"$PROJECT_DIR$/index.html"
/>
<option
value=
"$PROJECT_DIR$/js/index.js"
/>
</list>
</option>
...
...
@@ -150,12 +162,12 @@
<option
name=
"number"
value=
"Default"
/>
<option
name=
"presentableId"
value=
"Default"
/>
<updated>
1513957319156
</updated>
<workItem
from=
"1513957320785"
duration=
"
669
000"
/>
<workItem
from=
"1513957320785"
duration=
"
803
000"
/>
</task>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"
669
000"
/>
<option
name=
"totallyTimeSpent"
value=
"
803
000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"0"
y=
"29"
width=
"1440"
height=
"821"
extended-state=
"6"
/>
...
...
@@ -190,9 +202,17 @@
<watches-manager
/>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/index.html"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"100"
>
<caret
line=
"22"
column=
"31"
lean-forward=
"false"
selection-start-line=
"22"
selection-start-column=
"31"
selection-end-line=
"22"
selection-end-column=
"31"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/css/main.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
20
0"
>
<state
relative-caret-position=
"
-22
0"
>
<caret
line=
"111"
column=
"22"
lean-forward=
"false"
selection-start-line=
"111"
selection-start-column=
"18"
selection-end-line=
"111"
selection-end-column=
"22"
/>
<folding
/>
</state>
...
...
@@ -200,8 +220,8 @@
</entry>
<entry
file=
"file://$PROJECT_DIR$/js/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
360
"
>
<caret
line=
"
18"
column=
"35"
lean-forward=
"false"
selection-start-line=
"18"
selection-start-column=
"35"
selection-end-line=
"18"
selection-end-column=
"3
5"
/>
<state
relative-caret-position=
"
281
"
>
<caret
line=
"
26"
column=
"15"
lean-forward=
"false"
selection-start-line=
"26"
selection-start-column=
"15"
selection-end-line=
"26"
selection-end-column=
"1
5"
/>
<folding
/>
</state>
</provider>
...
...
index.html
View file @
831c8e51
...
...
@@ -20,6 +20,7 @@
<div
class=
"city"
>
<div
class=
"city_text"
>
请选择城市
</div>
<select
id=
"area_code"
onchange=
"btn_city()"
>
<option
value=
""
>
请选择城市
</option>
<option
value=
"1"
>
重庆
</option>
<option
value=
"2"
>
北京
</option>
<option
value=
"3"
>
福建
</option>
...
...
js/index.js
View file @
831c8e51
...
...
@@ -23,6 +23,9 @@ $('.page-info').on('click',function () {
function
btn_city
()
{
var
city
=
$
(
"#area_code"
).
find
(
"option:selected"
).
val
();
if
(
city
==
''
){
return
;
}
$
(
'.city_text'
).
text
(
$
(
"#area_code"
).
find
(
"option:selected"
).
text
());
$
(
'.map'
).
attr
(
'src'
,
'image/'
+
city
+
'.jpg'
);
$
(
'.home'
).
hide
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment