active.wxml 4.7 KB
<!-- begin小秘书弹层 -->
<view class='clerk_fn' wx:if="{{reveal}}" bindtap='tapHide' catchtouchmove='true'>
  <view class='clerk_box'>
  <!--  -->
    <view class='clerk_name'>小秘书微信号:{{wxtary}}</view>
    <view class='clerk_con'>点击一键复制微信号,添加小秘书为好友</view>
<view class='clerk_con'>拉你进“找月嫂&育儿嫂群”,免费领取面</view>
<view class='clerk_con'>试秘籍</view>

    <view class='clerk_btn' catchtap='bindCopy'>一键复制</view>
  </view>
</view>

<!-- 同城活动页面 -->
<view class='city_head'>
  <view class='city_left'>
    <picker bindchange="bindPicker" value="{{topcityId}}" range="{{topCity}}" range-key='name'>
      <text>{{topCity[topcityId].name}}</text>
      <image class='city_arr' src='http://bronet.ibaby88.cn/aicon01@2x.png'></image>
    </picker>
  </view>
  <view class='city_serch'>
    <input class='city_char' type='text' placeholder='搜索活动' bindinput='getSearch'></input>
    <image class='serch_img' src='http://bronet.ibaby88.cn/aicon02@2x.png' bindtap='bindSearch'></image>
  </view>
</view>
<!-- begin:月嫂攻略列表 -->
<view class='city_menu'>
  <view class='city_list' bindtap='strateTap'>
    <view class='city_img'><image src='http://bronet.ibaby88.cn/aicon03@2x.png'></image></view>
    <view class='city_info'>
      <view class='city_name'>月嫂攻略</view>
      <view class='city_txt'>找月嫂前必看</view>
    </view>
  </view>
  <view class='city_list' bindtap='preponTap'>
    <view class='city_img'><image src='http://bronet.ibaby88.cn/aicon04@2x.png'></image></view>
    <view class='city_info'>
      <view class='city_name'>优选月嫂&育儿嫂</view>
      <view class='city_txt'>可预约的优质月嫂</view>
    </view>
  </view>
</view>
<view class='city_menu city_bom'>
  <view class='city_list' bindtap='clubTap'>
    <view class='city_img'><image src='http://bronet.ibaby88.cn/aicon05@2x.png'></image></view>
    <view class='city_info'>
      <view class='city_name'>月子会所</view>
      <view class='city_txt'>必做功课</view>
    </view>
  </view>
  <view class='city_list' bindtap='communitclub'>
    <view class='city_img'><image src='http://bronet.ibaby88.cn/aicon06@2x.png'></image></view>
    <view class='city_info'>
      <view class='city_name'>交流专区</view>
      <view class='city_txt'>组团找月嫂微信群</view>
    </view>
  </view>
</view>
<!-- begin:选择框下拉 -->
<view class='matron_menu'>
  <view class="matron_list">
    <picker bindchange="monthTap" value="{{monIndex}}" range="{{conMonth}}" range-key='title'>
      <view class="picker">
        {{conMonth[monIndex].title}}<image class='matron_img' src='http://bronet.ibaby88.cn/aicon01@2x.png'></image>
      </view>
    </picker>
  </view>
  <view class="matron_list">
    <picker bindchange="cityTap" value="{{cityIndex}}" range="{{conCity}}" range-key='name'>
      <view class="picker">
        {{conCity[cityIndex].name}}<image class='matron_img' src='http://bronet.ibaby88.cn/aicon01@2x.png'></image>
      </view>
    </picker>
  </view>
  <view class="matron_list">
    <picker bindchange="dateTap" value="{{dateIndex}}" range="{{conDate}}">
      <view class="picker">
        {{conDate[dateIndex]}}<image class='matron_img' src='http://bronet.ibaby88.cn/aicon01@2x.png'></image>
      </view>
    </picker>
  </view>
  <view class="matron_list">
    <picker bindchange="allTap" value="{{allIndex}}" range="{{conWarp}}">
      <view class="picker">
        {{conWarp[allIndex]}}<image class='matron_img' src='http://bronet.ibaby88.cn/aicon01@2x.png'></image>
      </view>
    </picker>
  </view>
</view>
<!-- begin:页面信息 -->
<view wx:if="{{page_Con.length == 0}}" class='page_none'>暂无数据</view>
<block wx:else>
  <view class='page_info' wx:for="{{page_Con}}" wx:key="" bindtap='bindDetail' data-activeid='{{item.id}}'>
    <view class='page_img'><image src='{{item.list_pic}}'></image></view>
    <view class='page_title'>{{item.title}}</view>
    <view class='page_txt'>
      <text wx:if='{{item.cityName}}'>{{item.cityName[0]}} {{item.cityName[1]}}</text>
      <text class='page_date'>
      {{item.start_time}}  <text wx:if="{{item.end_time!=''}}">-</text>  {{item.end_time}}
      </text>
    </view>
    <view class='page_menu'>
      <view class='page_labelo' wx:if="{{item.status==1}}">报名中</view>
      <view class='page_labelo' wx:if="{{item.status==2}}">报名未开始</view>
      <view class='page_labelo' wx:if="{{item.status==3}}">报名结束,活动开始</view>
      <view class='page_labelo' wx:if="{{item.status==4}}">活动结束</view>
       <view class='page_labelo page_labelt'wx:if="{{item.money==0}}">免费</view>
      <view class='page_labelo page_labelt' wx:else>{{item.money}}</view>
    </view>
  </view>
</block>