Blame view

node_modules/element-ui/packages/spinner/src/spinner.vue 632 Bytes
2a09d1a4   liuqimichale   添加宜春 天水 宣化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  <template>
    <span class="el-spinner">
      <svg class="el-spinner-inner" viewBox="0 0 50 50" :style="{ width: radius/2 + 'px', height: radius/2 + 'px' }">
        <circle class="path" cx="25" cy="25" r="20" fill="none" :stroke="strokeColor" :stroke-width="strokeWidth"></circle>
      </svg>
    </span>
  </template>
  <script>
    export default {
      name: 'ElSpinner',
      props: {
        type: String,
        radius: {
          type: Number,
          default: 100
        },
        strokeWidth: {
          type: Number,
          default: 5
        },
        strokeColor: {
          type: String,
          default: '#efefef'
        }
      }
    };
  </script>