Merge branch 'develop' into test
Showing
29 changed files
with
750 additions
and
90 deletions
@@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
2 | <html> | 2 | <html> |
3 | <head> | 3 | <head> |
4 | <meta charset="utf-8"> | 4 | <meta charset="utf-8"> |
5 | -<title>页面不存在 | Yoho!Buy有货</title> | 5 | +<title>页面不存在</title> |
6 | <meta name="keywords" content="Yoho! 有货官网,潮流志,潮流男装,潮牌,美国潮牌,日本潮牌,香港潮牌,潮牌店,新品首发,欧美潮流,全球购,代购,时尚,流行,特卖,B2C,正品,购物网站,网上购物,货到付款"> | 6 | <meta name="keywords" content="Yoho! 有货官网,潮流志,潮流男装,潮牌,美国潮牌,日本潮牌,香港潮牌,潮牌店,新品首发,欧美潮流,全球购,代购,时尚,流行,特卖,B2C,正品,购物网站,网上购物,货到付款"> |
7 | <meta name="description" content="YOHO! 有货,年轻人潮流购物中心,中国最大的潮流商品购物网站。100%品牌正品保证,支持货到付款。作为YOHO!旗下的购物平台,汇集了全球潮流时尚商品和中国最流行的商品,也是国内最大的原创文化商品平台,也是香港,台湾地区流行商品的集中地。同时包含日本、韩国等众多国外潮流品牌,带给您全新潮流购物体验。"> | 7 | <meta name="description" content="YOHO! 有货,年轻人潮流购物中心,中国最大的潮流商品购物网站。100%品牌正品保证,支持货到付款。作为YOHO!旗下的购物平台,汇集了全球潮流时尚商品和中国最流行的商品,也是国内最大的原创文化商品平台,也是香港,台湾地区流行商品的集中地。同时包含日本、韩国等众多国外潮流品牌,带给您全新潮流购物体验。"> |
8 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | 8 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> |
@@ -27,7 +27,7 @@ | @@ -27,7 +27,7 @@ | ||
27 | <body > | 27 | <body > |
28 | <header class="yoho-header boys"> | 28 | <header class="yoho-header boys"> |
29 | <a href="javascript:history.go(-1);" class="nav-back"></a> | 29 | <a href="javascript:history.go(-1);" class="nav-back"></a> |
30 | - <a href="http://m.dev.yohobuy.com?go=1" class="nav-home"></a> | 30 | + <a href="http://m.yohobuy.com?go=1" class="nav-home"></a> |
31 | <p class="nav-title">抱歉,页面不存在!</p> | 31 | <p class="nav-title">抱歉,页面不存在!</p> |
32 | </header> | 32 | </header> |
33 | <div class="err-page yoho-page"> | 33 | <div class="err-page yoho-page"> |
@@ -14,7 +14,7 @@ | @@ -14,7 +14,7 @@ | ||
14 | } | 14 | } |
15 | .help { | 15 | .help { |
16 | padding: 30px 30px; | 16 | padding: 30px 30px; |
17 | - font-size: 18px; | 17 | + font-size: 26px; |
18 | line-height: 1.5; | 18 | line-height: 1.5; |
19 | color: #444; | 19 | color: #444; |
20 | } | 20 | } |
@@ -35,8 +35,7 @@ | @@ -35,8 +35,7 @@ | ||
35 | </ul> | 35 | </ul> |
36 | <p>其他说明:</p> | 36 | <p>其他说明:</p> |
37 | <ul> | 37 | <ul> |
38 | - <li>1. YOHO!BUY有货对用户在本站进行晒单评价的文字、图片享有使用权利;</li> | ||
39 | - <li>2. 用户所晒单评价的文字、图片提交发布后,默认同步YOHO!SHOW平台;</li> | 38 | + <li>YOHO!BUY有货对用户在本站进行晒单评价的文字、图片享有使用权利</li> |
40 | </ul> | 39 | </ul> |
41 | </div> | 40 | </div> |
42 | </body> | 41 | </body> |
1 | +<?php return function ($in, $debugopt = 1) { | ||
2 | + $cx = array( | ||
3 | + 'flags' => array( | ||
4 | + 'jstrue' => false, | ||
5 | + 'jsobj' => false, | ||
6 | + 'spvar' => true, | ||
7 | + 'prop' => false, | ||
8 | + 'method' => false, | ||
9 | + 'mustlok' => true, | ||
10 | + 'echo' => false, | ||
11 | + 'debug' => $debugopt, | ||
12 | + ), | ||
13 | + 'constants' => array(), | ||
14 | + 'helpers' => array(), | ||
15 | + 'blockhelpers' => array(), | ||
16 | + 'hbhelpers' => array(), | ||
17 | + 'partials' => array(), | ||
18 | + 'scopes' => array(), | ||
19 | + 'sp_vars' => array('root' => $in), | ||
20 | + 'lcrun' => 'Plugin\LCRun3', | ||
21 | + | ||
22 | + ); | ||
23 | + | ||
24 | + return '<!DOCTYPE html> | ||
25 | +<html> | ||
26 | + <head> | ||
27 | + <meta charset="UTF-8"> | ||
28 | + <title>'.Plugin\LCRun3::debug('[staticTitle]', 'encq', $cx, Plugin\LCRun3::debug('[staticTitle]', 'v', $cx, $in, array('staticTitle'))).'</title> | ||
29 | + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | ||
30 | + <style> | ||
31 | + *{margin: 0;padding: 0;} | ||
32 | + #coupon-container {width: 100%;} | ||
33 | + #coupon-container img {width: 100%; height: auto; display: block;overflow: hidden;} | ||
34 | + .img-box {width: 100%;position: relative;} | ||
35 | + .img-box .href {width: 50%; height: 100%;position: absolute;top: 0;} | ||
36 | + .img-box .href-left {left: 0} | ||
37 | + .img-box .href-right {right: 0} | ||
38 | + .img-box .href-center {width: 90%;height: 100%;position: absolute;top: 0;left: 5%;} | ||
39 | + .show-more {height: 100%;width: 25%;position: absolute;top: 0;right: 10%;} | ||
40 | + .yoho-tip { | ||
41 | + position: fixed; | ||
42 | + display: none; | ||
43 | + text-align: center; | ||
44 | + width: 70%; | ||
45 | + padding: 34px 0; | ||
46 | + top: 50%; | ||
47 | + left: 50%; | ||
48 | + margin-left: -35%; | ||
49 | + margin-top: -45px; | ||
50 | + background-color: #000; | ||
51 | + opacity: 0.9; | ||
52 | + color: #fff; | ||
53 | + font-size: 18px; | ||
54 | + border: none; | ||
55 | + border-radius: 10px; | ||
56 | + } | ||
57 | + </style> | ||
58 | + <link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
59 | + <link rel="dns-prefetch" href="//static.yohobuy.com"> | ||
60 | + </head> | ||
61 | + <body> | ||
62 | + <div class="coupon-container" id="coupon-container" param="'.Plugin\LCRun3::debug('[activityId]', 'encq', $cx, Plugin\LCRun3::debug('[activityId]', 'v', $cx, $in, array('activityId'))).'" isLogged="'.Plugin\LCRun3::debug('[isLogged]', 'encq', $cx, Plugin\LCRun3::debug('[isLogged]', 'v', $cx, $in, array('isLogged'))).'"> | ||
63 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/01.jpg"> | ||
64 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/02.jpg"> | ||
65 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/03.jpg"> | ||
66 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/line-1.jpg"> | ||
67 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/04.jpg"> | ||
68 | + <div class="img-box"> | ||
69 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/05.jpg"> | ||
70 | + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_yohope]', 'encq', $cx, Plugin\LCRun3::debug('[url_yohope]', 'v', $cx, $in, array('url_yohope'))).'"></a> | ||
71 | + </div> | ||
72 | + <div class="img-box"> | ||
73 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/06.jpg"> | ||
74 | + <a class="href href-center" href="'.Plugin\LCRun3::debug('[url_mycoupon]', 'encq', $cx, Plugin\LCRun3::debug('[url_mycoupon]', 'v', $cx, $in, array('url_mycoupon'))).'"></a> | ||
75 | + </div> | ||
76 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/line-2.jpg"> | ||
77 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/07.jpg"> | ||
78 | + <div class="img-box"> | ||
79 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/08.jpg"> | ||
80 | + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_more]', 'encq', $cx, Plugin\LCRun3::debug('[url_more]', 'v', $cx, $in, array('url_more'))).'"></a> | ||
81 | + </div> | ||
82 | + <div class="img-box"> | ||
83 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/09.jpg"> | ||
84 | + <span class="href href-left get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16567"></span> | ||
85 | + </div> | ||
86 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/10.jpg"> | ||
87 | + <div class="img-box"> | ||
88 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/11.jpg"> | ||
89 | + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_4]', 'encq', $cx, Plugin\LCRun3::debug('[url_4]', 'v', $cx, $in, array('url_4'))).'"></a> | ||
90 | + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_343]', 'encq', $cx, Plugin\LCRun3::debug('[url_343]', 'v', $cx, $in, array('url_343'))).'"></a> | ||
91 | + </div> | ||
92 | + <div class="img-box"> | ||
93 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/12.jpg"> | ||
94 | + <span class="href href-left get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16547"></span> | ||
95 | + <span class="href href-right get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16549"></span> | ||
96 | + </div> | ||
97 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/line-1.jpg"> | ||
98 | + <div class="img-box"> | ||
99 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/13.jpg"> | ||
100 | + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_230]', 'encq', $cx, Plugin\LCRun3::debug('[url_230]', 'v', $cx, $in, array('url_230'))).'"></a> | ||
101 | + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_536]', 'encq', $cx, Plugin\LCRun3::debug('[url_536]', 'v', $cx, $in, array('url_536'))).'"></a> | ||
102 | + </div> | ||
103 | + <div class="img-box"> | ||
104 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/14.jpg"> | ||
105 | + <span class="href href-left get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16551"></span> | ||
106 | + <span class="href href-right get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16553"></span> | ||
107 | + </div> | ||
108 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/line-1.jpg"> | ||
109 | + <div class="img-box"> | ||
110 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/15.jpg"> | ||
111 | + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_847]', 'encq', $cx, Plugin\LCRun3::debug('[url_847]', 'v', $cx, $in, array('url_847'))).'"></a> | ||
112 | + </div> | ||
113 | + <div class="img-box"> | ||
114 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/16.jpg"> | ||
115 | + <span class="href href-left get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16555"></span> | ||
116 | + </div> | ||
117 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/line-1.jpg"> | ||
118 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/17.jpg"> | ||
119 | + <div class="img-box"> | ||
120 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/18.jpg"> | ||
121 | + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_868]', 'encq', $cx, Plugin\LCRun3::debug('[url_868]', 'v', $cx, $in, array('url_868'))).'"></a> | ||
122 | + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_1026]', 'encq', $cx, Plugin\LCRun3::debug('[url_1026]', 'v', $cx, $in, array('url_1026'))).'"></a> | ||
123 | + </div> | ||
124 | + <div class="img-box"> | ||
125 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/19.jpg"> | ||
126 | + <span class="href href-left get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16557"></span> | ||
127 | + <span class="href href-right get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16559"></span> | ||
128 | + </div> | ||
129 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/line-1.jpg"> | ||
130 | + <div class="img-box"> | ||
131 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/20.jpg"> | ||
132 | + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_570]', 'encq', $cx, Plugin\LCRun3::debug('[url_570]', 'v', $cx, $in, array('url_570'))).'"></a> | ||
133 | + <a class="href href-right" href="'.Plugin\LCRun3::debug('[url_778]', 'encq', $cx, Plugin\LCRun3::debug('[url_778]', 'v', $cx, $in, array('url_778'))).'"></a> | ||
134 | + </div> | ||
135 | + <div class="img-box"> | ||
136 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/21.jpg"> | ||
137 | + <span class="href href-left get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16561"></span> | ||
138 | + <span class="href href-right get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16563"></span> | ||
139 | + </div> | ||
140 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/line-1.jpg"> | ||
141 | + <div class="img-box"> | ||
142 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/22.jpg"> | ||
143 | + <a class="href href-left" href="'.Plugin\LCRun3::debug('[url_517]', 'encq', $cx, Plugin\LCRun3::debug('[url_517]', 'v', $cx, $in, array('url_517'))).'"></a> | ||
144 | + </div> | ||
145 | + <div class="img-box"> | ||
146 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/23.jpg"> | ||
147 | + <span class="href href-left get-coupon" href="'.Plugin\LCRun3::debug('[jumpUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jumpUrl]', 'v', $cx, $in, array('jumpUrl'))).'" param="16565"></span> | ||
148 | + </div> | ||
149 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/line-1.jpg"> | ||
150 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/line-2.jpg"> | ||
151 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/24-1.jpg"> | ||
152 | + <div class="img-box"> | ||
153 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/24-2.jpg"> | ||
154 | + <a class="show-more" href="'.Plugin\LCRun3::debug('[url_help]', 'encq', $cx, Plugin\LCRun3::debug('[url_help]', 'v', $cx, $in, array('url_help'))).'"></a> | ||
155 | + </div> | ||
156 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/24-3.jpg"> | ||
157 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/line-2.jpg"> | ||
158 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/25.jpg"> | ||
159 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/26.jpg"> | ||
160 | + <img src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/img/newuser/27.jpg"> | ||
161 | + </div> | ||
162 | + <script type="text/javascript" src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/js/jquery.min.js"></script> | ||
163 | + <script type="text/javascript" src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/js/newuser/coupon.js"></script> | ||
164 | + </body> | ||
165 | +</html>'; | ||
166 | +} | ||
167 | +?> |
@@ -23,18 +23,17 @@ class Yohobuy | @@ -23,18 +23,17 @@ class Yohobuy | ||
23 | // const SERVICE_URL = 'http://service.api.yohobuy.com/'; | 23 | // const SERVICE_URL = 'http://service.api.yohobuy.com/'; |
24 | // const YOHOBUY_URL = 'http://www.yohobuy.com/'; | 24 | // const YOHOBUY_URL = 'http://www.yohobuy.com/'; |
25 | 25 | ||
26 | -// const API_URL = 'http://apih5.yoho.cn/'; | ||
27 | -// const API_URL2 = 'http://apih5.yoho.cn/'; | ||
28 | -// const SERVICE_URL = 'http://serviceh5.yoho.cn/'; | ||
29 | -// const YOHOBUY_URL = 'http://www.yohobuy.com/'; | ||
30 | -// const API_OLD = 'http://api2.open.yohobuy.com/'; | ||
31 | - | ||
32 | - /* 测试环境 */ | ||
33 | - const API_URL = 'http://testapi.yoho.cn:28078/'; | ||
34 | - const SERVICE_URL = 'http://testservice.yoho.cn:28077/'; | 26 | + const API_URL = 'http://apih5.yoho.cn/'; |
27 | + const API_URL2 = 'http://apih5.yoho.cn/'; | ||
28 | + const SERVICE_URL = 'http://serviceh5.yoho.cn/'; | ||
35 | const YOHOBUY_URL = 'http://www.yohobuy.com/'; | 29 | const YOHOBUY_URL = 'http://www.yohobuy.com/'; |
36 | - const API_OLD = 'http://test2.open.yohobuy.com/'; | 30 | + const API_OLD = 'http://api2.open.yohobuy.com/'; |
37 | 31 | ||
32 | +// /* 测试环境 */ | ||
33 | +// const API_URL = 'http://testapi.yoho.cn:28078/'; | ||
34 | +// const SERVICE_URL = 'http://testservice.yoho.cn:28077/'; | ||
35 | +// const YOHOBUY_URL = 'http://www.yohobuy.com/'; | ||
36 | +// const API_OLD = 'http://test2.open.yohobuy.com/'; | ||
38 | 37 | ||
39 | /** | 38 | /** |
40 | * 私钥列表 | 39 | * 私钥列表 |
@@ -442,6 +442,7 @@ class Helpers | @@ -442,6 +442,7 @@ class Helpers | ||
442 | * 验证国际手机号是否合法 | 442 | * 验证国际手机号是否合法 |
443 | * | 443 | * |
444 | * @param string $areaMobile | 444 | * @param string $areaMobile |
445 | + * @param int $area | ||
445 | * @return boolean | 446 | * @return boolean |
446 | */ | 447 | */ |
447 | public static function verifyAreaMobile($areaMobile, $area) | 448 | public static function verifyAreaMobile($areaMobile, $area) |
1 | +* { | ||
2 | + margin: 0; | ||
3 | + padding: 0; | ||
4 | +} | ||
5 | +.coupon-christmas img { | ||
6 | + display: block; | ||
7 | + max-width: 100%; | ||
8 | +} | ||
9 | + | ||
10 | +.coupon-top { | ||
11 | + position: relative; | ||
12 | +} | ||
13 | +.coupon-top .go-check { | ||
14 | + position: absolute; | ||
15 | + top: 5.325rem; | ||
16 | + width: 100%; | ||
17 | + height: 10.5rem; | ||
18 | +} | ||
19 | +.coupon-top .share-btn { | ||
20 | + position: absolute; | ||
21 | + width: 14.125rem; | ||
22 | + height: 2.525rem; | ||
23 | + bottom: 2.575rem; | ||
24 | + left: 50%; | ||
25 | + margin: 0 0 0 -7.0625rem; | ||
26 | +} | ||
27 | +.coupon-top .wyf { | ||
28 | + position: absolute; | ||
29 | + width: 5.95rem; | ||
30 | + right: 0; | ||
31 | + top: 0.1rem; | ||
32 | +} | ||
33 | + | ||
34 | +.coupon-bottom { | ||
35 | + height: 11rem; | ||
36 | + background: url(../../img/christmas/02/bottom-bg.png) no-repeat bottom center; | ||
37 | + background-size: 100% auto; | ||
38 | +} | ||
39 | + | ||
40 | +.coupon-banner { | ||
41 | + position: relative; | ||
42 | + height: 7.675rem; | ||
43 | +} | ||
44 | + | ||
45 | +.banner-btn { | ||
46 | + position: absolute; | ||
47 | + width: 100%; | ||
48 | + height: 1.775rem; | ||
49 | + bottom: 0; | ||
50 | + font-size: 0; | ||
51 | + text-align: center; | ||
52 | +} | ||
53 | + | ||
54 | +.banner-btn a{ | ||
55 | + display: inline-block; | ||
56 | + height: 100%; | ||
57 | +} | ||
58 | +.banner-btn .boy { | ||
59 | + width: 3.525rem; | ||
60 | +} | ||
61 | +.banner-btn .girl { | ||
62 | + width: 3.35rem; | ||
63 | +} | ||
64 | +.banner-btn .life { | ||
65 | + width: 4.025rem; | ||
66 | +} | ||
67 | +.banner-btn .kid { | ||
68 | + width: 3.25rem; | ||
69 | +} | ||
70 | +.bottom-btn { | ||
71 | + position: relative; | ||
72 | + width: 13.725rem; | ||
73 | + height: 1.725rem; | ||
74 | + margin: 0.875rem auto 0; | ||
75 | + font-size: 0; | ||
76 | +} | ||
77 | +.bottom-btn a{ | ||
78 | + position: absolute; | ||
79 | + top: 0; | ||
80 | + width: 8.2rem; | ||
81 | + height: 100%; | ||
82 | +} | ||
83 | +.bottom-btn a.follow-yoho { | ||
84 | + width: 5.275rem; | ||
85 | + left: 0; | ||
86 | +} | ||
87 | +.bottom-btn a.download-yoho { | ||
88 | + right: 0; | ||
89 | +} | ||
90 | +.modal { | ||
91 | + position: fixed; | ||
92 | + top: 0; | ||
93 | + right: 0; | ||
94 | + bottom: 0; | ||
95 | + left: 0; | ||
96 | + background: url(../../img/christmas/02/share-2.png) center top no-repeat; | ||
97 | + -webkit-background-size: 100%; | ||
98 | + -moz-background-size: 100%; | ||
99 | + background-size: 100%; | ||
100 | + display: none; | ||
101 | +} | ||
102 | + | ||
103 | +.has-done { | ||
104 | + position: fixed; | ||
105 | + top: 0; | ||
106 | + right: 0; | ||
107 | + bottom: 0; | ||
108 | + left: 0; | ||
109 | + background: rgba(0,0,0,0.4) url(../../img/christmas/02/11.png); | ||
110 | + background-repeat: no-repeat; | ||
111 | + background-size: 80% auto; | ||
112 | + background-position: center center; | ||
113 | + overflow: hidden; | ||
114 | + display: none; | ||
115 | +} | ||
116 | + | ||
117 | +.dialog-box { | ||
118 | + display: none; | ||
119 | + position: fixed; | ||
120 | + top: 0; | ||
121 | + right: 0; | ||
122 | + bottom: 0; | ||
123 | + left: 0; | ||
124 | + background: rgba(0,0,0,0.4); | ||
125 | + z-index: 999; | ||
126 | +} | ||
127 | + | ||
128 | +.dialog-inner { | ||
129 | + position: absolute; | ||
130 | + width: 13.375rem; | ||
131 | + height: 9.625rem; | ||
132 | + top: 50%; | ||
133 | + left: 50%; | ||
134 | + margin: -4.8125rem 0 0 -6.6875rem; | ||
135 | +} | ||
136 | + | ||
137 | +.dialog-inner img { | ||
138 | + max-width: 100%; | ||
139 | +} | ||
140 | + | ||
141 | +.dialog-inner span { | ||
142 | + position: absolute; | ||
143 | + width: 8.225rem; | ||
144 | + height: 1.85rem; | ||
145 | + bottom: 1.475rem; | ||
146 | + left: 50%; | ||
147 | + margin: 0 0 0 -4.1125rem; | ||
148 | + cursor: pointer; | ||
149 | +} |

20.1 KB

1.42 KB

5.16 KB

60.8 KB

9.65 KB

9.16 KB

2.72 KB

57.5 KB

12.2 KB

55.9 KB

25.9 KB

237 KB
1 | +<!DOCTYPE html> | ||
2 | +<html> | ||
3 | +<head> | ||
4 | +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
5 | +<meta charset="utf-8"> | ||
6 | +<title>{{staticTitle}}</title> | ||
7 | +<meta name="apple-mobile-web-app-title" content="SUMMER SALE"> | ||
8 | +<meta name="format-detection" content="telephone=no"> | ||
9 | +<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)"> | ||
10 | +<meta name="apple-mobile-web-app-capable" content="yes"> | ||
11 | +<meta name="apple-mobile-web-app-status-bar-style" content="grey"> | ||
12 | +<link rel="stylesheet" href="{{imgUrl}}/cuxiao/css/christmas/index3.css"> | ||
13 | +<link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
14 | +<script> | ||
15 | + (function(doc, win) { | ||
16 | + var docEl = doc.documentElement; | ||
17 | + (function() { | ||
18 | + var clientWidth = docEl.clientWidth; | ||
19 | + if (!clientWidth) { | ||
20 | + return; | ||
21 | + } | ||
22 | + docEl.style.fontSize = 20 * (clientWidth / 320) + 'px'; | ||
23 | + }()); | ||
24 | + })(document, window); | ||
25 | +</script> | ||
26 | +</head> | ||
27 | +<body class="keBody"> | ||
28 | +<div class="coupon-christmas" show="{{showPopupFlag}}"> | ||
29 | + <div class="coupon-top"> | ||
30 | + <img src="{{imgUrl}}/cuxiao/img/christmas/02/top-bg.png" alt=""> | ||
31 | + <img class="wyf" src="{{imgUrl}}/cuxiao/img/christmas/02/wyf.gif" alt=""> | ||
32 | + <a class="go-check" href="{{myCouponUrl}}"></a> | ||
33 | + <a class="share-btn" href="javascript:;"></a> | ||
34 | + </div> | ||
35 | + <div class="coupon-bottom"> | ||
36 | + <div class="coupon-banner"> | ||
37 | + <div class="banner-btn"> | ||
38 | + <a class="boy" href="{{bannerUrl_1}}"></a> | ||
39 | + <a class="girl" href="{{bannerUrl_2}}"></a> | ||
40 | + <a class="life" href="{{bannerUrl_3}}"></a> | ||
41 | + <a class="kid" href="{{bannerUrl_4}}"></a> | ||
42 | + </div> | ||
43 | + </div> | ||
44 | + <div class="bottom-btn"> | ||
45 | + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> | ||
46 | + <a class="download-yoho" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"></a> | ||
47 | + </div> | ||
48 | + </div> | ||
49 | + <div class="coupon-ft"> | ||
50 | + <img src="{{imgUrl}}/cuxiao/img/christmas/02/14.png"> | ||
51 | + </div> | ||
52 | +</div> | ||
53 | +<div class="modal"></div> | ||
54 | +<div class="dialog-box geted"> | ||
55 | + <div class="dialog-inner"> | ||
56 | + <img src="{{imgUrl}}/cuxiao/img/christmas/geted.png" alt=""/> | ||
57 | + <span class="dialog-close"></span> | ||
58 | + </div> | ||
59 | +</div> | ||
60 | +<div class="dialog-box fail"> | ||
61 | + <div class="dialog-inner"> | ||
62 | + <img src="{{imgUrl}}/cuxiao/img/christmas/fail.png" alt=""/> | ||
63 | + <span class="refresh-btn"></span> | ||
64 | + </div> | ||
65 | +</div> | ||
66 | +<input id="shareLink" type="hidden" value="{{shareLink}}"> | ||
67 | +<input id="shareImg" type="hidden" value="{{shareImg}}"> | ||
68 | +<input id="shareTitle" type="hidden" value="{{shareTitle}}"> | ||
69 | +<input id="shareDesc" type="hidden" value="{{shareDesc}}"> | ||
70 | +<script type="text/javascript" src="{{imgUrl}}/cuxiao/js/jquery.min.js"></script> | ||
71 | +<script> | ||
72 | + //提示分享 | ||
73 | + $('.share-btn').click(function () { | ||
74 | + $('.modal').fadeIn(); | ||
75 | + }); | ||
76 | + //关闭提示分享 | ||
77 | + $('.modal').click(function () { | ||
78 | + $(this).fadeOut(); | ||
79 | + }); | ||
80 | + | ||
81 | + //提示已领过券 | ||
82 | + if ($('.coupon-christmas').attr('show') === '1') { | ||
83 | + $('.dialog-box.geted').show(); | ||
84 | + } | ||
85 | + //提示领券失败 | ||
86 | + else if ($('.coupon-christmas').attr('show') === '2') { | ||
87 | + $('.dialog-box.fail').show(); | ||
88 | + } | ||
89 | + | ||
90 | + //关闭提示 | ||
91 | + $('.dialog-close').click(function(){ | ||
92 | + $(this).parents('.dialog-box').fadeOut(); | ||
93 | + }); | ||
94 | + //刷新页面 | ||
95 | + $('.refresh-btn').click(function() { | ||
96 | + location.reload(); | ||
97 | + }); | ||
98 | +</script> | ||
99 | +{{#if weixinShare}} | ||
100 | +<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> | ||
101 | +<script type="text/javascript" charset="utf-8" src="{{jsUrl}}/cuxiao/js/share.weixin.js"></script> | ||
102 | +{{/if}} | ||
103 | +{{> layout/analysis}} | ||
104 | +</body> | ||
105 | +</html> |
1 | +<!DOCTYPE html> | ||
2 | +<html> | ||
3 | + <head> | ||
4 | + <meta charset="UTF-8"> | ||
5 | + <title>{{staticTitle}}</title> | ||
6 | + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | ||
7 | + <style> | ||
8 | + *{margin: 0;padding: 0;} | ||
9 | + #coupon-container {width: 100%;} | ||
10 | + #coupon-container img {width: 100%; height: auto; display: block;overflow: hidden;} | ||
11 | + .img-box {width: 100%;position: relative;} | ||
12 | + .img-box .href {width: 50%; height: 100%;position: absolute;top: 0;} | ||
13 | + .img-box .href-left {left: 0} | ||
14 | + .img-box .href-right {right: 0} | ||
15 | + .img-box .href-center {width: 90%;height: 100%;position: absolute;top: 0;left: 5%;} | ||
16 | + .show-more {height: 100%;width: 25%;position: absolute;top: 0;right: 10%;} | ||
17 | + .yoho-tip { | ||
18 | + position: fixed; | ||
19 | + display: none; | ||
20 | + text-align: center; | ||
21 | + width: 70%; | ||
22 | + padding: 34px 0; | ||
23 | + top: 50%; | ||
24 | + left: 50%; | ||
25 | + margin-left: -35%; | ||
26 | + margin-top: -45px; | ||
27 | + background-color: #000; | ||
28 | + opacity: 0.9; | ||
29 | + color: #fff; | ||
30 | + font-size: 18px; | ||
31 | + border: none; | ||
32 | + border-radius: 10px; | ||
33 | + } | ||
34 | + </style> | ||
35 | + <link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
36 | + <link rel="dns-prefetch" href="//static.yohobuy.com"> | ||
37 | + </head> | ||
38 | + <body> | ||
39 | + <div class="coupon-container" id="coupon-container" param="{{activityId}}" isLogged="{{isLogged}}"> | ||
40 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/01.jpg"> | ||
41 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/02.jpg"> | ||
42 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/03.jpg"> | ||
43 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> | ||
44 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/04.jpg"> | ||
45 | + <div class="img-box"> | ||
46 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/05.jpg"> | ||
47 | + <a class="href href-right" href="{{url_yohope}}"></a> | ||
48 | + </div> | ||
49 | + <div class="img-box"> | ||
50 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/06.jpg"> | ||
51 | + <a class="href href-center" href="{{url_mycoupon}}"></a> | ||
52 | + </div> | ||
53 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/line-2.jpg"> | ||
54 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/07.jpg"> | ||
55 | + <div class="img-box"> | ||
56 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/08.jpg"> | ||
57 | + <a class="href href-left" href="{{url_more}}"></a> | ||
58 | + <a class="href href-right" href="{{url_more}}"></a> | ||
59 | + </div> | ||
60 | + <div class="img-box"> | ||
61 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/09.jpg"> | ||
62 | + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12042"></span> | ||
63 | + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="12043"></span> | ||
64 | + </div> | ||
65 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> | ||
66 | + <div class="img-box"> | ||
67 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/10.jpg"> | ||
68 | + <a class="href href-left" href="{{url_4}}"></a> | ||
69 | + <a class="href href-right" href="{{url_343}}"></a> | ||
70 | + </div> | ||
71 | + <div class="img-box"> | ||
72 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/11.jpg"> | ||
73 | + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12044"></span> | ||
74 | + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="12045"></span> | ||
75 | + </div> | ||
76 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> | ||
77 | + <div class="img-box"> | ||
78 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/12.jpg"> | ||
79 | + <a class="href href-left" href="{{url_230}}"></a> | ||
80 | + <a class="href href-right" href="{{url_536}}"></a> | ||
81 | + </div> | ||
82 | + <div class="img-box"> | ||
83 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/13.jpg"> | ||
84 | + <span class="href href-left get-coupon" onclick="" href="{{jumpUrl}}" param="12046"></span> | ||
85 | + <span class="href href-right get-coupon" onclick="" href="{{jumpUrl}}" param="12047"></span> | ||
86 | + </div> | ||
87 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> | ||
88 | + <div class="img-box"> | ||
89 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/14.jpg"> | ||
90 | + <a class="href href-left" href="{{url_847}}"></a> | ||
91 | + <a class="href href-right" href="{{url_900}}"></a> | ||
92 | + </div> | ||
93 | + <div class="img-box"> | ||
94 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/15.jpg"> | ||
95 | + <span class="href href-left get-coupon" onclick="" href="{{jumpUrl}}" param="12048"></span> | ||
96 | + <span class="href href-right get-coupon" onclick="" href="{{jumpUrl}}" param="12049"></span> | ||
97 | + </div> | ||
98 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> | ||
99 | + <div class="img-box"> | ||
100 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/16.jpg"> | ||
101 | + <a class="href href-left" href="{{url_868}}"></a> | ||
102 | + <a class="href href-right" href="{{url_1026}}"></a> | ||
103 | + </div> | ||
104 | + <div class="img-box"> | ||
105 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/17.jpg"> | ||
106 | + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12050"></span> | ||
107 | + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="12051"></span> | ||
108 | + </div> | ||
109 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> | ||
110 | + <img src="{{jsUrl}}/cuxiao/img/newuser/line-2.jpg"> | ||
111 | + <img src="{{jsUrl}}/cuxiao/img/newuser/24-1.jpg"> | ||
112 | + <div class="img-box"> | ||
113 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/24-2.jpg"> | ||
114 | + <a class="show-more" href="{{url_help}}"></a> | ||
115 | + </div> | ||
116 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/24-3.jpg"> | ||
117 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/line-2.jpg"> | ||
118 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/25.jpg"> | ||
119 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/26.jpg"> | ||
120 | + <img src="{{jsUrl}}/cuxiao/img/newuser2/27.jpg"> | ||
121 | + </div> | ||
122 | + <script type="text/javascript" src="{{jsUrl}}/cuxiao/js/jquery.min.js"></script> | ||
123 | + <script type="text/javascript" src="{{jsUrl}}/cuxiao/js/newuser/coupon2.js"></script> | ||
124 | + </body> | ||
125 | +</html> |
@@ -59,8 +59,8 @@ | @@ -59,8 +59,8 @@ | ||
59 | </div> | 59 | </div> |
60 | <div class="img-box"> | 60 | <div class="img-box"> |
61 | <img src="{{jsUrl}}/cuxiao/img/newuser2/09.jpg"> | 61 | <img src="{{jsUrl}}/cuxiao/img/newuser2/09.jpg"> |
62 | - <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12042"></span> | ||
63 | - <span class="href href-right get-coupon" href="{{jumpUrl}}" param="12043"></span> | 62 | + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="16753"></span> |
63 | + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="16755"></span> | ||
64 | </div> | 64 | </div> |
65 | <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> | 65 | <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> |
66 | <div class="img-box"> | 66 | <div class="img-box"> |
@@ -70,8 +70,8 @@ | @@ -70,8 +70,8 @@ | ||
70 | </div> | 70 | </div> |
71 | <div class="img-box"> | 71 | <div class="img-box"> |
72 | <img src="{{jsUrl}}/cuxiao/img/newuser2/11.jpg"> | 72 | <img src="{{jsUrl}}/cuxiao/img/newuser2/11.jpg"> |
73 | - <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12044"></span> | ||
74 | - <span class="href href-right get-coupon" href="{{jumpUrl}}" param="12045"></span> | 73 | + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="16757"></span> |
74 | + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="16759"></span> | ||
75 | </div> | 75 | </div> |
76 | <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> | 76 | <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> |
77 | <div class="img-box"> | 77 | <div class="img-box"> |
@@ -81,8 +81,8 @@ | @@ -81,8 +81,8 @@ | ||
81 | </div> | 81 | </div> |
82 | <div class="img-box"> | 82 | <div class="img-box"> |
83 | <img src="{{jsUrl}}/cuxiao/img/newuser2/13.jpg"> | 83 | <img src="{{jsUrl}}/cuxiao/img/newuser2/13.jpg"> |
84 | - <span class="href href-left get-coupon" onclick="" href="{{jumpUrl}}" param="12046"></span> | ||
85 | - <span class="href href-right get-coupon" onclick="" href="{{jumpUrl}}" param="12047"></span> | 84 | + <span class="href href-left get-coupon" onclick="" href="{{jumpUrl}}" param="16761"></span> |
85 | + <span class="href href-right get-coupon" onclick="" href="{{jumpUrl}}" param="16763"></span> | ||
86 | </div> | 86 | </div> |
87 | <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> | 87 | <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> |
88 | <div class="img-box"> | 88 | <div class="img-box"> |
@@ -92,8 +92,8 @@ | @@ -92,8 +92,8 @@ | ||
92 | </div> | 92 | </div> |
93 | <div class="img-box"> | 93 | <div class="img-box"> |
94 | <img src="{{jsUrl}}/cuxiao/img/newuser2/15.jpg"> | 94 | <img src="{{jsUrl}}/cuxiao/img/newuser2/15.jpg"> |
95 | - <span class="href href-left get-coupon" onclick="" href="{{jumpUrl}}" param="12048"></span> | ||
96 | - <span class="href href-right get-coupon" onclick="" href="{{jumpUrl}}" param="12049"></span> | 95 | + <span class="href href-left get-coupon" onclick="" href="{{jumpUrl}}" param="16765"></span> |
96 | + <span class="href href-right get-coupon" onclick="" href="{{jumpUrl}}" param="16767"></span> | ||
97 | </div> | 97 | </div> |
98 | <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> | 98 | <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> |
99 | <div class="img-box"> | 99 | <div class="img-box"> |
@@ -103,10 +103,12 @@ | @@ -103,10 +103,12 @@ | ||
103 | </div> | 103 | </div> |
104 | <div class="img-box"> | 104 | <div class="img-box"> |
105 | <img src="{{jsUrl}}/cuxiao/img/newuser2/17.jpg"> | 105 | <img src="{{jsUrl}}/cuxiao/img/newuser2/17.jpg"> |
106 | - <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12050"></span> | ||
107 | - <span class="href href-right get-coupon" href="{{jumpUrl}}" param="12051"></span> | 106 | + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="16769"></span> |
107 | + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="16771"></span> | ||
108 | </div> | 108 | </div> |
109 | <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> | 109 | <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> |
110 | + <img src="{{jsUrl}}/cuxiao/img/newuser/line-2.jpg"> | ||
111 | + <img src="{{jsUrl}}/cuxiao/img/newuser/24-1.jpg"> | ||
110 | <div class="img-box"> | 112 | <div class="img-box"> |
111 | <img src="{{jsUrl}}/cuxiao/img/newuser2/24-2.jpg"> | 113 | <img src="{{jsUrl}}/cuxiao/img/newuser2/24-2.jpg"> |
112 | <a class="show-more" href="{{url_help}}"></a> | 114 | <a class="show-more" href="{{url_help}}"></a> |
1 | {{!-- APP 内置晒单介绍 --}} | 1 | {{!-- APP 内置晒单介绍 --}} |
2 | <!DOCTYPE html> | 2 | <!DOCTYPE html> |
3 | <html> | 3 | <html> |
4 | -<head> | ||
5 | - <meta charset="utf-8"> | ||
6 | - <title>晒单评价规则</title> | ||
7 | - <style type="text/css"> | ||
8 | - * { | ||
9 | - margin: 0; | ||
10 | - padding: 0; | ||
11 | - } | ||
12 | - ul { | ||
13 | - list-style: none; | ||
14 | - margin-bottom: 30px; | ||
15 | - } | ||
16 | - .help { | ||
17 | - padding: 30px 30px; | ||
18 | - font-size: 24px; | ||
19 | - line-height: 1.5; | ||
20 | - color: #444; | ||
21 | - } | ||
22 | - </style> | ||
23 | -</head> | ||
24 | -<body> | ||
25 | - <div class="help"> | ||
26 | - <p>晒单评价规则:</p> | ||
27 | - <ul> | ||
28 | - <li>1. 只能对您购买过的商品进行晒单评价;</li> | ||
29 | - <li>2. 晒单通过审核后即可获得奖励,且一件商品只能获得一次晒单奖励;</li> | ||
30 | - <li>3. 未通过审核的晒单评价内容将会被删除,若多次出现晒单评价未审核通过的情况,YOHO!BUY有货有权禁止该用户对商品继续晒单评价;</li> | ||
31 | - </ul> | ||
32 | - <p>如何通过审核:</p> | ||
33 | - <ul> | ||
34 | - <li>1. 晒单图片应与商品相关、且不得出现含违反法律、法规的内容的;</li> | ||
35 | - <li>2. 评价应有一定参考价值的信息,不可以直接拷贝别人的评价文字哦~</li> | ||
36 | - </ul> | ||
37 | - <p>其他说明:</p> | ||
38 | - <ul> | ||
39 | - <li>YOHO!BUY有货对用户在本站进行晒单评价的文字、图片享有使用权利</li> | ||
40 | - </ul> | ||
41 | - </div> | ||
42 | -</body> | 4 | + <head> |
5 | + <meta charset="utf-8"> | ||
6 | + <title>晒单评价规则</title> | ||
7 | + <style type="text/css"> | ||
8 | + * { | ||
9 | + margin: 0; | ||
10 | + padding: 0; | ||
11 | + } | ||
12 | + ul { | ||
13 | + list-style: none; | ||
14 | + margin-bottom: 30px; | ||
15 | + } | ||
16 | + .help { | ||
17 | + padding: 30px 30px; | ||
18 | + font-size: 26px; | ||
19 | + line-height: 1.5; | ||
20 | + color: #444; | ||
21 | + } | ||
22 | + </style> | ||
23 | + </head> | ||
24 | + <body> | ||
25 | + <div class="help"> | ||
26 | + <p>晒单评价规则:</p> | ||
27 | + <ul> | ||
28 | + <li>1. 只能对您购买过的商品进行晒单评价;</li> | ||
29 | + <li>2. 晒单通过审核后即可获得奖励,且一件商品只能获得一次晒单奖励;</li> | ||
30 | + <li>3. 未通过审核的晒单评价内容将会被删除,若多次出现晒单评价未审核通过的情况,YOHO!BUY有货有权禁止该用户对商品继续晒单评价;</li> | ||
31 | + </ul> | ||
32 | + <p>如何通过审核:</p> | ||
33 | + <ul> | ||
34 | + <li>1. 晒单图片应与商品相关、且不得出现含违反法律、法规的内容的;</li> | ||
35 | + <li>2. 评价应有一定参考价值的信息,不可以直接拷贝别人的评价文字哦~</li> | ||
36 | + </ul> | ||
37 | + <p>其他说明:</p> | ||
38 | + <ul> | ||
39 | + <li>YOHO!BUY有货对用户在本站进行晒单评价的文字、图片享有使用权利</li> | ||
40 | + </ul> | ||
41 | + </div> | ||
42 | + </body> | ||
43 | </html> | 43 | </html> |
1 | +<?php | ||
2 | + | ||
3 | +use Action\AbstractAction; | ||
4 | + | ||
5 | +/** | ||
6 | + * 跳转 | ||
7 | + */ | ||
8 | +class GoController extends AbstractAction | ||
9 | +{ | ||
10 | + | ||
11 | + /** | ||
12 | + * 跳转PC或WAP | ||
13 | + */ | ||
14 | + public function indexAction() | ||
15 | + { | ||
16 | + $pc = $this->get('pc', 'http://www.yohobuy.com'); | ||
17 | + $wap = $this->get('wap', 'http://m.yohobuy.com'); | ||
18 | + | ||
19 | + $pc = rawurldecode($pc); | ||
20 | + $wap = rawurldecode($wap); | ||
21 | + | ||
22 | + // 苹果设备 | ||
23 | + if (strstr($_SERVER['HTTP_USER_AGENT'], 'iPhone')) { | ||
24 | + $this->go($wap); | ||
25 | + } | ||
26 | + // 苹果IPAD | ||
27 | + elseif (strstr($_SERVER['HTTP_USER_AGENT'], 'iPad')) { | ||
28 | + $this->go($pc); | ||
29 | + } | ||
30 | + // 安卓设备 | ||
31 | + elseif (strstr($_SERVER['HTTP_USER_AGENT'], 'Android')) { | ||
32 | + $this->go($wap); | ||
33 | + } | ||
34 | + // 其它 | ||
35 | + else { | ||
36 | + $this->go($pc); | ||
37 | + } | ||
38 | + } | ||
39 | + | ||
40 | +} |
@@ -36,7 +36,7 @@ class ChristmasController extends HuodongAction | @@ -36,7 +36,7 @@ class ChristmasController extends HuodongAction | ||
36 | switch (intval($result['code'])) { | 36 | switch (intval($result['code'])) { |
37 | case 200: // 领取成功, 发送站内信消息 | 37 | case 200: // 领取成功, 发送站内信消息 |
38 | $showPopupFlag = '0'; | 38 | $showPopupFlag = '0'; |
39 | - $this->sendMessage($uid); | 39 | + $this->sendMessage($uid, '【优惠券】您有6张潮集圣诞优惠券', '尊敬的客户:恭喜您成功获得6张潮集圣诞优惠券 !您可以在个人中心的交易管理中查看‘我的优惠券’。'); |
40 | break; | 40 | break; |
41 | case 201: // 已领取过, 提示重复领券 | 41 | case 201: // 已领取过, 提示重复领券 |
42 | $showPopupFlag = '1'; | 42 | $showPopupFlag = '1'; |
@@ -49,13 +49,11 @@ class ChristmasController extends HuodongAction | @@ -49,13 +49,11 @@ class ChristmasController extends HuodongAction | ||
49 | 49 | ||
50 | $this->_view->display('index', array( | 50 | $this->_view->display('index', array( |
51 | 'staticTitle' => '潮集圣诞', | 51 | 'staticTitle' => '潮集圣诞', |
52 | - | ||
53 | 'weixinShare' => $this->_isApp ? false : true, // 是否需要微信分享 | 52 | 'weixinShare' => $this->_isApp ? false : true, // 是否需要微信分享 |
54 | 'shareLink' => 'http://feature.yohobuy.com/0/0/675/index.html', | 53 | 'shareLink' => 'http://feature.yohobuy.com/0/0/675/index.html', |
55 | 'shareTitle' => 'YOHO!BUY有货【潮集圣诞】第一弹来袭!500元优惠券引爆圣诞!', | 54 | 'shareTitle' => 'YOHO!BUY有货【潮集圣诞】第一弹来袭!500元优惠券引爆圣诞!', |
56 | 'shareDesc' => '万件潮品限时58折封顶,再享折上满减,还有惊喜圣诞礼物等你来挑哦!', | 55 | 'shareDesc' => '万件潮品限时58折封顶,再享折上满减,还有惊喜圣诞礼物等你来挑哦!', |
57 | 'shareImg' => 'http://img12.static.yhbimg.com/couponImg/2015/12/10/09/029fd41969b67002126ff7a71fe5396b6e.png', | 56 | 'shareImg' => 'http://img12.static.yhbimg.com/couponImg/2015/12/10/09/029fd41969b67002126ff7a71fe5396b6e.png', |
58 | - | ||
59 | 'showPopupFlag' => $showPopupFlag, | 57 | 'showPopupFlag' => $showPopupFlag, |
60 | 'myCouponUrl' => $myCouponUrl, | 58 | 'myCouponUrl' => $myCouponUrl, |
61 | 'bannerUrl_1' => 'http://feature.yoho.cn/1211/1211APPHOMEBOY/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"潮集圣诞","url":"http://feature.yoho.cn/1211/1211APPHOMEBOY/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"454"},"param":{"share_id":"454"}}}', | 59 | 'bannerUrl_1' => 'http://feature.yoho.cn/1211/1211APPHOMEBOY/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"潮集圣诞","url":"http://feature.yoho.cn/1211/1211APPHOMEBOY/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"454"},"param":{"share_id":"454"}}}', |
@@ -64,6 +62,56 @@ class ChristmasController extends HuodongAction | @@ -64,6 +62,56 @@ class ChristmasController extends HuodongAction | ||
64 | } | 62 | } |
65 | 63 | ||
66 | /** | 64 | /** |
65 | + * 备注:2015年12月11号上线 | ||
66 | + */ | ||
67 | + public function christmas2Action() | ||
68 | + { | ||
69 | + //获取登录者ID,未登录返回false | ||
70 | + $uid = $this->getLoggedUid(); | ||
71 | + if (!$uid || !is_numeric($uid)) { | ||
72 | + //未登录的用户访问,跳转到登录页面。并且在登陆后跳转回本页面 | ||
73 | + $this->go(Helpers::url('/signin.html', array('refer' => Helpers::url('/cuxiao/christmas/christmas2')), 'default')); | ||
74 | + } | ||
75 | + | ||
76 | + // 该变量用来控制和显示页面的弹出提示 | ||
77 | + $showPopupFlag = '0'; | ||
78 | + | ||
79 | + //获取跳转到个人中心-我的优惠券链接,并调用接口,完成领券操作 | ||
80 | + $myCouponUrl = Helpers::url('/home/coupons', null, 'default') . '?openby:yohobuy={"action":"go.coupon"}'; | ||
81 | + $activityId = $this->getActivityId2(); | ||
82 | + $result = ActivityData::getCouponAll($uid, $activityId); | ||
83 | + if (isset($result['code'])) { | ||
84 | + switch (intval($result['code'])) { | ||
85 | + case 200: // 领取成功, 发送站内信消息 | ||
86 | + $showPopupFlag = '0'; | ||
87 | + $this->sendMessage($uid, '【优惠券】您获得1000元套券', '尊敬的客户:恭喜您成功获得1000元套券!您可以在个人中心的交易管理中查看‘我的优惠券’。'); | ||
88 | + break; | ||
89 | + case 201: // 已领取过, 提示重复领券 | ||
90 | + $showPopupFlag = '1'; | ||
91 | + break; | ||
92 | + default: // 领取失败, 提示领券失败 | ||
93 | + $showPopupFlag = '2'; | ||
94 | + break; | ||
95 | + } | ||
96 | + } | ||
97 | + | ||
98 | + $this->_view->display('index-2', array( | ||
99 | + 'staticTitle' => '潮集圣诞', | ||
100 | + 'weixinShare' => $this->_isApp ? false : true, // 是否需要微信分享 | ||
101 | + 'shareLink' => 'http://feature.yohobuy.com/0/0/701/index.html', | ||
102 | + 'shareTitle' => 'YOHO!BUY有货【潮集圣诞】第二弹来袭!1000元优惠券引爆圣诞!', | ||
103 | + 'shareDesc' => '万件潮品限时5折封顶,冬季优品最高直减800元,还有惊喜圣诞礼物等你来挑哦!', | ||
104 | + 'shareImg' => 'http://img11.static.yhbimg.com/couponImg/2015/12/17/09/014bba1e01a0aef86fa4c81f1c926a0d62.png', | ||
105 | + 'showPopupFlag' => $showPopupFlag, | ||
106 | + 'myCouponUrl' => $myCouponUrl, | ||
107 | + 'bannerUrl_1' => 'http://feature.yoho.cn/1221/1221APPHOMEBOY/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"潮集圣诞","url":"http://feature.yoho.cn/1221/1221APPHOMEBOY/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"530"},"param":{"share_id":"530"}}}', | ||
108 | + 'bannerUrl_2' => 'http://feature.yoho.cn/1221/1221APPHOMEGIRL/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"潮集圣诞","url":"http://feature.yoho.cn/1221/1221APPHOMEGIRL/index.html","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"532"},"param":{"share_id":"532"}}}', | ||
109 | + 'bannerUrl_3' => 'http://feature.yoho.cn/1221/1221APPHOMELIFE/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"潮集圣诞","url":"http://feature.yoho.cn/1221/1221APPHOMELIFE/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"536"},"param":{"share_id":"536"}}}', | ||
110 | + 'bannerUrl_4' => 'http://feature.yoho.cn/1221/1221APPHOMEKIDS/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"潮集圣诞","url":"http://feature.yoho.cn/1221/1221APPHOMEKIDS/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"534"},"param":{"share_id":"534"}}}', | ||
111 | + )); | ||
112 | + } | ||
113 | + | ||
114 | + /** | ||
67 | * 检测登录状态 | 115 | * 检测登录状态 |
68 | * | 116 | * |
69 | * @return int | 117 | * @return int |
@@ -81,18 +129,17 @@ class ChristmasController extends HuodongAction | @@ -81,18 +129,17 @@ class ChristmasController extends HuodongAction | ||
81 | 129 | ||
82 | return $uid; | 130 | return $uid; |
83 | } | 131 | } |
84 | - | 132 | + |
85 | /** | 133 | /** |
86 | * 发送站内信 | 134 | * 发送站内信 |
87 | * | 135 | * |
88 | * @param int $uid 用户ID | 136 | * @param int $uid 用户ID |
89 | */ | 137 | */ |
90 | - private function sendMessage($uid) | 138 | + private function sendMessage($uid, $title, $content) |
91 | { | 139 | { |
92 | try { | 140 | try { |
93 | - ActivityData::message($uid, '【优惠券】您有6张潮集圣诞优惠券', '尊敬的客户:恭喜您成功获得6张潮集圣诞优惠券 !您可以在个人中心的交易管理中查看‘我的优惠券’。'); | ||
94 | - } | ||
95 | - catch (Exception $e) { | 141 | + ActivityData::message($uid, $title, $content); |
142 | + } catch (Exception $e) { | ||
96 | // do nothing | 143 | // do nothing |
97 | } | 144 | } |
98 | } | 145 | } |
@@ -116,4 +163,23 @@ class ChristmasController extends HuodongAction | @@ -116,4 +163,23 @@ class ChristmasController extends HuodongAction | ||
116 | } | 163 | } |
117 | } | 164 | } |
118 | 165 | ||
166 | + /** | ||
167 | + * 根据环境来获取活动ID | ||
168 | + * | ||
169 | + * @return int | ||
170 | + */ | ||
171 | + private function getActivityId2() | ||
172 | + { | ||
173 | + // 设置环境变量 | ||
174 | + switch (APPLICATION_ENV) { | ||
175 | + case 'production': // 生产 | ||
176 | + return 390; | ||
177 | + case 'preview': // 预览 | ||
178 | + case 'testing': // 测试 | ||
179 | + case 'develop': // 开发 | ||
180 | + default: | ||
181 | + return 390; | ||
182 | + } | ||
183 | + } | ||
184 | + | ||
119 | } | 185 | } |
@@ -52,7 +52,7 @@ class CouponController extends HuodongAction | @@ -52,7 +52,7 @@ class CouponController extends HuodongAction | ||
52 | $urlGirls = Helpers::url('/cuxiao/coupon/girlsbrand'); | 52 | $urlGirls = Helpers::url('/cuxiao/coupon/girlsbrand'); |
53 | $urlKids = Helpers::url('/cuxiao/coupon/kidsbrand'); | 53 | $urlKids = Helpers::url('/cuxiao/coupon/kidsbrand'); |
54 | $urlLifestyle = Helpers::url('/cuxiao/coupon/lifestylebrand'); | 54 | $urlLifestyle = Helpers::url('/cuxiao/coupon/lifestylebrand'); |
55 | - $urlShare = '\/operations\/api\/v5\/webshare\/getShare'; | 55 | + $urlShare = Yohobuy::SERVICE_URL . '/operations/api/v5/webshare/getShare'; |
56 | $urlEncode = strtr($urlBoys, array('/' => '\\/')); | 56 | $urlEncode = strtr($urlBoys, array('/' => '\\/')); |
57 | 57 | ||
58 | $this->_view->display('boysbrand', array( | 58 | $this->_view->display('boysbrand', array( |
@@ -67,10 +67,10 @@ class CouponController extends HuodongAction | @@ -67,10 +67,10 @@ class CouponController extends HuodongAction | ||
67 | 'shareImg' => 'http://img12.static.yhbimg.com/couponImg/2015/11/26/09/0226ad7f8bcf5467a789e17b761c7557e0.jpg', | 67 | 'shareImg' => 'http://img12.static.yhbimg.com/couponImg/2015/11/26/09/0226ad7f8bcf5467a789e17b761c7557e0.jpg', |
68 | 'shareDesc' => '2015感恩季!品牌专属优惠券限时送!先领券,再购物,让你乐享整个冬季!', | 68 | 'shareDesc' => '2015感恩季!品牌专属优惠券限时送!先领券,再购物,让你乐享整个冬季!', |
69 | 69 | ||
70 | - 'url_boys' => $urlBoys . '?yohobuy={"action":"go.h5","params":{"id":"364","share":"' . $urlShare . '","shareparam":{"share_id":"406"},"islogin":"Y","type":0,"url":"' . $urlBoys . '","param":{}}}', | ||
71 | - 'url_girls' => $urlGirls . '?yohobuy={"action":"go.h5","params":{"id":"366","share":"' . $urlShare . '","shareparam":{"share_id":"408"},"islogin":"Y","type":0,"url":"' . $urlGirls . '","param":{}}}', | ||
72 | - 'url_kids' => $urlKids . '?yohobuy={"action":"go.h5","params":{"id":"368","share":"' . $urlShare . '","shareparam":{"share_id":"410"},"islogin":"Y","type":0,"url":"' . $urlKids . '","param":{}}}', | ||
73 | - 'url_lifestyle' => $urlLifestyle . '?yohobuy={"action":"go.h5","params":{"id":"370","share":"' . $urlShare . '","shareparam":{"share_id":"412"},"islogin":"Y","type":0,"url":"' . $urlLifestyle . '","param":{}}}', | 70 | + 'url_boys' => $urlBoys . '?yohobuy={"action":"go.h5","params":{"id":"364","share":"' . $urlShare . '","shareparam":{"share_id":"406"},"islogin":"N","type":0,"url":"' . $urlBoys . '","param":{}}}', |
71 | + 'url_girls' => $urlGirls . '?yohobuy={"action":"go.h5","params":{"id":"366","share":"' . $urlShare . '","shareparam":{"share_id":"408"},"islogin":"N","type":0,"url":"' . $urlGirls . '","param":{}}}', | ||
72 | + 'url_kids' => $urlKids . '?yohobuy={"action":"go.h5","params":{"id":"368","share":"' . $urlShare . '","shareparam":{"share_id":"410"},"islogin":"N","type":0,"url":"' . $urlKids . '","param":{}}}', | ||
73 | + 'url_lifestyle' => $urlLifestyle . '?yohobuy={"action":"go.h5","params":{"id":"370","share":"' . $urlShare . '","shareparam":{"share_id":"412"},"islogin":"N","type":0,"url":"' . $urlLifestyle . '","param":{}}}', | ||
74 | 74 | ||
75 | 'url_350' => 'http://list.m.yohobuy.com/?gender=1,3&brand=350&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"350","title":"MACROPUS"}}', | 75 | 'url_350' => 'http://list.m.yohobuy.com/?gender=1,3&brand=350&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"350","title":"MACROPUS"}}', |
76 | 'url_160' => 'http://list.m.yohobuy.com/?gender=1,3&brand=60&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"60","title":"izzue"}}', | 76 | 'url_160' => 'http://list.m.yohobuy.com/?gender=1,3&brand=60&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"60","title":"izzue"}}', |
@@ -502,10 +502,8 @@ class CouponController extends HuodongAction | @@ -502,10 +502,8 @@ class CouponController extends HuodongAction | ||
502 | )); | 502 | )); |
503 | } | 503 | } |
504 | 504 | ||
505 | - /** | ||
506 | - * 新客领券2 | ||
507 | - * | ||
508 | - * | 505 | + /** |
506 | + * 新客领券(第二波)12月21号上线 | ||
509 | */ | 507 | */ |
510 | public function newuser2Action() | 508 | public function newuser2Action() |
511 | { | 509 | { |
@@ -518,17 +516,26 @@ class CouponController extends HuodongAction | @@ -518,17 +516,26 @@ class CouponController extends HuodongAction | ||
518 | } else { | 516 | } else { |
519 | $isLogged = $this->getUid(); | 517 | $isLogged = $this->getUid(); |
520 | } | 518 | } |
521 | - $urlNewuser = Helpers::url('/cuxiao/coupon/newuser'); | 519 | + $urlNewuser = Helpers::url('/cuxiao/coupon/newuser2'); |
522 | $urlYohope = Helpers::url('/cuxiao/coupon/yohope'); | 520 | $urlYohope = Helpers::url('/cuxiao/coupon/yohope'); |
523 | $urlHelp = Helpers::url('/cuxiao/coupon/help'); | 521 | $urlHelp = Helpers::url('/cuxiao/coupon/help'); |
524 | $urlMycoupon = Helpers::url('/home/coupons', null, 'default'); | 522 | $urlMycoupon = Helpers::url('/home/coupons', null, 'default'); |
525 | $urlEncode = strtr($urlNewuser, array('/' => '\\/')); | 523 | $urlEncode = strtr($urlNewuser, array('/' => '\\/')); |
526 | - $gender = $this->get('gender', '1,3'); | ||
527 | - $channel = $this -> get('yh_channel','1'); | ||
528 | - $url = Helpers::url('/boys') . '?openbuy:yohobuy={"action":"go.home","params":{"gender":"' . $gender . '","channel":"' . $channel . '"}}'; | 524 | + $channel = $this -> get('yh_channel', '1'); |
525 | + switch (strval($channel)) { | ||
526 | + case '1': | ||
527 | + $gender = '1,3'; | ||
528 | + break; | ||
529 | + case '2': | ||
530 | + $gender = '2,3'; | ||
531 | + break; | ||
532 | + default: | ||
533 | + $gender = '1,2,3'; | ||
534 | + } | ||
535 | + $url = Helpers::url('/boys', array(), 'default') . '?openby:yohobuy={"action":"go.home","params":{"gender":"' . $gender . '","channel":"' . $channel . '"}}'; | ||
529 | 536 | ||
530 | $this->_view->display('newuser2', array( | 537 | $this->_view->display('newuser2', array( |
531 | - 'activityId' => 87, // 活动ID 444 | 538 | + 'activityId' => 444, // 87活动ID |
532 | 'staticTitle' => '新人潮这看,超值惊喜等你领', // 标题 | 539 | 'staticTitle' => '新人潮这看,超值惊喜等你领', // 标题 |
533 | 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlNewuser . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}', | 540 | 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlNewuser . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}', |
534 | 'isLogged' => $isLogged ? 'Y' : 'N', // 标识是否登录 | 541 | 'isLogged' => $isLogged ? 'Y' : 'N', // 标识是否登录 |
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" | @@ -50,7 +50,7 @@ application.template.ext = ".phtml" | ||
50 | application.assets.path = ROOT_PATH "/assets" | 50 | application.assets.path = ROOT_PATH "/assets" |
51 | 51 | ||
52 | ; 应用的版本号 | 52 | ; 应用的版本号 |
53 | -application.version = "1.0.1" | 53 | +application.version = "1.0.2" |
54 | 54 | ||
55 | ; 网站SEO信息 | 55 | ; 网站SEO信息 |
56 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" | 56 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" |
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" | @@ -50,7 +50,7 @@ application.template.ext = ".phtml" | ||
50 | application.assets.path = ROOT_PATH "/assets" | 50 | application.assets.path = ROOT_PATH "/assets" |
51 | 51 | ||
52 | ; 应用的版本号 | 52 | ; 应用的版本号 |
53 | -application.version = "1.0.1" | 53 | +application.version = "1.0.2" |
54 | 54 | ||
55 | ; 网站SEO信息 | 55 | ; 网站SEO信息 |
56 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" | 56 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" |
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" | @@ -50,7 +50,7 @@ application.template.ext = ".phtml" | ||
50 | application.assets.path = ROOT_PATH "/assets" | 50 | application.assets.path = ROOT_PATH "/assets" |
51 | 51 | ||
52 | ; 应用的版本号 | 52 | ; 应用的版本号 |
53 | -application.version = "1.0.1" | 53 | +application.version = "1.0.2" |
54 | 54 | ||
55 | ; 网站SEO信息 | 55 | ; 网站SEO信息 |
56 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" | 56 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" |
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" | @@ -50,7 +50,7 @@ application.template.ext = ".phtml" | ||
50 | application.assets.path = ROOT_PATH "/assets" | 50 | application.assets.path = ROOT_PATH "/assets" |
51 | 51 | ||
52 | ; 应用的版本号 | 52 | ; 应用的版本号 |
53 | -application.version = "1.0.1" | 53 | +application.version = "1.0.2" |
54 | 54 | ||
55 | ; 网站SEO信息 | 55 | ; 网站SEO信息 |
56 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" | 56 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" |
-
Please register or login to post a comment