|
|
@@ -637,7 +637,7 @@ function fliterShopByDistance(itemId, shops, lat, lng){
|
|
|
|
|
|
// 获取产品信息
|
|
|
function getProductInfo(productId, fieldName) {
|
|
|
- for (const k in productInfo) {
|
|
|
+ for (const k in iMT_DynProducts) {
|
|
|
const { picUrl, title, price, count, itemId, inventory, areaLimitTag, areaLimit } = iMT_DynProducts[k];
|
|
|
if (productId === itemId) {
|
|
|
return productInfo[k][fieldName];
|