Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
allCampaign
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
allCampaign
Commits
f81a2db0
Commit
f81a2db0
authored
Jun 04, 2019
by
Chao Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分享
parent
b1dd8f05
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1120 additions
and
439 deletions
+1120
-439
consulting/.idea/workspace.xml
+30
-201
consulting/index.html
+7
-3
consulting/js/base.js
+170
-76
consulting1/.idea/workspace.xml
+418
-12
consulting1/css/style.css
+102
-69
consulting1/index.html
+27
-3
consulting1/js/base.js
+366
-75
No files found.
consulting/.idea/workspace.xml
View file @
f81a2db0
...
@@ -17,33 +17,13 @@
...
@@ -17,33 +17,13 @@
<favorites_list
name=
"consulting"
/>
<favorites_list
name=
"consulting"
/>
</component>
</component>
<component
name=
"FileEditorManager"
>
<component
name=
"FileEditorManager"
>
<leaf>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
leaf-file-name=
"base.js"
pinned=
"false"
current-in-tab=
"true"
>
<file
leaf-file-name=
"base.js"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/js/base.js"
>
<entry
file=
"file://$PROJECT_DIR$/js/base.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"468"
>
<state
relative-caret-position=
"361"
>
<caret
line=
"18"
column=
"16"
lean-forward=
"false"
selection-start-line=
"18"
selection-start-column=
"16"
selection-end-line=
"18"
selection-end-column=
"16"
/>
<caret
line=
"461"
column=
"26"
lean-forward=
"true"
selection-start-line=
"461"
selection-start-column=
"26"
selection-end-line=
"461"
selection-end-column=
"26"
/>
<folding>
<folding
/>
<element
signature=
"e#684#816#0"
expanded=
"false"
/>
<element
signature=
"e#1031#1069#0"
expanded=
"false"
/>
<element
signature=
"e#1170#1519#0"
expanded=
"false"
/>
<element
signature=
"e#1583#1703#0"
expanded=
"false"
/>
<element
signature=
"e#1744#1782#0"
expanded=
"false"
/>
<element
signature=
"e#1894#2173#0"
expanded=
"false"
/>
<element
signature=
"e#2208#2434#0"
expanded=
"false"
/>
<element
signature=
"e#2467#2828#0"
expanded=
"false"
/>
<element
signature=
"e#2958#5093#0"
expanded=
"false"
/>
<element
signature=
"e#5173#7343#0"
expanded=
"false"
/>
<element
signature=
"e#7434#9048#0"
expanded=
"false"
/>
<element
signature=
"e#9086#12460#0"
expanded=
"false"
/>
<element
signature=
"e#12489#12603#0"
expanded=
"false"
/>
<element
signature=
"e#12695#13841#0"
expanded=
"false"
/>
<element
signature=
"e#13883#14183#0"
expanded=
"false"
/>
<element
signature=
"e#15776#19248#0"
expanded=
"false"
/>
<element
signature=
"e#19298#21506#0"
expanded=
"false"
/>
<element
signature=
"e#19952#21488#0"
expanded=
"false"
/>
<element
signature=
"e#21542#21789#0"
expanded=
"false"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -54,9 +34,10 @@
...
@@ -54,9 +34,10 @@
<findStrings>
<findStrings>
<find>
mdev
</find>
<find>
mdev
</find>
<find>
pay
</find>
<find>
pay
</find>
<find>
param
</find>
<find>
code
</find>
<find>
code
</find>
<find>
data
</find>
<find>
data
</find>
<find>
param
</find>
<find>
param.cus
</find>
</findStrings>
</findStrings>
</component>
</component>
<component
name=
"IdeDocumentHistory"
>
<component
name=
"IdeDocumentHistory"
>
...
@@ -75,7 +56,7 @@
...
@@ -75,7 +56,7 @@
<sorting>
DEFINITION_ORDER
</sorting>
<sorting>
DEFINITION_ORDER
</sorting>
</component>
</component>
<component
name=
"ProjectFrameBounds"
>
<component
name=
"ProjectFrameBounds"
>
<option
name=
"x"
value=
"
1912
"
/>
<option
name=
"x"
value=
"
-8
"
/>
<option
name=
"y"
value=
"-8"
/>
<option
name=
"y"
value=
"-8"
/>
<option
name=
"width"
value=
"1936"
/>
<option
name=
"width"
value=
"1936"
/>
<option
name=
"height"
value=
"1056"
/>
<option
name=
"height"
value=
"1056"
/>
...
@@ -250,11 +231,12 @@
...
@@ -250,11 +231,12 @@
<workItem
from=
"1557991352570"
duration=
"22000"
/>
<workItem
from=
"1557991352570"
duration=
"22000"
/>
<workItem
from=
"1558012001136"
duration=
"57000"
/>
<workItem
from=
"1558012001136"
duration=
"57000"
/>
<workItem
from=
"1559619090972"
duration=
"4229000"
/>
<workItem
from=
"1559619090972"
duration=
"4229000"
/>
<workItem
from=
"1559627134151"
duration=
"1834000"
/>
</task>
</task>
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"TimeTrackingManager"
>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"
7139
000"
/>
<option
name=
"totallyTimeSpent"
value=
"
8973
000"
/>
</component>
</component>
<component
name=
"TodoView"
>
<component
name=
"TodoView"
>
<todo-panel
id=
"selected-file"
>
<todo-panel
id=
"selected-file"
>
...
@@ -266,18 +248,18 @@
...
@@ -266,18 +248,18 @@
</todo-panel>
</todo-panel>
</component>
</component>
<component
name=
"ToolWindowManager"
>
<component
name=
"ToolWindowManager"
>
<frame
x=
"
1912
"
y=
"-8"
width=
"1936"
height=
"1056"
extended-state=
"6"
/>
<frame
x=
"
-8
"
y=
"-8"
width=
"1936"
height=
"1056"
extended-state=
"6"
/>
<editor
active=
"true"
/>
<editor
active=
"true"
/>
<layout>
<layout>
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.19978914"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"combo"
/>
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.19978914"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"combo"
/>
<window_info
id=
"TODO"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"6"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"TODO"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"6"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Event Log"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Event Log"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Run"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Version Control"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"false"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Version Control"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"false"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Run"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Structure"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Structure"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.174482"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.174482"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Debug"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Favorites"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"2"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Favorites"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"2"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Debug"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Cvs"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"4"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Cvs"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"4"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Message"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Message"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Commander"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Commander"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
...
@@ -304,27 +286,15 @@
...
@@ -304,27 +286,15 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<folding
/>
<element
signature=
"e#684#816#0"
expanded=
"false"
/>
</state>
<element
signature=
"e#1031#1069#0"
expanded=
"false"
/>
</provider>
<element
signature=
"e#1170#1519#0"
expanded=
"false"
/>
</entry>
<element
signature=
"e#1583#1703#0"
expanded=
"false"
/>
<entry
file=
"file://$PROJECT_DIR$/js/base.js"
>
<element
signature=
"e#1744#1782#0"
expanded=
"false"
/>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<element
signature=
"e#1894#2173#0"
expanded=
"false"
/>
<state
relative-caret-position=
"0"
>
<element
signature=
"e#2208#2434#0"
expanded=
"false"
/>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<element
signature=
"e#2467#2828#0"
expanded=
"false"
/>
<folding
/>
<element
signature=
"e#2958#5093#0"
expanded=
"false"
/>
<element
signature=
"e#5173#7343#0"
expanded=
"false"
/>
<element
signature=
"e#7434#9048#0"
expanded=
"false"
/>
<element
signature=
"e#9086#12460#0"
expanded=
"false"
/>
<element
signature=
"e#12489#12603#0"
expanded=
"false"
/>
<element
signature=
"e#12695#13841#0"
expanded=
"false"
/>
<element
signature=
"e#13883#14183#0"
expanded=
"false"
/>
<element
signature=
"e#15776#19248#0"
expanded=
"false"
/>
<element
signature=
"e#19298#21506#0"
expanded=
"false"
/>
<element
signature=
"e#19952#21488#0"
expanded=
"false"
/>
<element
signature=
"e#21542#21789#0"
expanded=
"false"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -342,27 +312,7 @@
...
@@ -342,27 +312,7 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<folding
/>
<element
signature=
"e#684#816#0"
expanded=
"false"
/>
<element
signature=
"e#1031#1069#0"
expanded=
"false"
/>
<element
signature=
"e#1170#1519#0"
expanded=
"false"
/>
<element
signature=
"e#1583#1703#0"
expanded=
"false"
/>
<element
signature=
"e#1744#1782#0"
expanded=
"false"
/>
<element
signature=
"e#1894#2173#0"
expanded=
"false"
/>
<element
signature=
"e#2208#2434#0"
expanded=
"false"
/>
<element
signature=
"e#2467#2828#0"
expanded=
"false"
/>
<element
signature=
"e#2958#5093#0"
expanded=
"false"
/>
<element
signature=
"e#5173#7343#0"
expanded=
"false"
/>
<element
signature=
"e#7434#9048#0"
expanded=
"false"
/>
<element
signature=
"e#9086#12460#0"
expanded=
"false"
/>
<element
signature=
"e#12489#12603#0"
expanded=
"false"
/>
<element
signature=
"e#12695#13841#0"
expanded=
"false"
/>
<element
signature=
"e#13883#14183#0"
expanded=
"false"
/>
<element
signature=
"e#15776#19248#0"
expanded=
"false"
/>
<element
signature=
"e#19298#21506#0"
expanded=
"false"
/>
<element
signature=
"e#19952#21488#0"
expanded=
"false"
/>
<element
signature=
"e#21542#21789#0"
expanded=
"false"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -380,27 +330,7 @@
...
@@ -380,27 +330,7 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<folding
/>
<element
signature=
"e#684#816#0"
expanded=
"false"
/>
<element
signature=
"e#1031#1069#0"
expanded=
"false"
/>
<element
signature=
"e#1170#1519#0"
expanded=
"false"
/>
<element
signature=
"e#1583#1703#0"
expanded=
"false"
/>
<element
signature=
"e#1744#1782#0"
expanded=
"false"
/>
<element
signature=
"e#1894#2173#0"
expanded=
"false"
/>
<element
signature=
"e#2208#2434#0"
expanded=
"false"
/>
<element
signature=
"e#2467#2828#0"
expanded=
"false"
/>
<element
signature=
"e#2958#5093#0"
expanded=
"false"
/>
<element
signature=
"e#5173#7343#0"
expanded=
"false"
/>
<element
signature=
"e#7434#9048#0"
expanded=
"false"
/>
<element
signature=
"e#9086#12460#0"
expanded=
"false"
/>
<element
signature=
"e#12489#12603#0"
expanded=
"false"
/>
<element
signature=
"e#12695#13841#0"
expanded=
"false"
/>
<element
signature=
"e#13883#14183#0"
expanded=
"false"
/>
<element
signature=
"e#15776#19248#0"
expanded=
"false"
/>
<element
signature=
"e#19298#21506#0"
expanded=
"false"
/>
<element
signature=
"e#19952#21488#0"
expanded=
"false"
/>
<element
signature=
"e#21542#21789#0"
expanded=
"false"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -418,27 +348,7 @@
...
@@ -418,27 +348,7 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"4576"
>
<state
relative-caret-position=
"4576"
>
<caret
line=
"176"
column=
"65"
lean-forward=
"true"
selection-start-line=
"176"
selection-start-column=
"65"
selection-end-line=
"176"
selection-end-column=
"65"
/>
<caret
line=
"176"
column=
"65"
lean-forward=
"true"
selection-start-line=
"176"
selection-start-column=
"65"
selection-end-line=
"176"
selection-end-column=
"65"
/>
<folding>
<folding
/>
<element
signature=
"e#684#816#0"
expanded=
"false"
/>
<element
signature=
"e#1031#1069#0"
expanded=
"false"
/>
<element
signature=
"e#1170#1519#0"
expanded=
"false"
/>
<element
signature=
"e#1583#1703#0"
expanded=
"false"
/>
<element
signature=
"e#1744#1782#0"
expanded=
"false"
/>
<element
signature=
"e#1894#2173#0"
expanded=
"false"
/>
<element
signature=
"e#2208#2434#0"
expanded=
"false"
/>
<element
signature=
"e#2467#2828#0"
expanded=
"false"
/>
<element
signature=
"e#2958#5093#0"
expanded=
"false"
/>
<element
signature=
"e#5173#7343#0"
expanded=
"false"
/>
<element
signature=
"e#7434#9048#0"
expanded=
"false"
/>
<element
signature=
"e#9086#12460#0"
expanded=
"false"
/>
<element
signature=
"e#12489#12603#0"
expanded=
"false"
/>
<element
signature=
"e#12695#13841#0"
expanded=
"false"
/>
<element
signature=
"e#13883#14183#0"
expanded=
"false"
/>
<element
signature=
"e#15776#19248#0"
expanded=
"false"
/>
<element
signature=
"e#19298#21506#0"
expanded=
"false"
/>
<element
signature=
"e#19952#21488#0"
expanded=
"false"
/>
<element
signature=
"e#21542#21789#0"
expanded=
"false"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -456,27 +366,7 @@
...
@@ -456,27 +366,7 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<folding
/>
<element
signature=
"e#684#816#0"
expanded=
"false"
/>
<element
signature=
"e#1031#1069#0"
expanded=
"false"
/>
<element
signature=
"e#1170#1519#0"
expanded=
"false"
/>
<element
signature=
"e#1583#1703#0"
expanded=
"false"
/>
<element
signature=
"e#1744#1782#0"
expanded=
"false"
/>
<element
signature=
"e#1894#2173#0"
expanded=
"false"
/>
<element
signature=
"e#2208#2434#0"
expanded=
"false"
/>
<element
signature=
"e#2467#2828#0"
expanded=
"false"
/>
<element
signature=
"e#2958#5093#0"
expanded=
"false"
/>
<element
signature=
"e#5173#7343#0"
expanded=
"false"
/>
<element
signature=
"e#7434#9048#0"
expanded=
"false"
/>
<element
signature=
"e#9086#12460#0"
expanded=
"false"
/>
<element
signature=
"e#12489#12603#0"
expanded=
"false"
/>
<element
signature=
"e#12695#13841#0"
expanded=
"false"
/>
<element
signature=
"e#13883#14183#0"
expanded=
"false"
/>
<element
signature=
"e#15776#19248#0"
expanded=
"false"
/>
<element
signature=
"e#19298#21506#0"
expanded=
"false"
/>
<element
signature=
"e#19952#21488#0"
expanded=
"false"
/>
<element
signature=
"e#21542#21789#0"
expanded=
"false"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -484,27 +374,7 @@
...
@@ -484,27 +374,7 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<folding
/>
<element
signature=
"e#684#816#0"
expanded=
"false"
/>
<element
signature=
"e#1031#1069#0"
expanded=
"false"
/>
<element
signature=
"e#1170#1519#0"
expanded=
"false"
/>
<element
signature=
"e#1583#1703#0"
expanded=
"false"
/>
<element
signature=
"e#1744#1782#0"
expanded=
"false"
/>
<element
signature=
"e#1894#2173#0"
expanded=
"false"
/>
<element
signature=
"e#2208#2434#0"
expanded=
"false"
/>
<element
signature=
"e#2467#2828#0"
expanded=
"false"
/>
<element
signature=
"e#2958#5093#0"
expanded=
"false"
/>
<element
signature=
"e#5173#7343#0"
expanded=
"false"
/>
<element
signature=
"e#7434#9048#0"
expanded=
"false"
/>
<element
signature=
"e#9086#12460#0"
expanded=
"false"
/>
<element
signature=
"e#12489#12603#0"
expanded=
"false"
/>
<element
signature=
"e#12695#13841#0"
expanded=
"false"
/>
<element
signature=
"e#13883#14183#0"
expanded=
"false"
/>
<element
signature=
"e#15776#19248#0"
expanded=
"false"
/>
<element
signature=
"e#19298#21506#0"
expanded=
"false"
/>
<element
signature=
"e#19952#21488#0"
expanded=
"false"
/>
<element
signature=
"e#21542#21789#0"
expanded=
"false"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -512,27 +382,7 @@
...
@@ -512,27 +382,7 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<folding
/>
<element
signature=
"e#684#816#0"
expanded=
"false"
/>
<element
signature=
"e#1031#1069#0"
expanded=
"false"
/>
<element
signature=
"e#1170#1519#0"
expanded=
"false"
/>
<element
signature=
"e#1583#1703#0"
expanded=
"false"
/>
<element
signature=
"e#1744#1782#0"
expanded=
"false"
/>
<element
signature=
"e#1894#2173#0"
expanded=
"false"
/>
<element
signature=
"e#2208#2434#0"
expanded=
"false"
/>
<element
signature=
"e#2467#2828#0"
expanded=
"false"
/>
<element
signature=
"e#2958#5093#0"
expanded=
"false"
/>
<element
signature=
"e#5173#7343#0"
expanded=
"false"
/>
<element
signature=
"e#7434#9048#0"
expanded=
"false"
/>
<element
signature=
"e#9086#12460#0"
expanded=
"false"
/>
<element
signature=
"e#12489#12603#0"
expanded=
"false"
/>
<element
signature=
"e#12695#13841#0"
expanded=
"false"
/>
<element
signature=
"e#13883#14183#0"
expanded=
"false"
/>
<element
signature=
"e#15776#19248#0"
expanded=
"false"
/>
<element
signature=
"e#19298#21506#0"
expanded=
"false"
/>
<element
signature=
"e#19952#21488#0"
expanded=
"false"
/>
<element
signature=
"e#21542#21789#0"
expanded=
"false"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -550,35 +400,14 @@
...
@@ -550,35 +400,14 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"386"
>
<state
relative-caret-position=
"386"
>
<caret
line=
"215"
column=
"1"
lean-forward=
"false"
selection-start-line=
"215"
selection-start-column=
"1"
selection-end-line=
"215"
selection-end-column=
"1"
/>
<caret
line=
"215"
column=
"1"
lean-forward=
"false"
selection-start-line=
"215"
selection-start-column=
"1"
selection-end-line=
"215"
selection-end-column=
"1"
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/js/base.js"
>
<entry
file=
"file://$PROJECT_DIR$/js/base.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"468"
>
<state
relative-caret-position=
"361"
>
<caret
line=
"18"
column=
"16"
lean-forward=
"false"
selection-start-line=
"18"
selection-start-column=
"16"
selection-end-line=
"18"
selection-end-column=
"16"
/>
<caret
line=
"461"
column=
"26"
lean-forward=
"true"
selection-start-line=
"461"
selection-start-column=
"26"
selection-end-line=
"461"
selection-end-column=
"26"
/>
<folding>
<folding
/>
<element
signature=
"e#684#816#0"
expanded=
"false"
/>
<element
signature=
"e#1031#1069#0"
expanded=
"false"
/>
<element
signature=
"e#1170#1519#0"
expanded=
"false"
/>
<element
signature=
"e#1583#1703#0"
expanded=
"false"
/>
<element
signature=
"e#1744#1782#0"
expanded=
"false"
/>
<element
signature=
"e#1894#2173#0"
expanded=
"false"
/>
<element
signature=
"e#2208#2434#0"
expanded=
"false"
/>
<element
signature=
"e#2467#2828#0"
expanded=
"false"
/>
<element
signature=
"e#2958#5093#0"
expanded=
"false"
/>
<element
signature=
"e#5173#7343#0"
expanded=
"false"
/>
<element
signature=
"e#7434#9048#0"
expanded=
"false"
/>
<element
signature=
"e#9086#12460#0"
expanded=
"false"
/>
<element
signature=
"e#12489#12603#0"
expanded=
"false"
/>
<element
signature=
"e#12695#13841#0"
expanded=
"false"
/>
<element
signature=
"e#13883#14183#0"
expanded=
"false"
/>
<element
signature=
"e#15776#19248#0"
expanded=
"false"
/>
<element
signature=
"e#19298#21506#0"
expanded=
"false"
/>
<element
signature=
"e#19952#21488#0"
expanded=
"false"
/>
<element
signature=
"e#21542#21789#0"
expanded=
"false"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
...
consulting/index.html
View file @
f81a2db0
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
...
@@ -12,6 +13,7 @@
...
@@ -12,6 +13,7 @@
<!--Shortcut icon-->
<!--Shortcut icon-->
<link
rel=
"shortcut icon"
href=
"https://www.ydinsurance.cn/wp-content/uploads/2018/04/favicon.gif"
/>
<link
rel=
"shortcut icon"
href=
"https://www.ydinsurance.cn/wp-content/uploads/2018/04/favicon.gif"
/>
</head>
</head>
<body>
<body>
<div>
<div>
<img
src=
"./images/bg.png"
>
<img
src=
"./images/bg.png"
>
...
@@ -20,7 +22,7 @@
...
@@ -20,7 +22,7 @@
<ul
class=
"left"
>
<ul
class=
"left"
>
<li
class=
"kefu_Wrapper"
>
<li
class=
"kefu_Wrapper"
>
<a
href=
"http://q.url.cn/abkzV9?_type=wpa&qidian=true"
target=
"_blank"
>
<a
href=
"http://q.url.cn/abkzV9?_type=wpa&qidian=true"
target=
"_blank"
>
<img
class=
"icon"
src=
"./images/icon.png"
alt=
"icon"
>
<img
class=
"icon"
src=
"./images/icon.png"
alt=
"icon"
>
<div
class=
"kefu"
>
客服
</div>
<div
class=
"kefu"
>
客服
</div>
</a>
</a>
</li>
</li>
...
@@ -98,11 +100,11 @@
...
@@ -98,11 +100,11 @@
<script
src=
"./js/base.js"
></script>
<script
src=
"./js/base.js"
></script>
<script>
<script>
var
_hmt
=
_hmt
||
[];
var
_hmt
=
_hmt
||
[];
(
function
()
{
(
function
()
{
const
host
=
window
.
location
.
host
;
const
host
=
window
.
location
.
host
;
var
hm
=
document
.
createElement
(
"script"
);
var
hm
=
document
.
createElement
(
"script"
);
hm
.
src
=
"https://hm.baidu.com/hm.js?36b1eb7eec3b5dac9f97d887092b5b27"
;
hm
.
src
=
"https://hm.baidu.com/hm.js?36b1eb7eec3b5dac9f97d887092b5b27"
;
if
(
host
==
'www.ydinsurance.cn'
)
{
if
(
host
==
'www.ydinsurance.cn'
)
{
hm
.
src
=
"https://hm.baidu.com/hm.js?73a2215476525c6142927963135662e0"
;
hm
.
src
=
"https://hm.baidu.com/hm.js?73a2215476525c6142927963135662e0"
;
}
}
var
s
=
document
.
getElementsByTagName
(
"script"
)[
0
];
var
s
=
document
.
getElementsByTagName
(
"script"
)[
0
];
...
@@ -110,4 +112,5 @@
...
@@ -110,4 +112,5 @@
})();
})();
</script>
</script>
</body>
</body>
</html>
</html>
\ No newline at end of file
consulting/js/base.js
View file @
f81a2db0
...
@@ -3,20 +3,13 @@ $(function () {
...
@@ -3,20 +3,13 @@ $(function () {
var
api
=
'https://mdev.zuihuibi.cn'
;
var
api
=
'https://mdev.zuihuibi.cn'
;
var
gitUrlParam
=
window
.
location
.
search
;
var
gitUrlParam
=
window
.
location
.
search
;
const
shareInfo
=
{
const
shareInfo
=
{
shareCode
:
Math
.
random
().
toString
(
36
).
substr
(
2
,
15
),
shareCode
:
null
,
destinationType
:
null
,
adultCount
:
1
,
destinationId
:
null
,
dayCount
:
366
,
destinationName
:
null
,
adultCount
:
null
,
childCount
:
null
,
eldCount
:
null
,
effectiveStartDate
:
null
,
effectiveEndDate
:
null
,
dayCount
:
null
,
shareType
:
1
,
shareType
:
1
,
customerId
:
null
,
customerId
:
null
,
planId
:
null
,
planId
:
424
,
os
:
null
,
os
:
checkOs
()
,
channel
:
0
,
channel
:
0
,
url
:
window
.
location
.
href
,
url
:
window
.
location
.
href
,
isOrder
:
0
isOrder
:
0
...
@@ -35,12 +28,15 @@ $(function () {
...
@@ -35,12 +28,15 @@ $(function () {
})
})
var
deviceType
=
checkDeviceType
();
var
deviceType
=
checkDeviceType
();
param
.
deviceType
=
deviceType
;
param
.
deviceType
=
deviceType
;
function
getToken
()
{
function
getToken
()
{
$
.
ajax
({
$
.
ajax
({
type
:
"POST"
,
type
:
"POST"
,
url
:
api
+
'/api/authorize/obtainToken'
,
url
:
api
+
'/api/authorize/obtainToken'
,
contentType
:
"application/json"
,
contentType
:
"application/json"
,
data
:
JSON
.
stringify
({
ticket
:
'job'
}),
data
:
JSON
.
stringify
({
ticket
:
'job'
}),
async
:
false
,
async
:
false
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
token
=
res
.
data
.
token
token
=
res
.
data
.
token
...
@@ -65,6 +61,7 @@ $(function () {
...
@@ -65,6 +61,7 @@ $(function () {
window
.
localStorage
.
setItem
(
'hmkw'
,
getQueryString
(
'hmkw'
))
window
.
localStorage
.
setItem
(
'hmkw'
,
getQueryString
(
'hmkw'
))
window
.
localStorage
.
setItem
(
'hmci'
,
getQueryString
(
'hmci'
))
window
.
localStorage
.
setItem
(
'hmci'
,
getQueryString
(
'hmci'
))
}
}
function
getQueryString
(
name
)
{
function
getQueryString
(
name
)
{
const
reg
=
new
RegExp
(
'(^|&)'
+
name
+
'=([^&]*)(&|$)'
);
const
reg
=
new
RegExp
(
'(^|&)'
+
name
+
'=([^&]*)(&|$)'
);
const
r
=
decodeURIComponent
(
gitUrlParam
).
substr
(
1
).
match
(
reg
);
const
r
=
decodeURIComponent
(
gitUrlParam
).
substr
(
1
).
match
(
reg
);
...
@@ -91,21 +88,21 @@ $(function () {
...
@@ -91,21 +88,21 @@ $(function () {
param
.
deviceType
=
deviceType
;
param
.
deviceType
=
deviceType
;
sendPhone
()
sendPhone
()
//发送验证码
//发送验证码
function
sendPhone
()
{
function
sendPhone
(
type
)
{
$
(
"#codeBtn"
).
click
(
function
()
{
$
(
"#codeBtn"
).
click
(
function
()
{
if
(
!
$
(
"#phone"
).
val
())
{
if
(
!
$
(
"#phone"
).
val
())
{
layer
.
open
({
layer
.
open
({
content
:
'手机号不能为空!'
content
:
'手机号不能为空!'
,
,
skin
:
'msg'
skin
:
'msg'
,
,
time
:
3
time
:
3
});
});
return
;
return
;
}
}
if
(
!
REG_CODE
.
test
(
$
(
"#phone"
).
val
()))
{
if
(
!
REG_CODE
.
test
(
$
(
"#phone"
).
val
()))
{
layer
.
open
({
layer
.
open
({
content
:
'请输入正确的手机号码!'
content
:
'请输入正确的手机号码!'
,
,
skin
:
'msg'
skin
:
'msg'
,
,
time
:
3
//2秒后自动关闭
time
:
3
//2秒后自动关闭
});
});
return
;
return
;
}
}
...
@@ -113,8 +110,13 @@ $(function () {
...
@@ -113,8 +110,13 @@ $(function () {
type
:
"POST"
,
type
:
"POST"
,
url
:
api
+
'/api/verificationCode'
,
url
:
api
+
'/api/verificationCode'
,
contentType
:
"application/json"
,
contentType
:
"application/json"
,
data
:
JSON
.
stringify
({
type
:
1
,
mobileNo
:
$
(
"#phone"
).
val
()}),
data
:
JSON
.
stringify
({
headers
:
{
"X-Authorization"
:
token
},
type
:
1
,
mobileNo
:
$
(
"#phone"
).
val
()
}),
headers
:
{
"X-Authorization"
:
token
},
async
:
false
,
async
:
false
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
...
@@ -151,22 +153,22 @@ $(function () {
...
@@ -151,22 +153,22 @@ $(function () {
// 登陆发送验证码
// 登陆发送验证码
sendLoginPhone
()
sendLoginPhone
()
//发送验证码
//
//
发送验证码
function
sendLoginPhone
()
{
function
sendLoginPhone
()
{
$
(
"#loginCodeBtn"
).
click
(
function
()
{
$
(
"#loginCodeBtn"
).
click
(
function
()
{
if
(
!
$
(
"#loginPhone"
).
val
())
{
if
(
!
$
(
"#loginPhone"
).
val
())
{
layer
.
open
({
layer
.
open
({
content
:
'手机号不能为空!'
content
:
'手机号不能为空!'
,
,
skin
:
'msg'
skin
:
'msg'
,
,
time
:
3
time
:
3
});
});
return
;
return
;
}
}
if
(
!
REG_CODE
.
test
(
$
(
"#loginPhone"
).
val
()))
{
if
(
!
REG_CODE
.
test
(
$
(
"#loginPhone"
).
val
()))
{
layer
.
open
({
layer
.
open
({
content
:
'请输入正确的手机号码!'
content
:
'请输入正确的手机号码!'
,
,
skin
:
'msg'
skin
:
'msg'
,
,
time
:
3
//2秒后自动关闭
time
:
3
//2秒后自动关闭
});
});
return
;
return
;
}
}
...
@@ -174,8 +176,13 @@ $(function () {
...
@@ -174,8 +176,13 @@ $(function () {
type
:
"POST"
,
type
:
"POST"
,
url
:
api
+
'/api/verificationCode'
,
url
:
api
+
'/api/verificationCode'
,
contentType
:
"application/json"
,
contentType
:
"application/json"
,
data
:
JSON
.
stringify
({
type
:
1
,
mobileNo
:
$
(
"#loginPhone"
).
val
()}),
data
:
JSON
.
stringify
({
headers
:
{
"X-Authorization"
:
token
},
type
:
1
,
mobileNo
:
$
(
"#loginPhone"
).
val
()
}),
headers
:
{
"X-Authorization"
:
token
},
async
:
false
,
async
:
false
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
...
@@ -222,9 +229,9 @@ $(function () {
...
@@ -222,9 +229,9 @@ $(function () {
if
(
$
(
"#loginPhone"
).
val
()
&&
$
(
"#loginCode"
).
val
())
{
if
(
$
(
"#loginPhone"
).
val
()
&&
$
(
"#loginCode"
).
val
())
{
if
(
!
REG_CODE
.
test
(
$
(
"#loginPhone"
).
val
()))
{
if
(
!
REG_CODE
.
test
(
$
(
"#loginPhone"
).
val
()))
{
layer
.
open
({
layer
.
open
({
content
:
'请输入正确的手机号码!'
content
:
'请输入正确的手机号码!'
,
,
skin
:
'msg'
skin
:
'msg'
,
,
time
:
3
//2秒后自动关闭
time
:
3
//2秒后自动关闭
});
});
return
;
return
;
}
}
...
@@ -233,7 +240,9 @@ $(function () {
...
@@ -233,7 +240,9 @@ $(function () {
type
:
'POST'
,
type
:
'POST'
,
contentType
:
"application/json"
,
contentType
:
"application/json"
,
data
:
JSON
.
stringify
(
verificationCodeRequest
),
data
:
JSON
.
stringify
(
verificationCodeRequest
),
headers
:
{
"X-Authorization"
:
token
},
headers
:
{
"X-Authorization"
:
token
},
success
:
function
(
res
)
{
success
:
function
(
res
)
{
param
.
verificationCodeValider
=
res
.
success
;
param
.
verificationCodeValider
=
res
.
success
;
if
(
!
res
.
success
)
{
if
(
!
res
.
success
)
{
...
@@ -254,13 +263,14 @@ $(function () {
...
@@ -254,13 +263,14 @@ $(function () {
}
}
getPay
();
getPay
();
function
getPay
()
{
function
getPay
()
{
$
(
"#pay"
).
click
(
function
()
{
$
(
"#pay"
).
click
(
function
()
{
if
(
!
REG_CODE
.
test
(
$
(
"#phone"
).
val
()))
{
if
(
!
REG_CODE
.
test
(
$
(
"#phone"
).
val
()))
{
layer
.
open
({
layer
.
open
({
content
:
'请输入正确的手机号码!'
content
:
'请输入正确的手机号码!'
,
,
skin
:
'msg'
skin
:
'msg'
,
,
time
:
3
//2秒后自动关闭
time
:
3
//2秒后自动关闭
});
});
return
;
return
;
}
else
{
}
else
{
...
@@ -268,17 +278,17 @@ $(function () {
...
@@ -268,17 +278,17 @@ $(function () {
}
}
if
(
!
param
.
verificationCodeValider
)
{
if
(
!
param
.
verificationCodeValider
)
{
layer
.
open
({
layer
.
open
({
content
:
'请检查您的验证码是否正确'
content
:
'请检查您的验证码是否正确'
,
,
skin
:
'msg'
skin
:
'msg'
,
,
time
:
3
//2秒后自动关闭
time
:
3
//2秒后自动关闭
});
});
return
;
return
;
}
}
if
(
!
REG_NAME
.
test
(
$
(
"#name"
).
val
()))
{
if
(
!
REG_NAME
.
test
(
$
(
"#name"
).
val
()))
{
layer
.
open
({
layer
.
open
({
content
:
'请检查您的姓名是否正确!'
content
:
'请检查您的姓名是否正确!'
,
,
skin
:
'msg'
skin
:
'msg'
,
,
time
:
3
//2秒后自动关闭
time
:
3
//2秒后自动关闭
});
});
return
;
return
;
}
else
{
}
else
{
...
@@ -317,7 +327,9 @@ $(function () {
...
@@ -317,7 +327,9 @@ $(function () {
type
:
'POST'
,
type
:
'POST'
,
contentType
:
"application/json"
,
contentType
:
"application/json"
,
data
:
JSON
.
stringify
(
data
),
data
:
JSON
.
stringify
(
data
),
headers
:
{
"X-Authorization"
:
token
},
headers
:
{
"X-Authorization"
:
token
},
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
res
[
'commonResult'
])
{
if
(
res
[
'commonResult'
])
{
if
(
res
[
'content'
])
{
if
(
res
[
'content'
])
{
...
@@ -368,37 +380,42 @@ $(function () {
...
@@ -368,37 +380,42 @@ $(function () {
}
}
}
}
hiddenContent
+=
hiddenContent
+=
'<form action="'
+
action
+
'"method="post" accept-charset="'
+
charset
+
'" onsubmit="document.charset=
\'
'
+
charset
+
'
\'
;">'
'<form action="'
+
action
+
'"method="post" accept-charset="'
+
charset
+
'" onsubmit="document.charset=
\'
'
+
charset
+
'
\'
;">'
+
+
paramHTML
paramHTML
+
+
'<button type="submit" id="submit" hidden></button>'
'<button type="submit" id="submit" hidden></button>'
+
+
'</form>'
;
'</form>'
;
d
.
innerHTML
=
hiddenContent
;
d
.
innerHTML
=
hiddenContent
;
document
.
getElementById
(
'submit'
).
click
()
document
.
getElementById
(
'submit'
).
click
()
}
}
}
}
isWeiXin
();
isWeiXin
();
function
isWeiXin
()
{
function
isWeiXin
()
{
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
if
(
ua
.
match
(
/MicroMessenger/i
)
==
'micromessenger'
||
ua
.
match
(
/_SQ_/i
)
==
'_sq_'
)
{
if
(
ua
.
match
(
/MicroMessenger/i
)
==
'micromessenger'
||
ua
.
match
(
/_SQ_/i
)
==
'_sq_'
)
{
$
(
'.share'
).
show
()
$
(
'.share'
).
show
()
;
return
true
;
return
true
;
}
else
{
}
else
{
$
(
".share"
).
hide
()
$
(
".share"
).
hide
()
;
return
false
;
return
false
;
}
}
}
}
getWxConfig
();
getWxConfig
();
// 获取微信分享配置
// 获取微信分享配置
function
getWxConfig
()
{
function
getWxConfig
()
{
var
url
=
location
.
href
.
split
(
'#'
)[
0
];
var
url
=
location
.
href
.
split
(
'#'
)[
0
];
$
.
ajax
({
$
.
ajax
({
type
:
"POST"
,
type
:
"POST"
,
url
:
api
+
'/api/wxConfig'
,
url
:
api
+
'/api/wxConfig'
,
contentType
:
"application/json"
,
contentType
:
"application/json"
,
data
:
JSON
.
stringify
({
url
:
url
}),
data
:
JSON
.
stringify
({
headers
:
{
"X-Authorization"
:
token
},
url
:
url
}),
headers
:
{
"X-Authorization"
:
token
},
async
:
false
,
async
:
false
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
wx
.
config
({
wx
.
config
({
...
@@ -431,10 +448,58 @@ $(function () {
...
@@ -431,10 +448,58 @@ $(function () {
// 自定义分享
// 自定义分享
wxShare
();
wxShare
();
function
wxShare
()
{
function
wxShare
()
{
$
(
'.share'
).
click
(
function
()
{
if
(
!
localStorage
.
getItem
(
'customerInfo'
))
{
$
(
'.loginInBox'
).
show
();
}
else
{
$
(
'.markbox'
).
show
()
var
customerInfo
=
localStorage
.
getItem
(
'customerInfo'
)
customerInfo
=
JSON
.
parse
(
customerInfo
).
customerId
;
shareInfo
.
customerId
=
customerInfo
;
shareInfo
.
shareCode
=
Math
.
random
().
toString
(
36
).
substr
(
2
,
15
)
shareInfo
.
url
=
window
.
location
.
href
+
'?shareCode='
+
shareInfo
.
shareCode
// 默认的分享信息
const
shareData
=
{
title
:
'1对1家庭风险管理服务'
,
link
:
shareInfo
.
url
,
desc
:
'产品太多、条款复杂、买哪个好,理不理赔? 獴哥保险诊所来帮您解决,提供1对1风险分析和保险方案定制。'
,
imgUrl
:
'https://ajb-images.oss-cn-shanghai-finance-1-pub.aliyuncs.com/images/menggo_head.png'
,
success
:
function
()
{
$
.
ajax
({
url
:
api
+
'/api/shareCallBack'
,
type
:
'POST'
,
contentType
:
"application/json"
,
data
:
JSON
.
stringify
(
shareInfo
),
headers
:
{
"X-Authorization"
:
token
},
success
:
function
(
res
)
{
if
(
res
[
'success'
])
{
$
(
".markbox"
).
hide
();
layer
.
open
({
content
:
'分享成功!'
,
skin
:
'msg'
,
time
:
3
//2秒后自动关闭
});
}
}
}
})
}
};
setTimeout
(
function
()
{
wx
.
ready
(
function
()
{
wx
.
onMenuShareAppMessage
(
shareData
);
// 分享微信
wx
.
onMenuShareTimeline
(
shareData
);
// 分享到朋友圈
wx
.
onMenuShareQQ
(
shareData
);
// 分享到QQ
});
},
500
)
}
})
}
checkVerificationCode
()
//验证验证码
//验证验证码
function
checkVerificationCode
()
{
function
checkVerificationCode
()
{
$
(
"#code"
).
keyup
(
function
()
{
$
(
"#code"
).
keyup
(
function
()
{
...
@@ -446,9 +511,9 @@ $(function () {
...
@@ -446,9 +511,9 @@ $(function () {
if
(
$
(
"#phone"
).
val
()
&&
$
(
"#code"
).
val
())
{
if
(
$
(
"#phone"
).
val
()
&&
$
(
"#code"
).
val
())
{
if
(
!
REG_CODE
.
test
(
$
(
"#phone"
).
val
()))
{
if
(
!
REG_CODE
.
test
(
$
(
"#phone"
).
val
()))
{
layer
.
open
({
layer
.
open
({
content
:
'请输入正确的手机号码!'
content
:
'请输入正确的手机号码!'
,
,
skin
:
'msg'
skin
:
'msg'
,
,
time
:
3
//2秒后自动关闭
time
:
3
//2秒后自动关闭
});
});
return
;
return
;
}
}
...
@@ -457,7 +522,9 @@ $(function () {
...
@@ -457,7 +522,9 @@ $(function () {
type
:
'POST'
,
type
:
'POST'
,
contentType
:
"application/json"
,
contentType
:
"application/json"
,
data
:
JSON
.
stringify
(
verificationCodeRequest
),
data
:
JSON
.
stringify
(
verificationCodeRequest
),
headers
:
{
"X-Authorization"
:
token
},
headers
:
{
"X-Authorization"
:
token
},
success
:
function
(
res
)
{
success
:
function
(
res
)
{
param
.
verificationCodeValider
=
res
.
success
;
param
.
verificationCodeValider
=
res
.
success
;
if
(
!
res
.
success
)
{
if
(
!
res
.
success
)
{
...
@@ -471,8 +538,12 @@ $(function () {
...
@@ -471,8 +538,12 @@ $(function () {
url
:
api
+
'/api/login'
,
url
:
api
+
'/api/login'
,
method
:
'POST'
,
method
:
'POST'
,
contentType
:
"application/json"
,
contentType
:
"application/json"
,
headers
:
{
"X-Authorization"
:
token
},
headers
:
{
data
:
JSON
.
stringify
({
mobileNo
:
$
(
"#phone"
).
val
()}),
"X-Authorization"
:
token
},
data
:
JSON
.
stringify
({
mobileNo
:
$
(
"#phone"
).
val
()
}),
success
:
function
(
res
)
{
success
:
function
(
res
)
{
param
.
customerId
=
res
.
data
.
customerId
;
param
.
customerId
=
res
.
data
.
customerId
;
var
customerInfo
=
{
var
customerInfo
=
{
...
@@ -513,9 +584,9 @@ $(function () {
...
@@ -513,9 +584,9 @@ $(function () {
$
(
'#loginIn'
).
click
(
function
()
{
$
(
'#loginIn'
).
click
(
function
()
{
if
(
!
REG_CODE
.
test
(
$
(
"#loginPhone"
).
val
()))
{
if
(
!
REG_CODE
.
test
(
$
(
"#loginPhone"
).
val
()))
{
layer
.
open
({
layer
.
open
({
content
:
'请输入正确的手机号码!'
content
:
'请输入正确的手机号码!'
,
,
skin
:
'msg'
skin
:
'msg'
,
,
time
:
3
//2秒后自动关闭
time
:
3
//2秒后自动关闭
});
});
return
;
return
;
}
else
{
}
else
{
...
@@ -523,9 +594,9 @@ $(function () {
...
@@ -523,9 +594,9 @@ $(function () {
}
}
if
(
!
param
.
verificationCodeValider
)
{
if
(
!
param
.
verificationCodeValider
)
{
layer
.
open
({
layer
.
open
({
content
:
'请检查您的验证码是否正确'
content
:
'请检查您的验证码是否正确'
,
,
skin
:
'msg'
skin
:
'msg'
,
,
time
:
3
//2秒后自动关闭
time
:
3
//2秒后自动关闭
});
});
return
;
return
;
}
}
...
@@ -533,8 +604,12 @@ $(function () {
...
@@ -533,8 +604,12 @@ $(function () {
url
:
api
+
'/api/login'
,
url
:
api
+
'/api/login'
,
type
:
'POST'
,
type
:
'POST'
,
contentType
:
"application/json"
,
contentType
:
"application/json"
,
data
:
JSON
.
stringify
({
mobileNo
:
$
(
"#loginPhone"
).
val
()}),
data
:
JSON
.
stringify
({
headers
:
{
"X-Authorization"
:
token
},
mobileNo
:
$
(
"#loginPhone"
).
val
()
}),
headers
:
{
"X-Authorization"
:
token
},
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
res
[
'success'
])
{
if
(
res
[
'success'
])
{
param
.
customerId
=
res
.
data
.
customerId
;
param
.
customerId
=
res
.
data
.
customerId
;
...
@@ -564,15 +639,34 @@ $(function () {
...
@@ -564,15 +639,34 @@ $(function () {
})
})
}
}
$
(
'.share'
).
click
(
function
()
{
function
checkOs
()
{
console
.
log
(
localStorage
.
getItem
(
'customerInfo'
))
let
os
;
if
(
!
localStorage
.
getItem
(
'customerInfo'
))
{
const
isWin
=
(
navigator
.
platform
===
'Win32'
)
||
(
navigator
.
platform
===
'Windows'
);
console
.
log
(
'要去登陆'
)
const
isMac
=
(
navigator
.
platform
===
'Mac68K'
)
||
$
(
'.loginInBox'
).
show
();
(
navigator
.
platform
===
'MacPPC'
)
||
(
navigator
.
platform
===
'Macintosh'
)
||
(
navigator
.
platform
===
'MacIntel'
);
if
(
/
(
iPhone|iPad|iPod|iOS
)
/i
.
test
(
navigator
.
userAgent
))
{
os
=
1
;
return
os
;
// 这是iOS平台下浏览器
}
else
if
(
/android/i
.
test
(
navigator
.
userAgent
))
{
os
=
2
;
return
os
;
// 这是Android平台下浏览器
}
else
if
(
isWin
)
{
os
=
3
;
return
os
;
// 这是Android平台下浏览器
}
else
if
(
isMac
)
{
os
=
4
;
return
os
;
// 这是mac系统
}
else
if
(
/Linux/i
.
test
(
navigator
.
userAgent
))
{
os
=
5
;
return
os
;
// 这是Linux平台下浏览器
}
else
{
}
else
{
$
(
'.markbox'
).
show
()
os
=
6
;
return
os
;
}
}
})
}
$
(
'.markbox'
).
click
(
function
()
{
$
(
'.markbox'
).
click
(
function
()
{
$
(
'.markbox'
).
hide
()
$
(
'.markbox'
).
hide
()
})
})
...
...
consulting1/.idea/workspace.xml
View file @
f81a2db0
...
@@ -15,11 +15,68 @@
...
@@ -15,11 +15,68 @@
<component
name=
"ExecutionTargetManager"
SELECTED_TARGET=
"default_target"
/>
<component
name=
"ExecutionTargetManager"
SELECTED_TARGET=
"default_target"
/>
<component
name=
"FileEditorManager"
>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
leaf-file-name=
"base.js"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
leaf-file-name=
"base.js"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/js/base.js"
>
<entry
file=
"file://$PROJECT_DIR$/js/base.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"52"
>
<state
relative-caret-position=
"260"
>
<caret
line=
"2"
column=
"24"
lean-forward=
"false"
selection-start-line=
"2"
selection-start-column=
"24"
selection-end-line=
"2"
selection-end-column=
"24"
/>
<caret
line=
"10"
column=
"19"
lean-forward=
"false"
selection-start-line=
"10"
selection-start-column=
"19"
selection-end-line=
"10"
selection-end-column=
"19"
/>
<folding>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"178:199"
ph=
"{"url": window.location.href...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18056:18070"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18056:18080"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18056:18087"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18165:21829"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18204:21822"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18252:21811"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18302:18426"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18486:21713"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18547:18806"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18584:18750"
ph=
"{"content": '请输入正确的手机号码!'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18834:21694"
ph=
"{"type": 'POST'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19100:19180"
ph=
"{"X-Authorization": token...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19230:21672"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19351:19613"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19396:19582"
ph=
"{"content": res.message...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19649:21645"
ph=
"{"method": 'POST'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19862:19958"
ph=
"{"X-Authorization": token...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"20013:20112"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"20171:21615"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"20304:21111"
ph=
"{"customerId": res.data.customerId...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21271:21581"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21324:21542"
ph=
"{"content": res.message...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21719:21797"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21879:24159"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21921:24152"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21979:22182"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22008:22142"
ph=
"{"content": '请输入正确的手机号码!'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22188:22256"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22305:22509"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22334:22469"
ph=
"{"content": '请检查您的验证码是否正确'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22529:24141"
ph=
"{"type": 'POST'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22688:22760"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22788:22852"
ph=
"{"X-Authorization": token...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22894:24127"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22936:23889"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"23045:23725"
ph=
"{"customerId": res.data.customerId...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"23895:24109"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"23932:24086"
ph=
"{"content": res.message...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24184:25115"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24570:24639"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24687:24760"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24777:24850"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24867:24932"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24978:25049"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"25055:25109"
ph=
"{...}"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"style.css"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/css/style.css"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"442"
>
<caret
line=
"336"
column=
"1"
lean-forward=
"false"
selection-start-line=
"336"
selection-start-column=
"1"
selection-end-line=
"336"
selection-end-column=
"1"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
...
@@ -36,6 +93,7 @@
...
@@ -36,6 +93,7 @@
<option
name=
"CHANGED_PATHS"
>
<option
name=
"CHANGED_PATHS"
>
<list>
<list>
<option
value=
"$PROJECT_DIR$/js/base.js"
/>
<option
value=
"$PROJECT_DIR$/js/base.js"
/>
<option
value=
"$PROJECT_DIR$/css/style.css"
/>
</list>
</list>
</option>
</option>
</component>
</component>
...
@@ -66,8 +124,8 @@
...
@@ -66,8 +124,8 @@
<foldersAlwaysOnTop
value=
"true"
/>
<foldersAlwaysOnTop
value=
"true"
/>
</navigator>
</navigator>
<panes>
<panes>
<pane
id=
"Scratches"
/>
<pane
id=
"Scope"
/>
<pane
id=
"Scope"
/>
<pane
id=
"Scratches"
/>
<pane
id=
"ProjectPane"
>
<pane
id=
"ProjectPane"
>
<subPane>
<subPane>
<PATH>
<PATH>
...
@@ -90,7 +148,7 @@
...
@@ -90,7 +148,7 @@
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
<PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"
j
s"
/>
<option
name=
"myItemId"
value=
"
cs
s"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
</PATH>
</PATH>
...
@@ -123,6 +181,85 @@
...
@@ -123,6 +181,85 @@
</list>
</list>
</option>
</option>
</component>
</component>
<component
name=
"RunManager"
selected=
"JavaScript Debug.index.html"
>
<configuration
default=
"false"
name=
"index.html"
type=
"JavascriptDebugType"
factoryName=
"JavaScript Debug"
temporary=
"true"
nameIsGenerated=
"true"
uri=
"http://localhost:63342/consulting1/index.html"
>
<method
/>
</configuration>
<configuration
default=
"true"
type=
"DartCommandLineRunConfigurationType"
factoryName=
"Dart Command Line Application"
>
<method
/>
</configuration>
<configuration
default=
"true"
type=
"DartTestRunConfigurationType"
factoryName=
"Dart Test"
>
<method
/>
</configuration>
<configuration
default=
"true"
type=
"JavaScriptTestRunnerJest"
factoryName=
"Jest"
>
<node-interpreter
value=
"project"
/>
<working-dir
value=
""
/>
<envs
/>
<scope-kind
value=
"ALL"
/>
<method
/>
</configuration>
<configuration
default=
"true"
type=
"JavaScriptTestRunnerKarma"
factoryName=
"Karma"
>
<config-file
value=
""
/>
<node-interpreter
value=
"project"
/>
<envs
/>
<method
/>
</configuration>
<configuration
default=
"true"
type=
"JavaScriptTestRunnerProtractor"
factoryName=
"Protractor"
>
<config-file
value=
""
/>
<node-interpreter
value=
"project"
/>
<envs
/>
<method
/>
</configuration>
<configuration
default=
"true"
type=
"JavascriptDebugType"
factoryName=
"JavaScript Debug"
>
<method
/>
</configuration>
<configuration
default=
"true"
type=
"NodeJSConfigurationType"
factoryName=
"Node.js"
path-to-node=
"project"
working-dir=
""
>
<method
/>
</configuration>
<configuration
default=
"true"
type=
"cucumber.js"
factoryName=
"Cucumber.js"
>
<option
name=
"cucumberJsArguments"
value=
""
/>
<option
name=
"executablePath"
/>
<option
name=
"filePath"
/>
<method
/>
</configuration>
<configuration
default=
"true"
type=
"js.build_tools.gulp"
factoryName=
"Gulp.js"
>
<node-interpreter>
project
</node-interpreter>
<node-options
/>
<gulpfile
/>
<tasks
/>
<arguments
/>
<envs
/>
<method
/>
</configuration>
<configuration
default=
"true"
type=
"js.build_tools.npm"
factoryName=
"npm"
>
<command
value=
"run"
/>
<scripts
/>
<node-interpreter
value=
"project"
/>
<envs
/>
<method
/>
</configuration>
<configuration
default=
"true"
type=
"mocha-javascript-test-runner"
factoryName=
"Mocha"
>
<node-interpreter>
project
</node-interpreter>
<node-options
/>
<working-directory
/>
<pass-parent-env>
true
</pass-parent-env>
<envs
/>
<ui
/>
<extra-mocha-options
/>
<test-kind>
DIRECTORY
</test-kind>
<test-directory
/>
<recursive>
false
</recursive>
<method
/>
</configuration>
<list
size=
"1"
>
<item
index=
"0"
class=
"java.lang.String"
itemvalue=
"JavaScript Debug.index.html"
/>
</list>
<recent_temporary>
<list
size=
"1"
>
<item
index=
"0"
class=
"java.lang.String"
itemvalue=
"JavaScript Debug.index.html"
/>
</list>
</recent_temporary>
</component>
<component
name=
"ShelveChangesManager"
show_recycled=
"false"
>
<component
name=
"ShelveChangesManager"
show_recycled=
"false"
>
<option
name=
"remove_strategy"
value=
"false"
/>
<option
name=
"remove_strategy"
value=
"false"
/>
</component>
</component>
...
@@ -136,11 +273,13 @@
...
@@ -136,11 +273,13 @@
<workItem
from=
"1557914660695"
duration=
"32000"
/>
<workItem
from=
"1557914660695"
duration=
"32000"
/>
<workItem
from=
"1557991408898"
duration=
"13000"
/>
<workItem
from=
"1557991408898"
duration=
"13000"
/>
<workItem
from=
"1558012042424"
duration=
"15000"
/>
<workItem
from=
"1558012042424"
duration=
"15000"
/>
<workItem
from=
"1559629334645"
duration=
"169000"
/>
<workItem
from=
"1559632573777"
duration=
"597000"
/>
</task>
</task>
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"TimeTrackingManager"
>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"
60
000"
/>
<option
name=
"totallyTimeSpent"
value=
"
826
000"
/>
</component>
</component>
<component
name=
"ToolWindowManager"
>
<component
name=
"ToolWindowManager"
>
<frame
x=
"-8"
y=
"-8"
width=
"1936"
height=
"1056"
extended-state=
"6"
/>
<frame
x=
"-8"
y=
"-8"
width=
"1936"
height=
"1056"
extended-state=
"6"
/>
...
@@ -149,12 +288,12 @@
...
@@ -149,12 +288,12 @@
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.24986821"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"combo"
/>
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.24986821"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"combo"
/>
<window_info
id=
"TODO"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"6"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"TODO"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"6"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Event Log"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Event Log"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Run"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Version Control"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"false"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Version Control"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"false"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Run"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Structure"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Structure"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Debug"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Favorites"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"2"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Favorites"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"2"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Debug"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Cvs"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"4"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Cvs"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"4"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Message"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Message"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Commander"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Commander"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
...
@@ -177,9 +316,119 @@
...
@@ -177,9 +316,119 @@
<component
name=
"editorHistoryManager"
>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/js/base.js"
>
<entry
file=
"file://$PROJECT_DIR$/js/base.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"260"
>
<caret
line=
"10"
column=
"19"
lean-forward=
"false"
selection-start-line=
"10"
selection-start-column=
"19"
selection-end-line=
"10"
selection-end-column=
"19"
/>
<folding>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"178:199"
ph=
"{"url": window.location.href...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18056:18070"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18056:18080"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18056:18087"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18165:21829"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18204:21822"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18252:21811"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18302:18426"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18486:21713"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18547:18806"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18584:18750"
ph=
"{"content": '请输入正确的手机号码!'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18834:21694"
ph=
"{"type": 'POST'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19100:19180"
ph=
"{"X-Authorization": token...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19230:21672"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19351:19613"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19396:19582"
ph=
"{"content": res.message...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19649:21645"
ph=
"{"method": 'POST'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19862:19958"
ph=
"{"X-Authorization": token...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"20013:20112"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"20171:21615"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"20304:21111"
ph=
"{"customerId": res.data.customerId...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21271:21581"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21324:21542"
ph=
"{"content": res.message...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21719:21797"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21879:24159"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21921:24152"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21979:22182"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22008:22142"
ph=
"{"content": '请输入正确的手机号码!'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22188:22256"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22305:22509"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22334:22469"
ph=
"{"content": '请检查您的验证码是否正确'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22529:24141"
ph=
"{"type": 'POST'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22688:22760"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22788:22852"
ph=
"{"X-Authorization": token...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22894:24127"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22936:23889"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"23045:23725"
ph=
"{"customerId": res.data.customerId...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"23895:24109"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"23932:24086"
ph=
"{"content": res.message...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24184:25115"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24570:24639"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24687:24760"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24777:24850"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24867:24932"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24978:25049"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"25055:25109"
ph=
"{...}"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/css/style.css"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"8736"
>
<caret
line=
"336"
column=
"1"
lean-forward=
"true"
selection-start-line=
"336"
selection-start-column=
"1"
selection-end-line=
"336"
selection-end-column=
"1"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/js/base.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
<folding>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"178:199"
ph=
"{"url": window.location.href...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18056:18070"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18056:18080"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18056:18087"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18165:21829"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18204:21822"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18252:21811"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18302:18426"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18486:21713"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18547:18806"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18584:18750"
ph=
"{"content": '请输入正确的手机号码!'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18834:21694"
ph=
"{"type": 'POST'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19100:19180"
ph=
"{"X-Authorization": token...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19230:21672"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19351:19613"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19396:19582"
ph=
"{"content": res.message...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19649:21645"
ph=
"{"method": 'POST'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19862:19958"
ph=
"{"X-Authorization": token...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"20013:20112"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"20171:21615"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"20304:21111"
ph=
"{"customerId": res.data.customerId...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21271:21581"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21324:21542"
ph=
"{"content": res.message...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21719:21797"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21879:24159"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21921:24152"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21979:22182"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22008:22142"
ph=
"{"content": '请输入正确的手机号码!'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22188:22256"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22305:22509"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22334:22469"
ph=
"{"content": '请检查您的验证码是否正确'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22529:24141"
ph=
"{"type": 'POST'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22688:22760"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22788:22852"
ph=
"{"X-Authorization": token...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22894:24127"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22936:23889"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"23045:23725"
ph=
"{"customerId": res.data.customerId...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"23895:24109"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"23932:24086"
ph=
"{"content": res.message...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24184:25115"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24570:24639"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24687:24760"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24777:24850"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24867:24932"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24978:25049"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"25055:25109"
ph=
"{...}"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -187,14 +436,171 @@
...
@@ -187,14 +436,171 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
<folding>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"178:199"
ph=
"{"url": window.location.href...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18056:18070"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18056:18080"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18056:18087"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18165:21829"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18204:21822"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18252:21811"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18302:18426"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18486:21713"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18547:18806"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18584:18750"
ph=
"{"content": '请输入正确的手机号码!'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18834:21694"
ph=
"{"type": 'POST'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19100:19180"
ph=
"{"X-Authorization": token...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19230:21672"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19351:19613"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19396:19582"
ph=
"{"content": res.message...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19649:21645"
ph=
"{"method": 'POST'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19862:19958"
ph=
"{"X-Authorization": token...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"20013:20112"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"20171:21615"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"20304:21111"
ph=
"{"customerId": res.data.customerId...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21271:21581"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21324:21542"
ph=
"{"content": res.message...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21719:21797"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21879:24159"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21921:24152"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21979:22182"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22008:22142"
ph=
"{"content": '请输入正确的手机号码!'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22188:22256"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22305:22509"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22334:22469"
ph=
"{"content": '请检查您的验证码是否正确'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22529:24141"
ph=
"{"type": 'POST'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22688:22760"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22788:22852"
ph=
"{"X-Authorization": token...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22894:24127"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22936:23889"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"23045:23725"
ph=
"{"customerId": res.data.customerId...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"23895:24109"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"23932:24086"
ph=
"{"content": res.message...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24184:25115"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24570:24639"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24687:24760"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24777:24850"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24867:24932"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24978:25049"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"25055:25109"
ph=
"{...}"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/js/base.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"178:199"
ph=
"{"url": window.location.href...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18056:18070"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18056:18080"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18056:18087"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18165:21829"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18204:21822"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18252:21811"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18302:18426"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18486:21713"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18547:18806"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18584:18750"
ph=
"{"content": '请输入正确的手机号码!'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18834:21694"
ph=
"{"type": 'POST'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19100:19180"
ph=
"{"X-Authorization": token...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19230:21672"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19351:19613"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19396:19582"
ph=
"{"content": res.message...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19649:21645"
ph=
"{"method": 'POST'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19862:19958"
ph=
"{"X-Authorization": token...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"20013:20112"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"20171:21615"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"20304:21111"
ph=
"{"customerId": res.data.customerId...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21271:21581"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21324:21542"
ph=
"{"content": res.message...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21719:21797"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21879:24159"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21921:24152"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21979:22182"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22008:22142"
ph=
"{"content": '请输入正确的手机号码!'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22188:22256"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22305:22509"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22334:22469"
ph=
"{"content": '请检查您的验证码是否正确'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22529:24141"
ph=
"{"type": 'POST'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22688:22760"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22788:22852"
ph=
"{"X-Authorization": token...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22894:24127"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22936:23889"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"23045:23725"
ph=
"{"customerId": res.data.customerId...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"23895:24109"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"23932:24086"
ph=
"{"content": res.message...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24184:25115"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24570:24639"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24687:24760"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24777:24850"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24867:24932"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24978:25049"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"25055:25109"
ph=
"{...}"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/js/base.js"
>
<entry
file=
"file://$PROJECT_DIR$/js/base.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"52"
>
<state
relative-caret-position=
"260"
>
<caret
line=
"2"
column=
"24"
lean-forward=
"false"
selection-start-line=
"2"
selection-start-column=
"24"
selection-end-line=
"2"
selection-end-column=
"24"
/>
<caret
line=
"10"
column=
"19"
lean-forward=
"false"
selection-start-line=
"10"
selection-start-column=
"19"
selection-end-line=
"10"
selection-end-column=
"19"
/>
<folding>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"178:199"
ph=
"{"url": window.location.href...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18056:18070"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18056:18080"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18056:18087"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18165:21829"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18204:21822"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18252:21811"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18302:18426"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18486:21713"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18547:18806"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18584:18750"
ph=
"{"content": '请输入正确的手机号码!'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"18834:21694"
ph=
"{"type": 'POST'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19100:19180"
ph=
"{"X-Authorization": token...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19230:21672"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19351:19613"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19396:19582"
ph=
"{"content": res.message...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19649:21645"
ph=
"{"method": 'POST'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"19862:19958"
ph=
"{"X-Authorization": token...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"20013:20112"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"20171:21615"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"20304:21111"
ph=
"{"customerId": res.data.customerId...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21271:21581"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21324:21542"
ph=
"{"content": res.message...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21719:21797"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21879:24159"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21921:24152"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"21979:22182"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22008:22142"
ph=
"{"content": '请输入正确的手机号码!'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22188:22256"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22305:22509"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22334:22469"
ph=
"{"content": '请检查您的验证码是否正确'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22529:24141"
ph=
"{"type": 'POST'...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22688:22760"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22788:22852"
ph=
"{"X-Authorization": token...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22894:24127"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"22936:23889"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"23045:23725"
ph=
"{"customerId": res.data.customerId...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"23895:24109"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"23932:24086"
ph=
"{"content": res.message...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24184:25115"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24570:24639"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24687:24760"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24777:24850"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24867:24932"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"24978:25049"
ph=
"{...}"
/>
<marker
date=
"1559635072498"
expanded=
"true"
signature=
"25055:25109"
ph=
"{...}"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/css/style.css"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"442"
>
<caret
line=
"336"
column=
"1"
lean-forward=
"false"
selection-start-line=
"336"
selection-start-column=
"1"
selection-end-line=
"336"
selection-end-column=
"1"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
...
...
consulting1/css/style.css
View file @
f81a2db0
*
{
margin
:
0
;
padding
:
0
;}
*
{
html
,
body
{
margin
:
0
;
width
:
100%
;
padding
:
0
;
height
:
auto
;
}
html
,
body
{
width
:
100%
;
height
:
auto
;
min-width
:
320px
;
min-width
:
320px
;
max-width
:
640px
;
max-width
:
640px
;
margin
:
0
auto
;
margin
:
0
auto
;
font-family
:
-apple-system
,
font-family
:
-apple-system
,
BlinkMacSystemFont
,
BlinkMacSystemFont
,
"Segoe UI"
,
"Segoe UI"
,
...
@@ -17,30 +21,35 @@ html,body{
...
@@ -17,30 +21,35 @@ html,body{
SimSun
,
SimSun
,
sans-serif
;
sans-serif
;
}
}
a
{
a
{
text-decoration
:
none
;
text-decoration
:
none
;
}
}
img
{
max-width
:
100%
;
img
{
max-width
:
100%
;
display
:
block
;
display
:
block
;
}
}
ul
,
ol
,
li
{
ul
,
ol
,
li
{
list-style
:
none
;
list-style
:
none
;
}
}
input
,
button
{
background
:
none
;
input
,
button
{
outline
:
none
;
background
:
none
;
border
:
0px
;
outline
:
none
;
border
:
0px
;
}
}
.footer
{
.footer
{
display
:
-webkit-flex
;
display
:
-webkit-flex
;
display
:
flex
;
display
:
flex
;
background
:
#fff
;
background
:
#fff
;
position
:
relative
;
position
:
relative
;
height
:
65px
;
height
:
65px
;
}
}
.footer
.left
{
.footer
.left
{
-webkit-box-pack
:
start
;
-webkit-box-pack
:
start
;
-ms-flex-pack
:
start
;
-ms-flex-pack
:
start
;
justify-content
:
flex-start
;
justify-content
:
flex-start
;
...
@@ -56,7 +65,8 @@ input,button{
...
@@ -56,7 +65,8 @@ input,button{
padding
:
0
;
padding
:
0
;
width
:
66.66666667%
;
width
:
66.66666667%
;
}
}
.footer
.right
{
.footer
.right
{
width
:
33.33333333%
;
width
:
33.33333333%
;
display
:
-webkit-box
;
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
-ms-flexbox
;
...
@@ -70,16 +80,18 @@ input,button{
...
@@ -70,16 +80,18 @@ input,button{
padding
:
0
;
padding
:
0
;
color
:
#fff
;
color
:
#fff
;
font-size
:
22px
;
font-size
:
22px
;
background
:
linear-gradient
(
270deg
,
#f10000
,
#ff4e18
);
background
:
linear-gradient
(
270deg
,
#f10000
,
#ff4e18
);
}
}
.footer
li
{
.footer
li
{
color
:
#fe3400
;
color
:
#fe3400
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
}
}
.footer
li
.kefu_Wrapper
{
.footer
li
.kefu_Wrapper
{
position
:
relative
;
position
:
relative
;
width
:
80px
;
width
:
80px
;
height
:
100%
;
height
:
100%
;
...
@@ -100,7 +112,8 @@ input,button{
...
@@ -100,7 +112,8 @@ input,button{
align-items
:
center
;
align-items
:
center
;
border-right
:
1px
#dcdcdc
solid
;
border-right
:
1px
#dcdcdc
solid
;
}
}
.footer
li
.share
{
.footer
li
.share
{
display
:
-webkit-box
;
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
-ms-flexbox
;
display
:
flex
;
display
:
flex
;
...
@@ -122,7 +135,8 @@ input,button{
...
@@ -122,7 +135,8 @@ input,button{
font-size
:
13px
;
font-size
:
13px
;
}
}
.footer
li
.peice_wrapper
{
.footer
li
.peice_wrapper
{
display
:
none
;
display
:
none
;
display
:
-webkit-box
;
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
-ms-flexbox
;
...
@@ -142,42 +156,49 @@ input,button{
...
@@ -142,42 +156,49 @@ input,button{
color
:
#ff3500
;
color
:
#ff3500
;
margin-right
:
0
;
margin-right
:
0
;
}
}
.footer
li
.share
img
{
.footer
li
.share
img
{
max-width
:
45%
;
max-width
:
45%
;
}
}
.footer
li
.kefu
{
.footer
li
.kefu
{
font-size
:
13px
;
font-size
:
13px
;
color
:
#fe3400
;
color
:
#fe3400
;
text-align
:
center
;
text-align
:
center
;
}
}
.footer
li
.curPrice
{
.footer
li
.curPrice
{
font-size
:
25px
;
font-size
:
25px
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.curPrice
span
{
.curPrice
span
{
font-size
:
20px
;
font-size
:
20px
;
}
}
.price
span
{
.price
span
{
font-size
:
10px
;
font-size
:
10px
;
}
}
.price
{
.price
{
position
:
relative
;
position
:
relative
;
font-size
:
13px
;
font-size
:
13px
;
padding
:
0
10px
;
padding
:
0
10px
;
}
}
.price
::before
{
.price
::before
{
position
:
absolute
;
position
:
absolute
;
top
:
55%
;
top
:
55%
;
left
:
0
;
left
:
0
;
right
:
0
;
right
:
0
;
margin
:
0
auto
;
margin
:
0
auto
;
content
:
''
;
content
:
''
;
width
:
100%
;
width
:
100%
;
height
:
1px
;
height
:
1px
;
background-color
:
#fe3400
;
background-color
:
#fe3400
;
}
}
.modalBox
{
.modalBox
,
.loginInBox
{
position
:
fixed
;
position
:
fixed
;
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
...
@@ -193,55 +214,62 @@ input,button{
...
@@ -193,55 +214,62 @@ input,button{
max-width
:
640px
;
max-width
:
640px
;
display
:
none
;
display
:
none
;
}
}
.inputBox
{
.inputBox
{
width
:
90%
;
width
:
90%
;
margin
:
0
auto
;
margin
:
0
auto
;
position
:
relative
;
position
:
relative
;
top
:
18%
;
top
:
18%
;
background
:
#fff
;
background
:
#fff
;
padding
:
10px
;
padding
:
10px
;
}
}
.inputControl
{
.inputControl
{
width
:
90%
;
width
:
90%
;
height
:
42px
;
height
:
42px
;
border
:
1px
solid
#ada598
;
border
:
1px
solid
#ada598
;
border-radius
:
22px
;
border-radius
:
22px
;
font-size
:
13px
;
font-size
:
13px
;
margin-bottom
:
10%
;
position
:
relative
;
position
:
relative
;
display
:
flex
;
display
:
flex
;
margin
:
5%
auto
;
margin
:
5%
auto
10%
;
}
}
.inputControl
input
{
.inputControl
input
{
font-size
:
18px
;
font-size
:
18px
;
color
:
#757575
;
color
:
#757575
;
margin-left
:
5%
;
margin-left
:
5%
;
padding
:
3px
0
;
padding
:
3px
0
;
}
}
.inputControl
input
#phone
{
width
:
58%
;
.inputControl
input
#phone
{
}
width
:
58%
;
.getPhoneNumber
{
}
.getPhoneNumber
{
width
:
100%
;
width
:
100%
;
height
:
42px
;
height
:
42px
;
color
:
#000
;
color
:
#000
;
border-radius
:
22px
;
border-radius
:
22px
;
font-size
:
14px
;
font-size
:
14px
;
}
}
.autoGet
{
.autoGet
{
width
:
40%
;
width
:
40%
;
height
:
42px
;
height
:
42px
;
position
:
absolute
;
position
:
absolute
;
right
:
0px
;
right
:
0px
;
top
:
0px
;
top
:
0px
;
}
}
.commonBtn
{
.commonBtn
{
/* background: linear-gradient(270deg,#f10000,#ff4e18); */
/* background: linear-gradient(270deg,#f10000,#ff4e18); */
background
:
#ec2d37
;
background
:
#ec2d37
;
color
:
#fff
;
color
:
#fff
;
font-size
:
18px
;
font-size
:
18px
;
}
}
.goBuyBtn
{
.goBuyBtn
{
width
:
60%
;
width
:
60%
;
height
:
45px
;
height
:
45px
;
line-height
:
45px
;
line-height
:
45px
;
...
@@ -249,8 +277,9 @@ input,button{
...
@@ -249,8 +277,9 @@ input,button{
border
:
2px
solid
#ff4e18
a1
;
border
:
2px
solid
#ff4e18
a1
;
margin
:
5%
20%
;
margin
:
5%
20%
;
font-size
:
18px
;
font-size
:
18px
;
}
}
.closeModal
{
.closeModal
{
position
:
absolute
;
position
:
absolute
;
right
:
5px
;
right
:
5px
;
top
:
5px
;
top
:
5px
;
...
@@ -263,12 +292,13 @@ input,button{
...
@@ -263,12 +292,13 @@ input,button{
text-align
:
center
;
text-align
:
center
;
cursor
:
pointer
;
cursor
:
pointer
;
font-size
:
22px
;
font-size
:
22px
;
}
}
body
.layui-m-layer
.layui-m-layer-msg
{
bottom
:
0
!important
;
body
.layui-m-layer
.layui-m-layer-msg
{
}
bottom
:
0
!important
;
}
.markbox
{
.markbox
{
position
:
fixed
;
position
:
fixed
;
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
...
@@ -282,32 +312,35 @@ input,button{
...
@@ -282,32 +312,35 @@ input,button{
z-index
:
100000
;
z-index
:
100000
;
background
:
rgba
(
0
,
0
,
0
,
0.8
);
background
:
rgba
(
0
,
0
,
0
,
0.8
);
display
:
none
;
display
:
none
;
}
}
.iconfont
{
.iconfont
{
position
:
absolute
;
position
:
absolute
;
right
:
8%
;
right
:
8%
;
font-size
:
40px
;
font-size
:
40px
;
top
:
2px
;
top
:
2px
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.guideImgBox
{
.guideImgBox
{
margin
:
20px
auto
;
margin
:
20px
auto
;
}
}
.guideImgBox
img
{
.guideImgBox
img
{
max-width
:
15%
;
max-width
:
15%
;
position
:
relative
;
position
:
relative
;
left
:
80%
;
left
:
80%
;
}
}
.tipsToast
{
.tipsToast
{
margin-top
:
20%
;
margin-top
:
20%
;
}
}
.tipsToast
p
{
.tipsToast
p
{
font-size
:
18px
;
font-size
:
18px
;
margin-top
:
10px
;
margin-top
:
10px
;
text-align
:
center
;
text-align
:
center
;
letter-spacing
:
1px
;
letter-spacing
:
1px
;
}
}
consulting1/index.html
View file @
f81a2db0
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
...
@@ -11,6 +12,7 @@
...
@@ -11,6 +12,7 @@
<link
rel=
"stylesheet"
href=
"./css/style.css"
/>
<link
rel=
"stylesheet"
href=
"./css/style.css"
/>
<link
rel=
"shortcut icon"
href=
"https://www.ydinsurance.cn/wp-content/uploads/2018/04/favicon.gif"
/>
<link
rel=
"shortcut icon"
href=
"https://www.ydinsurance.cn/wp-content/uploads/2018/04/favicon.gif"
/>
</head>
</head>
<body>
<body>
<div>
<div>
<img
src=
"./images/bg_toutiao.png"
>
<img
src=
"./images/bg_toutiao.png"
>
...
@@ -19,7 +21,7 @@
...
@@ -19,7 +21,7 @@
<ul
class=
"left"
>
<ul
class=
"left"
>
<li
class=
"kefu_Wrapper"
>
<li
class=
"kefu_Wrapper"
>
<a
href=
"http://q.url.cn/abkzV9?_type=wpa&qidian=true"
target=
"_blank"
>
<a
href=
"http://q.url.cn/abkzV9?_type=wpa&qidian=true"
target=
"_blank"
>
<img
class=
"icon"
src=
"./images/icon.png"
alt=
"icon"
>
<img
class=
"icon"
src=
"./images/icon.png"
alt=
"icon"
>
<div
class=
"kefu"
>
客服
</div>
<div
class=
"kefu"
>
客服
</div>
</a>
</a>
</li>
</li>
...
@@ -70,6 +72,26 @@
...
@@ -70,6 +72,26 @@
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 登陆弹窗-->
<div
class=
"loginInBox"
>
<div
class=
'inputBox'
>
<!--获取手机号 -->
<div
class=
"mobileNoSection inputControl"
>
<input
id=
"loginPhone"
type=
'number'
maxlength=
"11"
placeholder=
"手机号"
/>
<div
class=
'autoGet'
>
<button
class=
'getPhoneNumber commonBtn'
id=
"loginCodeBtn"
>
获取验证码
</button>
</div>
</div>
<!--获取验证码 -->
<div
class=
"codeSection inputControl"
>
<input
id=
"loginCode"
type=
'number'
maxlength=
"4"
placeholder=
"短信验证码"
/>
</div>
<!--登陆 -->
<button
class=
'goBuyBtn commonBtn'
id=
"loginIn"
>
登陆
</button>
</div>
</div>
<div
id=
"d"
hidden
></div>
<div
id=
"d"
hidden
></div>
<script
src=
"https://res2.wx.qq.com/open/js/jweixin-1.4.0.js "
></script>
<script
src=
"https://res2.wx.qq.com/open/js/jweixin-1.4.0.js "
></script>
<script
src=
"./js/jquery.min.js"
></script>
<script
src=
"./js/jquery.min.js"
></script>
...
@@ -77,11 +99,11 @@
...
@@ -77,11 +99,11 @@
<script
src=
"./js/base.js"
></script>
<script
src=
"./js/base.js"
></script>
<script>
<script>
var
_hmt
=
_hmt
||
[];
var
_hmt
=
_hmt
||
[];
(
function
()
{
(
function
()
{
const
host
=
window
.
location
.
host
;
const
host
=
window
.
location
.
host
;
var
hm
=
document
.
createElement
(
"script"
);
var
hm
=
document
.
createElement
(
"script"
);
hm
.
src
=
"https://hm.baidu.com/hm.js?36b1eb7eec3b5dac9f97d887092b5b27"
;
hm
.
src
=
"https://hm.baidu.com/hm.js?36b1eb7eec3b5dac9f97d887092b5b27"
;
if
(
host
==
'www.ydinsurance.cn'
)
{
if
(
host
==
'www.ydinsurance.cn'
)
{
hm
.
src
=
"https://hm.baidu.com/hm.js?73a2215476525c6142927963135662e0"
;
hm
.
src
=
"https://hm.baidu.com/hm.js?73a2215476525c6142927963135662e0"
;
}
}
var
s
=
document
.
getElementsByTagName
(
"script"
)[
0
];
var
s
=
document
.
getElementsByTagName
(
"script"
)[
0
];
...
@@ -89,4 +111,5 @@
...
@@ -89,4 +111,5 @@
})();
})();
</script>
</script>
</body>
</body>
</html>
</html>
\ No newline at end of file
consulting1/js/base.js
View file @
f81a2db0
$
(
function
()
{
$
(
function
()
{
// var api = 'https://' + window.location.host;
// var api = 'https://' + window.location.host;
var
api
=
'https://m.zuihuibi.cn'
;
var
api
=
'https://m
dev
.zuihuibi.cn'
;
var
gitUrlParam
=
window
.
location
.
search
;
var
gitUrlParam
=
window
.
location
.
search
;
const
shareInfo
=
{
shareCode
:
null
,
adultCount
:
1
,
dayCount
:
366
,
shareType
:
1
,
customerId
:
null
,
planId
:
424
,
os
:
checkOs
(),
channel
:
0
,
url
:
window
.
location
.
href
,
isOrder
:
0
}
const
param
=
{
const
param
=
{
phone
:
''
,
phone
:
''
,
deviceType
:
''
,
deviceType
:
''
,
...
@@ -16,12 +28,15 @@ $(function () {
...
@@ -16,12 +28,15 @@ $(function () {
})
})
var
deviceType
=
checkDeviceType
();
var
deviceType
=
checkDeviceType
();
param
.
deviceType
=
deviceType
;
param
.
deviceType
=
deviceType
;
function
getToken
()
{
function
getToken
()
{
$
.
ajax
({
$
.
ajax
({
type
:
"POST"
,
type
:
"POST"
,
url
:
api
+
'/api/authorize/obtainToken'
,
url
:
api
+
'/api/authorize/obtainToken'
,
contentType
:
"application/json"
,
contentType
:
"application/json"
,
data
:
JSON
.
stringify
({
ticket
:
'job'
}),
data
:
JSON
.
stringify
({
ticket
:
'job'
}),
async
:
false
,
async
:
false
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
token
=
res
.
data
.
token
token
=
res
.
data
.
token
...
@@ -46,6 +61,7 @@ $(function () {
...
@@ -46,6 +61,7 @@ $(function () {
window
.
localStorage
.
setItem
(
'hmkw'
,
getQueryString
(
'hmkw'
))
window
.
localStorage
.
setItem
(
'hmkw'
,
getQueryString
(
'hmkw'
))
window
.
localStorage
.
setItem
(
'hmci'
,
getQueryString
(
'hmci'
))
window
.
localStorage
.
setItem
(
'hmci'
,
getQueryString
(
'hmci'
))
}
}
function
getQueryString
(
name
)
{
function
getQueryString
(
name
)
{
const
reg
=
new
RegExp
(
'(^|&)'
+
name
+
'=([^&]*)(&|$)'
);
const
reg
=
new
RegExp
(
'(^|&)'
+
name
+
'=([^&]*)(&|$)'
);
const
r
=
decodeURIComponent
(
gitUrlParam
).
substr
(
1
).
match
(
reg
);
const
r
=
decodeURIComponent
(
gitUrlParam
).
substr
(
1
).
match
(
reg
);
...
@@ -72,21 +88,21 @@ $(function () {
...
@@ -72,21 +88,21 @@ $(function () {
param
.
deviceType
=
deviceType
;
param
.
deviceType
=
deviceType
;
sendPhone
()
sendPhone
()
//发送验证码
//发送验证码
function
sendPhone
()
{
function
sendPhone
(
type
)
{
$
(
"#codeBtn"
).
click
(
function
()
{
$
(
"#codeBtn"
).
click
(
function
()
{
if
(
!
$
(
"#phone"
).
val
())
{
if
(
!
$
(
"#phone"
).
val
())
{
layer
.
open
({
layer
.
open
({
content
:
'手机号不能为空!'
content
:
'手机号不能为空!'
,
,
skin
:
'msg'
skin
:
'msg'
,
,
time
:
3
time
:
3
});
});
return
;
return
;
}
}
if
(
!
REG_CODE
.
test
(
$
(
"#phone"
).
val
()))
{
if
(
!
REG_CODE
.
test
(
$
(
"#phone"
).
val
()))
{
layer
.
open
({
layer
.
open
({
content
:
'请输入正确的手机号码!'
content
:
'请输入正确的手机号码!'
,
,
skin
:
'msg'
skin
:
'msg'
,
,
time
:
3
//2秒后自动关闭
time
:
3
//2秒后自动关闭
});
});
return
;
return
;
}
}
...
@@ -94,8 +110,13 @@ $(function () {
...
@@ -94,8 +110,13 @@ $(function () {
type
:
"POST"
,
type
:
"POST"
,
url
:
api
+
'/api/verificationCode'
,
url
:
api
+
'/api/verificationCode'
,
contentType
:
"application/json"
,
contentType
:
"application/json"
,
data
:
JSON
.
stringify
({
type
:
1
,
mobileNo
:
$
(
"#phone"
).
val
()}),
data
:
JSON
.
stringify
({
headers
:
{
"X-Authorization"
:
token
},
type
:
1
,
mobileNo
:
$
(
"#phone"
).
val
()
}),
headers
:
{
"X-Authorization"
:
token
},
async
:
false
,
async
:
false
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
...
@@ -130,60 +151,100 @@ $(function () {
...
@@ -130,60 +151,100 @@ $(function () {
})
})
}
}
checkVerificationCode
()
// 登陆发送验证码
//验证验证码
sendLoginPhone
()
function
checkVerificationCode
()
{
// //发送验证码
$
(
"#code"
).
keyup
(
function
()
{
function
sendLoginPhone
()
{
if
(
$
(
"#code"
).
val
().
length
==
4
)
{
$
(
"#loginCodeBtn"
).
click
(
function
()
{
const
verificationCodeRequest
=
{
if
(
!
$
(
"#loginPhone"
).
val
())
{
mobileNo
:
$
(
"#phone"
).
val
(),
layer
.
open
({
verificationCode
:
$
(
"#code"
).
val
(),
content
:
'手机号不能为空!'
,
skin
:
'msg'
,
time
:
3
});
return
;
}
}
if
(
$
(
"#phone"
).
val
()
&&
$
(
"#code"
).
val
())
{
if
(
!
REG_CODE
.
test
(
$
(
"#loginPhone"
).
val
()))
{
if
(
!
REG_CODE
.
test
(
$
(
"#phone"
).
val
()))
{
layer
.
open
({
layer
.
open
({
content
:
'请输入正确的手机号码!'
content
:
'请输入正确的手机号码!'
,
,
skin
:
'msg'
skin
:
'msg'
,
,
time
:
3
//2秒后自动关闭
time
:
3
//2秒后自动关闭
});
});
return
;
return
;
}
}
$
.
ajax
({
$
.
ajax
({
url
:
api
+
'/api/checkVerificationCode'
,
type
:
"POST"
,
type
:
'POST
'
,
url
:
api
+
'/api/verificationCode
'
,
contentType
:
"application/json"
,
contentType
:
"application/json"
,
data
:
JSON
.
stringify
(
verificationCodeRequest
),
data
:
JSON
.
stringify
({
headers
:
{
"X-Authorization"
:
token
},
type
:
1
,
mobileNo
:
$
(
"#loginPhone"
).
val
()
}),
headers
:
{
"X-Authorization"
:
token
},
async
:
false
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
param
.
verificationCodeValider
=
res
.
success
;
if
(
res
.
success
)
{
if
(
!
res
.
success
)
{
layer
.
open
({
content
:
'发送成功'
,
skin
:
'msg'
,
time
:
3
//2秒后自动关闭
});
$
(
'#loginCodeBtn'
).
attr
(
'disabled'
,
true
)
var
timeCount
=
60
;
var
codeBtnHtml
=
'获取验证码'
;
var
timer
=
setInterval
(
function
()
{
timeCount
--
;
codeBtnHtml
=
'('
+
timeCount
+
')s'
;
if
(
timeCount
<=
0
)
{
codeBtnHtml
=
'重新获取'
;
clearInterval
(
timer
);
timeCount
=
60
;
$
(
'#loginCodeBtn'
).
removeAttr
(
'disabled'
)
}
$
(
"#loginCodeBtn"
).
html
(
codeBtnHtml
)
},
1000
)
}
else
{
layer
.
open
({
layer
.
open
({
content
:
res
.
message
,
content
:
res
.
message
,
skin
:
'msg'
,
skin
:
'msg'
,
time
:
3
time
:
3
})
})
}
}
}
})
})
}
checkLoginVerificationCode
()
//验证登录验证码
function
checkLoginVerificationCode
()
{
$
(
"#loginCode"
).
keyup
(
function
()
{
if
(
$
(
"#loginCode"
).
val
().
length
==
4
)
{
const
verificationCodeRequest
=
{
mobileNo
:
$
(
"#loginPhone"
).
val
(),
verificationCode
:
$
(
"#loginCode"
).
val
(),
}
if
(
$
(
"#loginPhone"
).
val
()
&&
$
(
"#loginCode"
).
val
())
{
if
(
!
REG_CODE
.
test
(
$
(
"#loginPhone"
).
val
()))
{
layer
.
open
({
content
:
'请输入正确的手机号码!'
,
skin
:
'msg'
,
time
:
3
//2秒后自动关闭
});
return
;
}
$
.
ajax
({
$
.
ajax
({
url
:
api
+
'/api/login
'
,
url
:
api
+
'/api/checkVerificationCode
'
,
method
:
'POST'
,
type
:
'POST'
,
contentType
:
"application/json"
,
contentType
:
"application/json"
,
headers
:
{
"X-Authorization"
:
token
},
data
:
JSON
.
stringify
(
verificationCodeRequest
),
data
:
JSON
.
stringify
({
mobileNo
:
$
(
"#phone"
).
val
()}),
headers
:
{
"X-Authorization"
:
token
},
success
:
function
(
res
)
{
success
:
function
(
res
)
{
param
.
customerId
=
res
.
data
.
customerId
;
param
.
verificationCodeValider
=
res
.
success
;
var
customerInfo
=
{
customerId
:
res
.
data
.
customerId
,
customerName
:
res
.
data
.
customerName
,
customerNickName
:
res
.
data
.
customerNickName
,
headImgPath
:
res
.
data
.
headImgePath
,
cusLevel
:
res
.
data
.
cusLevel
,
cusLevelDesc
:
res
.
data
.
cusLevelDesc
,
referralLevel
:
res
.
data
.
referralLevel
,
referralLevelDesc
:
res
.
data
.
referralLevelDesc
,
totalFortune
:
res
.
data
.
totalFortune
,
mobileNo
:
$
(
"#phone"
).
val
()
};
localStorage
.
setItem
(
'customerInfo'
,
JSON
.
stringify
(
customerInfo
));
if
(
!
res
.
success
)
{
if
(
!
res
.
success
)
{
layer
.
open
({
layer
.
open
({
content
:
res
.
message
,
content
:
res
.
message
,
...
@@ -193,8 +254,6 @@ $(function () {
...
@@ -193,8 +254,6 @@ $(function () {
}
}
}
}
})
})
}
})
}
else
{
}
else
{
param
.
verificationCodeValider
=
false
;
param
.
verificationCodeValider
=
false
;
}
}
...
@@ -204,13 +263,14 @@ $(function () {
...
@@ -204,13 +263,14 @@ $(function () {
}
}
getPay
();
getPay
();
function
getPay
()
{
function
getPay
()
{
$
(
"#pay"
).
click
(
function
()
{
$
(
"#pay"
).
click
(
function
()
{
if
(
!
REG_CODE
.
test
(
$
(
"#phone"
).
val
()))
{
if
(
!
REG_CODE
.
test
(
$
(
"#phone"
).
val
()))
{
layer
.
open
({
layer
.
open
({
content
:
'请输入正确的手机号码!'
content
:
'请输入正确的手机号码!'
,
,
skin
:
'msg'
skin
:
'msg'
,
,
time
:
3
//2秒后自动关闭
time
:
3
//2秒后自动关闭
});
});
return
;
return
;
}
else
{
}
else
{
...
@@ -218,17 +278,17 @@ $(function () {
...
@@ -218,17 +278,17 @@ $(function () {
}
}
if
(
!
param
.
verificationCodeValider
)
{
if
(
!
param
.
verificationCodeValider
)
{
layer
.
open
({
layer
.
open
({
content
:
'请检查您的验证码是否正确'
content
:
'请检查您的验证码是否正确'
,
,
skin
:
'msg'
skin
:
'msg'
,
,
time
:
3
//2秒后自动关闭
time
:
3
//2秒后自动关闭
});
});
return
;
return
;
}
}
if
(
!
REG_NAME
.
test
(
$
(
"#name"
).
val
()))
{
if
(
!
REG_NAME
.
test
(
$
(
"#name"
).
val
()))
{
layer
.
open
({
layer
.
open
({
content
:
'请检查您的姓名是否正确!'
content
:
'请检查您的姓名是否正确!'
,
,
skin
:
'msg'
skin
:
'msg'
,
,
time
:
3
//2秒后自动关闭
time
:
3
//2秒后自动关闭
});
});
return
;
return
;
}
else
{
}
else
{
...
@@ -267,7 +327,9 @@ $(function () {
...
@@ -267,7 +327,9 @@ $(function () {
type
:
'POST'
,
type
:
'POST'
,
contentType
:
"application/json"
,
contentType
:
"application/json"
,
data
:
JSON
.
stringify
(
data
),
data
:
JSON
.
stringify
(
data
),
headers
:
{
"X-Authorization"
:
token
},
headers
:
{
"X-Authorization"
:
token
},
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
res
[
'commonResult'
])
{
if
(
res
[
'commonResult'
])
{
if
(
res
[
'content'
])
{
if
(
res
[
'content'
])
{
...
@@ -318,36 +380,42 @@ $(function () {
...
@@ -318,36 +380,42 @@ $(function () {
}
}
}
}
hiddenContent
+=
hiddenContent
+=
'<form action="'
+
action
+
'"method="post" accept-charset="'
+
charset
+
'" onsubmit="document.charset=
\'
'
+
charset
+
'
\'
;">'
'<form action="'
+
action
+
'"method="post" accept-charset="'
+
charset
+
'" onsubmit="document.charset=
\'
'
+
charset
+
'
\'
;">'
+
+
paramHTML
paramHTML
+
+
'<button type="submit" id="submit" hidden></button>'
'<button type="submit" id="submit" hidden></button>'
+
+
'</form>'
;
'</form>'
;
d
.
innerHTML
=
hiddenContent
;
d
.
innerHTML
=
hiddenContent
;
document
.
getElementById
(
'submit'
).
click
()
document
.
getElementById
(
'submit'
).
click
()
}
}
}
}
isWeiXin
()
isWeiXin
();
function
isWeiXin
()
{
function
isWeiXin
()
{
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
if
(
ua
.
match
(
/MicroMessenger/i
)
==
'micromessenger'
||
ua
.
match
(
/_SQ_/i
)
==
'_sq_'
)
{
if
(
ua
.
match
(
/MicroMessenger/i
)
==
'micromessenger'
||
ua
.
match
(
/_SQ_/i
)
==
'_sq_'
)
{
$
(
'.share'
).
show
()
$
(
'.share'
).
show
()
;
return
true
;
return
true
;
}
else
{
}
else
{
$
(
".share"
).
hide
()
$
(
".share"
).
hide
()
;
return
false
;
return
false
;
}
}
}
}
getWxConfig
();
getWxConfig
();
// 获取微信分享配置
// 获取微信分享配置
function
getWxConfig
()
function
getWxConfig
()
{
{
var
url
=
location
.
href
.
split
(
'#'
)[
0
];
var
url
=
location
.
href
.
split
(
'#'
)[
0
];
$
.
ajax
({
$
.
ajax
({
type
:
"POST"
,
type
:
"POST"
,
url
:
api
+
'/api/wxConfig'
,
url
:
api
+
'/api/wxConfig'
,
contentType
:
"application/json"
,
contentType
:
"application/json"
,
data
:
JSON
.
stringify
({
url
:
url
}),
data
:
JSON
.
stringify
({
headers
:
{
"X-Authorization"
:
token
},
url
:
url
}),
headers
:
{
"X-Authorization"
:
token
},
async
:
false
,
async
:
false
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
wx
.
config
({
wx
.
config
({
...
@@ -364,7 +432,10 @@ $(function () {
...
@@ -364,7 +432,10 @@ $(function () {
title
:
'1对1家庭风险管理服务'
,
title
:
'1对1家庭风险管理服务'
,
link
:
window
.
location
.
href
,
link
:
window
.
location
.
href
,
desc
:
'产品太多、条款复杂、买哪个好,理不理赔? 獴哥保险诊所来帮您解决,提供1对1风险分析和保险方案定制。'
,
desc
:
'产品太多、条款复杂、买哪个好,理不理赔? 獴哥保险诊所来帮您解决,提供1对1风险分析和保险方案定制。'
,
imgUrl
:
'https://ajb-images.oss-cn-shanghai-finance-1-pub.aliyuncs.com/images/menggo_head.png'
imgUrl
:
'https://ajb-images.oss-cn-shanghai-finance-1-pub.aliyuncs.com/images/menggo_head.png'
,
success
:
function
()
{
}
};
};
wx
.
ready
(
function
()
{
wx
.
ready
(
function
()
{
wx
.
onMenuShareAppMessage
(
shareData
);
// 分享微信
wx
.
onMenuShareAppMessage
(
shareData
);
// 分享微信
...
@@ -374,10 +445,229 @@ $(function () {
...
@@ -374,10 +445,229 @@ $(function () {
}
}
})
})
}
}
$
(
'.share'
).
click
(
function
(){
// 自定义分享
wxShare
();
function
wxShare
()
{
$
(
'.share'
).
click
(
function
()
{
if
(
!
localStorage
.
getItem
(
'customerInfo'
))
{
$
(
'.loginInBox'
).
show
();
}
else
{
$
(
'.markbox'
).
show
()
$
(
'.markbox'
).
show
()
var
customerInfo
=
localStorage
.
getItem
(
'customerInfo'
)
customerInfo
=
JSON
.
parse
(
customerInfo
).
customerId
;
shareInfo
.
customerId
=
customerInfo
;
shareInfo
.
shareCode
=
Math
.
random
().
toString
(
36
).
substr
(
2
,
15
)
shareInfo
.
url
=
window
.
location
.
href
+
'?shareCode='
+
shareInfo
.
shareCode
// 默认的分享信息
const
shareData
=
{
title
:
'1对1家庭风险管理服务'
,
link
:
shareInfo
.
url
,
desc
:
'产品太多、条款复杂、买哪个好,理不理赔? 獴哥保险诊所来帮您解决,提供1对1风险分析和保险方案定制。'
,
imgUrl
:
'https://ajb-images.oss-cn-shanghai-finance-1-pub.aliyuncs.com/images/menggo_head.png'
,
success
:
function
()
{
$
.
ajax
({
url
:
api
+
'/api/shareCallBack'
,
type
:
'POST'
,
contentType
:
"application/json"
,
data
:
JSON
.
stringify
(
shareInfo
),
headers
:
{
"X-Authorization"
:
token
},
success
:
function
(
res
)
{
if
(
res
[
'success'
])
{
$
(
".markbox"
).
hide
();
layer
.
open
({
content
:
'分享成功!'
,
skin
:
'msg'
,
time
:
3
//2秒后自动关闭
});
}
}
})
})
$
(
'.markbox'
).
click
(
function
(){
}
};
setTimeout
(
function
()
{
wx
.
ready
(
function
()
{
wx
.
onMenuShareAppMessage
(
shareData
);
// 分享微信
wx
.
onMenuShareTimeline
(
shareData
);
// 分享到朋友圈
wx
.
onMenuShareQQ
(
shareData
);
// 分享到QQ
});
},
500
)
}
})
}
checkVerificationCode
()
//验证验证码
function
checkVerificationCode
()
{
$
(
"#code"
).
keyup
(
function
()
{
if
(
$
(
"#code"
).
val
().
length
==
4
)
{
const
verificationCodeRequest
=
{
mobileNo
:
$
(
"#phone"
).
val
(),
verificationCode
:
$
(
"#code"
).
val
(),
}
if
(
$
(
"#phone"
).
val
()
&&
$
(
"#code"
).
val
())
{
if
(
!
REG_CODE
.
test
(
$
(
"#phone"
).
val
()))
{
layer
.
open
({
content
:
'请输入正确的手机号码!'
,
skin
:
'msg'
,
time
:
3
//2秒后自动关闭
});
return
;
}
$
.
ajax
({
url
:
api
+
'/api/checkVerificationCode'
,
type
:
'POST'
,
contentType
:
"application/json"
,
data
:
JSON
.
stringify
(
verificationCodeRequest
),
headers
:
{
"X-Authorization"
:
token
},
success
:
function
(
res
)
{
param
.
verificationCodeValider
=
res
.
success
;
if
(
!
res
.
success
)
{
layer
.
open
({
content
:
res
.
message
,
skin
:
'msg'
,
time
:
3
})
}
$
.
ajax
({
url
:
api
+
'/api/login'
,
method
:
'POST'
,
contentType
:
"application/json"
,
headers
:
{
"X-Authorization"
:
token
},
data
:
JSON
.
stringify
({
mobileNo
:
$
(
"#phone"
).
val
()
}),
success
:
function
(
res
)
{
param
.
customerId
=
res
.
data
.
customerId
;
var
customerInfo
=
{
customerId
:
res
.
data
.
customerId
,
customerName
:
res
.
data
.
customerName
,
customerNickName
:
res
.
data
.
customerNickName
,
headImgPath
:
res
.
data
.
headImgePath
,
cusLevel
:
res
.
data
.
cusLevel
,
cusLevelDesc
:
res
.
data
.
cusLevelDesc
,
referralLevel
:
res
.
data
.
referralLevel
,
referralLevelDesc
:
res
.
data
.
referralLevelDesc
,
totalFortune
:
res
.
data
.
totalFortune
,
mobileNo
:
$
(
"#phone"
).
val
()
};
localStorage
.
setItem
(
'customerInfo'
,
JSON
.
stringify
(
customerInfo
));
if
(
!
res
.
success
)
{
layer
.
open
({
content
:
res
.
message
,
skin
:
'msg'
,
time
:
3
})
}
}
})
}
})
}
else
{
param
.
verificationCodeValider
=
false
;
}
}
})
}
loginIn
();
// 登录
function
loginIn
()
{
$
(
'#loginIn'
).
click
(
function
()
{
if
(
!
REG_CODE
.
test
(
$
(
"#loginPhone"
).
val
()))
{
layer
.
open
({
content
:
'请输入正确的手机号码!'
,
skin
:
'msg'
,
time
:
3
//2秒后自动关闭
});
return
;
}
else
{
param
.
phone
=
$
(
"#loginPhone"
).
val
()
}
if
(
!
param
.
verificationCodeValider
)
{
layer
.
open
({
content
:
'请检查您的验证码是否正确'
,
skin
:
'msg'
,
time
:
3
//2秒后自动关闭
});
return
;
}
$
.
ajax
({
url
:
api
+
'/api/login'
,
type
:
'POST'
,
contentType
:
"application/json"
,
data
:
JSON
.
stringify
({
mobileNo
:
$
(
"#loginPhone"
).
val
()
}),
headers
:
{
"X-Authorization"
:
token
},
success
:
function
(
res
)
{
if
(
res
[
'success'
])
{
param
.
customerId
=
res
.
data
.
customerId
;
var
customerInfo
=
{
customerId
:
res
.
data
.
customerId
,
customerName
:
res
.
data
.
customerName
,
customerNickName
:
res
.
data
.
customerNickName
,
headImgPath
:
res
.
data
.
headImgePath
,
cusLevel
:
res
.
data
.
cusLevel
,
cusLevelDesc
:
res
.
data
.
cusLevelDesc
,
referralLevel
:
res
.
data
.
referralLevel
,
referralLevelDesc
:
res
.
data
.
referralLevelDesc
,
totalFortune
:
res
.
data
.
totalFortune
,
mobileNo
:
$
(
"#loginPhone"
).
val
()
};
localStorage
.
setItem
(
'customerInfo'
,
JSON
.
stringify
(
customerInfo
));
$
(
'.loginInBox'
).
hide
();
}
else
{
layer
.
open
({
content
:
res
.
message
,
skin
:
'msg'
,
time
:
3
})
}
}
})
})
}
function
checkOs
()
{
let
os
;
const
isWin
=
(
navigator
.
platform
===
'Win32'
)
||
(
navigator
.
platform
===
'Windows'
);
const
isMac
=
(
navigator
.
platform
===
'Mac68K'
)
||
(
navigator
.
platform
===
'MacPPC'
)
||
(
navigator
.
platform
===
'Macintosh'
)
||
(
navigator
.
platform
===
'MacIntel'
);
if
(
/
(
iPhone|iPad|iPod|iOS
)
/i
.
test
(
navigator
.
userAgent
))
{
os
=
1
;
return
os
;
// 这是iOS平台下浏览器
}
else
if
(
/android/i
.
test
(
navigator
.
userAgent
))
{
os
=
2
;
return
os
;
// 这是Android平台下浏览器
}
else
if
(
isWin
)
{
os
=
3
;
return
os
;
// 这是Android平台下浏览器
}
else
if
(
isMac
)
{
os
=
4
;
return
os
;
// 这是mac系统
}
else
if
(
/Linux/i
.
test
(
navigator
.
userAgent
))
{
os
=
5
;
return
os
;
// 这是Linux平台下浏览器
}
else
{
os
=
6
;
return
os
;
}
}
$
(
'.markbox'
).
click
(
function
()
{
$
(
'.markbox'
).
hide
()
$
(
'.markbox'
).
hide
()
})
})
});
});
\ No newline at end of file
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