Showing
5 changed files
with
95 additions
and
2 deletions
static/sass/me/_ihelp.scss
0 → 100644
1 | +.iHelp{ | ||
2 | + width: 100%; | ||
3 | + height: auto; | ||
4 | + overflow: hidden; | ||
5 | + .helpSearch{ | ||
6 | + width: 90%; | ||
7 | + height: 84rem / $pxConvertRem; | ||
8 | + overflow: hidden; | ||
9 | + position: relative; | ||
10 | + margin: 0 auto; | ||
11 | + input{ | ||
12 | + width: 100%; | ||
13 | + height: 100%; | ||
14 | + overflow: hidden; | ||
15 | + border:none; | ||
16 | + font-size: 54em / $pxConvertRem; | ||
17 | + } | ||
18 | + i{ | ||
19 | + height: 100%; | ||
20 | + line-height: 88rem / $pxConvertRem; | ||
21 | + position: absolute; | ||
22 | + right: 20rem / $pxConvertRem; | ||
23 | + top: 0; | ||
24 | + color: #e0e0e0; | ||
25 | + } | ||
26 | + } | ||
27 | + ul{ | ||
28 | + width: 100%; | ||
29 | + height: auto; | ||
30 | + overflow: hidden; | ||
31 | + display: block; | ||
32 | + border-top: 1px solid #e0e0e0; | ||
33 | + li{ | ||
34 | + width: 95%; | ||
35 | + height: 80rem / $pxConvertRem; | ||
36 | + line-height: 84rem / $pxConvertRem; | ||
37 | + overflow: hidden; | ||
38 | + font-size: 54em / $pxConvertRem; | ||
39 | + border-bottom: 1px solid #e0e0e0; | ||
40 | + float: right; | ||
41 | + color: #444444; | ||
42 | + &:last-of-type{ | ||
43 | + border-bottom:none; | ||
44 | + } | ||
45 | + span{ | ||
46 | + width: 88%; | ||
47 | + height: 100%; | ||
48 | + overflow: hidden; | ||
49 | + float: left; | ||
50 | + } | ||
51 | + i{ | ||
52 | + color: #e0e0e0; | ||
53 | + } | ||
54 | + } | ||
55 | + } | ||
56 | +} |
1 | $vip: sprite-map("me/vip/*.png", $spacing: 10px); | 1 | $vip: sprite-map("me/vip/*.png", $spacing: 10px); |
2 | $fav: sprite-map("me/fav/*.png", $spacing: 5px); | 2 | $fav: sprite-map("me/fav/*.png", $spacing: 5px); |
3 | 3 | ||
4 | -@import "home", "vip-grade", "order", "order-detail", "coupons", "personal-details", "yoho-coin", "fav", "suggest", "address", "online-service", "my-guang"; | 4 | +@import "home", "vip-grade", "order", "order-detail", "coupons", "personal-details", "yoho-coin", "fav", "suggest", "address", "online-service", "my-guang", "ihelp"; |
5 | 5 |
1 | +{{> layout/header}} | ||
2 | +<div class="iHelp"> | ||
3 | + <div class="helpSearch"> | ||
4 | + <input type="text"> | ||
5 | + <i class="iconfont"></i> | ||
6 | + </div> | ||
7 | + <ul> | ||
8 | + {{# iHelp}} | ||
9 | + <li><a href="{{ url }}"><span>{{ name }}</span><i class="iconfont num"></i></a></li> | ||
10 | + {{/ iHelp}} | ||
11 | + </ul> | ||
12 | +</div> | ||
13 | +{{> layout/footer}} |
@@ -94,7 +94,7 @@ | @@ -94,7 +94,7 @@ | ||
94 | </a> | 94 | </a> |
95 | </div> | 95 | </div> |
96 | <div class="group-list"> | 96 | <div class="group-list"> |
97 | - <a class="list-item" href="/help.html"> | 97 | + <a class="list-item" href="/home/IHelp"> |
98 | <span class="iconfont icon"></span> | 98 | <span class="iconfont icon"></span> |
99 | 帮助 | 99 | 帮助 |
100 | <span class="iconfont num"></span> | 100 | <span class="iconfont num"></span> |
@@ -654,4 +654,28 @@ class HomeController extends AbstractAction | @@ -654,4 +654,28 @@ class HomeController extends AbstractAction | ||
654 | $this->_view->display('order-detail', array('orderDetail' => $data, 'orderDetailPage' => true)); | 654 | $this->_view->display('order-detail', array('orderDetail' => $data, 'orderDetailPage' => true)); |
655 | } | 655 | } |
656 | 656 | ||
657 | + /** | ||
658 | + * 帮助列表页 | ||
659 | + */ | ||
660 | + private function IHelpAction() | ||
661 | + { | ||
662 | + $this->setTitle('帮助中心'); | ||
663 | + $this->setNavHeader('帮助中心'); | ||
664 | + $data = array( | ||
665 | + 'iHelp' => array( | ||
666 | + array('name' => '新用户注册','url' => 'http://m.dev.yohobuy.com/' ), | ||
667 | + array('name' => '交款须知' ,'url' => 'http://m.dev.yohobuy.com/'), | ||
668 | + array('name' => '服务条款' ,'url' => 'http://m.dev.yohobuy.com/'), | ||
669 | + array('name' => '网站订购流程' ,'url' => 'http://m.dev.yohobuy.com/'), | ||
670 | + array('name' => '会员登录' ,'url' => 'http://m.dev.yohobuy.com/'), | ||
671 | + array('name' => '网站订单修改' ,'url' => 'http://m.dev.yohobuy.com/'), | ||
672 | + array('name' => 'YOHO币' ,'url' => 'http://m.dev.yohobuy.com/'), | ||
673 | + array('name' => '常见问题' ,'url' => 'http://m.dev.yohobuy.com/'), | ||
674 | + array('name' => '支付方式' ,'url' => 'http://m.dev.yohobuy.com/'), | ||
675 | + array('name' => '发票制度说明' ,'url' => 'http://m.dev.yohobuy.com/'), | ||
676 | + array('name' => '配送时间' ,'url' => 'http://m.dev.yohobuy.com/') | ||
677 | + ) | ||
678 | + ); | ||
679 | + $this->_view->display('i-help', $data); | ||
680 | + } | ||
657 | } | 681 | } |
-
Please register or login to post a comment