diff --git a/Application/Home/View/default/Apply/my_game.html b/Application/Home/View/default/Apply/my_game.html index 235e9ceb5..f7739b1e4 100644 --- a/Application/Home/View/default/Apply/my_game.html +++ b/Application/Home/View/default/Apply/my_game.html @@ -235,20 +235,6 @@ 游戏类型:{$vo.game_type_name}
- 添加推广员游戏 - 复制下载链接 + 复制下载链接 $vo['id'],'pid'=>$vo['promote_id']));?> - 落地页链接 + 落地页链接 下架 @@ -988,36 +974,27 @@ $('.game-link').on('click', function () { var url = $(this).attr('data-url'); var qrcode = $(this).attr('data-qrcode'); - var enableStatus = $(this).attr('data-status'); + var enableStatus = parseInt($(this).attr('data-status')); - if (enableStatus != '已打包') { + if (enableStatus != 1) { var iconIndex = 7; - if (enableStatus == '打包失败') { - iconIndex = 5; + var enableStatusName = ''; + + switch (enableStatus) { + case 2: + case 3: + enableStatusName = '打包中'; + break; + case -1: + iconIndex = 5; + enableStatusName = '打包失败'; + break; } - layer.msg(enableStatus, {icon: iconIndex}); + layer.alert(enableStatusName, {icon: iconIndex}); return false; } - // $.ajax({ - // type: "post", - // url: "__URL__/qrcodeNew", - // dataType: "json", - // data: {'url':url}, - // success: function (data) { - // console.log(data); - // }, - // error: function (result) { - // layer.msg('网络异常', {icon: 5}); - // } - // }); - - // $.get("__URL__/qrcodeNew/url/" + url,function(data,status){ - // console.log(data); - // qrcode = data; - // }); - // $('#download_copy').attr('data-url',url); $('#game_link_ercode').attr('src',qrcode); $('#game_link_address').text(url);