<!--index.wxml-->
<view class="MainPage">
  <view class="list">
    <view class="flex-h" wx:for="{{List}}" wx:for-item="item" wx:for-index="idx" wx:key="key">

      <!-- 左侧图片 -->
      <view class="img">
        <image mode="aspectFill" src="{{item.Img}}" class="centerLabel cover" bindtap="DeleteItem"></image>
      </view>

      <!-- 右侧内容 -->
      <view class="flex-item">
        <view>
          <view class="delete">
            <image mode="widthFix" src="/assets/images/icon28.png"></image>
          </view>
          <text>{{item.Name}}</text>
          <text>{{item.Address}}</text>
          <text>距您{{item.Distance}}km</text>
          <text class="price">均价：<text>{{item.Price}}</text>万/平</text>
        </view>
      </view>

    </view>
  </view>
</view>