You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
2.3 KiB

<van-search value="{{ searchValue }}" placeholder="请输入搜索关键词" show-action bind:search="onSearch" bind:change="onChange" use-action-slot>
<wxs src="./filter.wxs" module="filter"></wxs>
<view slot="action" bind:tap="onClick">搜索</view>
</van-search>
<van-dropdown-menu custom-class='menu'>
<van-dropdown-item value="{{ sBrand }}" options="{{ option1 }}" bind:change="brandChange" />
<van-dropdown-item value="{{ sSeriesName }}" options="{{ option2 }}" bind:change="seriesNameChange" />
<van-dropdown-item value="{{ sQuDao }}" options="{{ option3 }}" bind:change="sQuDaoChange" />
</van-dropdown-menu>
<view class="event_recom">
<van-checkbox-group value="{{ result }}" bind:change="checkChange">
<view class="event_card" wx:for="{{eventList}}" wx:key="idxa">
<view class="card_head">
<view style="width: 50%; display: flex; align-items: center;">
<van-checkbox name="{{filter.stringify(item)}}" shape="square" class="van-checkbox"></van-checkbox>
<view style="display: inline-block; font-size: 24rpx;color: rgba(153, 153, 153, 1);margin-left: 16rpx;">
{{item.maxSourcetime}}
</view>
</view>
<view class="tag"> {{item.events_type}}</view>
</view>
<view class="card_title">
<text>{{item.events_title}}</text>
</view>
<view class="card_label" style="margin-top: 32rpx;">
<text style="color: rgba(153, 153, 153, 1);">文章篇数(条)</text>
<text>{{item.events_count}}</text>
</view>
<view class="card_label" style="margin-top: 24rpx;">
<text style="color: rgba(153, 153, 153, 1);">相关品牌</text>
<text>{{item.events_brand}}</text>
</view>
<view class="card_label" style="margin-top: 24rpx;">
<text style="color: rgba(153, 153, 153, 1);">相关车型</text>
<text>{{item.events_series}}</text>
</view>
<view class="card_label" style="margin-top: 24rpx;">
<text style="color: rgba(153, 153, 153, 1);">传播周期(条)</text>
<text>{{item.events_influence}}</text>
</view>
</view>
</van-checkbox-group>
</view>