<view>
    <view>

        <view class="weui-search-bar">
            <view class="weui-search-bar__form">
                <!-- 搜索框 -->
                <view class="weui-search-bar__box">
                    <icon class="weui-icon-search_in-box" type="search" size="14"></icon>
                    <input type="text" class="weui-search-bar__input" placeholder="请输入搜索内容" name="search-input" bindinput="getsearchvalue" />
                </view>
            </view>
            <!-- 搜索 -->
            <view class="weui-search-bar__cancel-btn"  bindtap="searchRe">搜索</view>
        </view>

        <view class="block"></view>

        <block wx:for="{{vote}}" wx:key="_id" class="o">
            <view class="rmcontent" bindtap="tovotecontent" data-id="{{item._id}}" wx:if="{{item.canhot==true}}">
                <image class="conimg" src="{{item.imgSrc}}"></image>
                <view class="con">
                    <view>
                        <text class="conintro">{{item.votename}}</text>
                    </view>
                    <view class="timeinfo">
                        <image src="../../images/时钟.png" class="timeimg"></image>
                        <text class="contime">截止时间：</text>
                        <text class="t">{{item.dateTimeArray2[0][item.dateTime2[0]]}}-{{item.dateTimeArray2[1][item.dateTime2[1]]}}-{{item.dateTimeArray2[2][item.dateTime2[2]]}}</text>
                    </view>
                </view>
            </view>
        </block>






        <!-- 搜索历史 -->

    </view>

</view>