.card { width: 100%; box-shadow: 0 0 20rpx #EEE; background: #fff; border-radius: 10rpx; padding: 15rpx; margin: 0rpx 0rpx 15rpx 0rpx; } .card:nth-child(1) { padding: 0rpx 0rpx 7.5rpx 0rpx; } .card:last-child { padding: 7.5rpx 0rpx 15rpx 0rpx; } .card-img { width: 100%; height: 400rpx; position: relative; margin-top: 15rpx; border-radius: 10rpx; } .card-name { font-size: 36rpx; padding: 15rpx 0rpx 0rpx 15rpx; } .price-box { width: 128rpx; height: 128rpx; z-index: 3; position: absolute; left: 0rpx; top: 0rpx; } .price-box image { width: 128rpx; height: 128rpx; } .price-text { position: absolute; z-index: 3; top: 25%; left: 45%; transform: rotate(45deg); font-size: 32rpx; color: #ffffff; } .price { position: absolute; z-index: 3; top: -20rpx; left: 65rpx; transform: rotate(-45deg) translate(-50%, -50%); font-size: 32rpx; color: #ffff00; width: 100%; } .number-box { width: 128rpx; height: 128rpx; position: absolute; bottom: 0rpx; right: 0rpx; } .number-box image { width: 100%; height: 100%; margin-top: 0rpx; border-radius: 0rpx; } .number-content { width: 100%; color: #fff; position: absolute; top: 30rpx; right: -70rpx; transform: rotate(-45deg) translate(-50%, -50%); font-size: 18rpx; text-align: center; } .code-box { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-between; } .code-box input { line-height: 80rpx; height: 80rpx; font-size: 28rpx; text-align: center; border: 1rpx solid #f2f2f2; background-color: #f2f2f2; border-radius: 10rpx; width: 95%; } .code-box .code-title { font-size: 38rpx; color: var(--yellowLight); padding-bottom: 15rpx; text-align: center; margin-top: 15rpx; } .code-box .btns { display: flex; flex-direction: row; justify-content: space-between; align-items: center; }