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
d3fa212d
Commit
d3fa212d
authored
Mar 11, 2019
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
353f4445
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
110 additions
and
29 deletions
+110
-29
ci-campaign/.idea/workspace.xml
+85
-23
ci-campaign/js/base.js
+1
-0
physical-campaign/.idea/workspace.xml
+0
-0
physical-campaign/index.html
+3
-3
physical-campaign/js/base.js
+21
-3
No files found.
ci-campaign/.idea/workspace.xml
View file @
d3fa212d
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
</component>
</component>
<component
name=
"ExecutionTargetManager"
SELECTED_TARGET=
"default_target"
/>
<component
name=
"ExecutionTargetManager"
SELECTED_TARGET=
"default_target"
/>
<component
name=
"FileEditorManager"
>
<component
name=
"FileEditorManager"
>
<leaf>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
leaf-file-name=
"index.html"
pinned=
"false"
current-in-tab=
"false"
>
<file
leaf-file-name=
"index.html"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/index.html"
>
<entry
file=
"file://$PROJECT_DIR$/index.html"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"mstyle.css"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
leaf-file-name=
"mstyle.css"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/css/mstyle.css"
>
<entry
file=
"file://$PROJECT_DIR$/css/mstyle.css"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"296"
>
<state
relative-caret-position=
"296"
>
...
@@ -45,6 +45,29 @@
...
@@ -45,6 +45,29 @@
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"base.js"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/js/base.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"2418"
>
<caret
line=
"160"
column=
"29"
lean-forward=
"true"
selection-start-line=
"160"
selection-start-column=
"29"
selection-end-line=
"160"
selection-end-column=
"29"
/>
<folding>
<element
signature=
"e#417#666#0"
expanded=
"false"
/>
<element
signature=
"e#733#1082#0"
expanded=
"false"
/>
<element
signature=
"e#1138#1725#0"
expanded=
"false"
/>
<element
signature=
"e#1754#2349#0"
expanded=
"false"
/>
<element
signature=
"e#2375#2508#0"
expanded=
"false"
/>
<element
signature=
"e#2536#2714#0"
expanded=
"false"
/>
<element
signature=
"e#5947#6027#0"
expanded=
"false"
/>
<element
signature=
"e#6055#6423#0"
expanded=
"false"
/>
<element
signature=
"e#6459#6685#0"
expanded=
"false"
/>
<element
signature=
"e#6728#7179#0"
expanded=
"false"
/>
<element
signature=
"e#8934#9316#0"
expanded=
"false"
/>
<marker
date=
"1552298446567"
expanded=
"true"
signature=
"7076:7084"
ph=
"..."
/>
</folding>
</state>
</provider>
</entry>
</file>
</leaf>
</leaf>
</component>
</component>
<component
name=
"IdeDocumentHistory"
>
<component
name=
"IdeDocumentHistory"
>
...
@@ -52,8 +75,8 @@
...
@@ -52,8 +75,8 @@
<list>
<list>
<option
value=
"$PROJECT_DIR$/css/style.css"
/>
<option
value=
"$PROJECT_DIR$/css/style.css"
/>
<option
value=
"$PROJECT_DIR$/index.html"
/>
<option
value=
"$PROJECT_DIR$/index.html"
/>
<option
value=
"$PROJECT_DIR$/js/base.js"
/>
<option
value=
"$PROJECT_DIR$/css/mstyle.css"
/>
<option
value=
"$PROJECT_DIR$/css/mstyle.css"
/>
<option
value=
"$PROJECT_DIR$/js/base.js"
/>
</list>
</list>
</option>
</option>
</component>
</component>
...
@@ -84,6 +107,7 @@
...
@@ -84,6 +107,7 @@
<foldersAlwaysOnTop
value=
"true"
/>
<foldersAlwaysOnTop
value=
"true"
/>
</navigator>
</navigator>
<panes>
<panes>
<pane
id=
"Scratches"
/>
<pane
id=
"ProjectPane"
>
<pane
id=
"ProjectPane"
>
<subPane>
<subPane>
<PATH>
<PATH>
...
@@ -106,13 +130,26 @@
...
@@ -106,13 +130,26 @@
<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=
"js"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"ci-campaign"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"ci-campaign"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"css"
/>
<option
name=
"myItemId"
value=
"css"
/>
<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>
</subPane>
</subPane>
</pane>
</pane>
<pane
id=
"Scratches"
/>
<pane
id=
"Scope"
/>
<pane
id=
"Scope"
/>
</panes>
</panes>
</component>
</component>
...
@@ -227,11 +264,12 @@
...
@@ -227,11 +264,12 @@
<updated>
1552017360194
</updated>
<updated>
1552017360194
</updated>
<workItem
from=
"1552017361646"
duration=
"11714000"
/>
<workItem
from=
"1552017361646"
duration=
"11714000"
/>
<workItem
from=
"1552269917591"
duration=
"705000"
/>
<workItem
from=
"1552269917591"
duration=
"705000"
/>
<workItem
from=
"1552298410014"
duration=
"60000"
/>
</task>
</task>
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"TimeTrackingManager"
>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"124
1
9000"
/>
<option
name=
"totallyTimeSpent"
value=
"124
7
9000"
/>
</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"
/>
...
@@ -268,25 +306,27 @@
...
@@ -268,25 +306,27 @@
<watches-manager
/>
<watches-manager
/>
</component>
</component>
<component
name=
"editorHistoryManager"
>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/
js/base.js
"
>
<entry
file=
"file://$PROJECT_DIR$/
index.html
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1756"
>
<state
relative-caret-position=
"1898"
>
<caret
line=
"285"
column=
"35"
lean-forward=
"true"
selection-start-line=
"285"
selection-start-column=
"35"
selection-end-line=
"285"
selection-end-column=
"35"
/>
<caret
line=
"73"
column=
"28"
lean-forward=
"false"
selection-start-line=
"73"
selection-start-column=
"28"
selection-end-line=
"73"
selection-end-column=
"28"
/>
<folding>
<folding
/>
<element
signature=
"e#417#666#0"
expanded=
"false"
/>
</state>
<element
signature=
"e#733#1082#0"
expanded=
"false"
/>
</provider>
<element
signature=
"e#1138#1725#0"
expanded=
"false"
/>
</entry>
<element
signature=
"e#1754#2349#0"
expanded=
"false"
/>
<entry
file=
"file://$PROJECT_DIR$/css/style.css"
>
<element
signature=
"e#2375#2508#0"
expanded=
"false"
/>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<element
signature=
"e#2536#2714#0"
expanded=
"false"
/>
<state
relative-caret-position=
"3562"
>
<element
signature=
"e#2741#5860#0"
expanded=
"false"
/>
<caret
line=
"137"
column=
"25"
lean-forward=
"false"
selection-start-line=
"137"
selection-start-column=
"25"
selection-end-line=
"137"
selection-end-column=
"25"
/>
<element
signature=
"e#5911#5991#0"
expanded=
"false"
/>
<folding
/>
<element
signature=
"e#6019#6387#0"
expanded=
"false"
/>
</state>
<element
signature=
"e#6423#6649#0"
expanded=
"false"
/>
</provider>
<element
signature=
"e#6692#7143#0"
expanded=
"false"
/>
</entry>
<element
signature=
"e#8898#9280#0"
expanded=
"false"
/>
<entry
file=
"file://$PROJECT_DIR$/css/mstyle.css"
>
<marker
date=
"1552036483143"
expanded=
"true"
signature=
"7040:7048"
ph=
"..."
/>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
</folding>
<state
relative-caret-position=
"6370"
>
<caret
line=
"245"
column=
"16"
lean-forward=
"false"
selection-start-line=
"245"
selection-start-column=
"16"
selection-end-line=
"245"
selection-end-column=
"16"
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -314,5 +354,26 @@
...
@@ -314,5 +354,26 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/js/base.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"2418"
>
<caret
line=
"160"
column=
"29"
lean-forward=
"true"
selection-start-line=
"160"
selection-start-column=
"29"
selection-end-line=
"160"
selection-end-column=
"29"
/>
<folding>
<element
signature=
"e#417#666#0"
expanded=
"false"
/>
<element
signature=
"e#733#1082#0"
expanded=
"false"
/>
<element
signature=
"e#1138#1725#0"
expanded=
"false"
/>
<element
signature=
"e#1754#2349#0"
expanded=
"false"
/>
<element
signature=
"e#2375#2508#0"
expanded=
"false"
/>
<element
signature=
"e#2536#2714#0"
expanded=
"false"
/>
<element
signature=
"e#5947#6027#0"
expanded=
"false"
/>
<element
signature=
"e#6055#6423#0"
expanded=
"false"
/>
<element
signature=
"e#6459#6685#0"
expanded=
"false"
/>
<element
signature=
"e#6728#7179#0"
expanded=
"false"
/>
<element
signature=
"e#8934#9316#0"
expanded=
"false"
/>
<marker
date=
"1552298446567"
expanded=
"true"
signature=
"7076:7084"
ph=
"..."
/>
</folding>
</state>
</provider>
</entry>
</component>
</component>
</project>
</project>
\ No newline at end of file
ci-campaign/js/base.js
View file @
d3fa212d
...
@@ -156,6 +156,7 @@ $(function () {
...
@@ -156,6 +156,7 @@ $(function () {
},
3000
)
},
3000
)
return
false
;
return
false
;
}
}
param
.
campaignId
=
'7'
;
$
.
ajax
({
$
.
ajax
({
type
:
"POST"
,
type
:
"POST"
,
url
:
api
+
'/api/promotion/marketingSave'
,
url
:
api
+
'/api/promotion/marketingSave'
,
...
...
physical-campaign/.idea/workspace.xml
View file @
d3fa212d
This diff is collapsed.
Click to expand it.
physical-campaign/index.html
View file @
d3fa212d
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,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"
/>
<link
rel=
"stylesheet"
href=
"css/mstyle.css"
>
<link
rel=
"stylesheet"
href=
"css/mstyle.css"
>
<title>
重疾险
,大病保险
-最惠比
</title>
<title>
重疾险
,预约送体检
-最惠比
</title>
<meta
name=
"keywords"
content=
"重疾险,重疾险排名,重疾险哪家好"
/>
<meta
name=
"keywords"
content=
"重疾险,重疾险排名,重疾险哪家好"
/>
<meta
name=
"description"
content=
"2018畅销款重大疾病保险,保障范围100种重疾.30种轻症,保额50万。"
/>
<meta
name=
"description"
content=
"2018畅销款重大疾病保险,保障范围100种重疾.30种轻症,保额50万。"
/>
</head>
</head>
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<section
class=
"wrapper"
>
<section
class=
"wrapper"
>
<div
class=
"counts"
>
<div
class=
"counts"
>
<img
class=
"btn1"
src=
"images/btn1.png"
/>
<img
class=
"btn1"
src=
"images/btn1.png"
/>
<p
>
今天已有197人预约
</p>
<p
class=
"reservation"
>
</p>
</div>
</div>
<section>
<section>
<label>
性别:
</label>
<label>
性别:
</label>
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
<div
class=
"phoneTips tips"
></div>
<div
class=
"phoneTips tips"
></div>
</section>
</section>
<section>
<section>
<img
class=
"testBtn"
src=
"images/btn3.png"
alt=
"
保费试算
"
>
<img
class=
"testBtn"
src=
"images/btn3.png"
alt=
"
立即预约
"
>
</section>
</section>
<section
class=
"last_item"
>
<section
class=
"last_item"
>
<div
class=
"agree"
>
<div
class=
"agree"
>
...
...
physical-campaign/js/base.js
View file @
d3fa212d
$
(
function
()
{
$
(
function
()
{
// var api = 'https://' + window.location.host;
var
api
=
'https://'
+
window
.
location
.
host
;
var
api
=
'https://mdev.zuihuibi.cn'
;
var
gitUrlParam
=
window
.
location
.
search
;
var
gitUrlParam
=
window
.
location
.
search
;
var
param
=
{
var
param
=
{
sex
:
"1"
,
sex
:
"1"
,
...
@@ -14,7 +13,7 @@ $(function () {
...
@@ -14,7 +13,7 @@ $(function () {
deviceType
:
''
deviceType
:
''
}
}
init
()
init
()
;
function
init
()
{
function
init
()
{
//点击跳转到首屏
//点击跳转到首屏
orderBtn
();
orderBtn
();
...
@@ -29,6 +28,8 @@ $(function () {
...
@@ -29,6 +28,8 @@ $(function () {
choseMale
();
choseMale
();
//选女
//选女
choseFemale
();
choseFemale
();
// 获取预约人数
getCount
();
}
}
var
deviceType
=
checkDeviceType
();
var
deviceType
=
checkDeviceType
();
...
@@ -157,6 +158,7 @@ $(function () {
...
@@ -157,6 +158,7 @@ $(function () {
},
3000
)
},
3000
)
return
false
;
return
false
;
}
}
param
.
campaignId
=
'9'
;
$
.
ajax
({
$
.
ajax
({
type
:
"POST"
,
type
:
"POST"
,
url
:
api
+
'/api/promotion/marketingSave'
,
url
:
api
+
'/api/promotion/marketingSave'
,
...
@@ -182,6 +184,22 @@ $(function () {
...
@@ -182,6 +184,22 @@ $(function () {
})
})
}
}
function
getCount
()
{
$
.
ajax
({
type
:
"GET"
,
url
:
api
+
'/api/promotion/counter'
,
contentType
:
"application/json"
,
headers
:
{
"X-Authorization"
:
token
},
success
:
function
(
res
)
{
if
(
res
[
'success'
])
{
$
(
'.reservation'
).
html
(
'今天已有'
+
res
[
'data'
].
count
+
'人预约'
);
}
else
{
$
(
'.reservation'
).
html
(
'今天已有200人预约'
);
}
}
})
}
//底部tab切换
//底部tab切换
$
(
".tab li"
).
click
(
function
()
{
$
(
".tab li"
).
click
(
function
()
{
$
(
this
).
addClass
(
"selected"
).
siblings
().
removeClass
(
"selected"
);
$
(
this
).
addClass
(
"selected"
).
siblings
().
removeClass
(
"selected"
);
...
...
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