小程序适配icon价格展示

This commit is contained in:
gongfuxiang 2019-06-19 00:55:02 +08:00
parent 4efe3e5b43
commit 305f927d02
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ Page({
goods_spec_base_inventory: data.goods.inventory,
goods_spec_base_images: data.goods.images,
show_field_price_text: data.goods.show_field_price_text.replace(/<[^>]+>/g, "") || null,
show_field_price_text: (data.goods.show_field_price_text == '销售价') ? null : (data.goods.show_field_price_text.replace(/<[^>]+>/g, "") || null),
});
// 不能选择规格处理

View File

@ -97,7 +97,7 @@ Page({
goods_spec_base_inventory: data.goods.inventory,
goods_spec_base_images: data.goods.images,
show_field_price_text: data.goods.show_field_price_text.replace(/<[^>]+>/g, "") || null,
show_field_price_text: (data.goods.show_field_price_text == '销售价') ? null : (data.goods.show_field_price_text.replace(/<[^>]+>/g, "") || null),
});
// 不能选择规格处理