32 lines
698 B
Vue
Raw Normal View History

2022-03-09 17:37:32 +08:00
<template>
2022-03-26 23:24:13 +08:00
<collapse-item name="通用">
<setting-item-box name="透明度" :alone="true">
2022-03-09 17:37:32 +08:00
<!-- 透明度 -->
<n-slider
v-model:value="chartStyles.opacity"
:step="0.1"
:min="0"
:max="1"
></n-slider>
</setting-item-box>
</collapse-item>
2022-03-09 17:37:32 +08:00
</template>
<script setup lang="ts">
import { PropType } from 'vue'
import { PickCreateComponentType } from '@/packages/index.d'
import {
SettingItemBox,
CollapseItem
} from '@/components/ChartItemSetting/index'
const props = defineProps({
chartStyles: {
type: Object as PropType<PickCreateComponentType<'styles'>>,
required: true
}
})
</script>
<style lang="scss" scoped></style>