|
@@ -11,8 +11,7 @@ import DistributorEnquireLocation from "./components/DistributorEnquireLocation"
|
|
|
import AddMemberTrend from "./components/addMemberTrend";
|
|
|
import AddProductTrend from "./components/addProductTrend";
|
|
|
import SearchRankCloud from "./components/SearchRankCloud";
|
|
|
-import MapContainer from "./components/MapContainer";
|
|
|
-
|
|
|
+import MemberLocation from "./components/MemberLocation";
|
|
|
|
|
|
@connect(({ bigscreen }) => ({
|
|
|
bigscreen,
|
|
@@ -117,7 +116,7 @@ class BigScreen extends React.Component {
|
|
|
const screenContainer = document.querySelector(
|
|
|
`.${styles.screenContainer}`
|
|
|
);
|
|
|
- const mapContainer = document.querySelector(`.${styles.mapContainer}`);
|
|
|
+ // const mapContainer = document.querySelector(`.${styles.mapContainer}`);
|
|
|
if (screenContainer) {
|
|
|
screenContainer.style.transform = `scale(${scale}) translate(-50%, -50%)`;
|
|
|
screenContainer.style.transformOrigin = "0 0";
|
|
@@ -126,13 +125,13 @@ class BigScreen extends React.Component {
|
|
|
screenContainer.style.margin = "0";
|
|
|
}
|
|
|
|
|
|
- if (mapContainer) {
|
|
|
- mapContainer.style.transform = `scale(${scale}) translate(-50%, -50%)`;
|
|
|
- mapContainer.style.transformOrigin = "0 0";
|
|
|
- mapContainer.style.left = "50%";
|
|
|
- mapContainer.style.top = "50%";
|
|
|
- mapContainer.style.margin = "0";
|
|
|
- }
|
|
|
+ // if (mapContainer) {
|
|
|
+ // mapContainer.style.transform = `scale(${scale}) translate(-50%, -50%)`;
|
|
|
+ // mapContainer.style.transformOrigin = "0 0";
|
|
|
+ // mapContainer.style.left = "50%";
|
|
|
+ // mapContainer.style.top = "50%";
|
|
|
+ // mapContainer.style.margin = "0";
|
|
|
+ // }
|
|
|
};
|
|
|
|
|
|
showRenderTime = () => {
|
|
@@ -160,13 +159,13 @@ class BigScreen extends React.Component {
|
|
|
{/* 左侧 */}
|
|
|
<div className={styles.contentPanelLeft}>
|
|
|
{/* <PanelBlock height="200px" /> */}
|
|
|
- <PanelBlock height='560px' marginBottom='48px'>
|
|
|
+ <PanelBlock width="932px" height="560px" marginBottom="48px">
|
|
|
<PortalTraffic />
|
|
|
</PanelBlock>
|
|
|
- <PanelBlock height='560px' marginBottom='48px'>
|
|
|
+ <PanelBlock width="932px" height="560px" marginBottom="48px">
|
|
|
<Enquire />
|
|
|
</PanelBlock>
|
|
|
- <PanelBlock flexDirection="row" height='608px'>
|
|
|
+ <PanelBlock flexDirection="row" height="608px">
|
|
|
<PanelBlock>
|
|
|
<OverseasEnquireLocation />
|
|
|
</PanelBlock>
|
|
@@ -178,15 +177,19 @@ class BigScreen extends React.Component {
|
|
|
|
|
|
{/* 中间 */}
|
|
|
<div className={styles.contentPanelCenter}>
|
|
|
- <PanelBlock justifyContent="flex-start" height='560px' marginBottom='48px'>
|
|
|
+ <PanelBlock
|
|
|
+ justifyContent="flex-start"
|
|
|
+ height="560px"
|
|
|
+ marginBottom="48px"
|
|
|
+ >
|
|
|
<OverView />
|
|
|
</PanelBlock>
|
|
|
- <PanelBlock height='560px' marginBottom='48px'/>
|
|
|
- <PanelBlock flexDirection="row" height='608px'>
|
|
|
- <PanelBlock>
|
|
|
+ <PanelBlock height="560px" marginBottom="48px" />
|
|
|
+ <PanelBlock flexDirection="row" height="608px">
|
|
|
+ <PanelBlock width="822px" marginRight="64px">
|
|
|
<AddMemberTrend />
|
|
|
</PanelBlock>
|
|
|
- <PanelBlock>
|
|
|
+ <PanelBlock width="822px">
|
|
|
<AddProductTrend />
|
|
|
</PanelBlock>
|
|
|
</PanelBlock>
|
|
@@ -194,16 +197,15 @@ class BigScreen extends React.Component {
|
|
|
|
|
|
{/* 右侧 */}
|
|
|
<div className={styles.contentPanelRight}>
|
|
|
- <PanelBlock>
|
|
|
+ <PanelBlock height="864px" width="932px" marginBottom="48px">
|
|
|
<SearchRankCloud />
|
|
|
</PanelBlock>
|
|
|
- <PanelBlock />
|
|
|
+ <PanelBlock height="864px" width="932px" />
|
|
|
</div>
|
|
|
+
|
|
|
+ <div className={styles.mapContainer}>{"ss"}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div className={styles.mapContainer}>
|
|
|
- <MapContainer />
|
|
|
- </div>
|
|
|
</div>
|
|
|
);
|
|
|
}
|