style: 地图: 红色

feature/hotel-cruise
Lei OT 2 years ago
parent 08b19ee3a9
commit d0d0cb897f

@ -48,19 +48,33 @@ export default observer((props) => {
color: { color: {
field: valueField || 'value', field: valueField || 'value',
value: [ value: [
'#001D70', '#820C1B',
'#0047A5', '#a31022',
'#1A4397', '#ac2738',
'#2555B7', '#b53f4e',
'#3165D1', '#be5764',
'#3D76DD', '#c76f7a',
'#467BE8', '#d18790',
'#6296FE', '#da9fa6',
'#7EA6F9', '#e3b7bc',
'#98B7F7', '#eccfd2',
'#BDD0F8', '#f5e7e8',
'#DDE6F7', '#fde7ea',
'#F2F5FC'].reverse(),
// '#001D70',
// '#0047A5',
// '#1A4397',
// '#2555B7',
// '#3165D1',
// '#3D76DD',
// '#467BE8',
// '#6296FE',
// '#7EA6F9',
// '#98B7F7',
// '#BDD0F8',
// '#DDE6F7',
// '#F2F5FC'
].reverse(),
scale: { type: 'quantile' }, scale: { type: 'quantile' },
}, },
viewLevel: { viewLevel: {

@ -25,7 +25,7 @@ const topSeries = [
{ key: 'country', value: 'country', label: '国籍', graphVisible: true }, { key: 'country', value: 'country', label: '国籍', graphVisible: true },
{ key: 'webcode', value: 'webcode', label: '站点', graphVisible: false }, { key: 'webcode', value: 'webcode', label: '站点', graphVisible: false },
{ key: 'bizarea', value: 'bizarea', label: '国境', graphVisible: false }, { key: 'bizarea', value: 'bizarea', label: '国境', graphVisible: false },
{ key: 'destinationcountry', value: 'destinationcountry', label: '目的地国籍', graphVisible: false }, { key: 'destinationcountry', value: 'destinationcountry', label: '目的地国籍', graphVisible: true },
]; ];
const allGroupTypes = [ const allGroupTypes = [
@ -320,7 +320,7 @@ export default observer(() => {
</Col> </Col>
) : null ) : null
)} )}
<Col key={'mapG'} span={24}> <Col key={'mapG'} span={22}>
<hr /> <hr />
<h3>来源国籍分布</h3> <h3>来源国籍分布</h3>
<Spin spinning={topData?.country?.loading || false}> <Spin spinning={topData?.country?.loading || false}>
@ -329,15 +329,22 @@ export default observer(() => {
</div> </div>
</Spin> </Spin>
</Col> </Col>
<Col key={'mapDestinationCountry'} span={24}> <Col key={'mapG-r'} span={1}></Col>
<Col key={'mapDestinationCountry'} span={22}>
<hr /> <hr />
<h3>目的地国籍分布</h3> <h3>目的地国籍分布</h3>
<Spin spinning={DistributionStore.pageLoading || false}> {/* <Spin spinning={DistributionStore.pageLoading || false}>
<div id="mapDestinationCountry" style={{ height: '700px' }}> <div id="mapDestinationCountry" style={{ height: '700px' }}>
<MapCountry sourceField={'label'} valueField={BUConfig.measureField} dataSource={DistributionStore.destinationCountry.originData || []} containerNode='#mapDestinationCountry' /> <MapCountry sourceField={'label'} valueField={BUConfig.measureField} dataSource={DistributionStore.destinationCountry.originData || []} containerNode='#mapDestinationCountry' />
</div> </div>
</Spin> */}
<Spin spinning={topData?.destinationcountry?.loading || false}>
<div id="mapDestinationCountry" style={{ height: '700px' }}>
<MapCountry sourceField={'groupsLabel'} valueField={BUConfig.measureField} dataSource={topData?.destinationcountry?.dataSource || []} containerNode='#mapDestinationCountry' />
</div>
</Spin> </Spin>
</Col> </Col>
<Col key={'mapGc-r'} span={1}></Col>
</Row> </Row>
</section> </section>
</> </>

Loading…
Cancel
Save