mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-11-30 10:59:47 +08:00
小程序适配icon价格展示
This commit is contained in:
parent
4efe3e5b43
commit
305f927d02
@ -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),
|
||||
});
|
||||
|
||||
// 不能选择规格处理
|
||||
|
@ -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),
|
||||
});
|
||||
|
||||
// 不能选择规格处理
|
||||
|
Loading…
Reference in New Issue
Block a user