页面构成
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<scroll-view class="container" scroll-y enable-flex type="custom">
|
||||
<block wx:if="{{!hasCourse}}">
|
||||
<text>暂无信息</text>
|
||||
</block>
|
||||
<block wx:else>
|
||||
<view wx:for="{{OwnedCourse}}" wx:for-item="item" wx:for-index="index" wx:key="index" class="kecheng" bind:tap="NavigatorToVideoDetails" data-index="{{index}}">
|
||||
<view class="kecheng_video_up">
|
||||
<image class="kecheng_img" src="{{BaseURL}}/Course/{{item['课程id']}}.png" mode="aspectFit" />
|
||||
</view>
|
||||
<view class="kecheng_video_right">
|
||||
<text class="kecheng_title">{{item['课程']}}</text>
|
||||
<text class="kecheng_details">{{item['课程介绍']}}</text>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</block>
|
||||
</scroll-view>
|
||||
Reference in New Issue
Block a user