|  |  |  | 
|---|
|  |  |  | <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> | 
|---|
|  |  |  | 
|---|
|  |  |  | <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> | 
|---|