ll
liukangdong
2024-08-15 ebc6e7ee67f13e7aa311e737dfcb4c5caed112ee
wechat_staff/components/disProduct/index.wxml
@@ -1,11 +1,11 @@
<view class="app">
  <view class="home_top" style="top:{{ menuButtonInfo.top + menuButtonInfo.height + 6 }}px">
  <view class="home_top">
    <view class="search_wrap">
      <image src="../../static/icon/ic_search@2x.png" mode="widthFix"></image>
      <input bindconfirm="bindblur" model:value="{{ query }}" type="text" placeholder="搜索产品名称" />
    </view>
  </view>
  <view class="home_content" style="padding-top:{{ menuButtonInfo.top + menuButtonInfo.height + 6 }}px;">
  <view class="home_content">
    <view class="main_content">
      <scroll-view class="main_left" enable-flex scroll-y>
        <!-- <view class="main_left"> -->
@@ -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>