.list { padding: 100rpx 15rpx 15rpx; position: relative; z-index: 1; } .card { border-radius: 10rpx; box-shadow: 0 0 20rpx #eee; margin: 0rpx 0rpx 15rpx; padding: 15rpx; } .card-container { height: 0; position: relative; } .card-img { bottom: 0; left: 0; position: absolute; right: 0; top: 0; } .card-img image { height: 100%; width: 100%; } .card-name-sm { align-items: center; font-size: 25rpx; margin-top: 15rpx; } .main { background: #e6b980; opacity: .8; } .main,.main-red { border-bottom-right-radius: 20rpx; border-top-left-radius: 20rpx; color: #fff; padding: 5rpx 15rpx; position: absolute; right: -15rpx; top: -15rpx; z-index: 10; } .main-red { background: red; opacity: .5; } .tab { background: #fff; height: 80rpx; left: 0; position: fixed; right: 0; z-index: 100; } .tab,.tab-box { display: flex; } .tab-box { align-items: center; color: #000; flex: 1; font-size: 32rpx; justify-content: center; } .tab-box.active { border-bottom: 2px solid #e6b980; box-sizing: border-box; color: #e6b980; } .card { background: #fff; box-sizing: border-box; position: relative; width: 100%; z-index: 100; } .card-bgImg { height: 100%; left: 0; position: absolute; top: 0; width: 100%; } .area-box { white-space: nowrap; } .card-name { font-size: 36rpx; } .other-card { justify-content: space-between; } .card-img-box,.other-card { display: flex; } .card-img-box { align-items: center; flex-direction: row; margin-right: 40rpx; } .card-img-box image { height: 200rpx; width: 200rpx; } .set-top { background: #e6b980; border-radius: 5rpx; color: #fff; padding: 0rpx 15rpx; } .set-top:active { background: #f5f5f5; color: #000; }