Authored by 毕凯

Merge branch 'hotfix/invite' into 'gray'

邀请好友去除复制



See merge request !1123
@@ -26,8 +26,6 @@ module.exports = class extends global.yoho.BaseModel { @@ -26,8 +26,6 @@ module.exports = class extends global.yoho.BaseModel {
26 result.data.isApp = isApp; 26 result.data.isApp = isApp;
27 27
28 result.data.copyCode = result.data.trendWord ? result.data.trendWord : result.data.inviteCode; 28 result.data.copyCode = result.data.trendWord ? result.data.trendWord : result.data.inviteCode;
29 - result.data.copyUrl = result.data.shareUrl ?  
30 - result.data.shareUrl.replace(/"/g, '"').replace(/=/g, ':') : '';  
31 29
32 return result.data; 30 return result.data;
33 } else { 31 } else {
@@ -26,10 +26,9 @@ @@ -26,10 +26,9 @@
26 <div class="title">方法三:使用邀请链接</div> 26 <div class="title">方法三:使用邀请链接</div>
27 <div class="code-content"> 27 <div class="code-content">
28 <div class="invite-content"> 28 <div class="invite-content">
29 - <span class="code{{#unless isApp}} code-len{{/unless}}">{{shareUrl}}</span> 29 + <span class="code code-len">{{shareUrl}}</span>
30 {{#if isApp}} 30 {{#if isApp}}
31 <span class="share button">分享</span> 31 <span class="share button">分享</span>
32 - <a class="copy button" href='//m.yohobuy.com/?openby:yohobuy={"action":"go.copy","params":{"text":"{{copyUrl}}","message":"复制成功"}}'>复制</a>  
33 {{/if}} 32 {{/if}}
34 </div> 33 </div>
35 <p class="link-info"> 34 <p class="link-info">