| | |
| | | <div class="kb_dashboard"> |
| | | |
| | | <!-- 星空背景--> |
| | | <div ref="starsRef" class="stars"> |
| | | <div v-for="(item, index) in starsCount" :key="index" class="star" /> |
| | | </div> |
| | | <!-- <div ref="starsRef" class="stars">--> |
| | | <!-- <div v-for="(item, index) in starsCount" :key="index" class="star" />--> |
| | | <!-- </div>--> |
| | | |
| | | <div class="kb_header"> |
| | | <div class="flex_c_c kb_header_text"> |
| | |
| | | |
| | | this.getEcharts() |
| | | |
| | | this.setStarsRef() |
| | | // this.setStarsRef() |
| | | }, |
| | | methods: { |
| | | setStarsRef() { |
| | |
| | | const timer = setInterval(() => { |
| | | startValue = startValue + scale |
| | | this.tableDataCenterTop = this.tableDataCenterTopTemp.slice(startValue, startValue + scale) |
| | | nowLoop++ |
| | | if (nowLoop === loop) { |
| | | clearInterval(timer) |
| | | this.getCenterTableDataSetInterval() |
| | | } |
| | | |
| | | nowLoop++ |
| | | }, 1000 * 10) |
| | | }) |
| | | }, |