Files
YelayMaths/pages/kecheng/kecheng.wxml
T
Abin a3c886146a V0.0.9 更新
修正IOS登录错误
2026-01-07 11:01:21 +08:00

21 lines
1.0 KiB
Plaintext

<scroll-view class="container" scroll-y enable-flex type="custom">
<block wx:if="{{!hasCourse}}">
<view style="width: 100%;height: 400rpx;" >
<image style="margin-top: 30rpx; margin-left: 20rpx; height: 350rpx; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); width: 710rpx; border-radius: 20rpx; background-color: rgb(0, 255, 255);"
src="{{BaseURL}}/Images/Banner/BGbanner.png" mode="aspectFill" />
</view>
<Parser html="{{htmlcontent}}" />
</block>
<block wx:else>
<view wx:for="{{OwnedCourse}}" wx:for-item="item" wx:for-index="index" wx:key="index" class="kecheng" bind:tap="NavigatorToVideoDetails" data-index="{{index}}">
<view class="kecheng_video_up">
<image class="kecheng_img" src="{{BaseURL}}/Course/{{item['课程id']}}.png" mode="aspectFit" />
</view>
<view class="kecheng_video_right">
<text class="kecheng_title">{{item['课程']}}</text>
<text class="kecheng_details">{{item['课程介绍']}}</text>
</view>
</view>
</block>
</scroll-view>