dever 6 yıl önce
ebeveyn
işleme
f0539c58af

+ 1 - 1
kissy/public/share/mshare.js

@@ -155,7 +155,7 @@ MShare.prototype = {
             dataType:'jsonp',
             jsonp: 'jsonp_cb',
             url: url,
-            //data: {"thisPageUrl":location.href.split('#')[0]},
+            data: {"thisPageUrl":location.href.split('#')[0]},
             success:function(data){
                 var d = data.msg;
                 //alert(d.appId)

+ 3 - 3
tm/lib/Controller/WeixinJsSDK.class.php

@@ -44,11 +44,11 @@ class WeixinJsSDK extends Controller {
 		if ($url == null) {
 			$url = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
 		} else {
-			//$url = htmlspecialchars_decode ( $url );
+			$url = htmlspecialchars_decode ( $url );
 		}
 
-		$url = explode('?', $url);
-		$url = $url[0];
+		//$url = explode('?', $url);
+		//$url = $url[0];
 		
 		$timestamp = time ();
 		$nonceStr = $this->createNonceStr ();

+ 1 - 1
tm/template_dir/events_infos.html

@@ -45,7 +45,7 @@
     <section class="recommend">
         <ul>
         <{foreach from=$focusData item=v}>
-            <li><a href="<{$v.link}>"><img src="<{$v.pic}>" height="128"><span><{$v.name}></span></a></li>
+            <li><a href="<{$v.link}>"><img src="<{$v.pic}>"><span><{$v.name}></span></a></li>
         <{/foreach}>
         </ul>
     </section>

+ 1 - 1
tm/template_dir/header.html

@@ -62,5 +62,5 @@
 
 <script src="<{$web_cfg.cdn}>/public/share/zepto.min.js"></script>
 <script src="<{$web_cfg.cdn}>/public/share/jweixin.js?2"></script>
-<script src="<{$web_cfg.cdn}>/public/share/mshare.js?124"></script>
+<script src="<{$web_cfg.cdn}>/public/share/mshare.js?125"></script>
 <body id="body">