update 8 files

front
amirhoseingorji 2 years ago
parent 1f62402a2b
commit 06623f8a24
  1. 1
      src/views/ChatRoom/Body/Message/MultiSelect/index.js
  2. 2
      src/views/ChatRoom/Body/Message/Select/index.js
  3. 2
      src/views/ChatRoom/Body/Message/Slider/index.js
  4. 2
      src/views/ChatRoom/Body/Message/Sort/index.js
  5. 2
      src/views/ChatRoom/Body/Message/Tap/index.js
  6. 8
      src/views/Home/HomeSlider/Header/index.js
  7. 9
      src/views/Home/HomeStatic/index.js
  8. 20
      src/views/Home/HomeStatic/index.scss

@ -35,7 +35,6 @@ export default class RadioMessage extends Component {
className="message-2d__submit"
onClick={() => toast.success(window.t("ثبت شد"))}
>
ثبت")}{" "}
<ArrowRightAltIcon
style={{ color: "white", width: 32, height: 32, marginLeft: 10 }}
/>

@ -28,7 +28,7 @@ export default class RadioMessage extends Component {
className="message-2d__submit"
onClick={() => action({ value })}
>
ثبت")} <ArrowRightAltIcon />
<ArrowRightAltIcon />
</button>
)}
</div>

@ -51,7 +51,7 @@ export default class SliderMessage extends Component {
</Grid>
{isActive && (
<button className="message-2d__submit" onClick={() => action()}>
ثبت")} <ArrowRightAltIcon />
<ArrowRightAltIcon />
</button>
)}
</div>

@ -27,7 +27,7 @@ export default class DraggableMessage extends Component {
/>
{isActive && (
<button className="message-2d__submit" onClick={() => action()}>
ثبت")} <ArrowRightAltIcon />
<ArrowRightAltIcon />
</button>
)}
</div>

@ -24,7 +24,7 @@ export default class DraggableMessage extends Component {
className="message-2d__submit"
onClick={(e) => this.props.action({ value: e.target.value })}
>
ثبت")}{" "}
ثبت{" "}
</button>
);
}

@ -12,8 +12,10 @@ export default class Header extends Component {
style={{
minWidth: `${data.width}`,
height: height,
cursor: "pointer",
}}
className={`slider-header d-flex ${window.lang === "en" ? "" : ""}`}
onClick={() => data.link && window.open(data.link, "_blank")}
>
<div
className="slider-header__right d-flex"
@ -46,7 +48,11 @@ export default class Header extends Component {
>
<div
className="mobile-slider-header__right d-flex"
style={{ backgroundColor: data.backgroundColor }}
style={{
backgroundColor: data.backgroundColor,
cursor: "pointer",
}}
onClick={() => data.link && window.open(data.link, "_blank")}
>
<img
src={`https://dnvn.ir/api/v1/file/${data.fileId}`}

@ -74,15 +74,20 @@ const Item = (props) => {
style={{
width: `${props.data.width}%`,
height: props.height,
cursor: "pointer",
}}
className={`home-static__list--item d-flex ${
window.lang === "en" ? "flex-row-reverse" : ""
}`}
onClick={() =>
props.data.link && window.open(props.data.link, "_blank")
}
>
<div
className={`d-flex flex-column ${
window.lang === "en" ? "align-items-end" : ""
}`}
style={{}}
>
<h2 style={{ color: "#02733c", fontSize: fontSize.desktop.h2 }}>
{props.data.topText}
@ -98,9 +103,13 @@ const Item = (props) => {
</div>
) : (
<div
onClick={() =>
props.data.link && window.open(props.data.link, "_blank")
}
style={{
width: `${props.data.width}%`,
height: props.height,
cursor: "pointer",
}}
className={`home-static__list2--item ${
window.lang === "en" ? "d-flex" : ""

@ -6,7 +6,7 @@
justify-content: space-between;
width: 100%;
&--item {
box-shadow: 0px 0px 5px rgb(200, 200, 200);
// box-shadow: 0px 0px 5px rgb(200, 200, 200);
font-family: numeralMedium;
align-items: center;
border-radius: 10px;
@ -19,9 +19,12 @@
}
}
img {
margin-right: 20px;
// margin-right: 20px;
border-radius: 10px;
height: 70px;
width: 100%;
height: 100%;
object-fit: contain;
// height: 70px;
}
}
}
@ -30,12 +33,12 @@
// width: 50%;
&--item {
// box-shadow: 0px 0px 5px rgb(200, 200, 200);
border: 1px solid #eee;
// border: 1px solid #eee;
font-family: numeralMedium;
align-items: center;
border-radius: 10px;
margin: 5px;
padding: 15px 10px;
// padding: 15px 10px;
justify-content: space-around;
text-align: center;
div {
@ -47,10 +50,13 @@
}
}
img {
padding-top: 5px;
// padding-top: 5px;
margin: auto;
// border-radius: 10px;
height: 35px;
// height: 35px;
width: 100%;
height: 100%;
object-fit: contain;
}
}
}

Loading…
Cancel
Save