1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <wxs src="course-action-bar.wxs" module="planAction"/>
- <view wx:if="{{isPre == logicStatusEnum.NO}}">
- <view class="fast" wx:if="{{!showBottom}}">
- <view class='space mr10'
- wx:if="{{planAction.isShowCheck(item, obj.isOnline)}}"
- >
- <van-button color="#FF4330" plain round size="mini" custom-class="btn" catch:tap="check">
- {{planAction.convertCheck(item.signStatus)}}
- </van-button>
- </view>
- <view class='space mr10' wx:if="{{planAction.isShowQuestion(item)}}">
- <van-button color="#8FC31F" plain round size="mini" custom-class="btn" catch:tap="question">
- {{planAction.convertQuestion(item.questionDone)}}
- </van-button>
- </view>
- <view class='space' wx:if="{{planAction.isShowExam(item)}}">
- <van-button color="#009CED" plain round size="mini" custom-class="btn" catch:tap="exam">
- {{planAction.convertExam(item.examDone)}}
- </van-button>
- </view>
- </view>
- <view class="bottom" wx:else>
- <view class="course-action">
- <view class="left mr40"
- wx:if="{{planAction.isShowCheck(item, obj.isOnline)}}"
- bind:tap="check"
- >
- <van-image width="35rpx" height="35rpx" fit="cover" src="/images/ic_course_check.png"/>
- {{planAction.convertCheck(item.signStatus)}}
- </view>
- <view class="left"
- wx:if="{{planAction.isShowLive(item,type)}}"
- bind:tap="live"
- >
- <van-image width="35rpx" height="35rpx" fit="cover" src="/images/ic_plan_live.png"/>
- {{planAction.convertLive(item.liveStatus, true)}}
- </view>
- <view class="space"></view>
- <edu-txt src="/images/ic_take_exam.png" text="{{planAction.convertQuestion(item.questionDone)}}"
- bind:tap="question"
- wx:if="{{planAction.isShowQuestion(item)}}"/>
- <edu-button button-style="btn2" size="small" title="{{planAction.convertExam(item.examDone)}}"
- bind:click="exam" wx:if="{{planAction.isShowExam(item)}}"/>
- </view>
- <edu-safe-area/>
- </view>
- </view>
|