<view class="commentArea"> <view class='padding-bottom'> <view class="{{class1}}" wx:key="{{index}}"> <image class="avatar" src="{{comment[0].avatar}}" /> <view class="commentCore"> <text class="nickName">{{comment[0].name}}</text> <text class="time">{{comment[0].time}}</text> <text class="gut">{{comment[0].text}}</text> </view> </view> <view class='reply-msg'> <input name='reply' class='reply-input' bindconfirm="replyDone" placeholder='回复@{{ comment[0].name }}' value='{{ replyInfo }}' bindinput='saveValue' confirm-type ="send"> </input> <text class='reply-btn' bindtap='replyDone'>回复</text> </view> <view class='reply-all'> 全部回复({{ count || 0 }}) </view> <view class="{{classNormal}}" wx:for="{{comment}}" wx:key="{{index}}" wx:if="{{index !== 0}}"> <image class="avatar" src="{{item.avatar}}" /> <view class="commentCore"> <text class="nickName">{{item.name}}</text> <text class="time">{{item.time}}</text> <text class="gut">{{item.text}}</text> </view> </view> </view> <FlowerBox id="flower-box" flowerNum="{{flowerNum}}" /> </view>