使用block才能多平台适配relative的position

wechat_user_type
Ge Hao 8 years ago
parent a1c95c11a5
commit 247aa2fb4d
  1. 5
      pages/cart/coupon.wxss

@ -1,6 +1,5 @@
.coupon-container {
display: flex;
flex-direction: column;
display: block;
height: 225rpx;
margin-left: 20rpx;
margin-right: 20rpx;
@ -18,7 +17,7 @@
justify-content: space-between;
align-items: center;
position: relative;
top: -56rpx;
top: -225rpx;
}
.mall_coupon_ab .value {

Loading…
Cancel
Save