|  |  |  | 
|---|
|  |  |  | <view class="container"> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <!-- 分类 --> | 
|---|
|  |  |  | <view class="home_tabs" style="width: 100%;"> | 
|---|
|  |  |  | <scroll-view scroll-x="true" style="width: 710rpx;margin-bottom: 30rpx;"> | 
|---|
|  |  |  | <view class="scroll_cate"> | 
|---|
|  |  |  | <view bindtap="cateClick" data-code="{{item.labelValueCode}}" wx:for="{{ tagList }}" class="item {{ tagCodes == item.labelValueCode ? 'active': '' }}">{{ item.labelValueName }}</view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </scroll-view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | <!-- content --> | 
|---|
|  |  |  | <view class="content"> | 
|---|
|  |  |  | <view wx:for="{{ dataList }}" class="item" bindtap="itemClick" data-item="{{item}}"> | 
|---|
|  |  |  | <image class="img" src="{{ item.coverImage }}" mode="widthFix"></image> | 
|---|
|  |  |  | <view class="title">{{ item.title }}</view> | 
|---|
|  |  |  | <view class="df_sb static"> | 
|---|
|  |  |  | <view>{{ item.publishDt }}</view> | 
|---|
|  |  |  | <view class="df_sb"> | 
|---|
|  |  |  | <image class="liulan" src="../../static/icon/zixun_ic_liulan.png" mode="widthFix"></image> | 
|---|
|  |  |  | <text>{{ item.viewCount || 0 }}</text> | 
|---|
|  |  |  | <!-- 分类 --> | 
|---|
|  |  |  | <view class="home_tabs" style="width: 100%;"> | 
|---|
|  |  |  | <scroll-view scroll-x="true" style="width: 710rpx;margin-bottom: 30rpx;"> | 
|---|
|  |  |  | <view class="scroll_cate"> | 
|---|
|  |  |  | <view bindtap="cateClick" data-code="{{item.labelValueCode}}" wx:for="{{ tagList }}" class="item {{ tagCodes == item.labelValueCode ? 'active': '' }}">{{ item.labelValueName }}</view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </scroll-view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | <!-- content --> | 
|---|
|  |  |  | <view class="content"> | 
|---|
|  |  |  | <view wx:for="{{ dataList }}" class="item" bindtap="itemClick" data-item="{{item}}"> | 
|---|
|  |  |  | <image class="img" src="{{ item.coverImage }}" mode="widthFix"></image> | 
|---|
|  |  |  | <view class="title">{{ item.title }}</view> | 
|---|
|  |  |  | <view class="df_sb static"> | 
|---|
|  |  |  | <view>{{ item.publishDt }}</view> | 
|---|
|  |  |  | <view class="df_sb"> | 
|---|
|  |  |  | <image class="liulan" src="../../static/icon/zixun_ic_liulan.png" mode="widthFix"></image> | 
|---|
|  |  |  | <text>{{ format.formarCount(item.viewCount) }}</text> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | <wxs module="format" src="../../utils/format.wxs"></wxs> | 
|---|