Exchange.php
2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
use Action\WebAction;
use Home\ReturnsModel;
/**
* 换货详情页
*/
class exchangeController extends WebAction{
//换货保存页
public function saveAction()
{
$data = array(
'path' => array(
array(
'href' => 'www.yohobuy.com',
'name' => 'YOHO!有货首页'
),
array(
'href' => 'www.yohobuy.com/home',
'name' => '个人中心'
),
array(
'name' => '订单中心'
)
),
'userThumb' => 'http://img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100',
'homeNav' => array(
array(
'title' => '服务中心',
'subNav' => array(
array(
'name' => '我的退/换货',
'href' => '/'
),
array(
'name' => '我的咨询',
'href' => '/'
)
)
)
),
'save' => array(
'type' => '换货',
'ordersHref' => '#',
'returnsHref' => '#'
),
'pager' => array(
'hasCheckAll' => true,
'count' => 24,
'curPage' => 1,
'totalPages' => 4,
'pagerHtml' => '<a href="?page=2&type=3"><span class="iconfont"></span>上一页</a><a href="?page=1&type=3">1</a><a class="cur" href="?page=2&type=3">2</a><a href="?page=3&type=3">3</a><a href="?page=2&type=3">下一页<span class="iconfont"></span></a>'
)
);
$this->_view->display('../../index/home/returns-save', array('meReturnsPage' => false, 'returns' => $data));
}
}