Authored by 毕凯

元宵抽签 活动入口

... ... @@ -9,12 +9,25 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="grey">
<script>
(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);
<script type="text/javascript">
(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);
</script>
<link rel="stylesheet" href="{{staticCSS}}">
{{#staticJS}}
<script type="text/javascript" src="{{.}}"></script>
{{/staticJS}}
</head>
<body>
<div class="main-wrap">
元宵节抽签
<div class="main-wrap home">
<div class="header"></div>
<div class="people">
<div class="flower flower-l"></div>
<div class="flower flower-r"></div>
</div>
<a class="start" href=""></a>
<div class="footer">
<div class="arrow"></div>
<div class="yohobuy"></div>
</div>
</div>
</body>
... ...
... ... @@ -16,7 +16,12 @@ class YuanxiaoController extends HuodongAction
public function indexAction()
{
$this->_view->display('index', array(
'staticTitle' => '元宵抽签'
'staticTitle' => '元宵抽签',
'staticCSS' => 'http://localhost:2222/assets/1.0.0/css/style.css',
'staticJS' => array(
'http://localhost:2222/assets/1.0.0/js/main.js',
'http://localhost:2222/assets/1.0.0/js/home.js'
)
));
}
}
... ...