使用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 { .coupon-container {
display: flex; display: block;
flex-direction: column;
height: 225rpx; height: 225rpx;
margin-left: 20rpx; margin-left: 20rpx;
margin-right: 20rpx; margin-right: 20rpx;
@ -18,7 +17,7 @@
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
position: relative; position: relative;
top: -56rpx; top: -225rpx;
} }
.mall_coupon_ab .value { .mall_coupon_ab .value {

Loading…
Cancel
Save