Commit ec0d778653b156994963eada7f10af50ef59c25c
1 parent
3b9b13b6
首页 秒杀样式 调整
Showing
3 changed files
with
7 additions
and
4 deletions
pages/activity/seckill_list/seckill_list.wxss
pages/index/index/index.wxml
@@ -75,7 +75,7 @@ | @@ -75,7 +75,7 @@ | ||
75 | </view> | 75 | </view> |
76 | 76 | ||
77 | 77 | ||
78 | - <view class="flex-center-around mar-top" > | 78 | + <view class="flex-center-around {{banner==null?'mar-top':'mar-tops'}}" > |
79 | <view class="flex"> | 79 | <view class="flex"> |
80 | <view class="circle white xc-hook fs20 yellow-b">Г | 80 | <view class="circle white xc-hook fs20 yellow-b">Г |
81 | </view> | 81 | </view> |
pages/index/index/index.wxss
@@ -122,7 +122,7 @@ left: 10%; | @@ -122,7 +122,7 @@ left: 10%; | ||
122 | height: 368rpx; | 122 | height: 368rpx; |
123 | } | 123 | } |
124 | .title-img{ | 124 | .title-img{ |
125 | - margin-top: 150rpx; | 125 | + margin-top: 110rpx; |
126 | 126 | ||
127 | margin-bottom: 15rpx; | 127 | margin-bottom: 15rpx; |
128 | 128 | ||
@@ -284,7 +284,7 @@ left: 10%; | @@ -284,7 +284,7 @@ left: 10%; | ||
284 | .seckill-list image.status_img{ | 284 | .seckill-list image.status_img{ |
285 | width: 100rpx; height: 35rpx; | 285 | width: 100rpx; height: 35rpx; |
286 | position: absolute; | 286 | position: absolute; |
287 | - top: 5rpx; left: 10rpx; z-index: 5; | 287 | + top: 0rpx; left: 10rpx; z-index: 5; |
288 | } | 288 | } |
289 | 289 | ||
290 | .seckill-list view.status_view{ | 290 | .seckill-list view.status_view{ |
@@ -695,6 +695,9 @@ left: 43%; | @@ -695,6 +695,9 @@ left: 43%; | ||
695 | .mar-top{ | 695 | .mar-top{ |
696 | margin-top: 20rpx; | 696 | margin-top: 20rpx; |
697 | } | 697 | } |
698 | +.mar-tops{ | ||
699 | + margin-top: 10rpx; | ||
700 | +} | ||
698 | 701 | ||
699 | .pt_active{ animation: sport 0.5s;} | 702 | .pt_active{ animation: sport 0.5s;} |
700 | @keyframes sport { | 703 | @keyframes sport { |