%%80^804^80487B52%%events_survey.html.php 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?php /* Smarty version 2.6.17, created on 2018-05-28 14:26:39
  2. compiled from events_survey.html */ ?>
  3. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  4. $this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
  5. $this->_tpl_vars = $_smarty_tpl_vars;
  6. unset($_smarty_tpl_vars);
  7. ?>
  8. <!--公用标题居中显示-->
  9. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  10. $this->_smarty_include(array('smarty_include_tpl_file' => "common_header.html", 'smarty_include_vars' => array()));
  11. $this->_tpl_vars = $_smarty_tpl_vars;
  12. unset($_smarty_tpl_vars);
  13. ?>
  14. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  15. $this->_smarty_include(array('smarty_include_tpl_file' => "events_top.html", 'smarty_include_vars' => array()));
  16. $this->_tpl_vars = $_smarty_tpl_vars;
  17. unset($_smarty_tpl_vars);
  18. ?>
  19. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  20. $this->_smarty_include(array('smarty_include_tpl_file' => "events_infos.html", 'smarty_include_vars' => array()));
  21. $this->_tpl_vars = $_smarty_tpl_vars;
  22. unset($_smarty_tpl_vars);
  23. ?>
  24. <script type="text/javascript">
  25. KISSY.use('node, cookie', function (S, Node, Cookie) {
  26. var $ = S.all;
  27. //视频自适应
  28. var screenWidth = $(window).width();
  29. var baseWidth = 510;
  30. var video_scale = screenWidth / baseWidth;
  31. $(".video_iframe").each(function () {
  32. var new_width = $(this).width() * video_scale;
  33. $(this).width(new_width - 20);
  34. var new_height = $(this).height() * video_scale;
  35. $(this).height(new_height - 20);
  36. });
  37. $(".ac_btn_box").on('click', function () {
  38. Cookie.set('SURVEY_IS_UNDERWAY', 2, null, '<?php echo $_SERVER['HTTP_HOST']; ?>
  39. ', '/');
  40. window.location.reload();
  41. });
  42. });
  43. //有产品列表时添加整体body背景色
  44. $(body).addClass("bg_white");
  45. </script>
  46. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  47. $this->_smarty_include(array('smarty_include_tpl_file' => "bottom.html", 'smarty_include_vars' => array()));
  48. $this->_tpl_vars = $_smarty_tpl_vars;
  49. unset($_smarty_tpl_vars);
  50. ?>