<!--package_A/pages/stores/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="{{shopsName}}" placeholder-class="placeholder-style" bindconfirm="search" bindblur="search"/>
        </view>
    </view>
    <list id="list" class="shop_list" url="{{current}}" bind:update-list="updateList" list="{{list}}" bind:reset-list="resetList" params="{{params}}">
        <view class="shop_item" data-item="{{item}}" bindtap="showDetail" wx:for="{{list}}" wx:key="index">
            <view class="shop_info">
                <image class="shop_img" mode="scaleToFill" src="{{item.shopsImage}}"></image>
                <view class="massage_box">
                    <text class="shops_name" style="width: 100%;font-size: 30rpx;">{{item.shopsName}}</text>
                    <text class="shops_area" style="font-size: 26rpx;margin: 16rpx 0;">{{item.areaName}}</text>
                    <view class="location_text">
                        <image style="width: 20rpx;height: 20rpx;margin: 6rpx 10rpx 0 0;" src="../../../assets/img/position.png"></image>
                        <text class="location_value" style="font-size: 22rpx;">{{item.shopsAddress}}</text>
                    </view>
                </view>
            </view>
            <view class="execute_btn"  catchtap="showNavigate" data-current="{{index}}" data-detail="{{item}}">导航</view>
        </view>
        
    </list>
</view>
