Commit 361040e6fc59246d53667c9ab1f04c60cfcd7902
1 parent
27c5d303
优化
Showing
2 changed files
with
5 additions
and
4 deletions
components/diy_seckill/diy_seckill.wxml
... | ... | @@ -26,7 +26,7 @@ |
26 | 26 | <image class="imgBox_img" wx:if="{{object.subscript_style==5}}" src="{{object.subscript_diy_style}}"></image> |
27 | 27 | <image class="imgBox_img" wx:if="{{object.subscript_style<=4}}" src="{{imghost+'/miniapp/images/component/j0'+object.subscript_style +'.png'}}"></image> |
28 | 28 | </view> |
29 | - <view style="height: 70rpx;" class="new_item1_time" wx:if="{{object.count_down}}"> | |
29 | + <view style="height: 70rpx;padding: 0 30rpx; " class="new_item1_time" wx:if="{{object.count_down}}"> | |
30 | 30 | <image src="{{imghost+'/miniapp/images/component/seckill.png'}}"></image> |
31 | 31 | <view style="text-align: center;"> |
32 | 32 | <view>距结束时间</view> |
... | ... | @@ -211,7 +211,7 @@ |
211 | 211 | <image class="imgBox_img" wx:if="{{object.subscript_style==5}}" src="{{object.subscript_diy_style}}"></image> |
212 | 212 | <image class="imgBox_img" wx:if="{{object.subscript_style<=4}}" src="{{imghost+'/miniapp/images/component/j0'+object.subscript_style +'.png'}}"></image> |
213 | 213 | </view> |
214 | - <view style="height: 70rpx;" class="new_item1_time" wx:if="{{object.count_down}}"> | |
214 | + <view style="height: 70rpx; padding: 0 30rpx;" class="new_item1_time" wx:if="{{object.count_down}}"> | |
215 | 215 | <image src="{{imghost+'/miniapp/images/component/seckill.png'}}"></image> |
216 | 216 | <view style="text-align: center;"> |
217 | 217 | <view>距结束时间</view> | ... | ... |
components/diy_seckill/diy_seckill.wxss
... | ... | @@ -309,17 +309,18 @@ swiper { |
309 | 309 | .new_item1_image{ |
310 | 310 | width: 100%; |
311 | 311 | /* max-width: 100%; |
312 | - max-height: 100%; */ | |
312 | + max-height: 100%; */ | |
313 | 313 | } |
314 | 314 | .new_item1_time{ |
315 | 315 | height: 60rpx; |
316 | 316 | background: rgba(196, 24, 45, 1); |
317 | 317 | color: #fff; |
318 | + /* font-size: 25rpx; */ | |
318 | 319 | font-size: 25rpx; |
319 | 320 | display: flex; |
320 | 321 | justify-content: space-between; |
321 | 322 | align-items: center; |
322 | - padding: 0rpx 30rpx; | |
323 | + /* padding: 0rpx 30rpx; */ | |
323 | 324 | |
324 | 325 | } |
325 | 326 | .new_item1_time image{ | ... | ... |