|
|
|
@ -3,7 +3,7 @@ import { book, publicApi, userProduct } from "../../redux/actions"; |
|
|
|
|
import { connect } from "react-redux"; |
|
|
|
|
import { Link } from "react-router-dom"; |
|
|
|
|
import Product from "../../components/Product"; |
|
|
|
|
import ScrollContainer from 'react-indiana-drag-scroll' |
|
|
|
|
// import ScrollContainer from 'react-indiana-drag-scroll'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import img1 from "../../assets/img/Group 1344.svg"; |
|
|
|
@ -15,7 +15,7 @@ import img6 from "../../assets/img/Group 1362.svg"; |
|
|
|
|
import ShoppingCart from "../../components/ShoppingCart"; |
|
|
|
|
import ServicePopUp from "./service"; |
|
|
|
|
import Games from "../dashboard2/Games"; |
|
|
|
|
import Packages from "../dashboard2/Packages"; |
|
|
|
|
// import Packages from "../dashboard2/Packages";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -34,14 +34,7 @@ const Services = ({ |
|
|
|
|
videos, |
|
|
|
|
pushToCart, |
|
|
|
|
}) => { |
|
|
|
|
const [checked, setChecked] = useState([ |
|
|
|
|
false, |
|
|
|
|
false, |
|
|
|
|
false, |
|
|
|
|
false, |
|
|
|
|
false, |
|
|
|
|
false, |
|
|
|
|
]); |
|
|
|
|
|
|
|
|
|
const [filterCheck, setFilterCheck] = useState([false, false, false, false]); |
|
|
|
|
const [filter, setFilter] = useState({ |
|
|
|
|
search: "", |
|
|
|
@ -61,9 +54,9 @@ const Services = ({ |
|
|
|
|
classMinute: "", |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
const onChange = (name, value) => { |
|
|
|
|
setFilter({ ...filter, [name]: value }); |
|
|
|
|
}; |
|
|
|
|
// const onChange = (name, value) => {
|
|
|
|
|
// setFilter({ ...filter, [name]: value });
|
|
|
|
|
// };
|
|
|
|
|
|
|
|
|
|
useEffect(() => { |
|
|
|
|
getList(); |
|
|
|
@ -439,7 +432,8 @@ if (!isMobile){ |
|
|
|
|
/> |
|
|
|
|
<div className="w-11/12 border-b border-gray-200"></div> |
|
|
|
|
|
|
|
|
|
<div className="flex items-center mx-4 my-4"> |
|
|
|
|
{ |
|
|
|
|
gameId !== 6 && <div className="flex items-center mx-4 my-4"> |
|
|
|
|
<svg |
|
|
|
|
xmlns="http://www.w3.org/2000/svg" |
|
|
|
|
width="40" |
|
|
|
@ -577,6 +571,7 @@ if (!isMobile){ |
|
|
|
|
)} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
} |
|
|
|
|
<div className="w-11/12 border-b border-gray-200"></div> |
|
|
|
|
|
|
|
|
|
<div |
|
|
|
@ -652,6 +647,34 @@ if (!isMobile){ |
|
|
|
|
/> |
|
|
|
|
</Link> |
|
|
|
|
))} |
|
|
|
|
{ |
|
|
|
|
gameId == 6 &&
|
|
|
|
|
<div className="w-full p-8 py-10 flex flex-col justify-between items-center " > |
|
|
|
|
|
|
|
|
|
<div className="w-full text-right mb-4"> |
|
|
|
|
<h1 className="text-red26 font-bold">افزایش مبلغ دلخواه</h1> |
|
|
|
|
<p className="text-red26 text-sm">لطفا مبلغ دلخواه خود را در کادر روبرو وارد کنید</p> |
|
|
|
|
</div> |
|
|
|
|
<div className="flex w-full mb-4"> |
|
|
|
|
<input
|
|
|
|
|
placeholder="12,000,000" |
|
|
|
|
className="border border-red5B rounded-lg h-14 w-3/4 text-center rounded-l-none border-l-0 px-4 outline-none" |
|
|
|
|
/><p className="border flex justify-center items-center border-red5B rounded-lg h-14 w-1/4 text-center rounded-r-none border-r-0 px-4">ریال</p> |
|
|
|
|
</div> |
|
|
|
|
<div className="flex w-full mb-4"> |
|
|
|
|
<p className="border flex justify-center items-center border-red52 rounded-lg h-14 w-1/5 text-center rounded-l-none border-l-0 px-10">بابت</p> |
|
|
|
|
<input
|
|
|
|
|
placeholder="شارژ حساب" |
|
|
|
|
className="border border-red52 rounded-lg h-14 w-4/5 text-center rounded-r-none border-r-0 px-4 outline-none" |
|
|
|
|
/> |
|
|
|
|
</div> |
|
|
|
|
<button className="cursor-pointer text-blue52 border border-blueDF w-full rounded-lg font-bold text-sm px-6 h-14" |
|
|
|
|
style={{background: 'rgba(211, 246, 255, 0.44)'}}> |
|
|
|
|
افزودن به سبد خرید |
|
|
|
|
</button> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
) |
|
|
|
|