Authored by 毕凯

元宵抽签 增加结果页框架

... ... @@ -12,7 +12,7 @@
<div class="title">
昵称
</div>
<input type="text" name="nick" placeholder="请输入您帅气的名字!" value="" maxlength="4">
<input type="text" name="nick" placeholder="请输入您帅气的名字!" value="" maxlength="5">
</div>
<div class="user-info birthday">
<div class="title">
... ...
{{> cuxiao/yuanxiao/header}}
<div class="main-wrap result">
<div class="flower flower-l"></div>
<div class="flower flower-r"></div>
<div class="title">
<p>
{{result.name}}
</p>
2016年潮流运势是
</div>
<div class="hr">
</div>
<div class="type {{result.type}}" data-type="{{result.type}}">
</div>
<div class="footer">
<div class="share">
分享2016年潮流运势
</div>
</div>
</div>
{{> cuxiao/yuanxiao/footer}}
... ...
... ... @@ -54,4 +54,23 @@ class YuanxiaoController extends HuodongAction
)
));
}
/**
* 元宵抽签 结果
*/
public function resultAction()
{
$this->_view->display('result', array(
'staticTitle' => '元宵抽签',
'result' => array(
'name' => '张大龙',
'type' => 'P1'
),
'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/result.js'
)
));
}
}
... ...