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