index.wxml 1.5 KB

1
  1. <view class="course"><view class="custom-header-container"><view class="header-bg" style="{{'height:'+(headerBgHeight)+';'}}"><image src="../../../static/image/course/bg.png"></image></view><view class="custom-header-status-bar" style="{{'height:'+(getStausBarHeight)+';'}}"></view><view class="custom-header-top-container"><view class="custom-header-title">课程报名</view></view></view><view class="banner"><swiper class="swipe" indicator-dots="true" autoplay="true" interval="5000" duration="1500"><block wx:for="{{bannerImg}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item url="{{item.url}}"><image class="banner-img" src="{{item.img}}" mode="aspectFill" title="{{item.title}}"></image></swiper-item></block></swiper></view><view class="course-list-icon"><view class="img"><image src="../../../static/image/course/creation.png" mode></image></view><text>课程报名</text></view><view class="course-list"><block wx:for="{{courseListData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="course-list-item"><view class="course-item-left"><image src="{{item.img}}" mode></image></view><view class="course-item-right"><view class="course-item-title">{{''+item.title+''}}</view><view class="course-item-content">{{''+item.content+''}}</view><view class="course-item-moneyAndBtn"><view class="moneyAndBtn-money"><text>¥</text>30.00</view><view data-event-opts="{{[['tap',[['navTo',['$event']]]]]}}" class="moneyAndBtn-btn" bindtap="__e">立即报名</view></view></view></view></block><view class="placeholder-view"></view></view></view>