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.
16 lines
890 B
16 lines
890 B
<view class="body">
|
|
<view class="flex-col course-display">
|
|
<view class="course-name">{{course.name}}</view>
|
|
<image class="round avatar" src="{{eduImgDir}}{{course.teacher_img}}"></image>
|
|
<view class="teacher-name">{{course.teacher_name}}</view>
|
|
<view class="school">{{course.teacher_school}}</view>
|
|
</view>
|
|
<view class="flex-col invite-display">
|
|
<view class="invite-code" bindtap="onTapCode">邀请码:{{course.invite_code||options.invite_code}}</view>
|
|
<image class="invite-code" mode="aspectFit" bindtap="preview" binderror="onImgError" show-menu-by-longpress src="{{invite_code_url}}"/>
|
|
<button open-type="share" size="mini" plain="1">发送分享</button>
|
|
</view>
|
|
<button wx:if="{{user.user_id!=2}}" class="join-button" bindtap="joinCourse">加入课堂</button>
|
|
<button wx:else class="join-button" bindtap="login">点击登陆</button>
|
|
</view>
|