Commit e35196e42cf600371d63e7f42d54c112f19aea10
1 parent
e0710860
购物车广告图按比例显示
Showing
2 changed files
with
2 additions
and
3 deletions
pages/cart/cart/cart.wxml
... | ... | @@ -4,11 +4,11 @@ |
4 | 4 | <!-- 广告图片 --> |
5 | 5 | |
6 | 6 | <navigator class="picture" url="/pages/activity/seckill_list/seckill_list" wx:if="{{is_has_flash}}"> |
7 | - <image class="picture" src="{{iurl}}miniapp/images/stores/Seckill.png"></image> | |
7 | + <image mode="widthFix" class="picture" src="{{iurl}}miniapp/images/stores/Seckill.png"></image> | |
8 | 8 | </navigator> |
9 | 9 | |
10 | 10 | <navigator bindtap="nav_goto" class="picture" data-url="{{ad_data.ad_weapplink}}" wx:if="{{ad_data}}"> |
11 | - <image class="picture" src="{{ad_data.ad_code}}"></image> | |
11 | + <image mode="widthFix" class="picture" src="{{ad_data.ad_code}}"></image> | |
12 | 12 | </navigator> |
13 | 13 | |
14 | 14 | ... | ... |