matronPrepon.wxml
2.3 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
<!-- 优选月嫂页面 -->
<view class='matron_head'>
<view class='matron_txt'>一键免费定制,找到满意的月嫂</view>
<view class='matron_btn' bindtap='findTap'>立即定制</view>
</view>
<!-- begin:选择框下拉 -->
<view class='matron_menu'>
<!-- begin:工种下拉 -->
<view class='matron_list'>
<picker bindchange="priceTap" value="{{priIndex}}" range="{{conPrice}}">
<view class="picker">
{{conPrice[priIndex]}}<image class='matron_img' src='http://bronet.ibaby88.cn/aicon01@2x.png'></image>
</view>
</picker>
</view>
<!-- begin:年龄下拉 -->
<view class='matron_list'>
<picker bindchange="ageTap" value="{{ageIndex}}" range="{{conAge}}">
<view class="picker">
{{conAge[ageIndex]}}<image class='matron_img' src='http://bronet.ibaby88.cn/aicon01@2x.png'></image>
</view>
</picker>
</view>
<!-- begin:经验下拉 -->
<view class='matron_list'>
<picker bindchange="studyTap" value="{{studyIndex}}" range="{{conStudy}}">
<view class="picker">
{{conStudy[studyIndex]}}<image class='matron_img' src='http://bronet.ibaby88.cn/aicon01@2x.png'></image>
</view>
</picker>
</view>
<!-- begin:机构下拉 -->
<view class='matron_list'>
<picker bindchange="organTap" value="{{orgIndex}}" range="{{conOrgan}}" range-key='title'>
<view class="picker">
{{conOrgan[orgIndex].title}}<image class='matron_img' src='http://bronet.ibaby88.cn/aicon01@2x.png'></image>
</view>
</picker>
</view>
</view>
<!-- begin:列表信息 -->
<view class="nodata" wx:if="{{matronCon.length==0}}">暂无数据</view>
<view wx:else>
<view class='matron_tab' wx:for="{{matronCon}}" bindtap='detailTap' wx:key="name" data-maternityId="{{item.id}}">
<view class='matron_pic'><image src='{{item.pic}}'></image></view>
<view class='matron_info'>
<view class='matron_name'>{{item.name}}</view>
<view class='matron_detail'>
<text>{{item.age}}岁</text>
<text>{{item.expName}}</text>
<text wx:if="{{item.type==1}}">月嫂</text>
<text wx:if="{{item.type==2}}">育儿嫂</text>
<text>{{item.native}}</text>
</view>
<view class='matron_day'>¥<text class='matron_money'>{{item.money}}</text>/26天</view>
</view>
</view>
</view>