poster_show.html 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {extend name="public/container"}
  2. {block name='title'}拼团海报{/block}
  3. {block name="head_top"}
  4. <style>
  5. body{background-color:#4c4c4c;}
  6. </style>
  7. {/block}
  8. {block name="content"}
  9. <div class="promotion-poster promotion-poster2">
  10. <div class="pictrue">
  11. <img src="/{$filename}">
  12. </div>
  13. <div class="tip">长按保存海报,分享到朋友圈</div>
  14. <div class="shareBnt">分享链接给朋友</div>
  15. <div class="shares-model" style="display: none">
  16. <img style="position: fixed;left: 0;top: 0;width: 100%;height: 100%;" src="{__WAP_PATH}zsff/images/share-info.png">
  17. </div>
  18. </div>
  19. {/block}
  20. {block name='foot'}
  21. <script>
  22. $('.shares-model').on('touchmove',function(e){
  23. e.preventDefault();
  24. });
  25. $('.shareBnt').on('click',function () {
  26. $('.shares-model').show();
  27. });
  28. $('.shares-model').on('click',function () {
  29. $('.shares-model').hide();
  30. })
  31. window.overallShare=false;
  32. mapleWx($jssdk(), function () {
  33. this.onMenuShareAll({
  34. title: '{$special.title}',
  35. desc: "{$special.abstract}",
  36. imgUrl: '{$special.image}',
  37. link: '{$site_url}'
  38. });
  39. });
  40. </script>
  41. {/block}