瀏覽代碼

上朵修改规则

wangxiaoming 5 年之前
父節點
當前提交
0874043c86
共有 2 個文件被更改,包括 12 次插入3 次删除
  1. 11 2
      tooth/clearing.html
  2. 1 1
      tooth/index.html

+ 11 - 2
tooth/clearing.html

@@ -5,6 +5,12 @@
 <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
 <meta name="apple-mobile-web-app-capable" content="yes">
 <meta name="apple-mobile-web-app-status-bar-style" content="black">
+<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
+<meta http-equiv="Pragma" content="no-cache" />
+<meta http-equiv="Expires" content="0" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<meta http-equiv="X-UA-Compatible" content="IE=8">
+<meta http-equiv="Cache" content="no-cache">
 <title>结算</title>
 <link rel="stylesheet" type="text/css" href="css/mui.min.css" />
 <link rel="stylesheet" type="text/css" href="css/iconfont.css" />
@@ -484,13 +490,16 @@
 									if(parseInt(rNum) == 1){
 										couponPrice = 9000;
 									}else if(parseInt(rNum) >= 2){
-										couponPrice = accMul(price,0.35);
+										couponPrice = price
+										couponPrice -= 29900
+										couponPrice = accMul(couponPrice,0.35);
+										couponPrice += 9000
 									}
 									sum=a-couponPrice;
 									$("#full-sub-name").text(this.salesActivitiesName);
 									$("#full-sub-count").text(accDiv(couponPrice,100));
 									$("#full-sub-name").parent().parent().show();
-									ispreferential = true;
+									ispreferential = false;
 									return false;
 								}else{
 									sum=a-this.salesActivitiesReduction;

+ 1 - 1
tooth/index.html

@@ -387,7 +387,7 @@
 
 			//更新用户信息
 			function refreshUserInfo(){
-					$.ajax(base_path + '/getUserInfo?dates=' + new Date().getTime(), {
+					$.ajax(base_path + '/wechat/getUserInfo?dates=' + new Date().getTime(), {
 						dataType: 'json',
 						type: 'post',
 						timeout: 15000,