afterchildbirth.wxml 2.2 KB
<!-- 产后分类页面 -->
<view class="search searchbox">
  <view class="search_hospital">
    <input placeholder="请输入关键字" class="enterword"  bindinput='getKeywords'/>
  </view>
  <view class="searchimg" bindtap='searchTap'>
    <image src="http://bronet.ibaby88.cn/aicon02@2x.png"></image>
  </view>
</view>
<!-- begin:下拉选择 -->
<view class="select_place">
  <picker bindchange="getAddr" value="{{addr_index}}"  range="{{addrCon}}" range-key='name'>
    <view class="place">
      <view class="place_name">{{addrCon[addr_index].name}}</view>
      <view class="place_img">
        <image src="http://bronet.ibaby88.cn/aicon01@2x.png"></image>
      </view>
    </view>
  </picker>
  <picker bindchange="getRank" value="{{rank_index}}"  range="{{rankCon}}">
    <view class="place">
      <view class="place_name">{{rankCon[rank_index]}}</view>
      <view class="place_img">
        <image src="http://bronet.ibaby88.cn/aicon01@2x.png"></image>
      </view>
    </view>
  </picker>

  <picker bindchange="getChoose" value="{{choose_index}}"  range="{{chooseCon}}" range-key='title'>
    <view class="place">
      <view class="place_name">{{chooseCon[choose_index].title}}</view>
      <view class="place_img">
        <image src="http://bronet.ibaby88.cn/aicon01@2x.png"></image>
      </view>
    </view>
  </picker>
</view>
<!-- begin:分类列表 -->
<view class="nearsupport_list">
  <block wx:if="{{listInfo.length == 0}}"><view class='support_none'>暂无数据</view></block>
  <block wx:else>
    <block wx:for="{{listInfo}}" wx:key="">
      <view class="nearsupport_item" bindtap="childtail" data-compareId="{{item.id}}">
        <view class="support_item_img">
          <image src="{{item.list_pic}}"></image>
        </view>
        <view class="support_item_content">
          <view class="support_item_name">{{item.title}}</view>
          <view class="support_item_price">
            <text class="item_price_box1">¥{{item.now_money}}</text>
            <text class="item_price_box2">¥{{item.original_money}}</text>
          </view>
          <view class="support_meter">{{item.distance}}</view>
        </view>
      </view>
    </block>
  </block>
</view>