(index)
| 1367 | return `calc(${count / this.sum * 100}% + ${this.option.avatarWidth}px)` |
| 1368 | }, |
| 1369 | getColorStops(index) { |
| 1370 | if (index < 3) { |
| 1371 | return `linear-gradient(90deg, ${this.option.color[index * 2]} 0%, ${this.option.color[index * 2 + 1]})` |
| 1372 | } |
| 1373 | return `linear-gradient(90deg, ${this.option.color[6]} 0%, ${this.option.color[7]})` |
| 1374 | }, |
| 1375 | }, |
| 1376 | template: ` <ul class="capsuleList full"> |
| 1377 | <li v-for="(item,index) in data"> |
nothing calls this directly
no outgoing calls
no test coverage detected