| 123456789101112131415161718192021222324 |
- <view class="box" wx:if="{{show}}">
- <view class="comment-box">
- <textarea maxlength='499' confirm-type='send' auto-focus='{{!comments.length}}' value="{{comment}}" placeholder="{{language['我评论']||'我评论'}}:" placeholder-style='font-size:28rpx; color:#BBBBBB;' auto-height bind:input="onInput" bindconfirm='{{comment.length?"onSend":""}}' />
- <view class="but-box">
- <van-button custom-class='but' disabled='{{!comment.length}}' loading='{{loading}}' bind:tap="onSend">{{language['发布']||'发布'}}</van-button>
- </view>
- </view>
- <view id="CommentNode{{ownerid}}" />
- <view class="list" wx:if="{{comments.length}}">
- <view class="title">{{language['评论']||'评论'}}({{quantity}})</view>
- <scroll-view wx:if="{{quantity > 4}}" class="scroll" scroll-y>
- <view class="scroll-content">
- <view style="margin-top: -24rpx;">
- <items userid='{{userid}}' comments='{{comments}}' replyid='{{replyid}}' ownerid='{{ownerid}}' ownertable='{{ownertable}}' />
- </view>
- </view>
- </scroll-view>
- <view wx:else class="scroll-content">
- <view style="margin-top: -24rpx;">
- <items userid='{{userid}}' comments='{{comments}}' replyid='{{replyid}}' ownerid='{{ownerid}}' ownertable='{{ownertable}}' />
- </view>
- </view>
- </view>
- </view>
|