You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
905 B
21 lines
905 B
<navigator class="bg{{data.id%7}} course" url="/course/pages/course/course?course_id={{data.id}}" bindlongpress="showAction">
|
|
<view wx:if="{{data.sticky}}" class="sticky"></view>
|
|
<view class="operations" catchtap="showAction">
|
|
<mp-icon icon="more" type="field" color="white"/>
|
|
</view>
|
|
<view class="body">
|
|
<image class="avatar" src="{{eduImgDir}}{{data.avatar_url}}" />
|
|
<view class="course-info">
|
|
<view class="course-name">{{data.name}}</view>
|
|
<view class="info">
|
|
<text class="school">{{data.school}}</text>
|
|
<text>{{data.creator}}</text> </view>
|
|
<view class="detail">
|
|
<mp-icon icon="group-detail" size="14" color="white"/>
|
|
<text class="detail-num">{{data.course_members_count}}</text>
|
|
<iconfont type="visit-num" size="14"/>
|
|
<text class="detail-num">{{data.visits}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</navigator> |