From 979ceaecd1d92e345b34bbc2f89032b22c35235c Mon Sep 17 00:00:00 2001 From: Pkpedram Date: Tue, 5 Apr 2022 17:47:05 +0430 Subject: [PATCH] Some Changes + Charge Wallet 3 digits separating --- .../Calendar/CalendarComponents/Calendar.js | 4 ++-- src/components/Product/index.js | 2 +- src/components/ShoppingCart/index.js | 2 +- src/components/exam/Carousel/index.css | 4 ++-- src/components/exam/Carousel/index.js | 8 ++++---- src/view/addExam/views/OkExam.js | 2 +- src/view/chatPage/index.js | 2 +- src/view/services/index.js | 18 +++++++++++------- src/view/services/service/index.js | 2 +- 9 files changed, 24 insertions(+), 20 deletions(-) diff --git a/src/components/Calendar/CalendarComponents/Calendar.js b/src/components/Calendar/CalendarComponents/Calendar.js index 185b81a..8d45e53 100644 --- a/src/components/Calendar/CalendarComponents/Calendar.js +++ b/src/components/Calendar/CalendarComponents/Calendar.js @@ -249,7 +249,7 @@ let active_list; type={type} /> */}
-
+
{month}
،
{year}
@@ -312,7 +312,7 @@ let active_list; { eventInFooter !== null && eventInFooter !== undefined &&
{ - type == 'dashboard' ? <>
رویداد ها:

{eventInFooter ? eventInFooter : 'رویدادی در این روز وجود ندارد!'}

: eventInFooter + type == 'dashboard' ? <>
رویدادها:

{eventInFooter ? eventInFooter : 'رویدادی در این روز وجود ندارد!'}

: eventInFooter } diff --git a/src/components/Product/index.js b/src/components/Product/index.js index 482dde2..f36e91d 100644 --- a/src/components/Product/index.js +++ b/src/components/Product/index.js @@ -270,7 +270,7 @@ const ProductDesign = ({

{productPrice} تومان

diff --git a/src/components/ShoppingCart/index.js b/src/components/ShoppingCart/index.js index 1d7908b..af7c00c 100644 --- a/src/components/ShoppingCart/index.js +++ b/src/components/ShoppingCart/index.js @@ -259,7 +259,7 @@ function ShoppingCart({ :
-
3 && 'overflow-x-hidden overflow-scroll'}`} style={{height: '42%'}}> +
3 && 'overflow-x-hidden overflow-scroll'}`} style={{height: '60%'}}> {list.map((product, index) => ( diff --git a/src/components/exam/Carousel/index.css b/src/components/exam/Carousel/index.css index e9a0a73..b1404ea 100644 --- a/src/components/exam/Carousel/index.css +++ b/src/components/exam/Carousel/index.css @@ -34,7 +34,7 @@ font-size: 17px; font-family: IRANSans; color: #B1B1B1; - margin-right: 35px; + /* margin-right: 35px; */ position: relative; cursor: pointer; } @@ -99,7 +99,7 @@ /* height: 280px; */ margin: 30px 0; /* margin-top: 30px; */ - margin-right: 35px; + /* margin-right: 35px; */ display: flex; position: absolute; top: 0; diff --git a/src/components/exam/Carousel/index.js b/src/components/exam/Carousel/index.js index 4bf1232..efacb03 100644 --- a/src/components/exam/Carousel/index.js +++ b/src/components/exam/Carousel/index.js @@ -399,7 +399,7 @@ const MyExamList = ({isMobile}) => {
change_tab(item.id)} > {item.tab_name} @@ -411,10 +411,10 @@ const MyExamList = ({isMobile}) => { - {data.map((item) => ( -
+ {data.map((item, index) => ( +
{item.isActive && ( -
+
{item.isActive && item.tab_content.map((item) => ( { بازگشت به پنل ادمین - diff --git a/src/view/chatPage/index.js b/src/view/chatPage/index.js index e4b6980..d98919d 100644 --- a/src/view/chatPage/index.js +++ b/src/view/chatPage/index.js @@ -30,7 +30,7 @@ const ChatPage = ({ { messages.map((message) => (
- + {message.userId == contact.id && }

{message.value}

diff --git a/src/view/services/index.js b/src/view/services/index.js index 57b1452..5d48bc0 100644 --- a/src/view/services/index.js +++ b/src/view/services/index.js @@ -54,7 +54,7 @@ const Services = ({ classHour: "", classMinute: "", }); - + const [sharzhVal, setSharzhVal] = useState(''); // const onChange = (name, value) => { // setFilter({ ...filter, [name]: value }); // }; @@ -407,6 +407,8 @@ const Services = ({ setSharzhVal(e.target.value)} />
@@ -494,16 +496,16 @@ const Services = ({
- setFilterCheck('') + setFilterCheck('Online') } >

آنلاین

- {filterCheck == '' && ( + {filterCheck == 'Online' && (
- setFilterCheck('') + setFilterCheck('offLine') } >

حضوری

- {filterCheck == '' && ( + {filterCheck == 'offLine' && (
setSharzhVal(e.target.value)} />