Просмотр исходного кода

feat: 移动端超级订阅订单详情有效日期展示逻辑修改

cuiyalong 2 лет назад
Родитель
Сommit
06c537f057

+ 1 - 1
src/jfw/modules/app/src/web/staticres/jyapp/vipsubscribe/js/vip_order_detail.js

@@ -322,7 +322,7 @@ $(function () {
             if (!$.isEmptyObject(fnewBuyset)) {
                 //续费升级逻辑修改后判断是否不延期
                 if (filterObj.cycleunit == 0 && filterObj.cyclecount == 0) {
-                	effectiveBool = false;
+                	// effectiveBool = false;
                     $(".cyclecount").text("不延期");
                 }
             }

+ 1 - 1
src/web/templates/weixin/vipsubscribe/vip_order_detail.html

@@ -515,7 +515,7 @@
                 var effectiveBool = true; 
                 //续费升级逻辑修改后判断是否不延期
                 if (filterObj.cycleunit == 0 && filterObj.cyclecount == 0) {
-                  effectiveBool=false;
+                //   effectiveBool=false;
                   $(".cyclecount").text("不延期");
                 }else if ((r.data.order.vip_starttime != undefined) && (r.data.order.vip_endtime != undefined)) {
                     var start_time_vip = r.data.order.vip_starttime;