<view class="container">
|
<view class="search_wrap">
|
<image src="../../static/icon/ic_search@2x.png" mode="widthFix"></image>
|
<input type="text" placeholder="搜索咨询标题" />
|
</view>
|
<!-- 分类 -->
|
<view>
|
<scroll-view scroll-x="true" style="weight: 710rpx;margin-bottom: 30rpx;">
|
<view class="scroll_cate">
|
<view bindtap="cateClick" data-code="{{item.code}}" wx:for="{{ category }}" class="item {{ activeCate == item.code ? 'active': '' }}">{{ item.name }}</view>
|
</view>
|
</scroll-view>
|
<scroll-view scroll-x="true" style="weight: 710rpx;margin-bottom: 28rpx;">
|
<view class="scroll_cate second_list">
|
<view bindtap="seCateClick" data-index="{{index}}" wx:for="{{ secondCategory }}" class="item {{ index == 0 ? 'active': '' }}">{{ index }}{{ item }}</view>
|
</view>
|
</scroll-view>
|
</view>
|
<!-- content -->
|
<view class="content">
|
<view wx:for="{{ dataList }}" class="item" bindtap="itemClick" data-id="{{item.id}}">
|
<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 }}</text>
|
</view>
|
</view>
|
</view>
|
</view>
|
</view>
|