partner.wxml 2.7 KB
<view class='parterner'>
  <!-- 合作商户页面 -->
  <view class="parthead">
    <!-- <block>
    <image src="{{parentImg[0].image}}"></image>
  </block> -->

    <!--轮播图-->
    <view class="swiper_image">
      <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" class="swiper_item_img" bindchange="swiperChange">
        <block wx:for="{{imgUrls}}" wx:key="doct">
          <swiper-item bindtap="enter" data-url="{{item.url}}">
            <image src="{{item.image}}" class="slide-image" width="355" height="150" />
          </swiper-item>
        </block>
      </swiper>

      <view class="dots">
        <block wx:for="{{imgUrls}}" wx:key="">
          <view class="dot{{index == currentSwiper ? ' active' : ''}}"></view>
        </block>
      </view>

    </view>
  </view>

  <!--begin:分类导航-->
  <view class="part_kind_list">
    <view class="part_kind_item">
      <view class="iten_type" bindtap="childkind" wx:for="{{shoplist}}" wx:key="" data-type="{{item.id}}" data-name="{{item.name}}">{{item.name}}</view>
      <!-- <view class="iten_type" bindtap="childkind" data-type="2">孕早期</view>
    <view class="iten_type" bindtap="childkind" data-type="3">孕中期</view> -->
    </view>
    <!-- <view class="part_kind_item">
    <view class="iten_type" bindtap="childkind" data-type="4">孕晚期</view>
    <view class="iten_type" bindtap="childkind" data-type="5">产后</view>
    <view class="iten_type" bindtap="childkind" data-type="6">亲子</view>
  </view> -->
  </view>
  <!-- begin:列表信息 -->
  <view class="nearsupport">附近服务</view>
  <view class="nearsupport_list">
    <block wx:for="{{parentList}}" wx:key="">
      <view class="nearsupport_item" bindtap="detail" 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" wx:if="{{item.toShow==1}}">
            <text class="item_price_box1">¥{{item.now_money}}</text>
            <text class="item_price_box2">¥{{item.original_money}}</text>
          </view>

          <view wx:if="{{item.toShow==2}}">
            <text class="item_price_box1">¥{{item.original_money}}</text>
          </view>


            <view class="support_item_price" wx:if="{{item.toShow==3}}">
            <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>
  </view>
</view>