feat: 背景颜色变更

master
xjs 2025-04-23 14:22:12 +08:00
parent 7ddc20c43e
commit de83098757
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
:style="`--background-color:${calcTypeName(college.type).style.backgroundColor}`"
@copy.prevent
@contextmenu.prevent>
<div class="flex py-[32rpx] gap-[30rpx] w-full">
<div class="flex my-[32rpx] gap-[30rpx] w-full">
<div class="flex flex-col items-center gap-[16rpx]">
<div class="flex items-center gap-[8rpx] text-[#303030] text-[28rpx]" @click="toggleCollapse">
{{ collegeIndex + 1 }}
@ -83,7 +83,7 @@
<style lang="scss" scoped>
.custom-background {
background: linear-gradient(180deg, var(--background-color) 0%, #fff 30%, #fff 100%);
background: linear-gradient(180deg, var(--background-color) 0%, #fff 80px, #fff 100%);
box-shadow: 0rpx -8rpx 8rpx 0rpx rgba(225,225,225,0.2);
}