MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / getIndexBg

Function getIndexBg

public/iframe/lib/js/mixinsComponents.js:1457–1462  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

1455 }
1456 },
1457 getIndexBg(index) {
1458 // 序号背景框
1459 if (this.option.indexIsHaveBg) {
1460 return `url('${vm.staticUrl}/image/listAnimation/sort${index > 3 ? 0 : index}.png') center no-repeat`
1461 }
1462 },
1463 handleResize() {
1464 this.$refs.listAnimationActiveImage.style.height = document.querySelector('.listAnimation-table-body>li').offsetHeight + (this.option.selectStyle.default === this.option.selectStyle.option[0].value ? 15 : 55)
1465 clearInterval(this.timer)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected