Authored by 肖亚东

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

... ... @@ -133,7 +133,7 @@ class YoLuckService extends global.yoho.BaseModel {
if (type === YOLUCK_LIST_TYPE.joined) {
if (!uid) {
return {
error: 400,
error: 401,
};
}
... ...
... ... @@ -190,9 +190,12 @@ if (+fellowInfo.type === 2) {
});
clipboardFellow.on('success', function(e) {
// fellow(fellowInfo.tip);
// tip.show('内容已复制', 2000);
if (fellowInfo.copy.length > 0) {
fellow(fellowInfo.tip);
tip.show('内容已复制', 2000);
} else {
$fellowGuide.show();
}
e.clearSelection();
});
}
... ...