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
ec7f373e
Commit
ec7f373e
authored
Oct 22, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
c81850a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
detaila_tl.js
public/app/js/detaila_tl.js
+6
-5
No files found.
public/app/js/detaila_tl.js
View file @
ec7f373e
...
...
@@ -256,6 +256,7 @@
$
(
".pbl_cha"
).
click
(
function
()
{
_fix_top
.
hide
();
});
var
_shangpuId
=
getUrlParam
(
'id'
);
//从url获取的商铺id
var
_name
=
getUrlParam
(
'user_name'
);
var
_name_img
=
getUrlParam
(
'user_img'
);
var
_tel
=
getUrlParam
(
'user_tel'
);
...
...
@@ -272,7 +273,9 @@
}
//点击拨打 记录拨打次数
$
(
"#fix_tel"
).
click
(
function
()
{
// if($.cookie("isCallShop") != 'yes'){
var
time
=
localStorage
.
getItem
(
_shangpuId
+
"_"
+
_tel
);
var
nowTime
=
(
new
Date
()).
getTime
();
if
(
!
time
||
nowtime
-
time
>
24
*
3600
*
1000
){
$
.
ajax
({
url
:
'/api/recordCallNumShare'
,
type
:
'POST'
,
...
...
@@ -282,12 +285,10 @@
},
dataType
:
'json'
,
success
:
function
(
data
)
{
// $.cookie("isCallShop",'yes',{ expires: 1}
);
localStorage
.
setItem
(
_shangpuId
+
"_"
+
_tel
,(
new
Date
()).
getTime
()
);
}
});
// }
}
});
$
(
"#fix_area_bottom_btn"
).
click
(
function
()
{
...
...
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