|
|
@@ -82,7 +82,7 @@ export default function GoodsCard({
|
|
|
)}
|
|
|
|
|
|
{/* 商品标签 */}
|
|
|
- {data.tags && data.tags.length > 0 && (
|
|
|
+ {/* {data.tags && data.tags.length > 0 && (
|
|
|
<View className="goods-card__tags">
|
|
|
{data.tags.map((tag, index) => (
|
|
|
<Text key={index} className="goods-card__tag">
|
|
|
@@ -90,7 +90,7 @@ export default function GoodsCard({
|
|
|
</Text>
|
|
|
))}
|
|
|
</View>
|
|
|
- )}
|
|
|
+ )} */}
|
|
|
</View>
|
|
|
|
|
|
<View className="goods-card__down">
|
|
|
@@ -101,19 +101,19 @@ export default function GoodsCard({
|
|
|
<Text className="goods-card__current-price">
|
|
|
{formatPrice(data.price)}
|
|
|
</Text>
|
|
|
- {data.originPrice && isValidityLinePrice && (
|
|
|
+ {/* {data.originPrice && isValidityLinePrice && (
|
|
|
<Text className="goods-card__origin-price">
|
|
|
{currency}{formatPrice(data.originPrice)}
|
|
|
</Text>
|
|
|
- )}
|
|
|
+ )} */}
|
|
|
</View>
|
|
|
)}
|
|
|
|
|
|
{/* 购物车按钮 */}
|
|
|
<View className="goods-card__add-cart" onClick={handleAddCart}>
|
|
|
<TDesignIcon
|
|
|
- name="cartAdd"
|
|
|
- size="48rpx"
|
|
|
+ name="shopping-cart"
|
|
|
+ size="64rpx"
|
|
|
color="#FA550F"
|
|
|
/>
|
|
|
</View>
|