Showing
1 changed file
with
18 additions
and
0 deletions
@@ -149,6 +149,24 @@ seajs.use('yohood',function(yohood){ | @@ -149,6 +149,24 @@ seajs.use('yohood',function(yohood){ | ||
149 | </script> | 149 | </script> |
150 | <?php $this->_block('js');?> | 150 | <?php $this->_block('js');?> |
151 | <?php $this->_endblock();?> | 151 | <?php $this->_endblock();?> |
152 | +<script type="text/javascript"> | ||
153 | +( | ||
154 | + function(w,d,s,j,f) | ||
155 | + { | ||
156 | + w['YohoAcquisitionObject'] = f; | ||
157 | + w[f] = function() | ||
158 | + { | ||
159 | + w[f].p = arguments; | ||
160 | + }; | ||
161 | + var a=d.createElement(s); | ||
162 | + var m=d.getElementsByTagName(s)[0]; | ||
163 | + a.async=1; | ||
164 | + a.src=j; | ||
165 | + m.parentNode.insertBefore(a,m); | ||
166 | + } | ||
167 | + )(window,document,'script','//cdn.yoho.cn/yas-jssdk/1.0.6/yas.js','_yas');//第一个参数是版本,第二个参数是appkey,第三个是用户ID,第四个是是否获取地理位置传空就是不获取地理位置。 | ||
168 | +_yas(1*new Date(),'1.0','yohood_web','','geo'); | ||
169 | +</script> | ||
152 | </body> | 170 | </body> |
153 | </html> | 171 | </html> |
154 | 172 |
-
Please register or login to post a comment