yuminge-app/yun-min-program-plugin-master/mycomponent/yz_comment_popup/commentGroup/commentGroup.wxml

29 lines
1.6 KiB
Plaintext

<!--mycomponent/yz_comment_popup/commentGroup/commentGroup.wxml-->
<!-- 评论弹窗组件 父组件
提供一个插槽:一级评论子组件入口
需搭配 commentCell、commentCellItem 一起使用
-->
<!-- domo 配置详情 请看wiki文档 -->
<view class="components-comment">
<van-popup show="{{showYzComment}}" position="bottom" custom-style="" closeable round bind:close="close">
<view class="components-comment-main">
<view class="components-comment-title">{{ length ? '全部评论'+length+'条' : "暂无评论" }}</view>
<view class="components-comment-list-main">
<scroll-view scroll-y="true" style="height: 700rpx;" bindscrolltolower="onCommentMore">
<slot>
<view class="components-comment-list-main-warn">暂无评论,来抢沙发</view>
</slot>
<view class="components-comment-list-main-warn" wx:if="{{loading}}">加载中,请稍后...</view>
<view class="components-comment-list-main-warn" wx:if="{{finished}}">没有更多了~</view>
</scroll-view>
</view>
<view class="components-comment-input-box">
<input type="text" disabled catchtap="focusCommentInput" placeholder="来都来了,留点什么吧"
class="components-comment-input" />
</view>
</view>
</van-popup>
<!-- <van-action-sheet show="{{showSheet}}" actions="{{actions}}" description="评论内容:{{commentInputOptiones.content}}"
cancel-text="取消" bind:select="onSelect" />
<yz-comment-input showCommentInput="{{showCommentInput}}" bind:confirm="subMainBtn" options="{{commentInputOptiones}}"> </yz-comment-input> -->
</view>