阿里巴巴普惠体

This commit is contained in:
851673013@qq.com 2022-08-09 11:47:06 +08:00
parent 7e61899d24
commit 5cfffccfe8
2 changed files with 11 additions and 2 deletions

Binary file not shown.

View File

@ -7,7 +7,7 @@
:key="`algorithm-${index}`" :key="`algorithm-${index}`"
class="algorithm-card" class="algorithm-card"
> >
{{ item.name }} <div class="algorithm-card-title">{{ item.name }}</div>
</div> </div>
</div> </div>
</div> </div>
@ -66,9 +66,18 @@
.algorithm-card { .algorithm-card {
height: 2.75rem; height: 2.75rem;
width: 5.25rem; width: 5.25rem;
background: url('~@/assets/capacitySquare/algorithm-bg.png'); background: url('~@/assets/capacitySquare/algorithm-bg.png') no-repeat;
background-size: 100%;
margin-bottom: 0.3rem; margin-bottom: 0.3rem;
margin-right: 0.65rem; margin-right: 0.65rem;
position: relative;
.algorithm-card-title {
position: absolute;
height: 0.6rem;
width: 100%;
color: #ffffff;
font-size: 0.22rem;
}
} }
} }
.algorithm-class::-webkit-scrollbar-track-piece { .algorithm-class::-webkit-scrollbar-track-piece {