my-course.wxml 2.9 KB
<view class="page data-v-2de21393" style="{{(vuex_theme)}}"><block wx:if="{{list.length>0}}"><view class="data-v-2de21393"><view class="list data-v-2de21393"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handelClick',['$0'],[[['list','',index]]]]]]]}}" class="items data-v-2de21393" bindtap="__e"><view class="time data-v-2de21393">{{''+(item.starttime?'有效期: '+item.starttime+'-'+item.endtime:"有效期: -")+''}}</view><view class="items_wrap data-v-2de21393"><image class="img data-v-2de21393" src="{{item.common_image}}"></image><view style="margin-left:16rpx;width:calc(100% - 280rpx);" class="data-v-2de21393"><view class="title data-v-2de21393">{{item.common_name}}</view><view class="jd data-v-2de21393">{{'学习进度: '+item.learnrate+'%'}}</view></view></view><view style="margin-top:18px;width:100%;height:1px;background-color:#f7f7f7;" class="data-v-2de21393"></view><view class="items_bom data-v-2de21393"><view data-event-opts="{{[['tap',[['begin',['$0'],[[['list','',index]]]]]]]}}" class="begin data-v-2de21393" catchtap="__e">开始学习</view></view></view></block></view><view style="height:40rpx;" class="data-v-2de21393"></view><c-loading vue-id="e33e405a-1" loading="{{loading}}" class="data-v-2de21393" bind:__l="__l"></c-loading><view style="height:40rpx;" class="data-v-2de21393"></view></view></block><block wx:else><view style="width:100%;height:100%;" class="data-v-2de21393"><view style="margin:150px auto 0;width:187px;height:110px;" class="data-v-2de21393"><image style="width:187px;height:110px;" lazy-load="true" src="{{vuex_baseImgUrl&&vuex_baseImgUrl+'noData.png'}}" class="data-v-2de21393"></image></view><view style="width:100%;margin-top:10px;text-align:center;font-size:13px;color:#121212;" class="data-v-2de21393">暂无数据</view></view></block><u-popup bind:input="__e" vue-id="e33e405a-2" mode="center" border-radius="20" value="{{mukeshow}}" data-event-opts="{{[['^input',[['__set_model',['','mukeshow','$event',[]]]]]]}}" class="data-v-2de21393" bind:__l="__l" vue-slots="{{['default']}}"><view class="mukepop data-v-2de21393"><view class="title data-v-2de21393">激活体验课</view><view class="success data-v-2de21393"><image class="success-i _img data-v-2de21393" src="{{vuex_baseImgUrl&&vuex_baseImgUrl+'mukepopsucc.png'}}" alt></image><view class="success-t data-v-2de21393">已复制</view></view><view class="tip data-v-2de21393"><view class="tip-t1 data-v-2de21393">兑换码:</view><view class="tip-t2 data-v-2de21393">{{''+gostuObj.activation_code+''}}</view><view class="tip-t3 data-v-2de21393">{{''+('您已复制<'+gostuObj.common_name+'>兑换码,请前往至指定平台进行核销。')+''}}</view></view><view data-event-opts="{{[['tap',[['tipClick',['$event']]]]]}}" class="tipclik data-v-2de21393" bindtap="__e">查看慕课网激活码使用说明</view></view></u-popup></view>