.list { padding: 20rpx 20rpx 0; margin-top: 80rpx; background: #FAFAFA; z-index: 1; position: relative; } .card { margin-bottom: 20rpx; box-shadow: 0 0 20rpx #EEE; } .card-container { position: relative; height: 0; } .card-img { position: absolute; top: 0; bottom: 0; left: 0; right: 0; } .card-img image { width: 100%; height: 100%; } .card-name { font-size: 36rpx; line-height: 70rpx; padding: 0 10rpx; } .card-name-sm { font-size: 25rpx; line-height: 70rpx; padding: 0 10rpx; align-items: center; } .main { position: absolute; top: 0; right: 0; background: #0054bd; color: #fff; padding: 10rpx 15rpx; z-index: 10; border-top-left-radius: 20rpx; border-bottom-right-radius: 20rpx; opacity: 0.8; } .tab { position: fixed; left: 0; right: 0; background: #fff; display: flex; height: 80rpx; z-index: 100; } .tab-box { flex: 1; display: flex; justify-content: center; align-items: center; font-size: 32rpx; color: #000; } .tab-box.active { color: #055fe6; border-bottom: 2px solid #055fe6; box-sizing: border-box; } .card { width: 100%; box-sizing: border-box; background: #fff; z-index: 100; position: relative; /* text-align: center; */ } .card-bgImg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .area-box { white-space: nowrap; } .card-name { font-size: 36rpx; margin: 10rpx 0; padding: 0 20rpx; } .other-card { display: flex; justify-content: space-between; } .card-img-box { display: flex; flex-direction: row; align-items: center; margin-right: 40rpx; } .card-img-box image { width: 200rpx; height: 200rpx; }