| | |
| | | <div class="val">99%</div> |
| | | <div class="trend"> |
| | | <el-progress |
| | | class="defined-progress" |
| | | :percentage="99" |
| | | stroke-linecap="square" |
| | | color="#1890ff" |
| | |
| | | <style lang="scss"> |
| | | .guide-index { |
| | | .el-progress-bar__outer { |
| | | border-radius: 5px; |
| | | border-radius: 2px; |
| | | } |
| | | .el-progress-bar__inner { |
| | | border-radius: 5px; |
| | | border-radius: 2px; |
| | | } |
| | | .triangle { |
| | | width: 0; |
| | |
| | | border-right-color: transparent; |
| | | } |
| | | } |
| | | .defined-progress{ |
| | | position: relative; |
| | | &:before{ |
| | | content: ''; |
| | | position: absolute; |
| | | width: 2px; |
| | | height: 4px; |
| | | background: #1890ff; |
| | | top: -6px; |
| | | right: -5px; |
| | | } |
| | | &:after{ |
| | | content: ''; |
| | | position: absolute; |
| | | width: 2px; |
| | | height: 4px; |
| | | background: #1890ff; |
| | | bottom: -6px; |
| | | right: -5px; |
| | | } |
| | | } |
| | | .tab-menu { |
| | | .el-tabs__item { |
| | | padding: 0 30px !important; |