|
@@ -15,14 +15,65 @@ Page({
|
|
|
channel: [],
|
|
|
groupBanner: {},
|
|
|
storeName: '',
|
|
|
- showPop: false,//活动弹窗
|
|
|
+ showPop: false, //活动弹窗
|
|
|
couponVo: {},
|
|
|
storeId: '',
|
|
|
page: 1,
|
|
|
size: 3,
|
|
|
list: [],
|
|
|
openAttr: false,
|
|
|
- isMapShow: ''
|
|
|
+ isMapShow: '', //第三方商户是否启用地图显示
|
|
|
+ },
|
|
|
+ onLoad: function(options) {
|
|
|
+ let that = this;
|
|
|
+ wx.setStorageSync("navUrl", "/pages/index/index");
|
|
|
+ // options.scene = 38;
|
|
|
+ // options.scene = 65;
|
|
|
+ // options.scene = 28;
|
|
|
+ // options.scene = 8;
|
|
|
+ if (options.scene) {
|
|
|
+ console.log("have scene");
|
|
|
+ var scene = decodeURIComponent(options.scene);
|
|
|
+ console.log("scene is ", scene);
|
|
|
+ that.setData({
|
|
|
+ storeId: scene
|
|
|
+ });
|
|
|
+ wx.setStorageSync('storeId', scene);
|
|
|
+ //扫码进入的小程序则清除是否分享缓存
|
|
|
+ wx.removeStorageSync('isShare');
|
|
|
+ } else {
|
|
|
+ //是否分享过商品,有数据则分享过;从首页进入页面则没有分享过,从详情页进入则分享过
|
|
|
+ if (wx.getStorageSync('isShare') == 'true') {
|
|
|
+ console.log('是分享进入首页门店id:' + wx.getStorageSync('storeId') + ',从商品页获取的缓存')
|
|
|
+ console.log('是分享进入首页:' + wx.getStorageSync('isShare'))
|
|
|
+ } else {
|
|
|
+ //小程序入口进入的主页,则清除storeId,获取当前地址最近的门店
|
|
|
+ wx.removeStorageSync('storeId');
|
|
|
+ console.log('不是分享进入首页门店id:【' + wx.getStorageSync('storeId') + '】,获取最近门店')
|
|
|
+ console.log('不是分享进入首页:' + wx.getStorageSync('isShare'))
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ onReady: function() {
|
|
|
+ // 页面渲染完成
|
|
|
+ },
|
|
|
+ onShow: function() {
|
|
|
+ // 页面显示
|
|
|
+ let that = this;
|
|
|
+ wx.setStorageSync("navUrl", "/pages/index/index");
|
|
|
+ if (wx.getStorageSync('userInfo') || wx.getStorageSync('token')) {
|
|
|
+ that.syncStore();
|
|
|
+ } else {
|
|
|
+ wx.navigateTo({
|
|
|
+ url: '/pages/auth/btnAuth/btnAuth',
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
+ onHide: function() {
|
|
|
+ // 页面隐藏
|
|
|
+ },
|
|
|
+ onUnload: function() {
|
|
|
+ // 页面关闭
|
|
|
},
|
|
|
showCouponPop() {
|
|
|
let that = this;
|
|
@@ -39,21 +90,20 @@ Page({
|
|
|
content: that.data.couponVo.name
|
|
|
})
|
|
|
},
|
|
|
- onShareAppMessage: function () {
|
|
|
+ onShareAppMessage: function() {
|
|
|
return {
|
|
|
title: '商业版',
|
|
|
desc: '新人好礼送券',
|
|
|
path: '/pages/index/index'
|
|
|
}
|
|
|
},
|
|
|
- getIndexData: function () {
|
|
|
- setTimeout(function () {
|
|
|
- }, 350)
|
|
|
+ getIndexData: function() {
|
|
|
+ setTimeout(function() {}, 350)
|
|
|
wx.showLoading({
|
|
|
title: '加载中...',
|
|
|
})
|
|
|
let that = this;
|
|
|
- util.request(api.IndexUrl).then(function (res) {
|
|
|
+ util.request(api.IndexUrl).then(function(res) {
|
|
|
if (res.errno === 0) {
|
|
|
// console.log(res.data.banner);
|
|
|
that.setData({
|
|
@@ -69,28 +119,40 @@ Page({
|
|
|
// console.log(that.data.hotGoods.length)
|
|
|
// console.log(wx.getStorageSync('storeId'))
|
|
|
// console.log(wx.getStorageSync('mapIndexStoreId'))
|
|
|
- if (that.data.hotGoods.length == 0){
|
|
|
- that.getGoodsList();
|
|
|
- }
|
|
|
+ // if (that.data.hotGoods.length == 0) {
|
|
|
+ // that.getGoodsList();
|
|
|
+ // }
|
|
|
console.log("isShare:" + wx.getStorageSync('isShare'))
|
|
|
- if (wx.getStorageSync('storeId') != wx.getStorageSync('mapIndexStoreId') || wx.getStorageSync('isShare')=='true'){
|
|
|
+ console.log("isLoadGoods:" + wx.getStorageSync('isLoadGoods'))
|
|
|
+ //当切换了门店地图(mapIndexStoreId),或是由用户分享进入的商品详情切换进入的首页(isShare:true)
|
|
|
+ if (wx.getStorageSync('storeId') != wx.getStorageSync('mapIndexStoreId') || wx.getStorageSync('isShare') == 'true' || that.data.hotGoods.length == 0 || wx.getStorageSync('isLoadGoods') == '1') {
|
|
|
that.setData({
|
|
|
hotGoods: [],
|
|
|
page: 1
|
|
|
});
|
|
|
that.getGoodsList();
|
|
|
+ if (wx.getStorageSync('isLoadGoods') == '1') {
|
|
|
+ util.request(api.UpdateStoreLoadGoods, {
|
|
|
+ storeId: wx.getStorageSync('storeId')
|
|
|
+ }).then(function(res) {});
|
|
|
+ }
|
|
|
wx.setStorageSync('isShare', 'false');
|
|
|
}
|
|
|
}
|
|
|
wx.hideLoading();
|
|
|
});
|
|
|
},
|
|
|
- getGoodsList: function () {
|
|
|
+ getGoodsList: function() {
|
|
|
let that = this;
|
|
|
- util.request(api.GoodsHot).then(function (res) {
|
|
|
+ util.request(api.GoodsHot).then(function(res) {
|
|
|
if (res.errno == 0) {
|
|
|
- util.request(api.HotGoodsList, { isHot: 1, page: that.data.page, size: that.data.size, categoryId: 0 })
|
|
|
- .then(function (res) {
|
|
|
+ util.request(api.HotGoodsList, {
|
|
|
+ isHot: 1,
|
|
|
+ page: that.data.page,
|
|
|
+ size: that.data.size,
|
|
|
+ categoryId: 0
|
|
|
+ })
|
|
|
+ .then(function(res) {
|
|
|
if (res.errno == 0) {
|
|
|
let goodsList = that.data.hotGoods.concat(res.data.goodsList);
|
|
|
that.setData({
|
|
@@ -103,9 +165,9 @@ Page({
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- getGroupData: function () {
|
|
|
+ getGroupData: function() {
|
|
|
let that = this;
|
|
|
- util.request(api.GroupList).then(function (res) {
|
|
|
+ util.request(api.GroupList).then(function(res) {
|
|
|
if (res.errno === 0) {
|
|
|
that.setData({
|
|
|
groupGoods: res.data.data,
|
|
@@ -113,54 +175,6 @@ Page({
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- onLoad: function (options) {
|
|
|
- let that = this;
|
|
|
- wx.setStorageSync("navUrl", "/pages/index/index");
|
|
|
- // options.scene = 65;
|
|
|
- // options.scene = 28;
|
|
|
- // options.scene = 8;
|
|
|
- if (options.scene) {
|
|
|
- console.log("have scene");
|
|
|
- var scene = decodeURIComponent(options.scene);
|
|
|
- console.log("scene is ", scene);
|
|
|
- that.setData({
|
|
|
- storeId: scene
|
|
|
- });
|
|
|
- wx.setStorageSync('storeId', scene);
|
|
|
- wx.removeStorageSync('isShare');//扫码进入的小程序则清除是否分享缓存
|
|
|
- } else {
|
|
|
- console.log("wx.getStorageSync('isShare')"+wx.getStorageSync('isShare'));
|
|
|
- if (wx.getStorageSync('isShare')) {//是否分享过商品,有数据则分享过;从首页进入页面则没有分享过,从详情页进入则分享过
|
|
|
- console.log('是分享进入首页门店id:' + wx.getStorageSync('storeId')+',从商品也获取的缓存')
|
|
|
- console.log('是分享进入首页:' + wx.getStorageSync('isShare'))
|
|
|
- } else {
|
|
|
- wx.removeStorageSync('storeId');
|
|
|
- console.log('不是分享进入首页门店id:【' + wx.getStorageSync('storeId')+'】,获取最近门店')
|
|
|
- console.log('不是分享进入首页:' + wx.getStorageSync('isShare'))
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- onReady: function () {
|
|
|
- // 页面渲染完成
|
|
|
- },
|
|
|
- onShow: function () {
|
|
|
- // 页面显示
|
|
|
- let that = this;
|
|
|
- wx.setStorageSync("navUrl", "/pages/index/index");
|
|
|
- if (wx.getStorageSync('userInfo') || wx.getStorageSync('token')) {
|
|
|
- that.syncStore();
|
|
|
- } else {
|
|
|
- wx.navigateTo({
|
|
|
- url: '/pages/auth/btnAuth/btnAuth',
|
|
|
- })
|
|
|
- }
|
|
|
- },
|
|
|
- onHide: function () {
|
|
|
- // 页面隐藏
|
|
|
- },
|
|
|
- onUnload: function () {
|
|
|
- // 页面关闭
|
|
|
- },
|
|
|
handleStore() {
|
|
|
wx.navigateTo({
|
|
|
url: '../map/map',
|
|
@@ -171,29 +185,26 @@ Page({
|
|
|
url: '../search/search',
|
|
|
})
|
|
|
},
|
|
|
- goCatalog: function (e) {
|
|
|
+ goCatalog: function(e) {
|
|
|
let url = '';
|
|
|
// console.log('dataset.goodsBizType:' + e.currentTarget.dataset.goodsBizType);
|
|
|
app.globalData.appGoodsBizType = e.currentTarget.dataset.goodsBizType;
|
|
|
// console.log('appgoodsBizType1:' + app.globalData.appGoodsBizType);
|
|
|
-
|
|
|
+ wx.setStorageSync('isSwitchCatalog', 'true'); //主页跳转至分类页加载商品,
|
|
|
wx.switchTab({
|
|
|
url: '/pages/catalog/catalog',
|
|
|
});
|
|
|
},
|
|
|
- onReachBottom: function () {
|
|
|
-
|
|
|
+ onReachBottom: function() {
|
|
|
if (this.data.bottomLoadDone === true || this.data.bottomLoading === true) {
|
|
|
return false;
|
|
|
}
|
|
|
-
|
|
|
this.setData({
|
|
|
bottomLoading: true
|
|
|
});
|
|
|
-
|
|
|
// this.getFloorCategory();
|
|
|
},
|
|
|
- reLoad: function () {
|
|
|
+ reLoad: function() {
|
|
|
let that = this;
|
|
|
// console.log(wx.getStorageSync('userId'));
|
|
|
// console.log(wx.getStorageSync('storeId'));
|
|
@@ -203,13 +214,15 @@ Page({
|
|
|
wx.request({
|
|
|
url: api.updateLoginUser,
|
|
|
data: {
|
|
|
- userId: wx.getStorageSync('userId'), storeId: wx.getStorageSync('storeId'), merchSn: wx.getStorageSync('merchSn')
|
|
|
+ userId: wx.getStorageSync('userId'),
|
|
|
+ storeId: wx.getStorageSync('storeId'),
|
|
|
+ merchSn: wx.getStorageSync('merchSn')
|
|
|
},
|
|
|
method: 'POST',
|
|
|
header: {
|
|
|
'Content-Type': 'application/json'
|
|
|
},
|
|
|
- success: function (wxRes) {
|
|
|
+ success: function(wxRes) {
|
|
|
if (wxRes.data.errno === 0) {
|
|
|
that.setData({
|
|
|
isMapShow: wxRes.data.data.isMapShow
|
|
@@ -219,7 +232,7 @@ Page({
|
|
|
// console.log("用户信息更新成功");
|
|
|
}
|
|
|
},
|
|
|
- fail: function (err) {
|
|
|
+ fail: function(err) {
|
|
|
console.log("failed");
|
|
|
}
|
|
|
});
|
|
@@ -230,15 +243,23 @@ Page({
|
|
|
}
|
|
|
},
|
|
|
// 同步门店
|
|
|
- syncStore: function () {
|
|
|
+ syncStore: function() {
|
|
|
let that = this;
|
|
|
// console.log(wx.getStorageSync('merchSn'));
|
|
|
//获取附件门店信息
|
|
|
util.getLocation((lng, lat) => {
|
|
|
- wx.setStorageSync('location', JSON.stringify({ lng, lat }));
|
|
|
+ wx.setStorageSync('location', JSON.stringify({
|
|
|
+ lng,
|
|
|
+ lat
|
|
|
+ }));
|
|
|
let storeId = wx.getStorageSync('storeId');
|
|
|
console.log('查询门店id:' + storeId)
|
|
|
- util.request(api.NearbyList, { longitude: lng, latitude: lat, storeId: storeId, thirdPartyMerchCode: '' }).then((res) => {
|
|
|
+ util.request(api.NearbyList, {
|
|
|
+ longitude: lng,
|
|
|
+ latitude: lat,
|
|
|
+ storeId: storeId,
|
|
|
+ thirdPartyMerchCode: ''
|
|
|
+ }).then((res) => {
|
|
|
let nlist = res.data;
|
|
|
// wx.removeStorageSync('nearStoreList');
|
|
|
// wx.removeStorageSync('storeId');
|
|
@@ -253,6 +274,7 @@ Page({
|
|
|
} else {
|
|
|
wx.setStorageSync('nearStoreList', JSON.stringify(nlist));
|
|
|
wx.setStorageSync('mapIndexStoreId', nlist[0].id);
|
|
|
+ wx.setStorageSync('isLoadGoods', nlist[0].isLoadGoods);
|
|
|
}
|
|
|
|
|
|
if (!nlist.length) {
|
|
@@ -274,9 +296,12 @@ Page({
|
|
|
|
|
|
},
|
|
|
// 更新门店Id
|
|
|
- chooseStore: function (storeId, merchSn) {
|
|
|
+ chooseStore: function(storeId, merchSn) {
|
|
|
let that = this;
|
|
|
- util.request(api.ChooseStoreId, { storeId: storeId, merchSn: merchSn }, 'POST').then(function (res) {
|
|
|
+ util.request(api.ChooseStoreId, {
|
|
|
+ storeId: storeId,
|
|
|
+ merchSn: merchSn
|
|
|
+ }, 'POST').then(function(res) {
|
|
|
if (res.errno === 0) {
|
|
|
wx.setStorageSync('storeId', storeId);
|
|
|
wx.setStorageSync('merchSn', merchSn);
|
|
@@ -285,7 +310,7 @@ Page({
|
|
|
});
|
|
|
},
|
|
|
//购物车减少
|
|
|
- cutNumber: function (e) {
|
|
|
+ cutNumber: function(e) {
|
|
|
let that = this;
|
|
|
var goodsId = e.currentTarget.dataset.goodsId;
|
|
|
var productId = e.currentTarget.dataset.productId;
|
|
@@ -300,21 +325,27 @@ Page({
|
|
|
// }
|
|
|
// });
|
|
|
// that.setData({ hotGoods: hotGoods });
|
|
|
- util.request(api.CartMinus, { goodsId: goodsId, productId: productId, number: 1 }, 'POST').then(function (res) {
|
|
|
+ util.request(api.CartMinus, {
|
|
|
+ goodsId: goodsId,
|
|
|
+ productId: productId,
|
|
|
+ number: 1
|
|
|
+ }, 'POST').then(function(res) {
|
|
|
if (res.errno === 0 && null != res.data) {
|
|
|
var hotGoods = that.data.hotGoods;
|
|
|
- hotGoods.forEach(function (val, index, arr) {
|
|
|
+ hotGoods.forEach(function(val, index, arr) {
|
|
|
if (val.product_id == productId) {
|
|
|
val.cart_num = res.data;
|
|
|
hotGoods[index] = val;
|
|
|
- that.setData({ hotGoods: hotGoods });
|
|
|
+ that.setData({
|
|
|
+ hotGoods: hotGoods
|
|
|
+ });
|
|
|
}
|
|
|
}, that);
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
//购物车增加
|
|
|
- addNumber: function (e) {
|
|
|
+ addNumber: function(e) {
|
|
|
let that = this;
|
|
|
var goodsId = e.currentTarget.dataset.goodsId;
|
|
|
var productId = e.currentTarget.dataset.productId;
|
|
@@ -326,16 +357,22 @@ Page({
|
|
|
// }
|
|
|
// });
|
|
|
// that.setData({ hotGoods: hotGoods });
|
|
|
- util.request(api.CartAdd, { goodsId: goodsId, productId: productId, number: 1 }, 'POST').then(function (res) {
|
|
|
+ util.request(api.CartAdd, {
|
|
|
+ goodsId: goodsId,
|
|
|
+ productId: productId,
|
|
|
+ number: 1
|
|
|
+ }, 'POST').then(function(res) {
|
|
|
if (res.errno === 0 && null != res.data) {
|
|
|
- hotGoods.forEach(function (val, index, arr) {
|
|
|
- res.data.cartList.forEach(function (cartVal, cartIndex, cartArr) {
|
|
|
+ hotGoods.forEach(function(val, index, arr) {
|
|
|
+ res.data.cartList.forEach(function(cartVal, cartIndex, cartArr) {
|
|
|
if (val.product_id == cartVal.product_id) {
|
|
|
val.cart_num = cartVal.number;
|
|
|
hotGoods[index] = val;
|
|
|
}
|
|
|
});
|
|
|
- that.setData({ hotGoods: hotGoods });
|
|
|
+ that.setData({
|
|
|
+ hotGoods: hotGoods
|
|
|
+ });
|
|
|
}, that);
|
|
|
} else {
|
|
|
wx.showToast({
|
|
@@ -346,7 +383,7 @@ Page({
|
|
|
});
|
|
|
},
|
|
|
// 查询是否有活动
|
|
|
- enableActivity: function () {
|
|
|
+ enableActivity: function() {
|
|
|
let that = this;
|
|
|
let couponIds = wx.getStorageSync('couponIds');
|
|
|
if (!couponIds) {
|
|
@@ -373,7 +410,7 @@ Page({
|
|
|
// });
|
|
|
},
|
|
|
// 商品扫码
|
|
|
- scanGoodsCode: function (e) {
|
|
|
+ scanGoodsCode: function(e) {
|
|
|
var that = this;
|
|
|
var code;
|
|
|
var value;
|
|
@@ -385,14 +422,14 @@ Page({
|
|
|
onlyFromCamera: true,
|
|
|
// 扫码类型, barCode:一维码, qrCode:二维码
|
|
|
scanType: ['barCode', 'qrCode'],
|
|
|
- success: function (res) {
|
|
|
+ success: function(res) {
|
|
|
that.code = "结果:" + res.result + ",路径:" + res.path + ",编码:" + res.rawData;
|
|
|
that.value = res.result;
|
|
|
that.scanType = res.scanType;
|
|
|
that.setData({
|
|
|
goodsCode: that.code
|
|
|
});
|
|
|
- if (that.scanType == 'QR_CODE') {//二维码
|
|
|
+ if (that.scanType == 'QR_CODE') { //二维码
|
|
|
that.substrValue = that.value.substring(0, 5);
|
|
|
that.value = that.value.substring(5, that.value.length);
|
|
|
// var goodId = that.value.substring(18, that.value.length);
|
|
@@ -410,12 +447,12 @@ Page({
|
|
|
var storeId = scanArray[1].substring(8, that.value.length);
|
|
|
// console.log("storeId:" + storeId);
|
|
|
// console.log("goodId:" + goodId);
|
|
|
- if (that.substrValue != 'emato') {//../goods/goods?id=&merchSn=
|
|
|
+ if (that.substrValue != 'emato') { //../goods/goods?id=&merchSn=
|
|
|
wx.showModal({
|
|
|
title: '',
|
|
|
content: '您所扫描的商品无效',
|
|
|
showCancel: false,
|
|
|
- success: function (res) {
|
|
|
+ success: function(res) {
|
|
|
if (res.confirm) {
|
|
|
console.log('用户点击确定')
|
|
|
} else if (res.cancel) {
|
|
@@ -433,17 +470,21 @@ Page({
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
- util.request(api.GoodsDetail, { id: goodId,storeId:storeId, referrer: '' }).then(function (res) {
|
|
|
+ util.request(api.GoodsDetail, {
|
|
|
+ id: goodId,
|
|
|
+ storeId: storeId,
|
|
|
+ referrer: ''
|
|
|
+ }).then(function(res) {
|
|
|
if (res.errno === 0) {
|
|
|
// console.log(res);
|
|
|
// 跳转页面
|
|
|
- setTimeout(function () {
|
|
|
+ setTimeout(function() {
|
|
|
wx.navigateTo({
|
|
|
url: that.value,
|
|
|
- success: function (e) {
|
|
|
+ success: function(e) {
|
|
|
console.log('跳转成功');
|
|
|
},
|
|
|
- fail: function (e) {
|
|
|
+ fail: function(e) {
|
|
|
console.log('跳转失败');
|
|
|
}
|
|
|
})
|
|
@@ -456,7 +497,7 @@ Page({
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
- } else {//其他码
|
|
|
+ } else { //其他码
|
|
|
//弹框显示结果
|
|
|
wx.showModal({
|
|
|
title: '扫描结果',
|
|
@@ -465,7 +506,7 @@ Page({
|
|
|
});
|
|
|
}
|
|
|
},
|
|
|
- fail: function () {
|
|
|
+ fail: function() {
|
|
|
// 显示提示框
|
|
|
wx.showToast({
|
|
|
title: '扫码失败',
|
|
@@ -477,7 +518,7 @@ Page({
|
|
|
|
|
|
})
|
|
|
},
|
|
|
- imgOnLoad: function (e) {
|
|
|
+ imgOnLoad: function(e) {
|
|
|
let that = this;
|
|
|
// console.log('图片加载完成');
|
|
|
// var realthumb = e.target.dataset.thumb;
|
|
@@ -491,18 +532,18 @@ Page({
|
|
|
// })
|
|
|
// }
|
|
|
},
|
|
|
- switchAttrPop: function () {
|
|
|
+ switchAttrPop: function() {
|
|
|
this.setData({
|
|
|
openAttr: !this.data.openAttr
|
|
|
})
|
|
|
},
|
|
|
- hideSwitchAttrPop: function () {
|
|
|
+ hideSwitchAttrPop: function() {
|
|
|
this.setData({
|
|
|
openAttr: false
|
|
|
})
|
|
|
},
|
|
|
//购物车增加
|
|
|
- addCart: function (e) {
|
|
|
+ addCart: function(e) {
|
|
|
let that = this;
|
|
|
that.setData({
|
|
|
number: 1
|
|
@@ -511,7 +552,7 @@ Page({
|
|
|
var retailPrice = e.currentTarget.dataset.retailPrice;
|
|
|
util.request(api.GoodsSku, {
|
|
|
goodsId: goodsId
|
|
|
- }).then(function (res) {
|
|
|
+ }).then(function(res) {
|
|
|
if (res.errno === 0 && null != res.data) {
|
|
|
that.setData({
|
|
|
goodsVo: res.data.goodsVo,
|
|
@@ -539,7 +580,7 @@ Page({
|
|
|
});
|
|
|
},
|
|
|
|
|
|
- shows: function (e) {
|
|
|
+ shows: function(e) {
|
|
|
// wx.redirectTo({
|
|
|
// url: '/pages/images/images'
|
|
|
// })
|
|
@@ -548,7 +589,7 @@ Page({
|
|
|
})
|
|
|
},
|
|
|
onReachBottom() {
|
|
|
- var that = this;
|
|
|
+ var that = this;
|
|
|
if (that.data.list.length > 0) {
|
|
|
console.log(that.data.list)
|
|
|
wx.showLoading({
|
|
@@ -560,4 +601,4 @@ Page({
|
|
|
});
|
|
|
that.getGoodsList();
|
|
|
}
|
|
|
-})
|
|
|
+})
|