Showing
40 changed files
with
1864 additions
and
0 deletions
static/app-webview/1.0.7/index-debug.js
0 → 100644
1 | +define("index", ["jquery","swiper","index"], function(require, exports, module){ | ||
2 | +var yohobuy; | ||
3 | + | ||
4 | +//require('./js/common'); | ||
5 | + | ||
6 | +//equire('./js/category/entry'); | ||
7 | +//require('./js/guang/entry'); | ||
8 | +//require('./js/home/entry'); | ||
9 | +//require('./js/index/entry'); | ||
10 | +//require('./js/passport/entry'); | ||
11 | +require("js/product/entry"); | ||
12 | +//require('./js/me/entry'); | ||
13 | + | ||
14 | +module.exports = yohobuy; | ||
15 | + | ||
16 | +}); | ||
17 | +define("js/product/entry", ["jquery","swiper","index"], function(require, exports, module){ | ||
18 | +/* | ||
19 | +* | ||
20 | + * 产品打包入口 | ||
21 | + * @author: liangzhifeng<zhifeng.liang@yoho.cn> | ||
22 | + * @date: 2015/10/12 | ||
23 | + */ | ||
24 | + | ||
25 | +require("js/product/detail/detail-app"); | ||
26 | + | ||
27 | + | ||
28 | +}); | ||
29 | +define("js/product/detail/detail-app", ["jquery","swiper","index"], function(require, exports, module){ | ||
30 | +/** | ||
31 | + * 商品详情 --for app web view | ||
32 | + * @author: 赵彪<bill.zhao@yoho.cn> | ||
33 | + * @date: 2015/12/19 | ||
34 | + */ | ||
35 | +var $ = require("jquery"), | ||
36 | + loading = require("js/plugin/loading"), | ||
37 | + Swiper = require("swiper"); | ||
38 | + | ||
39 | +var sizeSwiper, | ||
40 | + refSwiper; | ||
41 | + | ||
42 | +loading.showLoadingMask(); | ||
43 | + | ||
44 | + | ||
45 | +require("js/product/recommend-for-you-product-desc"); | ||
46 | + | ||
47 | +//判断是否要显示向左滑动提示 | ||
48 | +function hiddenTips($ele) { | ||
49 | + var offsetContainer, | ||
50 | + offsetLastColumn; | ||
51 | + | ||
52 | + if ($ele.length > 0) { | ||
53 | + offsetContainer = $ele[0].getBoundingClientRect().right; | ||
54 | + offsetLastColumn = $ele.find('.swiper-slide:last-child')[0].getBoundingClientRect().right; | ||
55 | + | ||
56 | + | ||
57 | + if (offsetLastColumn - offsetContainer < 0) { | ||
58 | + $ele.next('.tips').css('display', 'none'); | ||
59 | + } else { | ||
60 | + $ele.next('.tips').css('display', 'block'); | ||
61 | + } | ||
62 | + } | ||
63 | +} | ||
64 | + | ||
65 | + | ||
66 | +function wrapElements(selector, count) { | ||
67 | + var elArr = null; | ||
68 | + | ||
69 | + $(selector).each(function(idx, el) { | ||
70 | + elArr = $(selector).slice(idx, idx + count); | ||
71 | + | ||
72 | + if (elArr.length === count && idx % count === 0) { | ||
73 | + $(elArr).wrapAll($('<div class="js-wraper"></div>')); | ||
74 | + } | ||
75 | + }); | ||
76 | +} | ||
77 | + | ||
78 | + | ||
79 | +//function showRecommend() { | ||
80 | +// var recommendSwiper, | ||
81 | +// $recommendForYou = $('.recommend-for-you'), | ||
82 | +// $recommndEl = $('#swiper-recommend a'); | ||
83 | +// | ||
84 | +// if ($recommndEl.length === 0){ | ||
85 | +// $recommendForYou.hide(); | ||
86 | +// return; | ||
87 | +// } | ||
88 | +// | ||
89 | +// $recommendForYou.show(); | ||
90 | +// | ||
91 | +// if ($('#swiper-recommend').length) { | ||
92 | +// recommendSwiper = new Swiper('#swiper-recommend', { | ||
93 | +// slidesPerView: 'auto', | ||
94 | +// grabCursor: true, | ||
95 | +// slideElement: 'a', | ||
96 | +// lazyLoading: true, | ||
97 | +// watchSlidesVisibility: true | ||
98 | +// }); | ||
99 | +// } | ||
100 | +//} | ||
101 | + | ||
102 | +function hideHeaderFooter() { | ||
103 | + $('#yoho-header').hide(); | ||
104 | + $('#yoho-footer').hide(); | ||
105 | +} | ||
106 | + | ||
107 | +function initPage() { | ||
108 | + var $page = $('#app-detail'); | ||
109 | + | ||
110 | + $page.removeClass('hide'); | ||
111 | + | ||
112 | + loading.hideLoadingMask(); | ||
113 | + | ||
114 | + hideHeaderFooter(); | ||
115 | + //showRecommend(); | ||
116 | + sizeSwiper = new Swiper('#size-swiper-container',{ | ||
117 | + slidesPerView: 'auto' | ||
118 | + }); | ||
119 | + | ||
120 | + //模特试穿左右滑动 | ||
121 | + refSwiper = new Swiper('#reference-swiper-container',{ | ||
122 | + slidesPerView: 'auto' | ||
123 | + }); | ||
124 | + | ||
125 | + hiddenTips($('#size-swiper-container')); | ||
126 | + hiddenTips($('#reference-swiper-container')); | ||
127 | + | ||
128 | + wrapElements('.detail .column', 2); | ||
129 | +} | ||
130 | + | ||
131 | + | ||
132 | +$(document).ready(initPage); | ||
133 | + | ||
134 | +}); | ||
135 | +define("js/plugin/loading", ["jquery"], function(require, exports, module){ | ||
136 | +/** | ||
137 | + * Loading mask | ||
138 | + * @author: xuqi<qi.xu@yoho.cn> | ||
139 | + * @date: 2015/10/29 | ||
140 | + */ | ||
141 | + | ||
142 | +var $ = require("jquery"); | ||
143 | + | ||
144 | +var $page = $('.yoho-page'); | ||
145 | + | ||
146 | +var $loading, | ||
147 | + hasInit = false; | ||
148 | + | ||
149 | +/** modify by liangzhifeng at 2015.11.2 */ | ||
150 | + | ||
151 | +// 初始化 | ||
152 | +function init($container) { | ||
153 | + var html = '<div class="loading-mask hide">' + | ||
154 | + '<div class="loading">' + | ||
155 | + '<div></div><div></div><div></div>' + | ||
156 | + '</div>' + | ||
157 | + '</div>'; | ||
158 | + | ||
159 | + hasInit = true; | ||
160 | + if ($container === undefined) { | ||
161 | + $container = $page; | ||
162 | + } | ||
163 | + | ||
164 | + $container.append(html); | ||
165 | + | ||
166 | + $loading = $container.children('.loading-mask'); | ||
167 | +} | ||
168 | + | ||
169 | +//显示loading | ||
170 | +function showLoadingMask() { | ||
171 | + if (!hasInit) { | ||
172 | + init(); | ||
173 | + hasInit = true; | ||
174 | + } | ||
175 | + $loading.removeClass('hide'); | ||
176 | +} | ||
177 | + | ||
178 | +//隐藏loading | ||
179 | +function hideLoadingMask() { | ||
180 | + $loading.addClass('hide'); | ||
181 | +} | ||
182 | + | ||
183 | +exports.init = init; | ||
184 | +exports.showLoadingMask = showLoadingMask; | ||
185 | +exports.hideLoadingMask = hideLoadingMask; | ||
186 | +}); | ||
187 | +define("js/product/recommend-for-you-product-desc", ["swiper","jquery","index"], function(require, exports, module){ | ||
188 | +/** | ||
189 | +* 为您优选 | ||
190 | +* @author: liangzhifeng<zhifeng.liang@yoho.cn> | ||
191 | +* @date: 2015/11/16 | ||
192 | +*/ | ||
193 | + | ||
194 | + | ||
195 | +var Swiper = require("swiper"), | ||
196 | + $ = require("jquery"); | ||
197 | + | ||
198 | +var recommendSwiper, | ||
199 | + $recommendForYou = $('.recommend-for-you'), | ||
200 | + preferenceUrl = $('#preferenceUrl').val(); | ||
201 | + | ||
202 | +if (preferenceUrl) { | ||
203 | + $.get(preferenceUrl).then(function(html) { | ||
204 | + if (html.length < 5) { | ||
205 | + $recommendForYou.css('display', 'none'); | ||
206 | + } else { | ||
207 | + $recommendForYou.html(html).show(); | ||
208 | + if ($('#swiper-recommend').length) { | ||
209 | + recommendSwiper = new Swiper('#swiper-recommend', { | ||
210 | + slidesPerView: 'auto', | ||
211 | + grabCursor: true, | ||
212 | + slideElement: 'a', | ||
213 | + lazyLoading: true, | ||
214 | + watchSlidesVisibility: true | ||
215 | + }); | ||
216 | + } | ||
217 | + } | ||
218 | + | ||
219 | + }).fail(function() { | ||
220 | + $recommendForYou.hide(); | ||
221 | + }); | ||
222 | +} | ||
223 | + | ||
224 | + | ||
225 | + | ||
226 | + | ||
227 | + | ||
228 | + | ||
229 | + | ||
230 | + | ||
231 | + | ||
232 | + | ||
233 | + | ||
234 | + | ||
235 | + | ||
236 | + | ||
237 | + | ||
238 | + | ||
239 | + | ||
240 | + | ||
241 | + | ||
242 | + | ||
243 | + | ||
244 | + | ||
245 | + | ||
246 | + | ||
247 | + | ||
248 | + | ||
249 | + | ||
250 | + | ||
251 | + | ||
252 | + | ||
253 | + | ||
254 | + | ||
255 | + | ||
256 | + | ||
257 | + | ||
258 | + | ||
259 | + | ||
260 | + | ||
261 | + | ||
262 | + | ||
263 | + | ||
264 | + | ||
265 | + | ||
266 | + | ||
267 | + | ||
268 | + | ||
269 | + | ||
270 | + | ||
271 | + | ||
272 | + | ||
273 | + | ||
274 | + | ||
275 | + | ||
276 | + | ||
277 | + | ||
278 | + | ||
279 | +}); |
static/app-webview/1.0.7/index.css
0 → 100644
This diff could not be displayed because it is too large.
static/app-webview/1.0.7/index.css.map
0 → 100644
This diff could not be displayed because it is too large.
static/app-webview/1.0.7/index.js
0 → 100644
1 | +define("index",["jquery","swiper","index"],function(e,i,n){var d;e("js/product/entry"),n.exports=d}),define("js/product/entry",["jquery","swiper","index"],function(e,i,n){e("js/product/detail/detail-app")}),define("js/product/detail/detail-app",["jquery","swiper","index"],function(e,i,n){function d(e){var i,n;e.length>0&&(i=e[0].getBoundingClientRect().right,n=e.find(".swiper-slide:last-child")[0].getBoundingClientRect().right,0>n-i?e.next(".tips").css("display","none"):e.next(".tips").css("display","block"))}function r(e,i){var n=null;c(e).each(function(d,r){n=c(e).slice(d,d+i),n.length===i&&d%i===0&&c(n).wrapAll(c('<div class="js-wraper"></div>'))})}function o(){c("#yoho-header").hide(),c("#yoho-footer").hide()}function s(){var e=c("#app-detail");e.removeClass("hide"),l.hideLoadingMask(),o(),t=new u("#size-swiper-container",{slidesPerView:"auto"}),a=new u("#reference-swiper-container",{slidesPerView:"auto"}),d(c("#size-swiper-container")),d(c("#reference-swiper-container")),r(".detail .column",2)}var t,a,c=e("jquery"),l=e("js/plugin/loading"),u=e("swiper");l.showLoadingMask(),e("js/product/recommend-for-you-product-desc"),c(document).ready(s)}),define("js/plugin/loading",["jquery"],function(e,i,n){function d(e){var i='<div class="loading-mask hide"><div class="loading"><div></div><div></div><div></div></div></div>';c=!0,void 0===e&&(e=a),e.append(i),s=e.children(".loading-mask")}function r(){c||(d(),c=!0),s.removeClass("hide")}function o(){s.addClass("hide")}var s,t=e("jquery"),a=t(".yoho-page"),c=!1;i.init=d,i.showLoadingMask=r,i.hideLoadingMask=o}),define("js/product/recommend-for-you-product-desc",["swiper","jquery","index"],function(e,i,n){var d,r=e("swiper"),o=e("jquery"),s=o(".recommend-for-you"),t=o("#preferenceUrl").val();t&&o.get(t).then(function(e){e.length<5?s.css("display","none"):(s.html(e).show(),o("#swiper-recommend").length&&(d=new r("#swiper-recommend",{slidesPerView:"auto",grabCursor:!0,slideElement:"a",lazyLoading:!0,watchSlidesVisibility:!0})))}).fail(function(){s.hide()})}); |
static/app-webview/1.0.7/lib.js
0 → 100644
This diff could not be displayed because it is too large.
static/app-webview/1.0.7/service.png
0 → 100644

31.5 KB

21.5 KB

32.8 KB

43.9 KB

64 KB

53.4 KB

32 KB

38.6 KB

48.6 KB

18 KB
1 | +<!DOCTYPE html> | ||
2 | +<html lang="en"> | ||
3 | +<head> | ||
4 | + <meta charset="UTF-8"> | ||
5 | + <title>如何获得限购码</title> | ||
6 | + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | ||
7 | + <meta http-equiv="cleartype" content="on"> | ||
8 | + <meta content="telephone=no" name="format-detection" /> | ||
9 | + <script type="text/javascript"> | ||
10 | + (function(doc, win) { | ||
11 | + var docEl = doc.documentElement; | ||
12 | + (function() { | ||
13 | + var clientWidth = docEl.clientWidth; | ||
14 | + if (!clientWidth) { | ||
15 | + return; | ||
16 | + } | ||
17 | + docEl.style.fontSize = 20 * (clientWidth / 320) + 'px'; | ||
18 | + }()); | ||
19 | + })(document, window); | ||
20 | + </script> | ||
21 | + <style> | ||
22 | + html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, .yoho-header .nav-back, .yoho-header .nav-home, .yoho-header .nav-btn { | ||
23 | + margin: 0; | ||
24 | + padding: 0; | ||
25 | + border: 0; | ||
26 | + font: inherit; | ||
27 | + font-size: 100%; | ||
28 | + vertical-align: baseline; | ||
29 | + } | ||
30 | + | ||
31 | + html { | ||
32 | + line-height: 1; | ||
33 | + } | ||
34 | + | ||
35 | + ol, ul { | ||
36 | + list-style: none; | ||
37 | + } | ||
38 | + | ||
39 | + table { | ||
40 | + border-collapse: collapse; | ||
41 | + border-spacing: 0; | ||
42 | + } | ||
43 | + | ||
44 | + caption, th, td { | ||
45 | + text-align: left; | ||
46 | + font-weight: normal; | ||
47 | + vertical-align: middle; | ||
48 | + } | ||
49 | + | ||
50 | + q, blockquote { | ||
51 | + quotes: none; | ||
52 | + } | ||
53 | + | ||
54 | + q:before, q:after, blockquote:before, blockquote:after { | ||
55 | + content: ""; | ||
56 | + content: none; | ||
57 | + } | ||
58 | + | ||
59 | + a img { | ||
60 | + border: none; | ||
61 | + } | ||
62 | + | ||
63 | + article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary, .yoho-header .nav-back, .yoho-header .nav-home, .yoho-header .nav-btn { | ||
64 | + display: block; | ||
65 | + } | ||
66 | + /*Reset End*/ | ||
67 | + | ||
68 | + .clearfix:after{ | ||
69 | + content: ''; | ||
70 | + display: table; | ||
71 | + clear: both; | ||
72 | + } | ||
73 | + | ||
74 | + * { | ||
75 | + -webkit-tap-highlight-color: rgba(0,0,0,0); | ||
76 | + -moz-tap-highlight-color: rgba(0,0,0,0); | ||
77 | + tap-highlight-color: rgba(0,0,0,0); | ||
78 | + } | ||
79 | + | ||
80 | + html, body { | ||
81 | + font-family: helvetica,Arial,"黑体"; | ||
82 | + width: 100%; | ||
83 | + font-size: 12PX; | ||
84 | + line-height: 1.4; | ||
85 | + } | ||
86 | + | ||
87 | + button, input, select, textarea { | ||
88 | + font-size: 100%; | ||
89 | + margin: 0; | ||
90 | + } | ||
91 | + | ||
92 | + img { | ||
93 | + max-width: 100%; | ||
94 | + display: block; | ||
95 | + border: 0; | ||
96 | + margin: 0 auto; | ||
97 | + } | ||
98 | + | ||
99 | + a { | ||
100 | + text-decoration: none; | ||
101 | + outline: none; | ||
102 | + color: #000 | ||
103 | + } | ||
104 | + | ||
105 | + a:link, a:visited, a:hover, a:actived{ | ||
106 | + color: #000; | ||
107 | + } | ||
108 | + | ||
109 | + *:focus { | ||
110 | + outline: none; | ||
111 | + } | ||
112 | + | ||
113 | + .hide { | ||
114 | + display: none; | ||
115 | + } | ||
116 | + | ||
117 | + .overflow-hidden { | ||
118 | + overflow: hidden; | ||
119 | + } | ||
120 | + | ||
121 | + @font-face { | ||
122 | + font-family: "iconfont"; | ||
123 | + src: url('../font/iconfont.eot'); /* IE9*/ | ||
124 | + src: url('../font/iconfont.eot?#iefix') format('embedded-opentype'), | ||
125 | + url('../font/iconfont.woff') format('woff'), | ||
126 | + url('../font/iconfont.ttf') format('truetype'), | ||
127 | + url('../font/iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */ | ||
128 | + } | ||
129 | + | ||
130 | + .iconfont { | ||
131 | + font-family: "iconfont" !important; | ||
132 | + font-size: 16PX; | ||
133 | + font-style: normal; | ||
134 | + text-decoration: none; | ||
135 | + -webkit-font-smoothing: antialiased; | ||
136 | + -webkit-text-stroke-width: 0.2PX; | ||
137 | + -moz-osx-font-smoothing: grayscale; | ||
138 | + } | ||
139 | + .limit-help-page{ | ||
140 | + padding: 0.7rem; | ||
141 | + color: #444; | ||
142 | + } | ||
143 | + .limit-help-page h2{ | ||
144 | + font-size: 0.75rem; | ||
145 | + font-weight: bold; | ||
146 | + } | ||
147 | + .limit-help-page .method{ | ||
148 | + display: block; | ||
149 | + width: 2.3rem; | ||
150 | + height: 0.875rem; | ||
151 | + line-height: 0.9rem; | ||
152 | + background-color: #444; | ||
153 | + color: #fff; | ||
154 | + border-radius: 0.5rem; | ||
155 | + text-align: center; | ||
156 | + margin: 0.5rem 0; | ||
157 | + } | ||
158 | + .limit-help-page li{ | ||
159 | + font-size: 0.6rem; | ||
160 | + } | ||
161 | + .limit-help-page .intro-img{ | ||
162 | + width: 100%; | ||
163 | + height: 5.5rem; | ||
164 | + background-size: 100%; | ||
165 | + background-repeat: no-repeat; | ||
166 | + margin: 0.5rem 0; | ||
167 | + } | ||
168 | + .limit-help-page .method-1 li:nth-child(1) .intro-img{ | ||
169 | + background-image: url('img/1.png'); | ||
170 | + } | ||
171 | + .limit-help-page .method-1 li:nth-child(2) .intro-img{ | ||
172 | + background-image: url('img/2.png'); | ||
173 | + } | ||
174 | + .limit-help-page .method-1 li:nth-child(3) .intro-img{ | ||
175 | + background-image: url('img/3.png'); | ||
176 | + } | ||
177 | + .limit-help-page .method-2 li:nth-child(1) .intro-img{ | ||
178 | + background-image: url('img/4.png'); | ||
179 | + } | ||
180 | + .limit-help-page .method-2 li:nth-child(2) .intro-img{ | ||
181 | + background-image: url('img/5.png'); | ||
182 | + } | ||
183 | + .limit-help-page .method-2 li:nth-child(3) .intro-img{ | ||
184 | + background-image: url('img/6.png'); | ||
185 | + } | ||
186 | + .limit-help-page .method-2 li:nth-child(4) .intro-img{ | ||
187 | + background-image: url('img/7.png'); | ||
188 | + } | ||
189 | + .limit-help-page .how li:nth-child(1) .intro-img{ | ||
190 | + background-image: url('img/8.png'); | ||
191 | + } | ||
192 | + .limit-help-page .how li:nth-child(2) .intro-img{ | ||
193 | + background-image: url('img/9.png'); | ||
194 | + margin-bottom: 0; | ||
195 | + } | ||
196 | + </style> | ||
197 | + | ||
198 | +</head> | ||
199 | +<body> | ||
200 | + <div class="limit-help-page yoho-page"> | ||
201 | + <h2>不同限定商品获取限购码方式不同,获取限购码目前有两种方式:</h2> | ||
202 | + <span class="method">方式一</span> | ||
203 | + <ul class="method-1"> | ||
204 | + <li>1.在限定发售详情页点击分享或者底部“获取限购码”图标。 | ||
205 | + <div class="intro-img"></div> | ||
206 | + </li> | ||
207 | + <li>2.从弹出的分享中选取需要分享的渠道。 | ||
208 | + <div class="intro-img"></div> | ||
209 | + </li> | ||
210 | + <li>3.分享成功后返回Yoho!Buy有货APP会提示已获得限购码。 | ||
211 | + <div class="intro-img"></div> | ||
212 | + </li> | ||
213 | + </ul> | ||
214 | + <span class="method">方式二</span> | ||
215 | + <ul class="method-2"> | ||
216 | + <li>1.在限定发售详情页点击参加排队赢取限购码图标。 | ||
217 | + <div class="intro-img"></div> | ||
218 | + </li> | ||
219 | + <li>2.进入限定发售排队页面,点击参加排队。 | ||
220 | + <div class="intro-img"></div> | ||
221 | + </li> | ||
222 | + <li>3.排队成功后凭用户个人信息作为抽奖凭证,等待开奖时间。 | ||
223 | + <div class="intro-img"></div> | ||
224 | + </li> | ||
225 | + <li>4.开奖后,排队页面会公布中奖名单,限购码会直接发送至账户。 | ||
226 | + <div class="intro-img"></div> | ||
227 | + </li> | ||
228 | + </ul> | ||
229 | + <h2>查看和使用限购码</h2> | ||
230 | + <ul class="how"> | ||
231 | + <li>1.从个人中心进入我的限购码页面,可查看所获取的限购码。 | ||
232 | + <div class="intro-img"></div> | ||
233 | + </li> | ||
234 | + <li>2.商品开售后,需要有限购码才有抢购资格,无法确保可以买到适合尺码,库存有限,抢完为止。 | ||
235 | + <div class="intro-img"></div> | ||
236 | + </li> | ||
237 | + </ul> | ||
238 | + </div> | ||
239 | +</body> | ||
240 | +</html> |
1 | +<!DOCTYPE html> | ||
2 | +<html lang="en"> | ||
3 | +<head> | ||
4 | + <meta charset="UTF-8"> | ||
5 | + <title>如何获得限购码</title> | ||
6 | + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | ||
7 | + <meta http-equiv="cleartype" content="on"> | ||
8 | + <meta content="telephone=no" name="format-detection" /> | ||
9 | + <script type="text/javascript"> | ||
10 | + (function(doc, win) { | ||
11 | + var docEl = doc.documentElement; | ||
12 | + (function() { | ||
13 | + var clientWidth = docEl.clientWidth; | ||
14 | + if (!clientWidth) { | ||
15 | + return; | ||
16 | + } | ||
17 | + docEl.style.fontSize = 20 * (clientWidth / 320) + 'px'; | ||
18 | + }()); | ||
19 | + })(document, window); | ||
20 | + </script> | ||
21 | + <style> | ||
22 | + html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, .yoho-header .nav-back, .yoho-header .nav-home, .yoho-header .nav-btn { | ||
23 | + margin: 0; | ||
24 | + padding: 0; | ||
25 | + border: 0; | ||
26 | + font: inherit; | ||
27 | + font-size: 100%; | ||
28 | + vertical-align: baseline; | ||
29 | + } | ||
30 | + | ||
31 | + html { | ||
32 | + line-height: 1; | ||
33 | + } | ||
34 | + | ||
35 | + ol, ul { | ||
36 | + list-style: none; | ||
37 | + } | ||
38 | + | ||
39 | + table { | ||
40 | + border-collapse: collapse; | ||
41 | + border-spacing: 0; | ||
42 | + } | ||
43 | + | ||
44 | + caption, th, td { | ||
45 | + text-align: left; | ||
46 | + font-weight: normal; | ||
47 | + vertical-align: middle; | ||
48 | + } | ||
49 | + | ||
50 | + q, blockquote { | ||
51 | + quotes: none; | ||
52 | + } | ||
53 | + | ||
54 | + q:before, q:after, blockquote:before, blockquote:after { | ||
55 | + content: ""; | ||
56 | + content: none; | ||
57 | + } | ||
58 | + | ||
59 | + a img { | ||
60 | + border: none; | ||
61 | + } | ||
62 | + | ||
63 | + article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary, .yoho-header .nav-back, .yoho-header .nav-home, .yoho-header .nav-btn { | ||
64 | + display: block; | ||
65 | + } | ||
66 | + /*Reset End*/ | ||
67 | + | ||
68 | + .clearfix:after{ | ||
69 | + content: ''; | ||
70 | + display: table; | ||
71 | + clear: both; | ||
72 | + } | ||
73 | + | ||
74 | + * { | ||
75 | + -webkit-tap-highlight-color: rgba(0,0,0,0); | ||
76 | + -moz-tap-highlight-color: rgba(0,0,0,0); | ||
77 | + tap-highlight-color: rgba(0,0,0,0); | ||
78 | + } | ||
79 | + | ||
80 | + html, body { | ||
81 | + font-family: helvetica,Arial,"黑体"; | ||
82 | + width: 100%; | ||
83 | + font-size: 12PX; | ||
84 | + line-height: 1.4; | ||
85 | + } | ||
86 | + | ||
87 | + button, input, select, textarea { | ||
88 | + font-size: 100%; | ||
89 | + margin: 0; | ||
90 | + } | ||
91 | + | ||
92 | + img { | ||
93 | + max-width: 100%; | ||
94 | + display: block; | ||
95 | + border: 0; | ||
96 | + margin: 0 auto; | ||
97 | + } | ||
98 | + | ||
99 | + a { | ||
100 | + text-decoration: none; | ||
101 | + outline: none; | ||
102 | + color: #000 | ||
103 | + } | ||
104 | + | ||
105 | + a:link, a:visited, a:hover, a:actived{ | ||
106 | + color: #000; | ||
107 | + } | ||
108 | + | ||
109 | + *:focus { | ||
110 | + outline: none; | ||
111 | + } | ||
112 | + | ||
113 | + .hide { | ||
114 | + display: none; | ||
115 | + } | ||
116 | + | ||
117 | + .overflow-hidden { | ||
118 | + overflow: hidden; | ||
119 | + } | ||
120 | + | ||
121 | + @font-face { | ||
122 | + font-family: "iconfont"; | ||
123 | + src: url('../font/iconfont.eot'); /* IE9*/ | ||
124 | + src: url('../font/iconfont.eot?#iefix') format('embedded-opentype'), | ||
125 | + url('../font/iconfont.woff') format('woff'), | ||
126 | + url('../font/iconfont.ttf') format('truetype'), | ||
127 | + url('../font/iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */ | ||
128 | + } | ||
129 | + | ||
130 | + .iconfont { | ||
131 | + font-family: "iconfont" !important; | ||
132 | + font-size: 16PX; | ||
133 | + font-style: normal; | ||
134 | + text-decoration: none; | ||
135 | + -webkit-font-smoothing: antialiased; | ||
136 | + -webkit-text-stroke-width: 0.2PX; | ||
137 | + -moz-osx-font-smoothing: grayscale; | ||
138 | + } | ||
139 | + .limit-help-page{ | ||
140 | + padding: 0.7rem; | ||
141 | + color: #444; | ||
142 | + } | ||
143 | + .limit-help-page h2{ | ||
144 | + font-size: 0.75rem; | ||
145 | + font-weight: bold; | ||
146 | + } | ||
147 | + .limit-help-page .method{ | ||
148 | + display: block; | ||
149 | + width: 2.3rem; | ||
150 | + height: 0.875rem; | ||
151 | + line-height: 0.9rem; | ||
152 | + background-color: #444; | ||
153 | + color: #fff; | ||
154 | + border-radius: 0.5rem; | ||
155 | + text-align: center; | ||
156 | + margin: 0.5rem 0; | ||
157 | + } | ||
158 | + .limit-help-page li{ | ||
159 | + font-size: 0.6rem; | ||
160 | + } | ||
161 | + .limit-help-page .intro-img{ | ||
162 | + width: 100%; | ||
163 | + height: 5.5rem; | ||
164 | + background-size: 100%; | ||
165 | + background-repeat: no-repeat; | ||
166 | + margin: 0.5rem 0; | ||
167 | + } | ||
168 | + .limit-help-page .method-1 li:nth-child(1) .intro-img{ | ||
169 | + background-image: url('img/1.png'); | ||
170 | + } | ||
171 | + .limit-help-page .method-1 li:nth-child(2) .intro-img{ | ||
172 | + background-image: url('img/2.png'); | ||
173 | + } | ||
174 | + .limit-help-page .method-1 li:nth-child(3) .intro-img{ | ||
175 | + background-image: url('img/3.png'); | ||
176 | + } | ||
177 | + .limit-help-page .method-2 li:nth-child(1) .intro-img{ | ||
178 | + background-image: url('img/4.png'); | ||
179 | + } | ||
180 | + .limit-help-page .method-2 li:nth-child(2) .intro-img{ | ||
181 | + background-image: url('img/5.png'); | ||
182 | + } | ||
183 | + .limit-help-page .method-2 li:nth-child(3) .intro-img{ | ||
184 | + background-image: url('img/6.png'); | ||
185 | + } | ||
186 | + .limit-help-page .method-2 li:nth-child(4) .intro-img{ | ||
187 | + background-image: url('img/7.png'); | ||
188 | + } | ||
189 | + .limit-help-page .how li:nth-child(1) .intro-img{ | ||
190 | + background-image: url('img/8.png'); | ||
191 | + } | ||
192 | + .limit-help-page .how li:nth-child(2) .intro-img{ | ||
193 | + background-image: url('img/9.png'); | ||
194 | + margin-bottom: 0; | ||
195 | + } | ||
196 | + </style> | ||
197 | + | ||
198 | +</head> | ||
199 | +<body> | ||
200 | + <div class="limit-help-page yoho-page"> | ||
201 | + <ul class="method-2"> | ||
202 | + <li>1.在限定发售详情页点击参加排队赢取限购码图标。 | ||
203 | + <div class="intro-img"></div> | ||
204 | + </li> | ||
205 | + <li>2.进入限定发售排队页面,点击参加排队。 | ||
206 | + <div class="intro-img"></div> | ||
207 | + </li> | ||
208 | + <li>3.排队成功后凭用户个人信息作为抽奖凭证,等待开奖时间。 | ||
209 | + <div class="intro-img"></div> | ||
210 | + </li> | ||
211 | + <li>4.开奖后,排队页面会公布中奖名单,限购码会直接发送至账户。 | ||
212 | + <div class="intro-img"></div> | ||
213 | + </li> | ||
214 | + </ul> | ||
215 | + <h2>查看和使用限购码</h2> | ||
216 | + <ul class="how"> | ||
217 | + <li>1.从个人中心进入我的限购码页面,可查看所获取的限购码。 | ||
218 | + <div class="intro-img"></div> | ||
219 | + </li> | ||
220 | + <li>2.商品开售后,需要有限购码才有抢购资格,无法确保可以买到适合尺码,库存有限,抢完为止。 | ||
221 | + <div class="intro-img"></div> | ||
222 | + </li> | ||
223 | + </ul> | ||
224 | + </div> | ||
225 | +</body> | ||
226 | +</html> |
1 | +<!DOCTYPE html> | ||
2 | +<html lang="en"> | ||
3 | +<head> | ||
4 | + <meta charset="UTF-8"> | ||
5 | + <title>什么是限购码</title> | ||
6 | + <meta name="description" content=""> | ||
7 | + <meta name="viewport" content="width=device-width"> | ||
8 | + <script type="text/javascript"> | ||
9 | + (function(doc, win) { | ||
10 | + var docEl = doc.documentElement; | ||
11 | + (function() { | ||
12 | + var clientWidth = docEl.clientWidth; | ||
13 | + if (!clientWidth) { | ||
14 | + return; | ||
15 | + } | ||
16 | + docEl.style.fontSize = 20 * (clientWidth / 320) + 'px'; | ||
17 | + }()); | ||
18 | + })(document, window); | ||
19 | + </script> | ||
20 | + <style> | ||
21 | + html, body, p { | ||
22 | + margin: 0; | ||
23 | + padding: 0; | ||
24 | + font-family: helvetica,Arial,"黑体"; | ||
25 | + } | ||
26 | + body { | ||
27 | + background-color: #f4f4f4; | ||
28 | + } | ||
29 | + .container { | ||
30 | + padding: 0.7rem; | ||
31 | + background-color: #fff; | ||
32 | + } | ||
33 | + .block { | ||
34 | + margin-top: 1rem; | ||
35 | + margin-bottom: 0.8rem | ||
36 | + } | ||
37 | + p { | ||
38 | + font-size: 0.7rem; | ||
39 | + color: #444; | ||
40 | + margin: 0.3rem 0; | ||
41 | + line-height: 1rem; | ||
42 | + } | ||
43 | + div p { | ||
44 | + margin: 0.2rem 0 0 0; | ||
45 | + } | ||
46 | + </style> | ||
47 | +</head> | ||
48 | +<body> | ||
49 | + <div class="container"> | ||
50 | + <p> 1.当稀缺商品上架,同一用户账号在一定时间段内,仅支持购买1件该商品。 </p> | ||
51 | + <p> 2.可通过分享或其他活动获得该商品的限购码,每个商品仅可获得1次限购码。 </p> | ||
52 | + <p> 3.若下单未付款导致交易取消,不会扣限购额度。已付款状态下,无论是否退款则扣除限购额度。 </p> | ||
53 | + <div class="block"> | ||
54 | + <p> | ||
55 | + Q:限购码可以送给我的朋友吗? | ||
56 | + </p> | ||
57 | + <p> | ||
58 | + A:限购码不可赠送,只能自己账号使用。可以把活动告诉朋友,参与即可获得限购码。 | ||
59 | + </p> | ||
60 | + </div> | ||
61 | + | ||
62 | + <div> | ||
63 | + <p> | ||
64 | + Q:下单发现买错码数了,取消订单后我还能再买吗? | ||
65 | + </p> | ||
66 | + <p> | ||
67 | + A:尚未付款的订单取消后,可以再次购买。 | ||
68 | + </p> | ||
69 | + </div> | ||
70 | + | ||
71 | + </div> | ||
72 | +</body> | ||
73 | +</html> |
1 | +<!DOCTYPE html> | ||
2 | +<html lang="en"> | ||
3 | +<head> | ||
4 | + <meta charset="UTF-8"> | ||
5 | + <title>什么是限购码</title> | ||
6 | + <meta name="description" content=""> | ||
7 | + <meta name="viewport" content="width=device-width"> | ||
8 | + <script type="text/javascript"> | ||
9 | + (function(doc, win) { | ||
10 | + var docEl = doc.documentElement; | ||
11 | + (function() { | ||
12 | + var clientWidth = docEl.clientWidth; | ||
13 | + if (!clientWidth) { | ||
14 | + return; | ||
15 | + } | ||
16 | + docEl.style.fontSize = 20 * (clientWidth / 320) + 'px'; | ||
17 | + }()); | ||
18 | + })(document, window); | ||
19 | + </script> | ||
20 | + <style> | ||
21 | + html, body, p { | ||
22 | + margin: 0; | ||
23 | + padding: 0; | ||
24 | + font-family: helvetica,Arial,"黑体"; | ||
25 | + } | ||
26 | + body { | ||
27 | + background-color: #f4f4f4; | ||
28 | + } | ||
29 | + .container { | ||
30 | + padding: 0.7rem; | ||
31 | + background-color: #fff; | ||
32 | + } | ||
33 | + .block { | ||
34 | + margin-top: 1rem; | ||
35 | + margin-bottom: 0.8rem | ||
36 | + } | ||
37 | + p { | ||
38 | + font-size: 0.7rem; | ||
39 | + color: #444; | ||
40 | + margin: 0.3rem 0; | ||
41 | + line-height: 1rem; | ||
42 | + } | ||
43 | + div p { | ||
44 | + margin: 0.2rem 0 0 0; | ||
45 | + } | ||
46 | + </style> | ||
47 | +</head> | ||
48 | +<body> | ||
49 | + <div class="container"> | ||
50 | + <p> 1.当稀缺商品上架,同一用户账号在一定时间段内,仅支持购买1件该商品。 </p> | ||
51 | + <p> 2.可通过分享或其他活动获得该商品的限购码,每个商品仅可获得1次限购码。 </p> | ||
52 | + <p> 3.若下单未付款导致交易取消,不会扣限购额度。已付款状态下,无论是否退款则扣除限购额度。 </p> | ||
53 | + <div class="block"> | ||
54 | + <p> | ||
55 | + Q:限购码可以送给我的朋友吗? | ||
56 | + </p> | ||
57 | + <p> | ||
58 | + A:限购码不可赠送,只能自己账号使用。可以把活动告诉朋友,参与即可获得限购码。 | ||
59 | + </p> | ||
60 | + </div> | ||
61 | + | ||
62 | + <div> | ||
63 | + <p> | ||
64 | + Q:下单发现买错码数了,取消订单后我还能再买吗? | ||
65 | + </p> | ||
66 | + <p> | ||
67 | + A:尚未付款的订单取消后,可以再次购买。 | ||
68 | + </p> | ||
69 | + </div> | ||
70 | + | ||
71 | + </div> | ||
72 | +</body> | ||
73 | +</html> |
static/app-webview/ruleofsign/index.html
0 → 100644
1 | +<!DOCTYPE html> | ||
2 | +<html lang="en"> | ||
3 | +<head> | ||
4 | + <meta charset="UTF-8"> | ||
5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no"> | ||
6 | + <meta content="yes" name="apple-mobile-web-app-capable"> | ||
7 | + <meta content="yes" name="apple-touch-fullscreen"> | ||
8 | + <meta content="telephone=no" name="format-detection"> | ||
9 | + <meta content="black" name="apple-mobile-web-app-status-bar-style"> | ||
10 | + <title>签到规则</title> | ||
11 | + <style> | ||
12 | + html, body, p { | ||
13 | + margin: 0; | ||
14 | + padding: 0; | ||
15 | + } | ||
16 | + | ||
17 | + body { | ||
18 | + padding: 0.6rem; | ||
19 | + font-family: helvetica,Arial,"黑体"; | ||
20 | + } | ||
21 | + | ||
22 | + p { | ||
23 | + font-size: 0.9rem; | ||
24 | + color: #414141; | ||
25 | + margin-bottom: 0.4rem; | ||
26 | + } | ||
27 | + </style> | ||
28 | +</head> | ||
29 | +<body> | ||
30 | + <p> | ||
31 | + 1、签到可以获得YOHO币奖励哟,YOHO币可以在有货购买商品时折算相应的支付金额呢 | ||
32 | + </p> | ||
33 | + <p> | ||
34 | + 2、连续的签到7天会获得更多惊喜,一定要坚持哦 | ||
35 | + </p> | ||
36 | + <p> | ||
37 | + 3、对于使用作弊、攻击系统等手段参与签到活动的,有货君有权取消其活动资格并追回相应奖励 | ||
38 | + </p> | ||
39 | +</body> | ||
40 | +</html> |
static/dist/app-webview/1.0.7/index-debug.js
0 → 100644
1 | +define("index", ["jquery","swiper","index"], function(require, exports, module){ | ||
2 | +var yohobuy; | ||
3 | + | ||
4 | +//require('./js/common'); | ||
5 | + | ||
6 | +//equire('./js/category/entry'); | ||
7 | +//require('./js/guang/entry'); | ||
8 | +//require('./js/home/entry'); | ||
9 | +//require('./js/index/entry'); | ||
10 | +//require('./js/passport/entry'); | ||
11 | +require("js/product/entry"); | ||
12 | +//require('./js/me/entry'); | ||
13 | + | ||
14 | +module.exports = yohobuy; | ||
15 | + | ||
16 | +}); | ||
17 | +define("js/product/entry", ["jquery","swiper","index"], function(require, exports, module){ | ||
18 | +/* | ||
19 | +* | ||
20 | + * 产品打包入口 | ||
21 | + * @author: liangzhifeng<zhifeng.liang@yoho.cn> | ||
22 | + * @date: 2015/10/12 | ||
23 | + */ | ||
24 | + | ||
25 | +require("js/product/detail/detail-app"); | ||
26 | + | ||
27 | + | ||
28 | +}); | ||
29 | +define("js/product/detail/detail-app", ["jquery","swiper","index"], function(require, exports, module){ | ||
30 | +/** | ||
31 | + * 商品详情 --for app web view | ||
32 | + * @author: 赵彪<bill.zhao@yoho.cn> | ||
33 | + * @date: 2015/12/19 | ||
34 | + */ | ||
35 | +var $ = require("jquery"), | ||
36 | + loading = require("js/plugin/loading"), | ||
37 | + Swiper = require("swiper"); | ||
38 | + | ||
39 | +var sizeSwiper, | ||
40 | + refSwiper; | ||
41 | + | ||
42 | +loading.showLoadingMask(); | ||
43 | + | ||
44 | + | ||
45 | +require("js/product/recommend-for-you-product-desc"); | ||
46 | + | ||
47 | +//判断是否要显示向左滑动提示 | ||
48 | +function hiddenTips($ele) { | ||
49 | + var offsetContainer, | ||
50 | + offsetLastColumn; | ||
51 | + | ||
52 | + if ($ele.length > 0) { | ||
53 | + offsetContainer = $ele[0].getBoundingClientRect().right; | ||
54 | + offsetLastColumn = $ele.find('.swiper-slide:last-child')[0].getBoundingClientRect().right; | ||
55 | + | ||
56 | + | ||
57 | + if (offsetLastColumn - offsetContainer < 0) { | ||
58 | + $ele.next('.tips').css('display', 'none'); | ||
59 | + } else { | ||
60 | + $ele.next('.tips').css('display', 'block'); | ||
61 | + } | ||
62 | + } | ||
63 | +} | ||
64 | + | ||
65 | + | ||
66 | +function wrapElements(selector, count) { | ||
67 | + var elArr = null; | ||
68 | + | ||
69 | + $(selector).each(function(idx, el) { | ||
70 | + elArr = $(selector).slice(idx, idx + count); | ||
71 | + | ||
72 | + if (elArr.length === count && idx % count === 0) { | ||
73 | + $(elArr).wrapAll($('<div class="js-wraper"></div>')); | ||
74 | + } | ||
75 | + }); | ||
76 | +} | ||
77 | + | ||
78 | + | ||
79 | +//function showRecommend() { | ||
80 | +// var recommendSwiper, | ||
81 | +// $recommendForYou = $('.recommend-for-you'), | ||
82 | +// $recommndEl = $('#swiper-recommend a'); | ||
83 | +// | ||
84 | +// if ($recommndEl.length === 0){ | ||
85 | +// $recommendForYou.hide(); | ||
86 | +// return; | ||
87 | +// } | ||
88 | +// | ||
89 | +// $recommendForYou.show(); | ||
90 | +// | ||
91 | +// if ($('#swiper-recommend').length) { | ||
92 | +// recommendSwiper = new Swiper('#swiper-recommend', { | ||
93 | +// slidesPerView: 'auto', | ||
94 | +// grabCursor: true, | ||
95 | +// slideElement: 'a', | ||
96 | +// lazyLoading: true, | ||
97 | +// watchSlidesVisibility: true | ||
98 | +// }); | ||
99 | +// } | ||
100 | +//} | ||
101 | + | ||
102 | +function hideHeaderFooter() { | ||
103 | + $('#yoho-header').hide(); | ||
104 | + $('#yoho-footer').hide(); | ||
105 | +} | ||
106 | + | ||
107 | +function initPage() { | ||
108 | + var $page = $('#app-detail'); | ||
109 | + | ||
110 | + $page.removeClass('hide'); | ||
111 | + | ||
112 | + loading.hideLoadingMask(); | ||
113 | + | ||
114 | + hideHeaderFooter(); | ||
115 | + //showRecommend(); | ||
116 | + sizeSwiper = new Swiper('#size-swiper-container',{ | ||
117 | + slidesPerView: 'auto' | ||
118 | + }); | ||
119 | + | ||
120 | + //模特试穿左右滑动 | ||
121 | + refSwiper = new Swiper('#reference-swiper-container',{ | ||
122 | + slidesPerView: 'auto' | ||
123 | + }); | ||
124 | + | ||
125 | + hiddenTips($('#size-swiper-container')); | ||
126 | + hiddenTips($('#reference-swiper-container')); | ||
127 | + | ||
128 | + wrapElements('.detail .column', 2); | ||
129 | +} | ||
130 | + | ||
131 | + | ||
132 | +$(document).ready(initPage); | ||
133 | + | ||
134 | +}); | ||
135 | +define("js/plugin/loading", ["jquery"], function(require, exports, module){ | ||
136 | +/** | ||
137 | + * Loading mask | ||
138 | + * @author: xuqi<qi.xu@yoho.cn> | ||
139 | + * @date: 2015/10/29 | ||
140 | + */ | ||
141 | + | ||
142 | +var $ = require("jquery"); | ||
143 | + | ||
144 | +var $page = $('.yoho-page'); | ||
145 | + | ||
146 | +var $loading, | ||
147 | + hasInit = false; | ||
148 | + | ||
149 | +/** modify by liangzhifeng at 2015.11.2 */ | ||
150 | + | ||
151 | +// 初始化 | ||
152 | +function init($container) { | ||
153 | + var html = '<div class="loading-mask hide">' + | ||
154 | + '<div class="loading">' + | ||
155 | + '<div></div><div></div><div></div>' + | ||
156 | + '</div>' + | ||
157 | + '</div>'; | ||
158 | + | ||
159 | + hasInit = true; | ||
160 | + if ($container === undefined) { | ||
161 | + $container = $page; | ||
162 | + } | ||
163 | + | ||
164 | + $container.append(html); | ||
165 | + | ||
166 | + $loading = $container.children('.loading-mask'); | ||
167 | +} | ||
168 | + | ||
169 | +//显示loading | ||
170 | +function showLoadingMask() { | ||
171 | + if (!hasInit) { | ||
172 | + init(); | ||
173 | + hasInit = true; | ||
174 | + } | ||
175 | + $loading.removeClass('hide'); | ||
176 | +} | ||
177 | + | ||
178 | +//隐藏loading | ||
179 | +function hideLoadingMask() { | ||
180 | + $loading.addClass('hide'); | ||
181 | +} | ||
182 | + | ||
183 | +exports.init = init; | ||
184 | +exports.showLoadingMask = showLoadingMask; | ||
185 | +exports.hideLoadingMask = hideLoadingMask; | ||
186 | +}); | ||
187 | +define("js/product/recommend-for-you-product-desc", ["swiper","jquery","index"], function(require, exports, module){ | ||
188 | +/** | ||
189 | +* 为您优选 | ||
190 | +* @author: liangzhifeng<zhifeng.liang@yoho.cn> | ||
191 | +* @date: 2015/11/16 | ||
192 | +*/ | ||
193 | + | ||
194 | + | ||
195 | +var Swiper = require("swiper"), | ||
196 | + $ = require("jquery"); | ||
197 | + | ||
198 | +var recommendSwiper, | ||
199 | + $recommendForYou = $('.recommend-for-you'), | ||
200 | + preferenceUrl = $('#preferenceUrl').val(); | ||
201 | + | ||
202 | +if (preferenceUrl) { | ||
203 | + $.get(preferenceUrl).then(function(html) { | ||
204 | + if (html.length < 5) { | ||
205 | + $recommendForYou.css('display', 'none'); | ||
206 | + } else { | ||
207 | + $recommendForYou.html(html).show(); | ||
208 | + if ($('#swiper-recommend').length) { | ||
209 | + recommendSwiper = new Swiper('#swiper-recommend', { | ||
210 | + slidesPerView: 'auto', | ||
211 | + grabCursor: true, | ||
212 | + slideElement: 'a', | ||
213 | + lazyLoading: true, | ||
214 | + watchSlidesVisibility: true | ||
215 | + }); | ||
216 | + } | ||
217 | + } | ||
218 | + | ||
219 | + }).fail(function() { | ||
220 | + $recommendForYou.hide(); | ||
221 | + }); | ||
222 | +} | ||
223 | + | ||
224 | + | ||
225 | + | ||
226 | + | ||
227 | + | ||
228 | + | ||
229 | + | ||
230 | + | ||
231 | + | ||
232 | + | ||
233 | + | ||
234 | + | ||
235 | + | ||
236 | + | ||
237 | + | ||
238 | + | ||
239 | + | ||
240 | + | ||
241 | + | ||
242 | + | ||
243 | + | ||
244 | + | ||
245 | + | ||
246 | + | ||
247 | + | ||
248 | + | ||
249 | + | ||
250 | + | ||
251 | + | ||
252 | + | ||
253 | + | ||
254 | + | ||
255 | + | ||
256 | + | ||
257 | + | ||
258 | + | ||
259 | + | ||
260 | + | ||
261 | + | ||
262 | + | ||
263 | + | ||
264 | + | ||
265 | + | ||
266 | + | ||
267 | + | ||
268 | + | ||
269 | + | ||
270 | + | ||
271 | + | ||
272 | + | ||
273 | + | ||
274 | + | ||
275 | + | ||
276 | + | ||
277 | + | ||
278 | + | ||
279 | +}); |
static/dist/app-webview/1.0.7/index.css
0 → 100644
This diff could not be displayed because it is too large.
static/dist/app-webview/1.0.7/index.css.map
0 → 100644
This diff could not be displayed because it is too large.
static/dist/app-webview/1.0.7/index.js
0 → 100644
1 | +define("index",["jquery","swiper","index"],function(e,i,n){var d;e("js/product/entry"),n.exports=d}),define("js/product/entry",["jquery","swiper","index"],function(e,i,n){e("js/product/detail/detail-app")}),define("js/product/detail/detail-app",["jquery","swiper","index"],function(e,i,n){function d(e){var i,n;e.length>0&&(i=e[0].getBoundingClientRect().right,n=e.find(".swiper-slide:last-child")[0].getBoundingClientRect().right,0>n-i?e.next(".tips").css("display","none"):e.next(".tips").css("display","block"))}function r(e,i){var n=null;c(e).each(function(d,r){n=c(e).slice(d,d+i),n.length===i&&d%i===0&&c(n).wrapAll(c('<div class="js-wraper"></div>'))})}function o(){c("#yoho-header").hide(),c("#yoho-footer").hide()}function s(){var e=c("#app-detail");e.removeClass("hide"),l.hideLoadingMask(),o(),t=new u("#size-swiper-container",{slidesPerView:"auto"}),a=new u("#reference-swiper-container",{slidesPerView:"auto"}),d(c("#size-swiper-container")),d(c("#reference-swiper-container")),r(".detail .column",2)}var t,a,c=e("jquery"),l=e("js/plugin/loading"),u=e("swiper");l.showLoadingMask(),e("js/product/recommend-for-you-product-desc"),c(document).ready(s)}),define("js/plugin/loading",["jquery"],function(e,i,n){function d(e){var i='<div class="loading-mask hide"><div class="loading"><div></div><div></div><div></div></div></div>';c=!0,void 0===e&&(e=a),e.append(i),s=e.children(".loading-mask")}function r(){c||(d(),c=!0),s.removeClass("hide")}function o(){s.addClass("hide")}var s,t=e("jquery"),a=t(".yoho-page"),c=!1;i.init=d,i.showLoadingMask=r,i.hideLoadingMask=o}),define("js/product/recommend-for-you-product-desc",["swiper","jquery","index"],function(e,i,n){var d,r=e("swiper"),o=e("jquery"),s=o(".recommend-for-you"),t=o("#preferenceUrl").val();t&&o.get(t).then(function(e){e.length<5?s.css("display","none"):(s.html(e).show(),o("#swiper-recommend").length&&(d=new r("#swiper-recommend",{slidesPerView:"auto",grabCursor:!0,slideElement:"a",lazyLoading:!0,watchSlidesVisibility:!0})))}).fail(function(){s.hide()})}); |
static/dist/app-webview/1.0.7/lib.js
0 → 100644
This diff could not be displayed because it is too large.
static/dist/app-webview/1.0.7/service.png
0 → 100644

31.5 KB

21.5 KB

32.8 KB

43.9 KB

64 KB

53.4 KB

32 KB

38.6 KB

48.6 KB

18 KB
1 | +<!DOCTYPE html> | ||
2 | +<html lang="en"> | ||
3 | +<head> | ||
4 | + <meta charset="UTF-8"> | ||
5 | + <title>如何获得限购码</title> | ||
6 | + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | ||
7 | + <meta http-equiv="cleartype" content="on"> | ||
8 | + <meta content="telephone=no" name="format-detection" /> | ||
9 | + <script type="text/javascript"> | ||
10 | + (function(doc, win) { | ||
11 | + var docEl = doc.documentElement; | ||
12 | + (function() { | ||
13 | + var clientWidth = docEl.clientWidth; | ||
14 | + if (!clientWidth) { | ||
15 | + return; | ||
16 | + } | ||
17 | + docEl.style.fontSize = 20 * (clientWidth / 320) + 'px'; | ||
18 | + }()); | ||
19 | + })(document, window); | ||
20 | + </script> | ||
21 | + <style> | ||
22 | + html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, .yoho-header .nav-back, .yoho-header .nav-home, .yoho-header .nav-btn { | ||
23 | + margin: 0; | ||
24 | + padding: 0; | ||
25 | + border: 0; | ||
26 | + font: inherit; | ||
27 | + font-size: 100%; | ||
28 | + vertical-align: baseline; | ||
29 | + } | ||
30 | + | ||
31 | + html { | ||
32 | + line-height: 1; | ||
33 | + } | ||
34 | + | ||
35 | + ol, ul { | ||
36 | + list-style: none; | ||
37 | + } | ||
38 | + | ||
39 | + table { | ||
40 | + border-collapse: collapse; | ||
41 | + border-spacing: 0; | ||
42 | + } | ||
43 | + | ||
44 | + caption, th, td { | ||
45 | + text-align: left; | ||
46 | + font-weight: normal; | ||
47 | + vertical-align: middle; | ||
48 | + } | ||
49 | + | ||
50 | + q, blockquote { | ||
51 | + quotes: none; | ||
52 | + } | ||
53 | + | ||
54 | + q:before, q:after, blockquote:before, blockquote:after { | ||
55 | + content: ""; | ||
56 | + content: none; | ||
57 | + } | ||
58 | + | ||
59 | + a img { | ||
60 | + border: none; | ||
61 | + } | ||
62 | + | ||
63 | + article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary, .yoho-header .nav-back, .yoho-header .nav-home, .yoho-header .nav-btn { | ||
64 | + display: block; | ||
65 | + } | ||
66 | + /*Reset End*/ | ||
67 | + | ||
68 | + .clearfix:after{ | ||
69 | + content: ''; | ||
70 | + display: table; | ||
71 | + clear: both; | ||
72 | + } | ||
73 | + | ||
74 | + * { | ||
75 | + -webkit-tap-highlight-color: rgba(0,0,0,0); | ||
76 | + -moz-tap-highlight-color: rgba(0,0,0,0); | ||
77 | + tap-highlight-color: rgba(0,0,0,0); | ||
78 | + } | ||
79 | + | ||
80 | + html, body { | ||
81 | + font-family: helvetica,Arial,"黑体"; | ||
82 | + width: 100%; | ||
83 | + font-size: 12PX; | ||
84 | + line-height: 1.4; | ||
85 | + } | ||
86 | + | ||
87 | + button, input, select, textarea { | ||
88 | + font-size: 100%; | ||
89 | + margin: 0; | ||
90 | + } | ||
91 | + | ||
92 | + img { | ||
93 | + max-width: 100%; | ||
94 | + display: block; | ||
95 | + border: 0; | ||
96 | + margin: 0 auto; | ||
97 | + } | ||
98 | + | ||
99 | + a { | ||
100 | + text-decoration: none; | ||
101 | + outline: none; | ||
102 | + color: #000 | ||
103 | + } | ||
104 | + | ||
105 | + a:link, a:visited, a:hover, a:actived{ | ||
106 | + color: #000; | ||
107 | + } | ||
108 | + | ||
109 | + *:focus { | ||
110 | + outline: none; | ||
111 | + } | ||
112 | + | ||
113 | + .hide { | ||
114 | + display: none; | ||
115 | + } | ||
116 | + | ||
117 | + .overflow-hidden { | ||
118 | + overflow: hidden; | ||
119 | + } | ||
120 | + | ||
121 | + @font-face { | ||
122 | + font-family: "iconfont"; | ||
123 | + src: url('../font/iconfont.eot'); /* IE9*/ | ||
124 | + src: url('../font/iconfont.eot?#iefix') format('embedded-opentype'), | ||
125 | + url('../font/iconfont.woff') format('woff'), | ||
126 | + url('../font/iconfont.ttf') format('truetype'), | ||
127 | + url('../font/iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */ | ||
128 | + } | ||
129 | + | ||
130 | + .iconfont { | ||
131 | + font-family: "iconfont" !important; | ||
132 | + font-size: 16PX; | ||
133 | + font-style: normal; | ||
134 | + text-decoration: none; | ||
135 | + -webkit-font-smoothing: antialiased; | ||
136 | + -webkit-text-stroke-width: 0.2PX; | ||
137 | + -moz-osx-font-smoothing: grayscale; | ||
138 | + } | ||
139 | + .limit-help-page{ | ||
140 | + padding: 0.7rem; | ||
141 | + color: #444; | ||
142 | + } | ||
143 | + .limit-help-page h2{ | ||
144 | + font-size: 0.75rem; | ||
145 | + font-weight: bold; | ||
146 | + } | ||
147 | + .limit-help-page .method{ | ||
148 | + display: block; | ||
149 | + width: 2.3rem; | ||
150 | + height: 0.875rem; | ||
151 | + line-height: 0.9rem; | ||
152 | + background-color: #444; | ||
153 | + color: #fff; | ||
154 | + border-radius: 0.5rem; | ||
155 | + text-align: center; | ||
156 | + margin: 0.5rem 0; | ||
157 | + } | ||
158 | + .limit-help-page li{ | ||
159 | + font-size: 0.6rem; | ||
160 | + } | ||
161 | + .limit-help-page .intro-img{ | ||
162 | + width: 100%; | ||
163 | + height: 5.5rem; | ||
164 | + background-size: 100%; | ||
165 | + background-repeat: no-repeat; | ||
166 | + margin: 0.5rem 0; | ||
167 | + } | ||
168 | + .limit-help-page .method-1 li:nth-child(1) .intro-img{ | ||
169 | + background-image: url('img/1.png'); | ||
170 | + } | ||
171 | + .limit-help-page .method-1 li:nth-child(2) .intro-img{ | ||
172 | + background-image: url('img/2.png'); | ||
173 | + } | ||
174 | + .limit-help-page .method-1 li:nth-child(3) .intro-img{ | ||
175 | + background-image: url('img/3.png'); | ||
176 | + } | ||
177 | + .limit-help-page .method-2 li:nth-child(1) .intro-img{ | ||
178 | + background-image: url('img/4.png'); | ||
179 | + } | ||
180 | + .limit-help-page .method-2 li:nth-child(2) .intro-img{ | ||
181 | + background-image: url('img/5.png'); | ||
182 | + } | ||
183 | + .limit-help-page .method-2 li:nth-child(3) .intro-img{ | ||
184 | + background-image: url('img/6.png'); | ||
185 | + } | ||
186 | + .limit-help-page .method-2 li:nth-child(4) .intro-img{ | ||
187 | + background-image: url('img/7.png'); | ||
188 | + } | ||
189 | + .limit-help-page .how li:nth-child(1) .intro-img{ | ||
190 | + background-image: url('img/8.png'); | ||
191 | + } | ||
192 | + .limit-help-page .how li:nth-child(2) .intro-img{ | ||
193 | + background-image: url('img/9.png'); | ||
194 | + margin-bottom: 0; | ||
195 | + } | ||
196 | + </style> | ||
197 | + | ||
198 | +</head> | ||
199 | +<body> | ||
200 | + <div class="limit-help-page yoho-page"> | ||
201 | + <h2>不同限定商品获取限购码方式不同,获取限购码目前有两种方式:</h2> | ||
202 | + <span class="method">方式一</span> | ||
203 | + <ul class="method-1"> | ||
204 | + <li>1.在限定发售详情页点击分享或者底部“获取限购码”图标。 | ||
205 | + <div class="intro-img"></div> | ||
206 | + </li> | ||
207 | + <li>2.从弹出的分享中选取需要分享的渠道。 | ||
208 | + <div class="intro-img"></div> | ||
209 | + </li> | ||
210 | + <li>3.分享成功后返回Yoho!Buy有货APP会提示已获得限购码。 | ||
211 | + <div class="intro-img"></div> | ||
212 | + </li> | ||
213 | + </ul> | ||
214 | + <span class="method">方式二</span> | ||
215 | + <ul class="method-2"> | ||
216 | + <li>1.在限定发售详情页点击参加排队赢取限购码图标。 | ||
217 | + <div class="intro-img"></div> | ||
218 | + </li> | ||
219 | + <li>2.进入限定发售排队页面,点击参加排队。 | ||
220 | + <div class="intro-img"></div> | ||
221 | + </li> | ||
222 | + <li>3.排队成功后凭用户个人信息作为抽奖凭证,等待开奖时间。 | ||
223 | + <div class="intro-img"></div> | ||
224 | + </li> | ||
225 | + <li>4.开奖后,排队页面会公布中奖名单,限购码会直接发送至账户。 | ||
226 | + <div class="intro-img"></div> | ||
227 | + </li> | ||
228 | + </ul> | ||
229 | + <h2>查看和使用限购码</h2> | ||
230 | + <ul class="how"> | ||
231 | + <li>1.从个人中心进入我的限购码页面,可查看所获取的限购码。 | ||
232 | + <div class="intro-img"></div> | ||
233 | + </li> | ||
234 | + <li>2.商品开售后,需要有限购码才有抢购资格,无法确保可以买到适合尺码,库存有限,抢完为止。 | ||
235 | + <div class="intro-img"></div> | ||
236 | + </li> | ||
237 | + </ul> | ||
238 | + </div> | ||
239 | +</body> | ||
240 | +</html> |
1 | +<!DOCTYPE html> | ||
2 | +<html lang="en"> | ||
3 | +<head> | ||
4 | + <meta charset="UTF-8"> | ||
5 | + <title>如何获得限购码</title> | ||
6 | + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | ||
7 | + <meta http-equiv="cleartype" content="on"> | ||
8 | + <meta content="telephone=no" name="format-detection" /> | ||
9 | + <script type="text/javascript"> | ||
10 | + (function(doc, win) { | ||
11 | + var docEl = doc.documentElement; | ||
12 | + (function() { | ||
13 | + var clientWidth = docEl.clientWidth; | ||
14 | + if (!clientWidth) { | ||
15 | + return; | ||
16 | + } | ||
17 | + docEl.style.fontSize = 20 * (clientWidth / 320) + 'px'; | ||
18 | + }()); | ||
19 | + })(document, window); | ||
20 | + </script> | ||
21 | + <style> | ||
22 | + html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, .yoho-header .nav-back, .yoho-header .nav-home, .yoho-header .nav-btn { | ||
23 | + margin: 0; | ||
24 | + padding: 0; | ||
25 | + border: 0; | ||
26 | + font: inherit; | ||
27 | + font-size: 100%; | ||
28 | + vertical-align: baseline; | ||
29 | + } | ||
30 | + | ||
31 | + html { | ||
32 | + line-height: 1; | ||
33 | + } | ||
34 | + | ||
35 | + ol, ul { | ||
36 | + list-style: none; | ||
37 | + } | ||
38 | + | ||
39 | + table { | ||
40 | + border-collapse: collapse; | ||
41 | + border-spacing: 0; | ||
42 | + } | ||
43 | + | ||
44 | + caption, th, td { | ||
45 | + text-align: left; | ||
46 | + font-weight: normal; | ||
47 | + vertical-align: middle; | ||
48 | + } | ||
49 | + | ||
50 | + q, blockquote { | ||
51 | + quotes: none; | ||
52 | + } | ||
53 | + | ||
54 | + q:before, q:after, blockquote:before, blockquote:after { | ||
55 | + content: ""; | ||
56 | + content: none; | ||
57 | + } | ||
58 | + | ||
59 | + a img { | ||
60 | + border: none; | ||
61 | + } | ||
62 | + | ||
63 | + article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary, .yoho-header .nav-back, .yoho-header .nav-home, .yoho-header .nav-btn { | ||
64 | + display: block; | ||
65 | + } | ||
66 | + /*Reset End*/ | ||
67 | + | ||
68 | + .clearfix:after{ | ||
69 | + content: ''; | ||
70 | + display: table; | ||
71 | + clear: both; | ||
72 | + } | ||
73 | + | ||
74 | + * { | ||
75 | + -webkit-tap-highlight-color: rgba(0,0,0,0); | ||
76 | + -moz-tap-highlight-color: rgba(0,0,0,0); | ||
77 | + tap-highlight-color: rgba(0,0,0,0); | ||
78 | + } | ||
79 | + | ||
80 | + html, body { | ||
81 | + font-family: helvetica,Arial,"黑体"; | ||
82 | + width: 100%; | ||
83 | + font-size: 12PX; | ||
84 | + line-height: 1.4; | ||
85 | + } | ||
86 | + | ||
87 | + button, input, select, textarea { | ||
88 | + font-size: 100%; | ||
89 | + margin: 0; | ||
90 | + } | ||
91 | + | ||
92 | + img { | ||
93 | + max-width: 100%; | ||
94 | + display: block; | ||
95 | + border: 0; | ||
96 | + margin: 0 auto; | ||
97 | + } | ||
98 | + | ||
99 | + a { | ||
100 | + text-decoration: none; | ||
101 | + outline: none; | ||
102 | + color: #000 | ||
103 | + } | ||
104 | + | ||
105 | + a:link, a:visited, a:hover, a:actived{ | ||
106 | + color: #000; | ||
107 | + } | ||
108 | + | ||
109 | + *:focus { | ||
110 | + outline: none; | ||
111 | + } | ||
112 | + | ||
113 | + .hide { | ||
114 | + display: none; | ||
115 | + } | ||
116 | + | ||
117 | + .overflow-hidden { | ||
118 | + overflow: hidden; | ||
119 | + } | ||
120 | + | ||
121 | + @font-face { | ||
122 | + font-family: "iconfont"; | ||
123 | + src: url('../font/iconfont.eot'); /* IE9*/ | ||
124 | + src: url('../font/iconfont.eot?#iefix') format('embedded-opentype'), | ||
125 | + url('../font/iconfont.woff') format('woff'), | ||
126 | + url('../font/iconfont.ttf') format('truetype'), | ||
127 | + url('../font/iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */ | ||
128 | + } | ||
129 | + | ||
130 | + .iconfont { | ||
131 | + font-family: "iconfont" !important; | ||
132 | + font-size: 16PX; | ||
133 | + font-style: normal; | ||
134 | + text-decoration: none; | ||
135 | + -webkit-font-smoothing: antialiased; | ||
136 | + -webkit-text-stroke-width: 0.2PX; | ||
137 | + -moz-osx-font-smoothing: grayscale; | ||
138 | + } | ||
139 | + .limit-help-page{ | ||
140 | + padding: 0.7rem; | ||
141 | + color: #444; | ||
142 | + } | ||
143 | + .limit-help-page h2{ | ||
144 | + font-size: 0.75rem; | ||
145 | + font-weight: bold; | ||
146 | + } | ||
147 | + .limit-help-page .method{ | ||
148 | + display: block; | ||
149 | + width: 2.3rem; | ||
150 | + height: 0.875rem; | ||
151 | + line-height: 0.9rem; | ||
152 | + background-color: #444; | ||
153 | + color: #fff; | ||
154 | + border-radius: 0.5rem; | ||
155 | + text-align: center; | ||
156 | + margin: 0.5rem 0; | ||
157 | + } | ||
158 | + .limit-help-page li{ | ||
159 | + font-size: 0.6rem; | ||
160 | + } | ||
161 | + .limit-help-page .intro-img{ | ||
162 | + width: 100%; | ||
163 | + height: 5.5rem; | ||
164 | + background-size: 100%; | ||
165 | + background-repeat: no-repeat; | ||
166 | + margin: 0.5rem 0; | ||
167 | + } | ||
168 | + .limit-help-page .method-1 li:nth-child(1) .intro-img{ | ||
169 | + background-image: url('img/1.png'); | ||
170 | + } | ||
171 | + .limit-help-page .method-1 li:nth-child(2) .intro-img{ | ||
172 | + background-image: url('img/2.png'); | ||
173 | + } | ||
174 | + .limit-help-page .method-1 li:nth-child(3) .intro-img{ | ||
175 | + background-image: url('img/3.png'); | ||
176 | + } | ||
177 | + .limit-help-page .method-2 li:nth-child(1) .intro-img{ | ||
178 | + background-image: url('img/4.png'); | ||
179 | + } | ||
180 | + .limit-help-page .method-2 li:nth-child(2) .intro-img{ | ||
181 | + background-image: url('img/5.png'); | ||
182 | + } | ||
183 | + .limit-help-page .method-2 li:nth-child(3) .intro-img{ | ||
184 | + background-image: url('img/6.png'); | ||
185 | + } | ||
186 | + .limit-help-page .method-2 li:nth-child(4) .intro-img{ | ||
187 | + background-image: url('img/7.png'); | ||
188 | + } | ||
189 | + .limit-help-page .how li:nth-child(1) .intro-img{ | ||
190 | + background-image: url('img/8.png'); | ||
191 | + } | ||
192 | + .limit-help-page .how li:nth-child(2) .intro-img{ | ||
193 | + background-image: url('img/9.png'); | ||
194 | + margin-bottom: 0; | ||
195 | + } | ||
196 | + </style> | ||
197 | + | ||
198 | +</head> | ||
199 | +<body> | ||
200 | + <div class="limit-help-page yoho-page"> | ||
201 | + <ul class="method-2"> | ||
202 | + <li>1.在限定发售详情页点击参加排队赢取限购码图标。 | ||
203 | + <div class="intro-img"></div> | ||
204 | + </li> | ||
205 | + <li>2.进入限定发售排队页面,点击参加排队。 | ||
206 | + <div class="intro-img"></div> | ||
207 | + </li> | ||
208 | + <li>3.排队成功后凭用户个人信息作为抽奖凭证,等待开奖时间。 | ||
209 | + <div class="intro-img"></div> | ||
210 | + </li> | ||
211 | + <li>4.开奖后,排队页面会公布中奖名单,限购码会直接发送至账户。 | ||
212 | + <div class="intro-img"></div> | ||
213 | + </li> | ||
214 | + </ul> | ||
215 | + <h2>查看和使用限购码</h2> | ||
216 | + <ul class="how"> | ||
217 | + <li>1.从个人中心进入我的限购码页面,可查看所获取的限购码。 | ||
218 | + <div class="intro-img"></div> | ||
219 | + </li> | ||
220 | + <li>2.商品开售后,需要有限购码才有抢购资格,无法确保可以买到适合尺码,库存有限,抢完为止。 | ||
221 | + <div class="intro-img"></div> | ||
222 | + </li> | ||
223 | + </ul> | ||
224 | + </div> | ||
225 | +</body> | ||
226 | +</html> |
1 | +<!DOCTYPE html> | ||
2 | +<html lang="en"> | ||
3 | +<head> | ||
4 | + <meta charset="UTF-8"> | ||
5 | + <title>什么是限购码</title> | ||
6 | + <meta name="description" content=""> | ||
7 | + <meta name="viewport" content="width=device-width"> | ||
8 | + <script type="text/javascript"> | ||
9 | + (function(doc, win) { | ||
10 | + var docEl = doc.documentElement; | ||
11 | + (function() { | ||
12 | + var clientWidth = docEl.clientWidth; | ||
13 | + if (!clientWidth) { | ||
14 | + return; | ||
15 | + } | ||
16 | + docEl.style.fontSize = 20 * (clientWidth / 320) + 'px'; | ||
17 | + }()); | ||
18 | + })(document, window); | ||
19 | + </script> | ||
20 | + <style> | ||
21 | + html, body, p { | ||
22 | + margin: 0; | ||
23 | + padding: 0; | ||
24 | + font-family: helvetica,Arial,"黑体"; | ||
25 | + } | ||
26 | + body { | ||
27 | + background-color: #f4f4f4; | ||
28 | + } | ||
29 | + .container { | ||
30 | + padding: 0.7rem; | ||
31 | + background-color: #fff; | ||
32 | + } | ||
33 | + .block { | ||
34 | + margin-top: 1rem; | ||
35 | + margin-bottom: 0.8rem | ||
36 | + } | ||
37 | + p { | ||
38 | + font-size: 0.7rem; | ||
39 | + color: #444; | ||
40 | + margin: 0.3rem 0; | ||
41 | + line-height: 1rem; | ||
42 | + } | ||
43 | + div p { | ||
44 | + margin: 0.2rem 0 0 0; | ||
45 | + } | ||
46 | + </style> | ||
47 | +</head> | ||
48 | +<body> | ||
49 | + <div class="container"> | ||
50 | + <p> 1.当稀缺商品上架,同一用户账号在一定时间段内,仅支持购买1件该商品。 </p> | ||
51 | + <p> 2.可通过分享或其他活动获得该商品的限购码,每个商品仅可获得1次限购码。 </p> | ||
52 | + <p> 3.若下单未付款导致交易取消,不会扣限购额度。已付款状态下,无论是否退款则扣除限购额度。 </p> | ||
53 | + <div class="block"> | ||
54 | + <p> | ||
55 | + Q:限购码可以送给我的朋友吗? | ||
56 | + </p> | ||
57 | + <p> | ||
58 | + A:限购码不可赠送,只能自己账号使用。可以把活动告诉朋友,参与即可获得限购码。 | ||
59 | + </p> | ||
60 | + </div> | ||
61 | + | ||
62 | + <div> | ||
63 | + <p> | ||
64 | + Q:下单发现买错码数了,取消订单后我还能再买吗? | ||
65 | + </p> | ||
66 | + <p> | ||
67 | + A:尚未付款的订单取消后,可以再次购买。 | ||
68 | + </p> | ||
69 | + </div> | ||
70 | + | ||
71 | + </div> | ||
72 | +</body> | ||
73 | +</html> |
1 | +<!DOCTYPE html> | ||
2 | +<html lang="en"> | ||
3 | +<head> | ||
4 | + <meta charset="UTF-8"> | ||
5 | + <title>什么是限购码</title> | ||
6 | + <meta name="description" content=""> | ||
7 | + <meta name="viewport" content="width=device-width"> | ||
8 | + <script type="text/javascript"> | ||
9 | + (function(doc, win) { | ||
10 | + var docEl = doc.documentElement; | ||
11 | + (function() { | ||
12 | + var clientWidth = docEl.clientWidth; | ||
13 | + if (!clientWidth) { | ||
14 | + return; | ||
15 | + } | ||
16 | + docEl.style.fontSize = 20 * (clientWidth / 320) + 'px'; | ||
17 | + }()); | ||
18 | + })(document, window); | ||
19 | + </script> | ||
20 | + <style> | ||
21 | + html, body, p { | ||
22 | + margin: 0; | ||
23 | + padding: 0; | ||
24 | + font-family: helvetica,Arial,"黑体"; | ||
25 | + } | ||
26 | + body { | ||
27 | + background-color: #f4f4f4; | ||
28 | + } | ||
29 | + .container { | ||
30 | + padding: 0.7rem; | ||
31 | + background-color: #fff; | ||
32 | + } | ||
33 | + .block { | ||
34 | + margin-top: 1rem; | ||
35 | + margin-bottom: 0.8rem | ||
36 | + } | ||
37 | + p { | ||
38 | + font-size: 0.7rem; | ||
39 | + color: #444; | ||
40 | + margin: 0.3rem 0; | ||
41 | + line-height: 1rem; | ||
42 | + } | ||
43 | + div p { | ||
44 | + margin: 0.2rem 0 0 0; | ||
45 | + } | ||
46 | + </style> | ||
47 | +</head> | ||
48 | +<body> | ||
49 | + <div class="container"> | ||
50 | + <p> 1.当稀缺商品上架,同一用户账号在一定时间段内,仅支持购买1件该商品。 </p> | ||
51 | + <p> 2.可通过分享或其他活动获得该商品的限购码,每个商品仅可获得1次限购码。 </p> | ||
52 | + <p> 3.若下单未付款导致交易取消,不会扣限购额度。已付款状态下,无论是否退款则扣除限购额度。 </p> | ||
53 | + <div class="block"> | ||
54 | + <p> | ||
55 | + Q:限购码可以送给我的朋友吗? | ||
56 | + </p> | ||
57 | + <p> | ||
58 | + A:限购码不可赠送,只能自己账号使用。可以把活动告诉朋友,参与即可获得限购码。 | ||
59 | + </p> | ||
60 | + </div> | ||
61 | + | ||
62 | + <div> | ||
63 | + <p> | ||
64 | + Q:下单发现买错码数了,取消订单后我还能再买吗? | ||
65 | + </p> | ||
66 | + <p> | ||
67 | + A:尚未付款的订单取消后,可以再次购买。 | ||
68 | + </p> | ||
69 | + </div> | ||
70 | + | ||
71 | + </div> | ||
72 | +</body> | ||
73 | +</html> |
1 | +<!DOCTYPE html> | ||
2 | +<html lang="en"> | ||
3 | +<head> | ||
4 | + <meta charset="UTF-8"> | ||
5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no"> | ||
6 | + <meta content="yes" name="apple-mobile-web-app-capable"> | ||
7 | + <meta content="yes" name="apple-touch-fullscreen"> | ||
8 | + <meta content="telephone=no" name="format-detection"> | ||
9 | + <meta content="black" name="apple-mobile-web-app-status-bar-style"> | ||
10 | + <title>签到规则</title> | ||
11 | + <style> | ||
12 | + html, body, p { | ||
13 | + margin: 0; | ||
14 | + padding: 0; | ||
15 | + } | ||
16 | + | ||
17 | + body { | ||
18 | + padding: 0.6rem; | ||
19 | + font-family: helvetica,Arial,"黑体"; | ||
20 | + } | ||
21 | + | ||
22 | + p { | ||
23 | + font-size: 0.9rem; | ||
24 | + color: #414141; | ||
25 | + margin-bottom: 0.4rem; | ||
26 | + } | ||
27 | + </style> | ||
28 | +</head> | ||
29 | +<body> | ||
30 | + <p> | ||
31 | + 1、签到可以获得YOHO币奖励哟,YOHO币可以在有货购买商品时折算相应的支付金额呢 | ||
32 | + </p> | ||
33 | + <p> | ||
34 | + 2、连续的签到7天会获得更多惊喜,一定要坚持哦 | ||
35 | + </p> | ||
36 | + <p> | ||
37 | + 3、对于使用作弊、攻击系统等手段参与签到活动的,有货君有权取消其活动资格并追回相应奖励 | ||
38 | + </p> | ||
39 | +</body> | ||
40 | +</html> |
-
Please register or login to post a comment