preview_single_page.html 991 B

123456789101112131415161718192021222324252627282930313233343536
  1. <{foreach from=$pageData item=item key=key}>
  2. <div class="ks-screen ks-screen-p">
  3. <{if $item.bgimage_url}>
  4. <img class="background_image" style="" src="<{$item.bgimage_url}>" >
  5. <{/if}>
  6. <{foreach from=$item.layers item=layer}>
  7. <{if $layer.url}>
  8. <{if $layer.link}>
  9. <a href="<{$item.button_link}>">
  10. <{/if}>
  11. <img class="upper_image" style=
  12. "
  13. width:<{$layer.width}>px;
  14. height:<{$layer.height}>px;
  15. <{$layer.style}>
  16. "
  17. src="<{$layer.url}>"
  18. >
  19. <{if $layer.link}>
  20. </a>
  21. <{/if}>
  22. <{/if}>
  23. <{if $layer.video_url}>
  24. <div class="layer_anim" style="width:<{$layer.video_width}>px;height:<{$layer.video_height}>px;<{$layer.style}>;background-color:#ccc;color:#fff;font-size:20px;text-align:center;line-height:<{$layer.video_height}>px;" >视频</div>
  25. <{/if}>
  26. <{/foreach}>
  27. <input name="p[]" type="hidden" value='<{$item.json}>' />
  28. <div class="mask"></div>
  29. <div class="op">
  30. <div class="modify">修改</div>
  31. <div class="delete">删除</div>
  32. </div>
  33. </div>
  34. <{/foreach}>