events_survey.html 944 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <{include file="header.html"}>
  2. <!--公用标题居中显示-->
  3. <{include file="common_header.html"}>
  4. <{include file="events_top.html"}>
  5. <{include file="events_infos.html"}>
  6. <script type="text/javascript">
  7. KISSY.use('node, cookie', function (S, Node, Cookie) {
  8. var $ = S.all;
  9. //视频自适应
  10. var screenWidth = $(window).width();
  11. var baseWidth = 510;
  12. var video_scale = screenWidth / baseWidth;
  13. $(".video_iframe").each(function () {
  14. var new_width = $(this).width() * video_scale;
  15. $(this).width(new_width - 20);
  16. var new_height = $(this).height() * video_scale;
  17. $(this).height(new_height - 20);
  18. });
  19. $(".ac_btn_box").on('click', function () {
  20. Cookie.set('SURVEY_IS_UNDERWAY', 2, null, '<{$smarty.server.HTTP_HOST}>', '/');
  21. window.location.reload();
  22. });
  23. });
  24. //有产品列表时添加整体body背景色
  25. $(body).addClass("bg_white");
  26. </script>
  27. <{include file="bottom.html"}>