<!--pages/all/index.wxml-->
<view class="protecityct_container">
    <view class="protect_head">
        <view class="search_container">
            <image class="search_icon" src="../../assets/img/search.png"></image>
            <input class="task-search" type="text" placeholder="请输入河道名称进行查询" model:value="{{name}}" placeholder-class="placeholder-style" bindconfirm="search" bindblur="search"/>
        </view>
    </view>
    <list id="list" class="river_list" url="{{current}}" bind:update-list="updateList" list="{{list}}" bind:reset-list="resetList" params="{{params}}">
        <view class="river_item" data-item="{{item}}" bindtap="showDetail" wx:for="{{list}}" wx:key="index">
            <image class="river_image" src="{{item.image}}"></image>
            <view class="river_info">
                <view class="river_head">
                    <view class="river_name">{{item.name}}</view>
                    <view class="river_button" catchtap="uploadProblem" data-current="{{index}}" data-detail="{{item}}">上报问题</view>
                </view>
                <view class="river_location">{{item.location}}</view>
                <view class="river_note">{{item.note || ''}}</view>
            </view>
        </view>
        
    </list>
</view>
