Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
26f07315
Commit
26f07315
authored
Oct 31, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺详情 优化
parent
fa6d8e24
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
detaila_tl.js
public/app/js/detaila_tl.js
+10
-4
No files found.
public/app/js/detaila_tl.js
View file @
26f07315
...
...
@@ -278,7 +278,7 @@
var
nowTime
=
(
new
Date
()).
getTime
();
if
(
!
time
||
nowTime
-
time
>
24
*
3600
*
1000
){
$
.
ajax
({
url
:
'/api/
recordCallNumShare
'
,
url
:
'/api/
addUserCallAgentV2
'
,
type
:
'POST'
,
async
:
true
,
data
:
{
...
...
@@ -286,10 +286,17 @@
},
dataType
:
'json'
,
success
:
function
(
data
)
{
localStorage
.
setItem
(
_shangpuId
+
"_"
+
_tel
,(
new
Date
()).
getTime
());
}
});
}
});
$
(
"#fix_tel"
).
click
(
function
()
{
var
time
=
localStorage
.
getItem
(
_tel
+
"_"
+
_shangpuId
);
var
nowTime
=
(
new
Date
()).
getTime
();
if
(
!
time
||
nowTime
-
time
>
24
*
3600
*
1000
){
$
.
ajax
({
url
:
'/api/
addUserCallAgentV2
'
,
url
:
'/api/
recordCallNumShare
'
,
type
:
'POST'
,
async
:
true
,
data
:
{
...
...
@@ -297,12 +304,11 @@
},
dataType
:
'json'
,
success
:
function
(
data
)
{
localStorage
.
setItem
(
_
shangpuId
+
"_"
+
_tel
,(
new
Date
()).
getTime
());
localStorage
.
setItem
(
_
tel
+
"_"
+
_shangpuId
,(
new
Date
()).
getTime
());
}
});
}
});
$
(
"#fix_area_bottom_btn"
).
click
(
function
()
{
_fix_bottom
.
hide
();
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment