reza added some change

master
Reza_ashrafi 3 years ago
parent 2d6b865f17
commit 6415649000
  1. 24
      bottomNavigation.json
  2. 10
      filters.json
  3. 2
      navigation/index.js
  4. 7
      src/screens/Product/components/Comments.js

@ -0,0 +1,24 @@
{
"bottomNavigationList": {
"home": {
"label": "خانه",
"isActive": true
},
"products": {
"label": "کتابها",
"isActive": true
},
"vod": {
"label": "ویدئوها",
"isActive": true
},
"cart": {
"label": "سبد خرید",
"isActive": true
},
"profile": {
"label": "پروفایل",
"isActive": true
}
}
}

@ -0,0 +1,10 @@
{
"sort": ["مرتب سازی", "مرتب سازی", "محبوب ترین", "جدیدترین"],
"productTypes" : [
"نوع محصول",
"کتاب فیزیکی",
"کتاب دیجیتال",
"دوره ویدئویی",
"بسته های آموزشی"
]
}

@ -313,7 +313,7 @@ const BottomTabNavigator = ({ theme, userProducts }) => {
backgroundColor:
theme === "light" ? Colors.theme1.greenCF : Colors.theme1.greenCF,
fontSize: fontSize.sm,
paddingTop: fontSize.sm / 4,
paddingTop: 2,
color: theme === "light" ? Colors.theme1.white : Colors.theme1.dark,
borderWidth: 1,
borderColor:

@ -163,7 +163,7 @@ const AddComment = ({ addComment, productId, theme, ...props }) => {
value={comment.title}
placeholder="عنوان نظر ..."
onChangeText={(text) => setCommentForm({...commentForm, title : text})}
placeholderTextColor={theme === 'light' ? "auto" : Colors.theme1.white + 'aa'}
placeholderTextColor={theme === 'light' ? Colors.theme1.gray2077 : Colors.theme1.white + 'aa'}
/>
<TextInput
style={[
@ -175,6 +175,7 @@ const AddComment = ({ addComment, productId, theme, ...props }) => {
textAlign: "right",
fontFamily: "light",
borderWidth: 1,
borderColor: theme === 'light' ? Colors.theme1.grayE3 : Colors.theme1.white + '55',
},
@ -184,7 +185,7 @@ const AddComment = ({ addComment, productId, theme, ...props }) => {
textAlignVertical="top"
placeholder="متن نظر ..."
onChangeText={(text) => setCommentForm({...commentForm, text})}
placeholderTextColor={theme === 'light' ? "auto" : Colors.theme1.white + 'aa'}
placeholderTextColor={theme === 'light' ? Colors.theme1.gray2077 : Colors.theme1.white + 'aa'}
/>
<View style={tw("w-full mt-4")}>
<Pressable
@ -202,7 +203,7 @@ const AddComment = ({ addComment, productId, theme, ...props }) => {
const mapStateToProps = (state) => ({
orderFullList: state.userFactor.fullList,
theme1: state.publicApi.theme1,
theme: state.publicApi.theme,
});
const mapDispatchToProps = {

Loading…
Cancel
Save