xuzhiheng 5 years ago
parent
commit
1c9f0a5cd2

+ 10 - 0
src/jfw/modules/app/src/web/templates/vipsubscribe/renew_pay.html

@@ -30,6 +30,13 @@
 	::-webkit-input-placeholder{
 		color: #000;
 	}
+	.vip_renew .detail_item {
+	    border-bottom: 1px solid #e0e0e0;
+	    border-top: 1px solid #e0e0e0;
+	}
+	.weui-check__label:active {
+		background-color: #fff!important;
+	}
 </style>
 <body class="no-touch">
 	<div class="app-layout-header">
@@ -407,6 +414,9 @@
             } else {
                 $('#number_box_month button').removeAttr('disabled')
             }
+			if(val==="1"){
+				$('#number_box_month button:first').attr('disabled', true);
+			}
             let result = (Number(val) * monthPrice).toFixed(1);
             $('.computed_price').html('¥' + result)
 

+ 6 - 0
src/jfw/modules/app/src/web/templates/vipsubscribe/vip_upgrade.html

@@ -31,6 +31,9 @@
 	::-webkit-input-placeholder{
 		color: #000;
 	}
+	.weui-check__label:active {
+		background-color: #fff!important;
+	}
 </style>
 <body class="no-touch">
 	<div class="app-layout-header">
@@ -352,6 +355,9 @@
 		        })
 		        return
             }
+			if($(".month_number").text() === "1"){
+				$('#number_box_month button:first').attr('disabled', true);
+			}
             $('#time_cycle').show(200);
         })
         // 对订阅时间选择的 input绑定点击事件

+ 6 - 0
src/web/templates/weixin/vipsubscribe/renew_pay.html

@@ -40,6 +40,9 @@
 	    border-bottom: 1px solid #e0e0e0;
 	    border-top: 1px solid #e0e0e0;
 	}
+	.weui-check__label:active {
+		background-color: #fff!important;
+	}
 </style>
 <body class="no-touch">
     <div class="vip_renew">
@@ -464,6 +467,9 @@
             } else {
                 $('#number_box_month button').removeAttr('disabled')
             }
+			if(val==="1"){
+				$('#number_box_month button:first').attr('disabled', true);
+			}
             let result = (Number(val) * monthPrice).toFixed(1);
             $('.computed_price').html('¥' + result)
 

+ 6 - 1
src/web/templates/weixin/vipsubscribe/vip_upgrade.html

@@ -37,7 +37,9 @@
 	::-webkit-input-placeholder{
 		color: #000;
 	}
-	
+	.weui-check__label:active {
+		background-color: #fff!important;
+	}
 </style>
 <body class="no-touch">
     <div class="vip_update">
@@ -393,6 +395,9 @@
 		        })
 		        return
             }
+			if($(".month_number").text() === "1"){
+				$('#number_box_month button:first').attr('disabled', true);
+			}
             $('#time_cycle').show(200);
         })
         // 对订阅时间选择的 input绑定点击事件