|
|
|
@ -176,7 +176,7 @@ const Main = ({ books, filterOptions, grades, mobile, theme, orientation }) => { |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
> |
|
|
|
|
<View style={tw("w-full flex")}> |
|
|
|
|
<View style={tw("w-full flex pb-2")}> |
|
|
|
|
<Image |
|
|
|
|
resizeMode="contain" |
|
|
|
|
source={{ |
|
|
|
@ -205,7 +205,7 @@ const Main = ({ books, filterOptions, grades, mobile, theme, orientation }) => { |
|
|
|
|
: Colors.theme1.white, |
|
|
|
|
}} |
|
|
|
|
> |
|
|
|
|
{"کتاب دیجیتال" + " " + product?.name} |
|
|
|
|
{ product?.name} |
|
|
|
|
</Text> |
|
|
|
|
<Text |
|
|
|
|
style={{ |
|
|
|
@ -220,7 +220,7 @@ const Main = ({ books, filterOptions, grades, mobile, theme, orientation }) => { |
|
|
|
|
{"پایه" + " " + grades[product?.gradeId]} |
|
|
|
|
</Text> |
|
|
|
|
</View> |
|
|
|
|
<View |
|
|
|
|
{/* <View |
|
|
|
|
style={tw( |
|
|
|
|
"flex flex-row-reverse items-center justify-center pb-1 mt-3" |
|
|
|
|
)} |
|
|
|
@ -256,10 +256,10 @@ const Main = ({ books, filterOptions, grades, mobile, theme, orientation }) => { |
|
|
|
|
> |
|
|
|
|
تومان |
|
|
|
|
</Text> |
|
|
|
|
</View> |
|
|
|
|
</View> */} |
|
|
|
|
</Pressable> |
|
|
|
|
) : null} |
|
|
|
|
{( |
|
|
|
|
{/* {( |
|
|
|
|
productType |
|
|
|
|
? productType === ("محصولات فیزیکی" || "همه محصولات") |
|
|
|
|
: true |
|
|
|
@ -331,41 +331,8 @@ const Main = ({ books, filterOptions, grades, mobile, theme, orientation }) => { |
|
|
|
|
{"پایه" + " " + grades[product?.gradeId]} |
|
|
|
|
</Text> |
|
|
|
|
</View> |
|
|
|
|
<View |
|
|
|
|
style={tw( |
|
|
|
|
"flex flex-row-reverse items-center justify-center pb-1 mt-2" |
|
|
|
|
)} |
|
|
|
|
> |
|
|
|
|
<Text |
|
|
|
|
style={[ |
|
|
|
|
tw("text-center ml-1"), |
|
|
|
|
{ |
|
|
|
|
color: |
|
|
|
|
theme === "light" |
|
|
|
|
? Colors.theme1.gray20 |
|
|
|
|
: Colors.theme1.white, |
|
|
|
|
fontFamily: "bold", |
|
|
|
|
fontSize: mobile ? fontSize.xl2 : fontSize.lg, |
|
|
|
|
}, |
|
|
|
|
]} |
|
|
|
|
> |
|
|
|
|
{separate(product?.product[0]?.price)} |
|
|
|
|
</Text> |
|
|
|
|
<Text |
|
|
|
|
style={{ |
|
|
|
|
fontSize: fontSize.sm, |
|
|
|
|
color: |
|
|
|
|
theme === "light" |
|
|
|
|
? Colors.theme1.gray20 |
|
|
|
|
: Colors.theme1.white, |
|
|
|
|
fontFamily: "regular", |
|
|
|
|
}} |
|
|
|
|
> |
|
|
|
|
تومان |
|
|
|
|
</Text> |
|
|
|
|
</View> |
|
|
|
|
</Pressable> |
|
|
|
|
) : null} |
|
|
|
|
) : null} */} |
|
|
|
|
</React.Fragment> |
|
|
|
|
)); |
|
|
|
|
}; |
|
|
|
|