diff --git a/static/js/guang/detail.js b/static/js/guang/detail.js index 83b58f7..097aa9f 100644 --- a/static/js/guang/detail.js +++ b/static/js/guang/detail.js @@ -258,7 +258,9 @@ exports.i = function(useIscroll) { } if (pageInIscroll) { - initIscroll(); + setTimeout(function() { + initIscroll(); + }, 100); } }; diff --git a/static/sass/guang/_detail.css b/static/sass/guang/_detail.css index 6c897f2..4ac93a2 100644 --- a/static/sass/guang/_detail.css +++ b/static/sass/guang/_detail.css @@ -493,8 +493,9 @@ } .weixin { - margin: 20px; + margin: 20px 0; text-align: center; + padding: 0 20px; .ems-cnpl { width: 47.3%; diff --git a/template/m.yohobuy.com/actions/guang/info/index.phtml b/template/m.yohobuy.com/actions/guang/info/index.phtml index 90d2698..74fe75d 100644 --- a/template/m.yohobuy.com/actions/guang/info/index.phtml +++ b/template/m.yohobuy.com/actions/guang/info/index.phtml @@ -42,7 +42,7 @@ {{/if}} {{#if weixinPublic}} - <div class="weixin"> + <div class="weixin post-block"> {{#each weixinPublic}} <a href='//m.yohobuy.com/?openby:yohobuy={"action":"go.copy","params":{"text":"{{wechat_id}}"}}' class="ems-cnpl"> <img class="weixin-img" src="{{src}}">