partner.wxml
2.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<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>