Commit 00f1d76f by 谢中龙

修改默认高度

parent d6a5718e
...@@ -76,7 +76,7 @@ Component({ ...@@ -76,7 +76,7 @@ Component({
duration: 1000, duration: 1000,
isAuthorization: false, // false 不显示 true 显示 isAuthorization: false, // false 不显示 true 显示
baseImgUrl: '', baseImgUrl: '',
maxHeight: 0, maxHeight: 180,
padding: 0, padding: 0,
heights: [], heights: [],
imageHeights: {}, // 记录所有图片的实际高度 imageHeights: {}, // 记录所有图片的实际高度
......
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
<view>{{item.typeText}}</view> <view>{{item.typeText}}</view>
</view> </view>
<view class='coupon-item-rg'> <view class='coupon-item-rg'>
<view class='qrcode' data-item="{{item}}" bindtap='onTapShowQrcode'> <view class='qrcode' data-item="{{item}}" bindtap='onTapShowQrcode' wx:if="{{item.drawType == 2}}">
<image src='https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/walare_qrcode.png' mode='aspectFit'></image> <image src='https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/walare_qrcode.png' mode='aspectFit'></image>
</view> </view>
<view class='coupon-title'>{{item.title}}</view> <view class='coupon-title'>{{item.title}}</view>
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
<view class='text-btn'> <view class='text-btn'>
<text class='theme-text-color'>数量:{{item.stock}}</text> <text class='theme-text-color'>数量:{{item.stock}}</text>
</view> </view>
<button class='info-btn' data-item="{{item}}" bindtap='onTapToSendConpon'>定向发送</button> <button class='info-btn' wx:if="{{item.drawType == 1}}" data-item="{{item}}" bindtap='onTapToSendConpon'>定向发送</button>
</view> </view>
</view> </view>
</view> </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