courseComment.wxml 957 字节
<view class="course_comment"><view class="comment_content"><textarea placeholder="请输入评论内容,最多1000字" data-event-opts="{{[['input',[['__set_model',['','content','$event',[]]],['entercomment',['$event']]]]]}}" value="{{content}}" bindinput="__e"></textarea><view class="word_num">{{content.length+"/1000"}}</view><block wx:if="{{addpic}}"><view><view data-event-opts="{{[['tap',[['uploadpic',['$event']]]]]}}" class="add_pic layer_star" bindtap="__e"><image src="../../static/tupian_icon@2x.png" mode="widthFix"></image><view class="add_word">添加图片</view></view></view></block><block wx:else><view class="picbox"><view data-event-opts="{{[['tap',[['uploadImg']]]]}}" class="upload_pic" bindtap="__e"><image src="{{image==''?img:image}}" mode="widthFix"></image></view></view></block></view><view data-event-opts="{{[['tap',[['send',['$event']]]]]}}" class="send_wrap" bindtap="__e"><view class="send_box">发送</view></view></view>