From 17ade1533248c5ba488d8419aa8614f4af6784f8 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Tue, 29 Oct 2019 01:07:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/my.js | 4 ++-- js/order_con.js | 2 +- js/storeout.js | 2 +- templete/my_help_sale.html | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/js/my.js b/js/my.js index 7a0e811..10a5054 100644 --- a/js/my.js +++ b/js/my.js @@ -175,8 +175,8 @@ var localAuthType = localStorage.getItem("authType"); $('#expectedProductNum').html(+data.data.expectedProductNum); $('#expectedCouponsNum').html(+data.data.expectedCouponsNum); $('#expectedWangNum').html(+data.data.expectedWangNum); - $('#couponsNum').html(+data.data.alreadyCouponsNum); - $('#productNum').html(+data.data.alreadyProductNum); + $('#couponsNum').html(+data.data.user.couponsNum); + $('#productNum').html(+data.data.user.productNum); $('#wangNum').html(+data.data.user.wangNum); mui.ajax(qlgUrl('app/users/getFavoritesNum'), { diff --git a/js/order_con.js b/js/order_con.js index babe4e3..62808b8 100644 --- a/js/order_con.js +++ b/js/order_con.js @@ -26,7 +26,7 @@ mui.plusReady(function() { if(data.deliveryTime != null) { html += '

发货时间:' + data.deliveryTime + '

' } - if(data.deliveryTime != null) { + if(data.receiveTime != null) { html += '

成交时间:' + data.receiveTime + '

' } diff --git a/js/storeout.js b/js/storeout.js index b5e10ea..e4b93f5 100644 --- a/js/storeout.js +++ b/js/storeout.js @@ -37,7 +37,7 @@ mui.plusReady(function() { shopLat=data.lat; shopLng=data.lng; phone=data.phone; - userName=data.loginName; + userName=data.userName; //console.log(shopLng); localStorage.setItem('shopLat', shopLat); localStorage.setItem('shopLng', shopLng); diff --git a/templete/my_help_sale.html b/templete/my_help_sale.html index e294852..ba50a53 100644 --- a/templete/my_help_sale.html +++ b/templete/my_help_sale.html @@ -21,7 +21,7 @@
我家订单我家全部订单
-
+