jiangping
2024-07-26 2faa6546a9f9ddb29f81cbc9770fc25b95703695
wechat_jiaxuan/components/disProduct/index.wxml
@@ -36,7 +36,7 @@
          <view class="separate"></view>
          <view class="item {{ sortType == 'time' ? 'active' : '' }}" data-status="time" bindtap="statusChange">最新</view>
        </view>
        <scroll-view bindscrolltoupper="scrolltoupper" bindscrolltolower="scrolltolower" scroll-y   enable-passive enable-flex class="goods_list">
        <scroll-view bindscrolltolower="scrolltolower" scroll-y   enable-passive enable-flex class="goods_list">
            <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>
@@ -51,6 +51,9 @@
                <text>{{ item.viewCount || 0 }}</text>
              </view>
            </view>
            <view wx:if="{{ datalist.length == 0 }}" class="empty_wrap">
              <image class="default_empty" src="../../static/images/default_empty.png"></image>
            </view>
        </scroll-view>
      </view>
    </view>