|
|
@@ -45,8 +45,8 @@
|
|
|
-->
|
|
|
<view class="cartlist" wx:for="{{cartList}}" wx:key="id">
|
|
|
<view class="main_item">
|
|
|
- <movable-area style="{{item.package?'height:'+(260+item.package_list.length * 25)+'rpx':''}}">
|
|
|
- <movable-view damping="100" out-of-bounds="true" direction="horizontal" x="{{item.movex}}" id="{{index}}" animation="false" bindchange="handleMovableChange" capture-bind:touchstart="handleTouchestart" capture-bind:touchend="handleTouchend" style="{{item.package?'height:'+(260+item.package_list.length * 25)+'rpx':''}}">
|
|
|
+ <movable-area style="{{item.package?'height:'+(320+item.package_list.length * 25)+'rpx':''}}">
|
|
|
+ <movable-view damping="100" out-of-bounds="true" direction="horizontal" x="{{item.movex}}" id="{{index}}" animation="false" bindchange="handleMovableChange" capture-bind:touchstart="handleTouchestart" capture-bind:touchend="handleTouchend" style="{{item.package?'height:'+(320+item.package_list.length * 25)+'rpx':''}}">
|
|
|
<view class="main_item_content ">
|
|
|
<view class="cartlist_item">
|
|
|
<view class="cartlist_select {{item.IsBuy ? 'active' : ''}}" bindtap="itemselected" data-count="{{item.count}}" data-id='{{item.id}}' data-price="{{item.price}}" data-index="{{index}}">
|
|
|
@@ -76,7 +76,7 @@
|
|
|
</view>
|
|
|
</movable-view>
|
|
|
</movable-area>
|
|
|
- <view class="delete_btn" data-productIndex="{{index}}" data-id='{{item.id}}' bindtap="delitem" style="{{item.package?'height:'+(260+item.package_list.length * 20)+'rpx;line-height:'+(260+item.package_list.length * 25)+'rpx':''}}"></view>
|
|
|
+ <view class="delete_btn" data-productIndex="{{index}}" data-id='{{item.id}}' bindtap="delitem" style="{{item.package?'height:'+(320+item.package_list.length * 25)+'rpx;line-height:'+(320+item.package_list.length * 25)+'rpx':''}}"></view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|