courseDetail.wxml 3.1 KB
<view class="course_detail"><view class="checkpoint_wrap layer_between"><block wx:if="{{pre!=''}}"><view data-event-opts="{{[['tap',[['prestep',['$event']]]]]}}" class="prev_point" bindtap="__e">上一关</view></block><view class="point_num">{{"第 "+number+" 关"}}</view><view class="prev_point" wx:if="next!=''" data-event-opts="{{[['tap',[['nextstep',['$event']]]]]}}" bindtap="__e">下一关</view></view><view class="theme_wrap"><view class="theme_title layer_star"><image src="../../static/theme.png" mode="widthFix"></image><view>{{coursedetail.title}}</view></view><view data-event-opts="{{[['tap',[['enlargeImg']]]]}}" class="theme_pic" bindtap="__e"><image src="{{coursedetail.image}}" mode="widthFix"></image></view><view class="theme_content"><rich-text nodes="{{coursedetail.content}}"></rich-text></view><view data-event-opts="{{[['tap',[['toSubmit']]]]}}" class="point_btn" bindtap="__e">我要打卡</view></view><view class="theme_comment"><block wx:for="{{courselist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="comment_single"><view class="single_people layer_between"><view class="people_l layer_nostar"><image src="{{item.avatar}}" mode data-event-opts="{{[['tap',[['toRecord']]]]}}" bindtap="__e"></image><view><view class="people_name">{{item.nickname}}</view><view class="people_progress">已解锁2课时</view></view></view><view data-event-opts="{{[['tap',[['toSubmit']]]]}}" class="people_r" bindtap="__e">修改</view></view><view class="single_course"><view class="layer_star  course_name course_single"><image class="course_icon" src="../../static/icon_01.png" mode></image><view>【深潜挑战】 21天专注力挑战</view></view><view class="layer_star  course_single"><image class="course_icon" src="../../static/icon_02.png" mode></image><view>第2课</view></view><view class="layer_star no_icon_single"><view>学习时间:2019年12月26日</view></view><view class="layer_star no_icon_single"><view>{{"感悟:"+item.content}}</view></view><view class="layer_star no_icon_single">完成事件打分:<view class="score_picker layer_between">{{item.score[0].score}}</view></view><view class="layer_star no_icon_single">情绪状态打分:<view class="score_picker layer_between">{{item.score[1].score}}</view></view><view class="layer_noend"><view class="course_btn justify_between"><image src="../../static/pinglun_icon@2x.png" mode="widthFix"></image>评论</view><view data-event-opts="{{[['tap',[['changePoint']]]]}}" class="{{['course_btn justify_between',(isPoint)?'active':'']}}" bindtap="__e"><image src="{{isPoint?pointImg2:pointImg1}}" mode="widthFix"></image>点赞</view></view></view><view class="comment_msg"><view class="point_people layer_nostar"><image src="../../static/dianzan_icon@2x.png" mode="widthFix"></image><view class="point_detail flex_wrap_no"><block wx:for="{{item.praise_user}}" wx:for-item="itemone" wx:for-index="index" wx:key="index"><view>{{itemone.nickname+","}}</view></block></view></view><view class="msg_detail"><view class="detail_single "><text>风格林:</text>有意义的人,并不就是年岁活得最大的人,而是对生活最有感受的人。</view></view></view></view></block></view></view>