wangxiaoming %!s(int64=7) %!d(string=hai) anos
pai
achega
368de4a290
Modificáronse 4 ficheiros con 14 adicións e 12 borrados
  1. 1 1
      tooth/my-center.html
  2. 3 2
      tooth/order-details.html
  3. 4 4
      tooth/order-list.html
  4. 6 5
      tooth/welfare-service.html

+ 1 - 1
tooth/my-center.html

@@ -142,7 +142,7 @@
 				</li>
 			</ul>
 			<div class="mui-content-padded mui-text-center">客服电话:
-				<a class="tel" href="400-6781860">400-6781860</a>
+				<a class="tel" href="tel:4006781860">400-6781860</a>
 			</div>
 		</div>
 		<!-- 加载ing -->

+ 3 - 2
tooth/order-details.html

@@ -298,8 +298,9 @@
 							success: function(dt) {
 								if(dt.resultCode == 200) {
 									//mui.alert("获取订单列表失败!网络错误");
-									location.reload();//刷新
-								} 
+									//location.reload();//刷新
+								}
+								location.reload();//刷新
 							},
 							error: function(xhr, type, errorThrown) {
 								console.log(xhr);

+ 4 - 4
tooth/order-list.html

@@ -145,11 +145,11 @@
 							success: function(dt) {
 								if(dt.resultCode == 200) {
 									//mui.alert(successMsg);
-									pageNumber = 0; //页数归零
-									$('.my-table-pull').empty(); //清空产品列表
-									mui('#pullrefresh_pro_list').pullRefresh().pullupLoading(); //重新加载数据
-									mui('.mui-scroll-wrapper').scroll().scrollTo(0,0,500);//500毫秒滚动到顶
 								} 
+								pageNumber = 0; //页数归零
+								$('.my-table-pull').empty(); //清空产品列表
+								mui('#pullrefresh_pro_list').pullRefresh().pullupLoading(); //重新加载数据
+								mui('.mui-scroll-wrapper').scroll().scrollTo(0,0,500);//500毫秒滚动到顶
 							},
 							error: function(xhr, type, errorThrown) {
 								console.log(xhr);

+ 6 - 5
tooth/welfare-service.html

@@ -60,12 +60,15 @@
 	<script type="text/javascript" src="js/main.js"></script>
 	<script type="text/javascript" src="js/wechat-utils-1.0.js"></script>
 	<script type="text/javascript">
+		
+	var notReceive=null;	//先判断是否领取过
+	
 	mui.ready(function(){
 		console.log("页面加载完毕");
 		$(".loading").hide().css("opacity", "0");//隐藏(正在加载...)
 		
 		var src = location.href;
-			src = "http://s.iamberry.com/soodo/wechat/welfare-service.html;
+			src = "http://s.iamberry.com/soodo/wechat/welfare-service.html";
 			window.wxFriend = {
 					"appId": "",
 					"imgUrl": 'http://s.iamberry.com/soodo/wechat/images/indexShare.jpg',
@@ -81,17 +84,15 @@
 		
 	});	 
 	mui('body').on('tap', '.my-btn-receive', function(event) {
-		
 		if(notReceive){
 			addAewPeople();
 		}else{
 			mui.openWindow({
 					url: 'pro-list.html'
-				});
+			});
 		}
 	});
-	var notReceive=null;
-	//先判断是否领取过
+	
 	
 		$.ajax(base_path + '/wechat/coupon/getIsReceive?dates=' + new Date().getTime(), {
 					data: {},// ajax参数 没有则不写