diff --git a/pages/cart/coupon/couponCenter.vue b/pages/cart/coupon/couponCenter.vue index 0a48d22..c7f9457 100644 --- a/pages/cart/coupon/couponCenter.vue +++ b/pages/cart/coupon/couponCenter.vue @@ -1,299 +1,294 @@ + .receive { + color: #ffffff; + background-color: $main-color; + border-radius: 50%; + width: 86rpx; + height: 86rpx; + text-align: center; + margin-right: 30rpx; + vertical-align: middle; + padding-top: 8rpx; + position: relative; + z-index: 2; + } + + .bg-quan { + width: 244rpx; + height: 244rpx; + border: 6rpx solid $main-color; + border-radius: 50%; + opacity: 0.1; + color: $main-color; + text-align: center; + padding-top: 30rpx; + font-size: 130rpx; + position: absolute; + right: -54rpx; + bottom: -60rpx; + } + } + } + } + } + + .coupon-title { + width: 260rpx; + + } + diff --git a/uni.scss b/uni.scss index 7fe2f11..20c6fca 100644 --- a/uni.scss +++ b/uni.scss @@ -168,4 +168,12 @@ $font-weight: 400; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; +} + +.wes-3 { + /* 适用于webkit内核和移动端 */ + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 3; + overflow: hidden; }