myCourseDetail.wxml 2.5 KB
<!-- 微课详情页面 -->
<view class='detail_head'>
  <image class='detail_img' src='http://pi4orwnti.bkt.clouddn.com/dbanner01@2x.png'></image>
  <view class='detail_witer'>
    <view class='detail_title'>好孕妈妈月嫂见面会 周末来报</view>
    <view class='detail_free'>免费</view>
    <view class='detail_flex'>
      <view class='detail_date'><image class='date_img' src='http://pi4orwnti.bkt.clouddn.com/dicon12@2x.png'></image> 9月15日 13:30</view>
      <view class='detail_date detail_left'>主讲人:孙小小</view>
    </view>
  </view>
</view>
<view class='interest_box'>
  <view class='interest_right'>
    <image class='interest_img' src='http://pi4orwnti.bkt.clouddn.com/dicon11@2x.png'></image>
    <text class='interest_txt'>100兴趣 . 11报名</text>
  </view>
  <!-- begin:判断条件,如果头像大于3 -->
  <view class='interest_left' wx:if='{{imgCourse.length>3}}'>
    <view class='interest_menu'>
      <view class='interest_pic' wx:for='{{imgCourse}}'>
        <image src='{{item}}'></image>
      </view>
    </view>
    <view>...</view>
    <image class='interest_arrow' src='http://pi4orwnti.bkt.clouddn.com/bicon08@2x.png'></image>
  </view>
  <!-- begin:否则 -->
  <view wx:else>
    <view class='interest_menu interest_wid'>
      <view class='interest_pic' wx:for='{{imgCourse}}'>
        <image src='{{item}}'></image>
      </view>
    </view>
  </view>
</view>
<!-- begin:切换头部 -->
<view class='nav_head'>
  <view class="nav_item {{currTab==0?'active':''}}" data-current="0" bindtap='clickTab'>详情</view>
  <view class="nav_item {{currTab==1?'active':''}}" data-current="1" bindtap='clickTab'>交流</view>
  <view class="nav_item {{currTab==2?'active':''}}" data-current="2" bindtap='clickTab'>费用说明</view>
</view>
<!-- begin:切换内容 -->
<view wx:if="{{currTab==0}}"><image class='test_img' src='http://pi4orwnti.bkt.clouddn.com/cpic03@2x.png'></image></view>
<view wx:if="{{currTab==1}}" class='nav_none'>暂无数据</view>
<view wx:if="{{currTab==2}}" class='nav_none'>暂无数据</view>
<!-- begin:底部 -->
<view class='foot_page'>
  <view class='foot_info'>
    <view class='foot_list'>
      <image class='collect' src='http://pi4orwnti.bkt.clouddn.com/coll.png'></image>
      <view class='foot_text'>收藏</view>
    </view>
    <view class='foot_list'>
      <image class='collect' src='http://pi4orwnti.bkt.clouddn.com/img01.png'></image>
      <view class='foot_text'>收藏</view>
    </view>
  </view>
  <view class='foot_btn'>已报名,查看二维码</view>
</view>