<!--compontents/lesson_list/lessonList.wxml--> <view class="material"> <view class="this-week"> <image src="../../pages/image/study.png"></image> <view class="lesson-name"> <text>学习资料</text> <text>本周和历史学习资料</text> </view> </view> <view class="material-con" animation="{{animationData}}" style="height: {{height}}rpx"> <view class="art-img" wx:for="{{materialData}}" wx:key="{{index}}"> <text>{{item.title}}</text> <text wx:if="{{ item.warePath && item.title}}" data-warePath="{{item.warePath}}" bindtap="preview">点击预览</text> <text wx:else>暂无资料</text> </view> </view> <view class="unfold" wx:if="{{height}}"> <image class="dirImg" src="{{src}}"></image> <text data-flag="{{flag}}" bindtap="onTap">{{downUp}}</text> </view> </view>