Authored by 李靖

分享

@@ -9,9 +9,9 @@ exports.index = (req, res, next) => { @@ -9,9 +9,9 @@ exports.index = (req, res, next) => {
9 module: 'activity', 9 module: 'activity',
10 page: 'coupon-list', 10 page: 'coupon-list',
11 pageHeader: headerModel.setNav({ 11 pageHeader: headerModel.setNav({
12 - navTitle: '领券中心' 12 + navTitle: '11.11 4000元优惠券 限量抢'
13 }), 13 }),
14 - title: '领券中心 | Yoho!Buy有货 | 潮流购物逛不停', 14 + title: '11.11 4000元优惠券 限量抢',
15 width750: true, 15 width750: true,
16 localCss: true 16 localCss: true
17 }; 17 };
@@ -31,7 +31,7 @@ @@ -31,7 +31,7 @@
31 </div> 31 </div>
32 <a href='//m.yohobuy.com/product/shop?shop_id={{shopsId}}&openby:yohobuy={"action":"go.shop","params":{"shop_template_type":"1","is_red_shop":"1","shop_id":"{{shopsId}}","shop_name":"{{shopName}}"}}'> 32 <a href='//m.yohobuy.com/product/shop?shop_id={{shopsId}}&openby:yohobuy={"action":"go.shop","params":{"shop_template_type":"1","is_red_shop":"1","shop_id":"{{shopsId}}","shop_name":"{{shopName}}"}}'>
33 <div class="shop"> 33 <div class="shop">
34 - <div class="logo"{{#if shopLogo}} style="background-image:url({{image2 shopLogo w=105 h=42 q=60}})"{{/if}}></div> 34 + <div class="logo"{{#if shopLogo}} style="background-image:url({{image2 shopLogo w=210 h=84 q=100}})"{{/if}}></div>
35 <div class="go">进入店铺</div> 35 <div class="go">进入店铺</div>
36 </div> 36 </div>
37 </a> 37 </a>
1 import 'activity/coupon-list.page.css'; 1 import 'activity/coupon-list.page.css';
2 import $ from 'yoho-jquery'; 2 import $ from 'yoho-jquery';
3 import Page from 'yoho-page'; 3 import Page from 'yoho-page';
4 -import 'common/share'; 4 +import 'activity/coupon-list/share';
5 5
6 class CouponList extends Page { 6 class CouponList extends Page {
7 constructor() { 7 constructor() {
  1 +import share from 'common/share';
  2 +
  3 +share({
  4 + title: 'YOHO!BUY有货【11.11】4000元超值券即刻开抢!',
  5 + desc: '11.11先抢券,再购物!更超值',
  6 + link: location.href,
  7 + imgUrl: 'https://cdn.yoho.cn/couponlist/00D3E2B3962F038EB428F2C22166D0EC.jpg'
  8 +});
@@ -234,10 +234,13 @@ @@ -234,10 +234,13 @@
234 } 234 }
235 235
236 .logo { 236 .logo {
237 - background-size: 100% 100%;  
238 width: 103px; 237 width: 103px;
239 height: 65px; 238 height: 65px;
240 border-bottom: solid 4px #bd4701; 239 border-bottom: solid 4px #bd4701;
  240 + background-size: 100% auto;
  241 + background-position: center center;
  242 + background-repeat: no-repeat;
  243 + background-color: #fff;
241 } 244 }
242 } 245 }
243 } 246 }