Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOOD
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
whb
10 years ago
Commit
3d7d93da189ef64da2029f7785c972905e5a097e
1 parent
574031e8
采集
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
website/view/layout/default_layout.php
website/view/layout/default_layout.php
View file @
3d7d93d
...
...
@@ -149,6 +149,24 @@ seajs.use('yohood',function(yohood){
</script>
<?php
$this->_block
('js');?>
<?php
$this->_endblock
();?>
<script type="
text
/
javascript
">
(
function(w,d,s,j,f)
{
w['YohoAcquisitionObject'] = f;
w[f] = function()
{
w[f].p = arguments;
};
var a=d.createElement(s);
var m=d.getElementsByTagName(s)[0];
a.async=1;
a.src=j;
m.parentNode.insertBefore(a,m);
}
)(window,document,'script','//cdn.yoho.cn/yas-jssdk/1.0.6/yas.js','_yas');//第一个参数是版本,第二个参数是appkey,第三个是用户ID,第四个是是否获取地理位置传空就是不获取地理位置。
_yas(1*new Date(),'1.0','yohood_web','','geo');
</script>
</body>
</html>
...
...
Please
register
or
login
to post a comment