...
|
...
|
@@ -10,7 +10,8 @@ use Api\Yohobuy; |
|
|
*/
|
|
|
class YuanxiaoController extends HuodongAction
|
|
|
{
|
|
|
const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016yuanxiao/1.0.0';
|
|
|
const STATIC_FILE = 'http://localhost:2222/assets/1.0.0';
|
|
|
// const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016yuanxiao/1.0.0';
|
|
|
/**
|
|
|
* 元宵抽签
|
|
|
*/
|
...
|
...
|
@@ -18,7 +19,10 @@ class YuanxiaoController extends HuodongAction |
|
|
{
|
|
|
$this->_view->display('index', array(
|
|
|
'staticTitle' => '元宵抽签',
|
|
|
'staticFile' => self::STATIC_FILE
|
|
|
'staticFile' => self::STATIC_FILE,
|
|
|
'staticJS' => array(
|
|
|
'home.js'
|
|
|
),
|
|
|
));
|
|
|
}
|
|
|
|
...
|
...
|
@@ -44,7 +48,10 @@ class YuanxiaoController extends HuodongAction |
|
|
{
|
|
|
$this->_view->display('wait', array(
|
|
|
'staticTitle' => '元宵抽签',
|
|
|
'staticFile' => self::STATIC_FILE
|
|
|
'staticFile' => self::STATIC_FILE,
|
|
|
'staticJS' => array(
|
|
|
'wait.js'
|
|
|
),
|
|
|
));
|
|
|
}
|
|
|
|
...
|
...
|
@@ -58,7 +65,7 @@ class YuanxiaoController extends HuodongAction |
|
|
'staticFile' => self::STATIC_FILE,
|
|
|
'result' => array(
|
|
|
'name' => '张大龙',
|
|
|
'type' => 'F4'
|
|
|
'type' => 'M1'
|
|
|
),
|
|
|
'staticJS' => array(
|
|
|
'result.js'
|
...
|
...
|
@@ -76,7 +83,7 @@ class YuanxiaoController extends HuodongAction |
|
|
'staticFile' => self::STATIC_FILE,
|
|
|
'result' => array(
|
|
|
'name' => '张大龙',
|
|
|
'type' => 'P1'
|
|
|
'type' => 'F4'
|
|
|
),
|
|
|
'count' => '78999', // 过万转换成 “16万” 这种形式
|
|
|
'staticJS' => array(
|
...
|
...
|
|