lll
liukangdong
2024-08-05 2da083225417ef7007842b84e7276242faeb0e35
wechat_jiaxuan/components/disProduct/index.wxml
@@ -31,17 +31,18 @@
          </view>
        </view>
        <view wx:if="{{ activeParam.length > 0 }}" class="shade"></view>
        <view class="status">
        <view wx:if="{{ showTouch }}" animation="{{animationData}}" class="status">
          <view class="item {{ sortType == '' ? 'active' : '' }}" data-status="" bindtap="statusChange">默认</view>
          <view class="separate"></view>
          <view class="item {{ sortType == 'greet' ? 'active' : '' }}" data-status="greet" bindtap="statusChange">最热</view>
          <view class="separate"></view>
          <view class="item {{ sortType == 'time' ? 'active' : '' }}" data-status="time" bindtap="statusChange">最新</view>
        </view>
        <scroll-view bindscrolltolower="scrolltolower" scroll-y enable-passive enable-flex class="goods_list">
        <scroll-view bindscrolltoupper="bindscrolltoupper" binddragging="touchmove" binddragstart="touchstart" bindscrolltolower="scrolltolower" scroll-y enhanced class="goods_list">
          <view class="empty"></view>
          <view wx:for="{{ datalist }}" data-id="{{item.id}}" class="item" bindtap="handleDetail">
            <view class="img_wrap">
              <image src="{{ item.coverImage }}" class="img" mode="aspectFit"></image>
              <image src="{{ item.coverImage }}" class="img" mode="aspectFill"></image>
              <image wx:if="{{ item.isNew }}" class="new" src="../../static/icon/chanpin_ic_new@2x.png" mode="widthFix"></image>
            </view>
            <view class="name">{{ item.title }}</view>