mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 16:22:57 +08:00
commit
fc1258319e
@ -73,7 +73,7 @@ export const option = {
|
|||||||
textShadowColor: '#000',
|
textShadowColor: '#000',
|
||||||
textShadowBlur: 10,
|
textShadowBlur: 10,
|
||||||
textBorderWidth: 0,
|
textBorderWidth: 0,
|
||||||
color: '#FFF',
|
color: '#FFFFFF',
|
||||||
show: true
|
show: true
|
||||||
},
|
},
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
@ -95,19 +95,23 @@ export const option = {
|
|||||||
geoIndex: 1,
|
geoIndex: 1,
|
||||||
tooltip: {
|
tooltip: {
|
||||||
show: true,
|
show: true,
|
||||||
backgroundColor: 'rgba(0,0,0,.6)',
|
backgroundColor: '#00000060',
|
||||||
borderColor: 'rgba(147, 235, 248, .8)',
|
borderColor: 'rgba(147, 235, 248, 0.8)',
|
||||||
textStyle: {
|
textStyle: {
|
||||||
color: '#FFF'
|
color: '#FFFFFF',
|
||||||
|
fontSize: 12,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
label: {
|
label: {
|
||||||
show: false
|
show: false,
|
||||||
|
color: '#FFFFFF',
|
||||||
|
fontSize: 12,
|
||||||
},
|
},
|
||||||
emphasis: {
|
emphasis: {
|
||||||
disabled: false,
|
disabled: false,
|
||||||
label: {
|
label: {
|
||||||
color: '#fffFFF'
|
color: '#FFFFFF',
|
||||||
|
fontSize: 12,
|
||||||
},
|
},
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
areaColor: '#389BB7',
|
areaColor: '#389BB7',
|
||||||
@ -126,11 +130,11 @@ export const option = {
|
|||||||
colorStops: [
|
colorStops: [
|
||||||
{
|
{
|
||||||
offset: 0,
|
offset: 0,
|
||||||
color: 'rgba(147, 235, 248, 0)' // 0% 处的颜色
|
color: '#93ebf800' // 0% 处的颜色
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
offset: 1,
|
offset: 1,
|
||||||
color: 'rgba(147, 235, 248, .2)' // 100% 处的颜色
|
color: '#93ebf820' // 100% 处的颜色
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
globalCoord: false
|
globalCoord: false
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
</SettingItem>
|
</SettingItem>
|
||||||
</SettingItemBox>
|
</SettingItemBox>
|
||||||
|
|
||||||
<SettingItemBox name="区域颜色" :alone="true">
|
<SettingItemBox name="区域颜色">
|
||||||
<SettingItem name="0%处颜色">
|
<SettingItem name="0%处颜色">
|
||||||
<n-color-picker
|
<n-color-picker
|
||||||
size="small"
|
size="small"
|
||||||
@ -61,12 +61,36 @@
|
|||||||
></n-input-number>
|
></n-input-number>
|
||||||
</SettingItem>
|
</SettingItem>
|
||||||
</SettingItemBox>
|
</SettingItemBox>
|
||||||
<SettingItemBox name="聚焦 (预览可见)">
|
|
||||||
<setting-item name="禁用">
|
<SettingItemBox name="地理信息名称">
|
||||||
|
<SettingItem name="显示">
|
||||||
|
<n-space>
|
||||||
|
<n-switch v-model:value="seriesList[1].label.show" size="small"></n-switch>
|
||||||
|
</n-space>
|
||||||
|
</SettingItem>
|
||||||
|
<SettingItem name="字体颜色">
|
||||||
|
<n-color-picker
|
||||||
|
size="small"
|
||||||
|
:modes="['hex']"
|
||||||
|
v-model:value="seriesList[1].label.color"
|
||||||
|
></n-color-picker>
|
||||||
|
</SettingItem>
|
||||||
|
<SettingItem name="字体大小">
|
||||||
|
<n-input-number
|
||||||
|
v-model:value="seriesList[1].label.fontSize"
|
||||||
|
:min="1"
|
||||||
|
size="small"
|
||||||
|
placeholder="请输入字体大小"
|
||||||
|
></n-input-number>
|
||||||
|
</SettingItem>
|
||||||
|
</SettingItemBox>
|
||||||
|
|
||||||
|
<SettingItemBox name="悬浮 (预览可见)">
|
||||||
|
<SettingItem name="禁用">
|
||||||
<n-space>
|
<n-space>
|
||||||
<n-switch v-model:value="seriesList[1].emphasis.disabled" size="small"></n-switch>
|
<n-switch v-model:value="seriesList[1].emphasis.disabled" size="small"></n-switch>
|
||||||
</n-space>
|
</n-space>
|
||||||
</setting-item>
|
</SettingItem>
|
||||||
<SettingItem name="颜色">
|
<SettingItem name="颜色">
|
||||||
<n-color-picker
|
<n-color-picker
|
||||||
size="small"
|
size="small"
|
||||||
@ -74,6 +98,14 @@
|
|||||||
v-model:value="seriesList[1].emphasis.itemStyle.areaColor"
|
v-model:value="seriesList[1].emphasis.itemStyle.areaColor"
|
||||||
></n-color-picker>
|
></n-color-picker>
|
||||||
</SettingItem>
|
</SettingItem>
|
||||||
|
<SettingItem name="字体大小">
|
||||||
|
<n-input-number
|
||||||
|
v-model:value="seriesList[1].emphasis.label.fontSize"
|
||||||
|
:min="1"
|
||||||
|
size="small"
|
||||||
|
placeholder="请输入字体大小"
|
||||||
|
></n-input-number>
|
||||||
|
</SettingItem>
|
||||||
<SettingItem name="阴影">
|
<SettingItem name="阴影">
|
||||||
<n-color-picker
|
<n-color-picker
|
||||||
size="small"
|
size="small"
|
||||||
@ -97,7 +129,37 @@
|
|||||||
></n-color-picker>
|
></n-color-picker>
|
||||||
</SettingItem>
|
</SettingItem>
|
||||||
</SettingItemBox>
|
</SettingItemBox>
|
||||||
<SettingItemBox name="边框">
|
|
||||||
|
<SettingItemBox name="悬浮弹窗">
|
||||||
|
<SettingItem name="显示">
|
||||||
|
<n-space>
|
||||||
|
<n-switch v-model:value="seriesList[1].tooltip.show" size="small"></n-switch>
|
||||||
|
</n-space>
|
||||||
|
</SettingItem>
|
||||||
|
<SettingItem name="字体大小">
|
||||||
|
<n-input-number
|
||||||
|
v-model:value="seriesList[1].tooltip.textStyle.fontSize"
|
||||||
|
:min="1"
|
||||||
|
size="small"
|
||||||
|
placeholder="请输入字体大小"
|
||||||
|
></n-input-number>
|
||||||
|
</SettingItem>
|
||||||
|
<SettingItem name="字体颜色">
|
||||||
|
<n-color-picker
|
||||||
|
size="small"
|
||||||
|
:modes="['hex']"
|
||||||
|
v-model:value="seriesList[1].tooltip.textStyle.color"
|
||||||
|
></n-color-picker>
|
||||||
|
</SettingItem>
|
||||||
|
<SettingItem name="背景颜色">
|
||||||
|
<n-color-picker
|
||||||
|
size="small"
|
||||||
|
:modes="['hex']"
|
||||||
|
v-model:value="seriesList[1].tooltip.backgroundColor"
|
||||||
|
></n-color-picker>
|
||||||
|
</SettingItem>
|
||||||
|
</SettingItemBox>
|
||||||
|
<SettingItemBox name="区域边框">
|
||||||
<SettingItem name="颜色">
|
<SettingItem name="颜色">
|
||||||
<n-color-picker
|
<n-color-picker
|
||||||
size="small"
|
size="small"
|
||||||
@ -105,7 +167,7 @@
|
|||||||
v-model:value="seriesList[1].itemStyle.borderColor"
|
v-model:value="seriesList[1].itemStyle.borderColor"
|
||||||
></n-color-picker>
|
></n-color-picker>
|
||||||
</SettingItem>
|
</SettingItem>
|
||||||
<SettingItem name="大小">
|
<SettingItem name="宽度大小">
|
||||||
<n-input-number
|
<n-input-number
|
||||||
v-model:value="seriesList[1].itemStyle.borderWidth"
|
v-model:value="seriesList[1].itemStyle.borderWidth"
|
||||||
:min="1"
|
:min="1"
|
||||||
@ -130,6 +192,20 @@
|
|||||||
</SettingItem>
|
</SettingItem>
|
||||||
</SettingItemBox>
|
</SettingItemBox>
|
||||||
|
|
||||||
|
<SettingItemBox name="文本">
|
||||||
|
<SettingItem name="显示">
|
||||||
|
<n-space>
|
||||||
|
<n-switch v-model:value="seriesList[0].label.show" size="small"></n-switch>
|
||||||
|
</n-space>
|
||||||
|
</SettingItem>
|
||||||
|
<SettingItem name="字体大小">
|
||||||
|
<n-input-number v-model:value="seriesList[0].label.fontSize" size="small" :min="0"></n-input-number>
|
||||||
|
</SettingItem>
|
||||||
|
<SettingItem name="字体颜色">
|
||||||
|
<n-color-picker size="small" :modes="['hex']" v-model:value="seriesList[0].label.color"></n-color-picker>
|
||||||
|
</SettingItem>
|
||||||
|
</SettingItemBox>
|
||||||
|
|
||||||
<SettingItemBox name="涟漪">
|
<SettingItemBox name="涟漪">
|
||||||
<SettingItem name="涟漪大小">
|
<SettingItem name="涟漪大小">
|
||||||
<n-input-number
|
<n-input-number
|
||||||
|
Loading…
Reference in New Issue
Block a user