/* pages/coupon/coupon.wxss */ .relative { position: relative; width: 100%; height: 100%; } .couponImg { width: 750rpx; height: 300rpx; border-bottom-left-radius: 30rpx; border-bottom-right-radius: 30rpx; } .shadow { box-shadow: 0px 0px 20rpx 20rpx rgba(204, 204, 204, 0.2); } .detailsBox { position: relative; width: 100%; height: 190rpx; border-radius: 30rpx; } .detailsBox>.bottomBg { width: 100%; height: 100%; } .detailsBox>.decorate { position: absolute; top: -5rpx; left: 28rpx; width: 694rpx; height: 10rpx; } .detailsBox>.detailsInfo { position: absolute; top: 0; left: 0; height: 100%; width: 504rpx; display: flex; flex-direction: column; align-items: center; justify-content: center; } .detailsBox>.detailsInfo>.txt1 { color: #333; font-size: 36rpx; font-weight: bold; font-family: SourceHanSansCN; margin-bottom: 10rpx; } .detailsBox>.detailsInfo>.txt2 { color: #999; font-size: 24rpx; font-weight: 500; font-family: SourceHanSansCN; margin-top: 10rpx; } .detailsBox>.detailsRight { position: absolute; top: 0; left: 509rpx; width: 241rpx; height: 100%; line-height: 190rpx; text-align: center; color: #eb6100; font-size: 100rpx; font-weight: bold; } .detailsBox>.detailsRight>.company { color: #333; font-size: 30rpx; margin-left: 10rpx; } .detailsBox>.logo { position: absolute; right: 52rpx; top: 40rpx; width: 155rpx; height: 110rpx; } .middleContent { width: 750rpx; background-color: #fff; border-radius: 30rpx; margin-top: 20rpx; padding: 50rpx 0; } #couponCheck>.couponIcon { width: 513rpx; height: 200rpx; margin: 0 auto; } #couponCheck>.number { position: absolute; top: 144rpx; left: 470rpx; color: #eb6100; font-size: 30rpx; font-weight: 700; } #couponCheck>.txt { width: 100%; text-align: center; color: #eb6100; font-size: 40rpx; font-weight: 550; margin-top: 50rpx; } #couponDetails>.title { color: #333; width: 100%; text-align: center; font-size: 30rpx; font-weight: 550; } #couponDetails>.detailsItem { height: 58rpx; line-height: 58rpx; padding-left: 32rpx; } #couponDetails>.detailsItem>.sign { width: 20rpx; height: 20rpx; border-radius: 50%; background-color: #eb6100; display: inline-block; } #couponDetails>.detailsItem>.itemTitle { color: #333; font-size: 26rpx; font-weight: 500; padding-left: 17rpx; } #couponDetails>.detailsItem>.itemContent { color: #666; font-size: 22rpx; font-weight: 400; padding-left: 41rpx; } #couponDetails>.state { text-align: center; height: 38rpx; line-height: 38rpx; color: #eb6100; font-size: 40rpx; font-weight: 500; margin-top: 49rpx; } .btn { position: absolute; bottom: 0; width: 100%; height: 98rpx; border-radius: 0; color: #fffefe; font-size: 36rpx; background: linear-gradient(-72deg, rgba(235, 97, 0, 1), rgba(255, 137, 42, 1)); } #vCodeBox>input { width: 600rpx; height: 98rpx; background-color: rgba(0, 0, 0, 0.28); margin: 0 auto; border-radius: 49rpx; padding: 0 41rpx; box-sizing: border-box; } #vCodeBox>.countBox { margin-top: 40rpx; height: 44rpx; font-size: 26rpx; display: flex; justify-content: center; align-items: center; } #vCodeBox>.countBox>.countContent { position: relative; text-align: center; height: 100%; line-height: 44rpx; width: 200rpx; padding: 0 44rpx; box-sizing: border-box; background-color: #eee; border: 2px solid rgba(238, 238, 238, 1); border-radius: 6px; display: inline-block; margin-left: 25rpx; } #vCodeBox>.countBox>.countContent>.symbolBox{ position: absolute; text-align: center; width: 44rpx; height: 44rpx; top: -5rpx; }