事件添加样式

dev
Esdese 3 years ago
parent 67c1404a41
commit 3793545e93

@ -1,48 +1,44 @@
<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 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-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">
<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;">
<view style="display: inline-block; font-size: 24rpx;color: rgba(153, 153, 153, 1);margin-left: 16rpx;">
{{item.maxSourcetime}}
</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 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>
</van-checkbox-group>
</view>
</view>
</van-checkbox-group>
</view>

@ -24,6 +24,7 @@
margin-left: 32rpx;
display: flex;
align-items:center;
justify-content: space-between;
}
checkbox .wx-checkbox-input {
@ -40,7 +41,7 @@ checkbox .wx-checkbox-input {
font-size: 24rpx;
text-align: center;
line-height: 40rpx;
margin-left: 210rpx;
margin-right: 32rpx;
}
.card_title{
@ -65,10 +66,6 @@ checkbox .wx-checkbox-input {
.card_head .van-checkbox{
display: inline-block !important;
}
checkbox .wx-checkbox-input {
height: 32rpx;
width: 32rpx;
}
.van-checkbox__icon {
/* margin-left: 32rpx ; */
font-size: 32rpx !important;

Loading…
Cancel
Save