Merge branch 'feature/freeMailAct' into 'release/6.0'
个人中心权益 See merge request !743
Showing
4 changed files
with
4 additions
and
4 deletions
@@ -114,7 +114,7 @@ module.exports = class extends global.yoho.BaseModel { | @@ -114,7 +114,7 @@ module.exports = class extends global.yoho.BaseModel { | ||
114 | description: val.description, | 114 | description: val.description, |
115 | pic: val.pic, | 115 | pic: val.pic, |
116 | title: val.title, | 116 | title: val.title, |
117 | - href: val.id === 8 | 117 | + href: val.id === 8 ? '//m.yohobuy.com/activity/birthday' : _.get(val, 'actionParam', false) |
118 | }; | 118 | }; |
119 | 119 | ||
120 | obj.privilege.push(enp); | 120 | obj.privilege.push(enp); |
@@ -464,7 +464,7 @@ const getPreferential = (params) => { | @@ -464,7 +464,7 @@ const getPreferential = (params) => { | ||
464 | description: val.description, | 464 | description: val.description, |
465 | pic: val.pic, | 465 | pic: val.pic, |
466 | title: val.title, | 466 | title: val.title, |
467 | - href: val.id === 8 | 467 | + href: val.id === 8 ? '//m.yohobuy.com/activity/birthday' : _.get(val, 'actionParam', false) |
468 | }; | 468 | }; |
469 | 469 | ||
470 | resu.privilege.push(obj); | 470 | resu.privilege.push(obj); |
1 | <div class="vip-privilege-page yoho-page"> | 1 | <div class="vip-privilege-page yoho-page"> |
2 | <div class="privilege-list clearfix"> | 2 | <div class="privilege-list clearfix"> |
3 | {{#each privilege}} | 3 | {{#each privilege}} |
4 | - <a{{#if href}} href="//m.yohobuy.com/activity/birthday"{{/if}}> | 4 | + <a{{#if href}} href="{{href}}"{{/if}}> |
5 | <img class="icon" src="{{pic}}"> | 5 | <img class="icon" src="{{pic}}"> |
6 | <p> | 6 | <p> |
7 | {{title}} | 7 | {{title}} |
1 | <div class="privilege-list clearfix"> | 1 | <div class="privilege-list clearfix"> |
2 | {{#each privilege}} | 2 | {{#each privilege}} |
3 | - <a{{#if href}} href="//m.yohobuy.com/activity/birthday"{{/if}}> | 3 | + <a{{#if href}} href="{{href}}"{{/if}}> |
4 | <img class="icon" src="{{pic}}"> | 4 | <img class="icon" src="{{pic}}"> |
5 | <p> | 5 | <p> |
6 | {{title}} | 6 | {{title}} |
-
Please register or login to post a comment