|
|
@@ -49,10 +49,10 @@
|
|
|
<view class="time-text">{{seckillruntimearr[index]}}</view>
|
|
|
</view>
|
|
|
<view class="main_item">
|
|
|
- <movable-area style="{{item.package?'height:'+(210+item.package_list.length * 28)+'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:'+(210+item.package_list.length * 28)+'rpx':''}}">
|
|
|
- <view class="main_item_content ">
|
|
|
- <view class="cartlist_item">
|
|
|
+ <movable-area style="{{item.package?'height:'+(210+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:'+(210+item.package_list.length * 25)+'rpx':''}}">
|
|
|
+ <view class="main_item_content " >
|
|
|
+ <view class="cartlist_item" style="{{item.package?'height:'+(210+item.package_list.length * 25)+'rpx':''}}">
|
|
|
<view class="cartlist_select {{item.IsBuy ? 'active' : ''}}" bindtap="itemselected" data-count="{{item.count}}" data-id='{{item.id}}' data-price="{{item.original_price}}" data-index="{{index}}">
|
|
|
<text class="pay-circle"></text>
|
|
|
</view>
|
|
|
@@ -63,12 +63,13 @@
|
|
|
<!-- <view class="cartlist_title"><i wx:if="{{item.pv < item.original_price}}" style="display: inline-block;background: #F44336;color: #fff;padding: 0px 5px;font-size: 11px;line-height: 35rpx;margin-right: 10rpx;vertical-align: middle;">特惠</i>{{item.product_name}} <span wx:if="{{item.color_name || item.size_name}}">|</span> {{item.color_name}} {{item.size_name}}</view> -->
|
|
|
<view class="cartlist_title"><i style="display: inline-block;background: #F44336;color: #fff;padding: 0px 5px;font-size: 11px;line-height: 35rpx;margin-right: 10rpx;vertical-align: middle;">{{item.sale_zone_name}}</i>{{item.product_name}} <span wx:if="{{item.color_name || item.size_name}}">|</span> {{item.color_name}} {{item.size_name}}</view>
|
|
|
|
|
|
+ <view style="font-size: 22rpx;color: #666;margin: 10rpx 0;" wx:if="{{item.silver > 0}}">可抵扣银豆数:¥{{item.silver / 100}}</view>
|
|
|
<view class="project-pack-list" wx:if="{{item.package}}">
|
|
|
<view wx:for="{{item.package_list}}" wx:for-item="pack" wx:for-index="ind">
|
|
|
- <p>{{pack.item_title}} x{{pack.nums}}</p>
|
|
|
+ <p style="white-space: nowrap;text-overflow: ellipsis;overflow: hidden;display: block;font-size: 23rpx;">{{pack.item_title}} x{{pack.nums}}</p>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="cartlist_type" wx:else>---</view>
|
|
|
+ <view class="cartlist_type" wx:else>--</view>
|
|
|
|
|
|
<currency class="cartlist_price" symbol="¥" value="{{item.original_price}}" />
|
|
|
<view class="cartlist_num">
|
|
|
@@ -83,7 +84,7 @@
|
|
|
</view>
|
|
|
</movable-view>
|
|
|
</movable-area>
|
|
|
- <view class="delete_btn" data-productIndex="{{index}}" data-id='{{item.id}}' bindtap="delitem" style="{{item.package?'height:'+(210+item.package_list.length * 28)+'rpx;line-height:'+(210+item.package_list.length * 28)+'rpx':''}}">删除</view>
|
|
|
+ <view class="delete_btn" data-productIndex="{{index}}" data-id='{{item.id}}' bindtap="delitem" style="{{item.package?'height:'+(210+item.package_list.length * 25)+'rpx;line-height:'+(210+item.package_list.length * 25)+'rpx':''}}">删除</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|