瀏覽代碼

提示信息

wangshan 5 年之前
父節點
當前提交
a7ac3ee36f

+ 1 - 0
src/web/staticres/vipsubscribe/css/subscribe_list.css

@@ -467,6 +467,7 @@ text-decoration: none;
   background: transparent;
   border: 1px solid white;
   border-radius: .32rem;
+    text-decoration: none;
 }
 
 .set_keyword > div {

+ 8 - 6
src/web/staticres/vipsubscribe/js/common.js

@@ -199,7 +199,7 @@ function getSetMealPrice(c,iCount,u,price){
 }
 
 //查看用户是否有未执行的订单
-function checkOrder(){
+function checkOrder(wz){
 	var flag = false;
 	$.ajax({
 		type: 'post',
@@ -210,11 +210,13 @@ function checkOrder(){
 		success: function(r){
 			flag = r.flag;
 			if(r.flag){
-				weui.toast('订单尚未到期', {
-	                duration: 3000,
-	                className: 'custom-toast',
-	                callback: function () { console.log('close') }
-	            });
+				if(wz!=1){
+					weui.toast('订单尚未到期', {
+		                duration: 3000,
+		                className: 'custom-toast',
+		                callback: function () { console.log('close') }
+		            });
+				}
 			}
 		}
 	});

+ 10 - 8
src/web/templates/weixin/historypush.html

@@ -24,7 +24,7 @@
 	<link rel="stylesheet" href="/vipsubscribe/iconfont/iconfont.css" />
 	<link rel="stylesheet" href="/vipsubscribe/css/base.css?v={{Msg "seo" "version"}}" />
 	<link rel="stylesheet" href="/vipsubscribe/css/public.css?v={{Msg "seo" "version"}}">
-	<link rel="stylesheet" href="/vipsubscribe/css/subscribe_list.css?v={{Msg "seo" "version"}}">
+	<link rel="stylesheet" href="/vipsubscribe/css/subscribe_list.css?v={{Msg "seo" "version"}}1">
 	<script>
 		var zbadd = {{Msg "seo" "ZBADDRESS"}};
 		var firstPage = null;
@@ -277,13 +277,15 @@
 				}
 				if(parseInt(isOnTail)!=1){
 					$('.free7days_pic').append("<style>.free7days_pic:after{display:none}</style>");
-					if(parseInt(isExpire)>1){
-						$(".renew_toast .isExpire").text(parseInt(isExpire));
-						$(".renew_toast").show();
-					}else if (parseInt(isExpire)>0){
-						$(".renew_toast").find(".other").hide();
-						$(".renew_toast").find(".today").show();
-						$(".renew_toast").show();
+					if(!checkOrder(1)){
+						if(parseInt(isExpire)>1){
+							$(".renew_toast .isExpire").text(parseInt(isExpire));
+							$(".renew_toast").show();
+						}else if (parseInt(isExpire)>0){
+							$(".renew_toast").find(".other").hide();
+							$(".renew_toast").find(".today").show();
+							$(".renew_toast").show();
+						}
 					}
 				}else{
 					if(parseInt(isExpire)>1){

+ 2 - 1
src/web/templates/weixin/vipsubscribe/keyWord.html

@@ -138,7 +138,7 @@
                     <strong class="weui-dialog__title">快速导入</strong>
                 </div>
                 <div class="weui-dialog__bd">
-                    快速导入可将免费版招标订阅内所设置的关键词及其排除词一并导入至“未分类"关键词分类内,无需再次手动输入,简化您的订阅过程。
+                    快速导入可将免费版招标订阅内所设置的关键词及其排除词一并导入至“<span class="fastICName">未分类</span>"关键词分类内,无需再次手动输入,简化您的订阅过程。
 					<p style="color:#888;">注:地区与行业分类以VIP订阅设置内为准,不做导入。</p>
                 </div>
                 <div class="weui-dialog__ft">
@@ -717,6 +717,7 @@
 		}
 		//
 		function modalTwo(){
+			$(".fastICName").text($(".classify-detail").text());
 		    // 如果是苹果手机,打开时候要设置top
 		    var agent = navigator.userAgent.toLowerCase();
 		    var dialog = $('.classify-fast-pop .weui-dialog')

+ 14 - 10
src/web/templates/weixin/vipsubscribe/vip_index.html

@@ -281,16 +281,20 @@
 							$('.free7days_pic').text("VIP订阅服务");
 	                        $('.free7days_pic').append("<style>.free7days_pic::after{display:inline-block}</style>");
 	                   }else{
-							if(parseInt(_vipData["expRemind"])>1){
-	                            $(".to_expired").show();
-	                            $(".renew_day").text(parseInt(_vipData["expRemind"]))
-	                            $(".renew_toast").show();
-	                        }else if(parseInt(_vipData["expRemind"])>0){
-	                            $(".to_expired").show();
-								$(".renew_toast").find(".other").hide();
-								$(".renew_toast").find(".today").show();
-	                            $(".renew_toast").show();
-	                        }else{
+							if(!checkOrder(1)){
+								if(parseInt(_vipData["expRemind"])>1){
+		                            $(".to_expired").show();
+		                            $(".renew_day").text(parseInt(_vipData["expRemind"]))
+		                            $(".renew_toast").show();
+		                        }else if(parseInt(_vipData["expRemind"])>0){
+		                            $(".to_expired").show();
+									$(".renew_toast").find(".other").hide();
+									$(".renew_toast").find(".today").show();
+		                            $(".renew_toast").show();
+		                        }else{
+		                            $(".to_expired").hide();
+		                        }
+							}else{
 	                            $(".to_expired").hide();
 	                        }
 							$(".tabbar").html('<a onclick="upgrade()" class="update_btn">升级</a><a onclick="rebuy()" class="renew_btn">续费</a>')