Authored by 毕凯

元宵抽签 活动入口

@@ -9,12 +9,25 @@ @@ -9,12 +9,25 @@
9 <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui"> 9 <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui">
10 <meta name="apple-mobile-web-app-capable" content="yes"> 10 <meta name="apple-mobile-web-app-capable" content="yes">
11 <meta name="apple-mobile-web-app-status-bar-style" content="grey"> 11 <meta name="apple-mobile-web-app-status-bar-style" content="grey">
12 - <script>  
13 - (function(d,c){var e=d.documentElement,a="orientationchange" in window?"orientationchange":"resize",b=function(){var f=e.clientWidth;if(!f){return}if(f>=640){e.style.fontSize="80px"}else{e.style.fontSize=80*(f/640)+"px"}};if(!d.addEventListener){return}b();c.addEventListener(a,b,false);d.addEventListener("DOMContentLoaded",b,false)})(document,window); 12 + <script type="text/javascript">
  13 + (function(d,c){var e=d.documentElement,a="orientationchange" in window?"orientationchange":"resize",b=function(){var f=e.clientWidth;if(!f){return}if(f>=640){e.style.fontSize="40px"}else{e.style.fontSize=40*(f/640)+"px"}};if(!d.addEventListener){return}b();c.addEventListener(a,b,false);d.addEventListener("DOMContentLoaded",b,false)})(document,window);
14 </script> 14 </script>
  15 + <link rel="stylesheet" href="{{staticCSS}}">
  16 + {{#staticJS}}
  17 + <script type="text/javascript" src="{{.}}"></script>
  18 + {{/staticJS}}
15 </head> 19 </head>
16 <body> 20 <body>
17 - <div class="main-wrap">  
18 - 元宵节抽签 21 + <div class="main-wrap home">
  22 + <div class="header"></div>
  23 + <div class="people">
  24 + <div class="flower flower-l"></div>
  25 + <div class="flower flower-r"></div>
  26 + </div>
  27 + <a class="start" href=""></a>
  28 + <div class="footer">
  29 + <div class="arrow"></div>
  30 + <div class="yohobuy"></div>
  31 + </div>
19 </div> 32 </div>
20 </body> 33 </body>
@@ -16,7 +16,12 @@ class YuanxiaoController extends HuodongAction @@ -16,7 +16,12 @@ class YuanxiaoController extends HuodongAction
16 public function indexAction() 16 public function indexAction()
17 { 17 {
18 $this->_view->display('index', array( 18 $this->_view->display('index', array(
19 - 'staticTitle' => '元宵抽签' 19 + 'staticTitle' => '元宵抽签',
  20 + 'staticCSS' => 'http://localhost:2222/assets/1.0.0/css/style.css',
  21 + 'staticJS' => array(
  22 + 'http://localhost:2222/assets/1.0.0/js/main.js',
  23 + 'http://localhost:2222/assets/1.0.0/js/home.js'
  24 + )
20 )); 25 ));
21 } 26 }
22 } 27 }