Authored by 肖亚东

点击我的抽奖码作登录判断;以及自定弹窗内容处理

@@ -133,7 +133,7 @@ class YoLuckService extends global.yoho.BaseModel { @@ -133,7 +133,7 @@ class YoLuckService extends global.yoho.BaseModel {
133 if (type === YOLUCK_LIST_TYPE.joined) { 133 if (type === YOLUCK_LIST_TYPE.joined) {
134 if (!uid) { 134 if (!uid) {
135 return { 135 return {
136 - error: 400, 136 + error: 401,
137 }; 137 };
138 } 138 }
139 139
@@ -190,9 +190,12 @@ if (+fellowInfo.type === 2) { @@ -190,9 +190,12 @@ if (+fellowInfo.type === 2) {
190 }); 190 });
191 191
192 clipboardFellow.on('success', function(e) { 192 clipboardFellow.on('success', function(e) {
193 - // fellow(fellowInfo.tip);  
194 - // tip.show('内容已复制', 2000); 193 + if (fellowInfo.copy.length > 0) {
  194 + fellow(fellowInfo.tip);
  195 + tip.show('内容已复制', 2000);
  196 + } else {
195 $fellowGuide.show(); 197 $fellowGuide.show();
  198 + }
196 e.clearSelection(); 199 e.clearSelection();
197 }); 200 });
198 } 201 }