Commit b0a567b6 by 谢中龙

推广商品图片适配

parent 8d8c1e7c
...@@ -43,14 +43,15 @@ ...@@ -43,14 +43,15 @@
mode="widthFix" mode="widthFix"
/> />
</view> </view>
</view> </view>
</view> </view>
<view class="buy-product-wrap"> <view class="buy-product-wrap">
<view class="buy-product-content"> <view class="buy-product-content">
<view class="buy-list" wx:if="{{extendProList.length}}" wx:for="{{extendProList}}" wx:key="{{index}}"> <view class="buy-list" wx:if="{{extendProList.length}}" wx:for="{{extendProList}}" wx:key="{{index}}">
<view class="prod-img"> <view class="prod-img">
<image src="{{item.productImgUrl || 'https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/product_defalut.jpg'}}" /> <image
src="{{item.productImgUrl || 'https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/product_defalut.jpg'}}"
mode='aspectFit'/>
</view> </view>
<view class="prod-info"> <view class="prod-info">
<view class="prod-name">{{item.productName}}</view> <view class="prod-name">{{item.productName}}</view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment