123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <wxs module="enumItem" src="../../../wxs/enumItem.wxs"></wxs>
- <view>
- <view wx:if="{{!userInfo.identify}}">
- <view style="text-align:center;margin:50rpx">
- <text> 您未开通在线练习业务 </text>
- </view>
- <view style="text-align:center;margin:50rpx">
- <text> 实名认证后,可获得试卷 </text>
- </view>
- <navigator class="mt50" url="/pages/user/identify/index" hover-class="navigator-hover" open-type="navigate">
- <button class="i-btn i-btn-primary i-btn-square"> 实名认证 </button>
- </navigator>
- </view>
- <view wx:else>
- <!-- 视频列表 -->
- <view class="guess-section">
- <block wx:for="{{courseList}}" wx:for-item="item" wx:for-index="index" wx:key="index">
- <view class="guess-item">
- <view class="image-wrapper item-img">
- <image src="{{item.tb}}" mode="aspectFill"> </image>
- <view class="circle" bindtap="gotoCourse" data-id="{{item.courseId}}" wx:if="{{item.isPay}}">
- <view class="circle_inner_play"></view>
- </view>
- <view class="circle" bindtap="startWxpay" data-id="{{item.courseId}}" wx:else>
- <i-icon type="lock" size="50" color="red" />
- </view>
- </view>
- <text class="title clamp">
- 【{{item.nd}}】 {{item.name}}
- </text>
- <view class="info">
- <text class="price" wx:if="{{item.canBuy}}">
- 价格:{{"¥"+item.fee/100}}
- </text>
- <text class="xs">
- 学时:{{item.totalXs/10}}
- </text>
- <button class="contact" open-type="contact" session-from="weapp" wx:if="{{!item.canBuy}}">
- 联系我们
- </button>
- </view>
- </view>
- </block>
- </view>
- <view wx:if="{{from==-1}}" class="m20">
- <view class="padding tc">没有更多了</view>
- </view>
- </view>
-
- <modal title="iOS端暂不支持虚拟支付业务" confirm-text="保存图片" hidden="{{!buyModel}}" no-cancel="true" bindconfirm="downloadFile">
- <image src="{{info.code_url}}" mode="widthFix" style="width:100%"></image>
- <view style="color:red;text-align:center;">
- <text> IOS端暂不支持虚拟支付业务</text>
- </view>
- </modal>
- </view>
|