mirror of
https://gitee.com/dromara/go-view.git
synced 2025-10-15 15:02:10 +08:00
配置项
This commit is contained in:
parent
d63100938e
commit
7cf6eda3b1
@ -1,48 +1,16 @@
|
||||
<template>
|
||||
<!-- 遍历 seriesList -->
|
||||
<CollapseItem :name="`圆环`" :expanded="true">
|
||||
<!-- <SettingItemBox name="数据样式">
|
||||
<SettingItem :name="item.name+'字体大小'" v-for="(item,index) in config.title" :key="index">
|
||||
<n-input-number v-model:value="item.textStyle.fontSize" :min="10" :step="1" size="small" placeholder="数值">
|
||||
<SettingItemBox name="样式">
|
||||
<SettingItem name="环宽度">
|
||||
<n-input-number v-model:value="config.series[0].axisLine.lineStyle.width" :min="10" :step="1" size="small" placeholder="数值">
|
||||
</n-input-number>
|
||||
</SettingItem>
|
||||
<SettingItem :name="item.name+'字体宽度'" v-for="(item,index) in config.title" :key="index">
|
||||
<n-input-number v-model:value="item.textStyle.fontWeight" :min="100" :step="100" size="small" placeholder="数值">
|
||||
<SettingItem name="字体大小">
|
||||
<n-input-number v-model:value="config.series[0].detail.fontSize" :min="10" :step="1" size="small" placeholder="数值">
|
||||
</n-input-number>
|
||||
</SettingItem>
|
||||
</SettingItemBox>
|
||||
|
||||
<SettingItemBox name="进度条">
|
||||
<SettingItem name="前景色">
|
||||
<n-color-picker
|
||||
size="small"
|
||||
:modes="['hex']"
|
||||
v-model:value="config.series[0].itemStyle.color"
|
||||
></n-color-picker>
|
||||
</SettingItem>
|
||||
<SettingItem name="背景色">
|
||||
<n-color-picker
|
||||
size="small"
|
||||
:modes="['hex']"
|
||||
v-model:value="config.series[0].backgroundStyle.color"
|
||||
></n-color-picker>
|
||||
</SettingItem>
|
||||
<SettingItem name="外边框">
|
||||
<n-color-picker
|
||||
size="small"
|
||||
:modes="['hex']"
|
||||
v-model:value="config.series[1].itemStyle.borderColor"
|
||||
></n-color-picker>
|
||||
</SettingItem>
|
||||
<SettingItem name="内边框">
|
||||
<n-color-picker
|
||||
size="small"
|
||||
:modes="['hex']"
|
||||
v-model:value="config.series[2].itemStyle.borderColor"
|
||||
></n-color-picker>
|
||||
</SettingItem>
|
||||
</SettingItemBox> -->
|
||||
|
||||
</CollapseItem>
|
||||
</template>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user