Showing
14 changed files
with
116 additions
and
10 deletions
static/img/product/help/1.png
0 → 100755

21.5 KB
static/img/product/help/2.png
0 → 100755

32.8 KB
static/img/product/help/3.png
0 → 100755

43.9 KB
static/img/product/help/4.png
0 → 100755

64 KB
static/img/product/help/5.png
0 → 100755

53.4 KB
static/img/product/help/6.png
0 → 100755

32 KB
static/img/product/help/7.png
0 → 100755

43 KB
static/img/product/help/8.png
0 → 100755

48.6 KB
static/img/product/help/9.png
0 → 100755

18 KB
static/sass/product/_limit-help.css
0 → 100644
1 | +.limit-help-page { | ||
2 | + padding: 28px; | ||
3 | + color: #444; | ||
4 | + | ||
5 | + h2 { | ||
6 | + font-size: 30px; | ||
7 | + font-weight: bold; | ||
8 | + } | ||
9 | + | ||
10 | + .method { | ||
11 | + display: block; | ||
12 | + width: 80px; | ||
13 | + height: 35px; | ||
14 | + line-height: 35px; | ||
15 | + background-color: #444; | ||
16 | + color: #fff; | ||
17 | + border-radius: 20px; | ||
18 | + text-align: center; | ||
19 | + margin: 20px 0; | ||
20 | + } | ||
21 | + | ||
22 | + li { | ||
23 | + font-size: 24px; | ||
24 | + } | ||
25 | + | ||
26 | + .intro-img { | ||
27 | + width: 100%; | ||
28 | + height: 220px; | ||
29 | + background-size: 100%; | ||
30 | + background-repeat: no-repeat; | ||
31 | + margin: 20px 0; | ||
32 | + } | ||
33 | + | ||
34 | + .method-1 { | ||
35 | + li:nth-child(1) .intro-img{ | ||
36 | + background-image: resolve(product/help/1.png); | ||
37 | + } | ||
38 | + li:nth-child(2) .intro-img{ | ||
39 | + background-image: resolve(product/help/2.png); | ||
40 | + } | ||
41 | + li:nth-child(3) .intro-img{ | ||
42 | + background-image: resolve(product/help/3.png); | ||
43 | + } | ||
44 | + } | ||
45 | + .method-2 { | ||
46 | + li:nth-child(1) .intro-img{ | ||
47 | + background-image: resolve(product/help/4.png); | ||
48 | + } | ||
49 | + li:nth-child(2) .intro-img{ | ||
50 | + background-image: resolve(product/help/5.png); | ||
51 | + } | ||
52 | + li:nth-child(3) .intro-img{ | ||
53 | + background-image: resolve(product/help/6.png); | ||
54 | + } | ||
55 | + li:nth-child(4) .intro-img{ | ||
56 | + background-image: resolve(product/help/7.png); | ||
57 | + } | ||
58 | + } | ||
59 | + | ||
60 | + .how { | ||
61 | + li:nth-child(1) .intro-img{ | ||
62 | + background-image: resolve(product/help/8.png); | ||
63 | + } | ||
64 | + li:nth-child(2) .intro-img{ | ||
65 | + background-image: resolve(product/help/9.png); | ||
66 | + margin-bottom: 0; | ||
67 | + } | ||
68 | + } | ||
69 | +} |
1 | +{{> layout/header}} | ||
2 | +<div class="limit-help-page yoho-page"> | ||
3 | + <h2>不同限定商品获取限购码方式不同,获取限购码目前有两种方式:</h2> | ||
4 | + <span class="method">方式一</span> | ||
5 | + <ul class="method-1"> | ||
6 | + <li>1.在限定发售详情页点击分享或者底部“获取限购码”图标。 | ||
7 | + <div class="intro-img"></div> | ||
8 | + </li> | ||
9 | + <li>2.从弹出的分享中选取需要分享的渠道。 | ||
10 | + <div class="intro-img"></div> | ||
11 | + </li> | ||
12 | + <li>3.分享成功后返回Yoho!Buy有货APP会提示已获得限购码。 | ||
13 | + <div class="intro-img"></div> | ||
14 | + </li> | ||
15 | + </ul> | ||
16 | + <span class="method">方式二</span> | ||
17 | + <ul class="method-2"> | ||
18 | + <li>1.在限定发售详情页点击参加排队赢取限购码图标。 | ||
19 | + <div class="intro-img"></div> | ||
20 | + </li> | ||
21 | + <li>2.进入限定发售排队页面,点击参加排队。 | ||
22 | + <div class="intro-img"></div> | ||
23 | + </li> | ||
24 | + <li>3.排队成功后凭排队序列号作为抽奖凭证,等待开奖时间。 | ||
25 | + <div class="intro-img"></div> | ||
26 | + </li> | ||
27 | + <li>4.开奖后,排队页面会公布中奖名单,限购码会直接发送至账户。 | ||
28 | + <div class="intro-img"></div> | ||
29 | + </li> | ||
30 | + </ul> | ||
31 | + <h2>查看和使用限购码</h2> | ||
32 | + <ul class="how"> | ||
33 | + <li>1.从个人中心进入我的限购码页面,可查看所获取的限购码。 | ||
34 | + <div class="intro-img"></div> | ||
35 | + </li> | ||
36 | + <li>2.商品开售后,可凭此限购码购买对应商品。 | ||
37 | + <div class="intro-img"></div> | ||
38 | + </li> | ||
39 | + </ul> | ||
40 | +</div> | ||
41 | +{{> layout/footer}} |
@@ -5,14 +5,14 @@ use Plugin\Helpers; | @@ -5,14 +5,14 @@ use Plugin\Helpers; | ||
5 | 5 | ||
6 | /** | 6 | /** |
7 | * 商品列表相关的控制器 | 7 | * 商品列表相关的控制器 |
8 | - * | 8 | + * |
9 | */ | 9 | */ |
10 | class IndexController extends AbstractAction | 10 | class IndexController extends AbstractAction |
11 | { | 11 | { |
12 | 12 | ||
13 | /** | 13 | /** |
14 | * 品类商品列表页 | 14 | * 品类商品列表页 |
15 | - * | 15 | + * |
16 | * @param string $gender "1,3"表示男, "2,3"表示女, "1,2,3"表示全部 | 16 | * @param string $gender "1,3"表示男, "2,3"表示女, "1,2,3"表示全部 |
17 | * @param integer $brand 品牌Id | 17 | * @param integer $brand 品牌Id |
18 | * @param integer $sort 品类查询sort参数 | 18 | * @param integer $sort 品类查询sort参数 |
@@ -108,7 +108,7 @@ class IndexController extends AbstractAction | @@ -108,7 +108,7 @@ class IndexController extends AbstractAction | ||
108 | 108 | ||
109 | /** | 109 | /** |
110 | * 品牌商品列表页 | 110 | * 品牌商品列表页 |
111 | - * | 111 | + * |
112 | * @param string $gender "1,3"表示男, "2,3"表示女, "1,2,3"表示全部 | 112 | * @param string $gender "1,3"表示男, "2,3"表示女, "1,2,3"表示全部 |
113 | * @param integer $sort 品类查询sort参数 | 113 | * @param integer $sort 品类查询sort参数 |
114 | * @param integer $color 颜色Id | 114 | * @param integer $color 颜色Id |
@@ -229,10 +229,10 @@ class IndexController extends AbstractAction | @@ -229,10 +229,10 @@ class IndexController extends AbstractAction | ||
229 | $this->_view->display('index', $data); | 229 | $this->_view->display('index', $data); |
230 | } | 230 | } |
231 | 231 | ||
232 | - public function limitDetailAction() | 232 | + public function limitHelpAction() |
233 | { | 233 | { |
234 | $data = array(); | 234 | $data = array(); |
235 | - $this->_view->display('limit-detail', $data); | 235 | + $this->_view->display('limit-help', $data); |
236 | } | 236 | } |
237 | 237 | ||
238 | public function limitAction() | 238 | public function limitAction() |
-
Please register or login to post a comment