<view class="box" wx:if="{{show}}">
	<view class="list">
		<view class="title">{{language['评论']||'评论'}}({{quantity}})</view>
		<view class="comment-box">
			<textarea maxlength='499' confirm-type='send' auto-focus='{{autoFocus}}' 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}}" />
		<block wx:if="{{comments.length}}">
			<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>
		</block>
	</view>
</view>