<!-- 进度条配置 -->
<template>
  <div>
    <el-form-item label="类型">
      <avue-radio v-model="main.activeOption.type"
                  :dic="dicOption.line">
      </avue-radio>
    </el-form-item>
    <el-form-item label="类型">
      <avue-radio v-model="main.activeOption.strokeLinecap"
                  :dic="dicOption.strokeLinecap">
      </avue-radio>
    </el-form-item>
    <el-form-item label="宽度">
      <avue-input-number v-model="main.activeOption.strokeWidth"></avue-input-number>
    </el-form-item>
    <el-form-item label="内容">
      <avue-switch v-model="main.activeOption.showText"></avue-switch>
    </el-form-item>
    <el-form-item label="文字内部" v-if="main.activeOption.type=='line'">
      <avue-switch v-model="main.activeOption.textInside"></avue-switch>
    </el-form-item>
    <el-form-item label="颜色">
      <avue-input-color v-model="main.activeOption.borderColor"></avue-input-color>
    </el-form-item>
    <el-form-item label="条纹">
      <avue-switch v-model="main.activeOption.striped"></avue-switch>
    </el-form-item>
    <el-form-item label="流动">
      <avue-switch v-model="main.activeOption.stripedFlow"></avue-switch>
    </el-form-item>
  </div>
</template>

<script>
import { dicOption } from '@/option/config'
export default {
  name: 'progress',
  data () {
    return {
      dicOption: dicOption
    }
  },
  inject: ["main"]
}
</script>

<style>
</style>