.list { margin-top: 80rpx; z-index: 1; position: relative; padding: 15rpx; } .card { box-shadow: 0 0 20rpx #EEE; padding: 15rpx; margin: 0rpx 0rpx 15rpx 0rpx; border-radius: 10rpx; } .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; } .card-name-sm { font-size: 25rpx; align-items: center; margin-top: 15rpx; } .main { position: absolute; top: -15rpx; right: -15rpx; background: #E6B980; color: #fff; padding: 5rpx 15rpx; z-index: 10; border-top-left-radius: 20rpx; border-bottom-right-radius: 20rpx; opacity: 0.8; } .main-red { position: absolute; top: -15rpx; right: -15rpx; background: #ff0000; color: #fff; padding: 5rpx 15rpx; z-index: 10; border-top-left-radius: 20rpx; border-bottom-right-radius: 20rpx; opacity: 0.5; } .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: #E6B980; border-bottom: 2px solid #E6B980; 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; } .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; } .set-top { background: #E6B980; color: white; padding: 0rpx 15rpx; border-radius: 5rpx; } .set-top:active { background: #f5f5f5; color: #000; }