Commit 1fcd8bbf72d46600f760ae1d233e6092cd6d93e1
1 parent
bfc2f423
商品详情页canvas if判断
Showing
1 changed file
with
2 additions
and
4 deletions
pages/goods/goodsInfo/goodsInfo.wxml
@@ -16,7 +16,7 @@ | @@ -16,7 +16,7 @@ | ||
16 | <view class="goods-detail"> | 16 | <view class="goods-detail"> |
17 | <view class="goods-info" style="position: relative;" hidden="{{activeCategoryId==0?false:true}}"> | 17 | <view class="goods-info" style="position: relative;" hidden="{{activeCategoryId==0?false:true}}"> |
18 | 18 | ||
19 | - <!-- 历史购买记录 --> | 19 | + <!-- 左上角轮播 历史购买记录 --> |
20 | <view class="swiper-container" wx:if="{{historyBuyInfo.length}}"> | 20 | <view class="swiper-container" wx:if="{{historyBuyInfo.length}}"> |
21 | <swiper class="swiper" autoplay="true" circular="true" vertical="true" interval="3000"> | 21 | <swiper class="swiper" autoplay="true" circular="true" vertical="true" interval="3000"> |
22 | <swiper-item class="swiper-item" wx:for="{{historyBuyInfo}}" wx:key="order_id"> | 22 | <swiper-item class="swiper-item" wx:for="{{historyBuyInfo}}" wx:key="order_id"> |
@@ -26,7 +26,6 @@ | @@ -26,7 +26,6 @@ | ||
26 | </view> | 26 | </view> |
27 | <view class="flex ai_c pd10"> | 27 | <view class="flex ai_c pd10"> |
28 | <view class="nickname ellipsis-1x">{{item.nickname}}下单成功</view> | 28 | <view class="nickname ellipsis-1x">{{item.nickname}}下单成功</view> |
29 | - <!-- <view style="flex-shrink: 0;"></view> --> | ||
30 | </view> | 29 | </view> |
31 | </view> | 30 | </view> |
32 | </swiper-item> | 31 | </swiper-item> |
@@ -1647,8 +1646,7 @@ | @@ -1647,8 +1646,7 @@ | ||
1647 | </block> | 1646 | </block> |
1648 | <!-- ---------------分享弹窗--------------- --> | 1647 | <!-- ---------------分享弹窗--------------- --> |
1649 | <!-- 二维码显示页面 --> | 1648 | <!-- 二维码显示页面 --> |
1650 | -<!-- <canvas canvas-id='share' style='width:750rpx;height:1217rpx;background-color:white;position: fixed;top: 0;'></canvas> --> | ||
1651 | -<canvas canvas-id='share' style='width:750rpx;height:1217rpx;background-color:white;'></canvas> | 1649 | +<canvas canvas-id='share' style='width:750rpx;height:1217rpx;background-color:white;' wx:if="{{!canvasHidden}}"></canvas> |
1652 | <warn id="warn"></warn> | 1650 | <warn id="warn"></warn> |
1653 | <!-- 分享控件,底部弹出 --> | 1651 | <!-- 分享控件,底部弹出 --> |
1654 | <share id="share_button" bind:send="send" bind:cancel="cancel" bind:share_img="saveImageToPhotosAlbum" wx:if="{{share_hidden}}"></share> | 1652 | <share id="share_button" bind:send="send" bind:cancel="cancel" bind:share_img="saveImageToPhotosAlbum" wx:if="{{share_hidden}}"></share> |