|
@@ -263,32 +263,21 @@ function BigScreenHome() {
|
|
|
</div>
|
|
|
<div class="main">
|
|
|
<div ref={$ele} class="mainbody left">
|
|
|
- <div style={{ "margin-bottom": "6px" }}>
|
|
|
- <Show when={eHeight() > 0 && oriData.watch_rank && oriData.watch_rank.name} >
|
|
|
- <ListeningRate
|
|
|
- title={oriData.watch_rank.name}
|
|
|
- list={oriData.watch_rank.data}
|
|
|
- width={Math.floor($ele.offsetWidth / 2 - 5)}
|
|
|
- height={eHeight()}
|
|
|
- />
|
|
|
- </Show>
|
|
|
- <Show when={eHeight() > 0 && oriData.activity_spread && oriData.activity_spread.name}>
|
|
|
- <Activity
|
|
|
- styleCss={{ marginLeft: '6px' }}
|
|
|
- title={oriData.activity_spread.name}
|
|
|
- list={oriData.activity_spread.data}
|
|
|
- width={Math.floor($ele.offsetWidth / 2 - 10)}
|
|
|
- height={eHeight()}
|
|
|
- />
|
|
|
- </Show>
|
|
|
- </div>
|
|
|
+ <Show when={eHeight() > 0 && oriData.watch_rank && oriData.watch_rank.name} >
|
|
|
+ <ListeningRate
|
|
|
+ title={oriData.watch_rank.name}
|
|
|
+ list={oriData.watch_rank.data}
|
|
|
+ width={Math.floor($ele.offsetWidth)}
|
|
|
+ height={(mainHeight - 54) / 3}
|
|
|
+ />
|
|
|
+ </Show>
|
|
|
<Show when={eHeight() > 0 && oriData.schedule_rank && oriData.schedule_rank.name} >
|
|
|
- <div style={{ "margin-bottom": "6px" }}>
|
|
|
+ <div style={{ "margin-bottom": "6px", "margin-top": "6px" }}>
|
|
|
<Column
|
|
|
title={oriData.schedule_rank.name}
|
|
|
list={oriData.schedule_rank.data}
|
|
|
width={Math.floor($ele.offsetWidth)}
|
|
|
- height={(mainHeight - 106 - eHeight()) / 2}
|
|
|
+ height={(mainHeight - 54) / 3}
|
|
|
/>
|
|
|
</div>
|
|
|
</Show>
|
|
@@ -297,12 +286,12 @@ function BigScreenHome() {
|
|
|
title={oriData.user_trend.name}
|
|
|
list={oriData.user_trend.data}
|
|
|
width={Math.floor($ele.offsetWidth)}
|
|
|
- height={(mainHeight - 106 - eHeight()) / 2}
|
|
|
+ height={(mainHeight - 54) / 3}
|
|
|
/>
|
|
|
</Show>
|
|
|
</div>
|
|
|
<div class="mainbody center">
|
|
|
- <div style={{ "margin-bottom": "6px" }}>
|
|
|
+ <div style={{ "margin-bottom": "6px" }}>
|
|
|
<Show when={eHeight() > 0 && oriData.cm_area && oriData.cm_area.name}>
|
|
|
<Map
|
|
|
title={oriData.cm_area.name}
|
|
@@ -323,26 +312,35 @@ function BigScreenHome() {
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="mainbody right">
|
|
|
- <Show when={eHeight() > 0 && oriData.media_read_trend && oriData.media_read_trend.name}>
|
|
|
- <div style={{ "margin-bottom": "6px" }}>
|
|
|
+ <Show when={eHeight() > 0 && oriData.activity_spread && oriData.activity_spread.name}>
|
|
|
+ <Activity
|
|
|
+ styleCss={{ marginLeft: '6px' }}
|
|
|
+ title={oriData.activity_spread.name}
|
|
|
+ list={oriData.activity_spread.data}
|
|
|
+ width={Math.floor($ele.offsetWidth / 2 - 20)}
|
|
|
+ height={(mainHeight - 104) / 3 * 2}
|
|
|
+ />
|
|
|
+ </Show>
|
|
|
+ <div style={{ display: "inline-block", width: "50%" }}>
|
|
|
+ <Show when={eHeight() > 0 && oriData.media_read_trend && oriData.media_read_trend.name}>
|
|
|
<SelfPlatform
|
|
|
+ styleCss={{ marginBottom: '6px' }}
|
|
|
title={oriData.media_read_trend.name}
|
|
|
list={oriData.media_read_trend.data}
|
|
|
- width={Math.floor($ele.offsetWidth - 20)}
|
|
|
+ width={Math.floor($ele.offsetWidth / 2 - 10)}
|
|
|
height={(mainHeight - 104) / 3}
|
|
|
/>
|
|
|
- </div>
|
|
|
- </Show>
|
|
|
- <Show when={eHeight() > 0 && oriData.media_spread_trend && oriData.media_spread_trend.name}>
|
|
|
- <div style={{ "margin-bottom": "6px" }}>
|
|
|
+ </Show>
|
|
|
+ <Show when={eHeight() > 0 && oriData.media_spread_trend && oriData.media_spread_trend.name}>
|
|
|
<NewMediaTrend
|
|
|
+ styleCss={{ marginBottom: '6px' }}
|
|
|
title={oriData.media_spread_trend.name}
|
|
|
list={oriData.media_spread_trend.data}
|
|
|
- width={Math.floor($ele.offsetWidth - 20)}
|
|
|
+ width={Math.floor($ele.offsetWidth / 2 - 10)}
|
|
|
height={(mainHeight - 104) / 3}
|
|
|
/>
|
|
|
- </div>
|
|
|
- </Show>
|
|
|
+ </Show>
|
|
|
+ </div>
|
|
|
<Show when={eHeight() > 0 && oriData.media_spread && oriData.media_spread.name}>
|
|
|
<NewMedia
|
|
|
title={oriData.media_spread.name}
|