Explorar o código

fit:快照页免费用户附件下载

wangshan %!s(int64=3) %!d(string=hai) anos
pai
achega
c44c2108a1

+ 1 - 1
src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html

@@ -1234,7 +1234,7 @@
                 title: title
             },
             success: function (r) {
-                if (r&&r.r&&r.r.code&&window.vipStatus>0){
+                if (r&&r.r&&r.r.code&&r.r.code<0&&window.vipStatus>0){
                     // 次数用完提醒联系客服
                     vant.Dialog.confirm({
                         message: '您本月附件下载机会已消耗完毕,如需下载更多附件,请前往充值。',

+ 2 - 1
src/web/templates/pc/biddetail_rec.html

@@ -3485,7 +3485,7 @@ function fromwhere(text){
   		  },
 	  success:function(data){
         if(data){
-          if (data.r&&data.r.code&&window.vipStatus>0){
+          if (data.r&&data.r.code&&data.r.code<0&&window.vipStatus>0){
             // 次数用完提醒去充值
 						bidVue.$confirm('您本月附件下载机会已消耗完毕,如需下载更多附件,请前往充值。', {
 							showClose:false,
@@ -3577,6 +3577,7 @@ function fromwhere(text){
 						// 留过资 更新下载次数 进入附件下载页面
 						cjdyDownload(fname)
 					}else {
+            window.freeFile == -1
 						// 免费用户 体验过 下载次数为-1 弹框提醒跳至超级订阅购买页
 						bidVue.$alert('您已经免费解锁过【附件下载】权益1次,暂无免费查看权限。如需查看更多,请开通超级订阅获取更多权限。', '开通超级订阅', {
 							showClose:false,

+ 1 - 1
src/web/templates/weixin/wxinfocontent_rec.html

@@ -1804,7 +1804,7 @@ function andownload() {
                                 title: title
                             },
                             success: function (r) {
-                                if (r&&r.r&&r.r.code&&window.vipStatus>0){
+                                if (r&&r.r&&r.r.code&&r.r.code<0&&window.vipStatus>0){
                                   vant.Dialog.confirm({
                                     message: '您本月附件下载机会已消耗完毕,如需下载更多附件,请前往充值。',
                                     showCancelButton: true,