myReport.wxml 4.2 KB
<!-- 我的报名页面 -->
<view class='warp_head'>
  <view class="warp_name {{currTab==0?'active':''}}" data-current="0" bindtap='clickTab'><text></text>我的报名</view>
  <view class="warp_name {{currTab==1?'active':''}}" data-current="1" bindtap='clickTab'><text></text>我的收藏</view>
  <view class="warp_name {{currTab==2?'active':''}}" data-current="2" bindtap='clickTab'><text></text>评论回复</view>
  <view class="warp_name {{currTab==3?'active':''}}" data-current="3" bindtap='clickTab'><text></text>我的微课</view>
</view>
<!-- begin:切换内容 -->
<view class="" wx:if="{{currTab==0}}">

    <view class="nodata" wx:if="{{mysignlist.length==0}}">去看一下孕育妈咪圈的活动吧</view>


    <block wx:else>
    <view class='report_list' wx:for="{{mysignlist}}" wx:key=''>
      <image class='report_img' src='{{item.list_pic}}'></image>
      <view class='report_info'>
        <view class='report_txt'>{{item.title}}</view>
        <text class='report_char'>{{item.address}}</text>
        <text class='report_char'>{{item.end_time}}</text>
        <view class='report_flx'>
          <text class='report_btn' wx:if="{{item.money==0}}">免费</text>
          <text class='report_btn' wx:else>¥{{item.money}}</text>

           <text class='report_btn report_over' wx:if="{{item.isOver==2}}">已结束</text>
        </view>
      </view>
    </view>
    </block>



    <view class="searchfuwu c1" bindtap="join" wx:if="{{mysignlist.length==0}}">参加活动</view>
</view>
<view wx:if="{{currTab==1}}">
<view class="nodata" wx:if="{{mysignlist==0}}">去看一下孕育妈咪圈的活动吧</view>

<block wx:else>
  <view class='report_list' wx:for="{{mysignlist}}" wx:key=''>
    <image class='report_img' src='{{item.list_pic}}'></image>
    <view class='report_info'>
      <view class='report_txt'>{{item.title}}</view>
      <text class='report_char'>{{item.address}}</text>
      <text class='report_char'>{{item.end_time}}</text>
      <view class='report_flx'>
        <text class='report_btn' wx:if="{{item.money==0}}">免费</text>
        <text class='report_btn' wx:else>¥{{item.money}}</text>

        <text class='report_btn report_over' wx:if="{{item.isOver==1}}">已结束</text>
      </view>
    </view>
  </view>
</block>
</view>
<view wx:if="{{currTab==2}}">

<view class="nodata" wx:if="{{content.length==0}}">去看一下孕育妈咪圈的活动吧</view>

  <block wx:else>
    <view class='report_menu' wx:for="{{content}}" wx:key="">
      <view class='report_date'>{{item.common_time}}</view>
      <view class='report_tab'>
        <view class='report_comment'>您对{{item.title}}活动的评论有了回复</view>
        <!-- begin:展开的内容 -->
        <view class='report_con' wx:if="{{item.shows}}">
          <text wx:if="{{item.is_commoned==1}}">{{item.commoned}}</text>
          <text wx:if="{{item.is_commoned==2}}">{{item.content}}</text>
        </view>
        <!-- begin:点击展开 -->
        <view class='reply_box' bindtap='showHide' data-changeid="{{item.id}}">
          <text class='reply_open' wx:if="{{item.shows}}">收起回复</text>
          <text class='reply_open' wx:else>展开回复</text>
          <image class='reply_img reply_rote' wx:if="{{item.shows}}" src='http://bronet.ibaby88.cn/aicon01@2x.png'></image>
          <image class='reply_img' wx:else src='http://bronet.ibaby88.cn/aicon01@2x.png'></image>
        </view>
      </view>
    </view>
</block> 



<view class="searchfuwu c2" bindtap="join" wx:if="{{content.length==0}}">参加活动</view>
</view>

<view wx:if="{{currTab==3}}">

<view class="nodata" wx:if="{{mincourse.length==0}}">去看一下孕育妈咪圈的活动吧</view>

<block wx:else>
  <view class='course_box' bindtap='course_Tap' wx:for="{{mincourse}}" wx:key="" data-activityid="{{item.ActivityId}}">
    <image class='course_img' src='{{item.pic}}'></image>
    <view class='course_menu'>
      <view class='course_txt'>儿童险TOP16爆款问题,答案儿童险TOP16爆款问题,答案儿童险TOP16爆款问题,答案</view>
      <view class='course_name'>孙潇潇</view>
      <view class='course_price'>2018年10月1日 10:00</view>
    </view>
  </view>

</block>  

<view class="searchfuwu c3" bindtap="join" wx:if="{{mincourse.length==0}}">参加活动</view>

</view>