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.
1 lines
2.4 KiB
1 lines
2.4 KiB
<view class="page flex-col" style="height:auto;"><view class="group_1 flex-row" style="height:auto;"><view class="box_1 flex-col justify-end" style="height:auto;margin-top:0;"><view class="text-wrapper flex-row justify-between" style="margin-top:50rpx;width:80%;padding:0 50rpx;background-color:rgba(248, 246, 237, 1);margin-left:10%;"><text data-event-opts="{{[['tap',[['changeTab',['平台课程']]]]]}}" class="{{['x1',(activeTab==='平台课程')?'active':'']}}" bindtap="__e">平台课程</text><text data-event-opts="{{[['tap',[['changeTab',['供应链']]]]]}}" class="{{['x1',(activeTab==='供应链')?'active':'']}}" bindtap="__e">供应链</text></view><view class="input_1 flex-row"><image class="icon_1" referrerpolicy="no-referrer" src="/static/lanhu_kecheng/81c7c1c64717dc63b3f22bf8626afcc4.png" data-event-opts="{{[['tap',[['getData']]]]}}" bindtap="__e"></image><input style="height:80rpx;margin-left:20rpx;" pclass="text_4" placeholder="请输入课程的关键字搜索" data-event-opts="{{[['confirm',[['getData',['$event']]]],['input',[['__set_model',['','search','$event',[]]]]]]}}" value="{{search}}" bindconfirm="__e" bindinput="__e"/></view><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{cate_id==1}}"><view data-event-opts="{{[['tap',[['go',['$0'],[[['list','',index,'id']]]]]]]}}" bindtap="__e"><view class="image-text_1 flex-row justify-between"><image class="section_1 flex-col" src="{{item.cover}}"></image><view class="text-group_1 flex-col justify-between"><text class="text_5">{{item.title}}</text><text class="text_6">{{"¥"+item.price}}</text></view></view><image class="image_1" referrerpolicy="no-referrer" src="/static/lanhu_kecheng/46abcc18492bf4d15394ff15f9fca598.png"></image></view></block></block><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{cate_id==2}}"><view data-event-opts="{{[['tap',[['go',['$0'],[[['list','',index,'id']]]]]]]}}" bindtap="__e"><view class="image-text_1 flex-row justify-between"><image class="section_1 flex-col" src="{{item.image}}"></image><view class="text-group_1 flex-col justify-between"><text class="text_5">{{item.title}}</text><text class="text_6">{{"¥"+item.price}}</text></view></view><image class="image_1" referrerpolicy="no-referrer" src="/static/lanhu_kecheng/46abcc18492bf4d15394ff15f9fca598.png"></image></view></block></block></view></view></view> |