123456789101112131415161718192021222324252627 |
- <view class="commentArea">
- <view class="{{index === 0? class1 : classNormal}}" wx:for="{{comment}}" wx:key="{{index}}">
- <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 class="btnWrapper">
- <image class="commentBtn" src="../../../static/image/comment.png" wx:if="{{index===0}}" bindtap="setSBId" />
- <text class="commentText" wx:if="{{index===0}}">评论</text>
- {{index}}{{item.likes}}{{item.id}}
- {{item.likes}}
- </view>
- </view>
-
- <view class="replySection" wx:if="{{replyModal}}">
- <input bindblur="bindTextAreaBlur" bindconfirm="replySB" confirm-type="send" placeholder="回复" bindinput="inputSBValue" auto-focus auto-height />
- </view>
- <view class='reply-msg'>
- {{ comment[0].name }}
- <input name='reply' class='reply-input' placeholder='回复@{{ comment[0].name }}' bindinput='saveValue'>
- </input>
- <text class='reply-btn' bindtap='replyDone'>回复</text>
- </view>
- </view>
|