|
- /* 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: 550;
- }
-
- .detailsBox>.detailsRight>.txt {
- display: inline-block;
- width: 34rpx;
- height: 70rpx;
- margin-right: 5rpx;
- }
-
- .detailsBox>.detailsRight>.company {
- color: #333;
- font-size: 30rpx;
- margin-left: 5rpx;
- }
-
- .writeOffBox {
- position: relative;
- width: 100%;
- height: 120rpx;
- line-height: 120rpx;
- box-sizing: border-box;
- padding: 0 30rpx;
- color: #333333;
- font-size: 26rpx;
- margin-top: 24rpx;
- background-color: #ffffff;
- border-radius: 30rpx;
- font-weight: 600;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
-
- .writeOffBox>.writeOffNumsBox {
- position: relative;
- width: 150rpx;
- height: 44rpx;
- background-color: #FAFAFA;
- }
-
- .writeOffNumsBox>.operation {
- position: absolute;
- display: block;
- bottom: 0;
- width: 44rpx;
- height: 44rpx;
- }
-
- .couponsInput {
- position: absolute;
- width: calc(100% - 88rpx);
- height: 44rpx;
- line-height: 44rpx;
- bottom: 0;
- left: 44rpx;
- text-align: center;
- }
-
- .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));
- }
-
- .btn.select {
- background: #cccccc;
- }
|