Files
t/unpackage/dist/dev/mp-weixin/pages2/replyCommentList/replyCommentList.wxml
T
2025-03-13 03:10:06 +08:00

1 line
4.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<view class="data-v-a6387f88"><unicloud-db scoped-slots-compiler="augmented" vue-id="20d66f6c-1" orderby="last_view_time desc" page-size="{{10}}" collection="{{colList}}" data-ref="udb" data-event-opts="{{[['^error',[['onqueryerror']]],['^onPullDownRefresh',[['onPullDownRefresh']]],['^load',[['listLoad']]]]}}" bind:error="__e" bind:onPullDownRefresh="__e" bind:load="__e" class="data-v-a6387f88 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{$root.m0}}"><scroll-view class="uni-list data-v-a6387f88" style="{{'height:'+(listHeight)+';'}}" scroll-y="{{true}}" refresher-enabled="{{true}}" refresher-triggered="{{loadType==='refresh'}}" data-event-opts="{{[['refresherrefresh',[['refresh',['$event']]]],['scrolltolower',[['loadMore',['$event']]]]]}}" bindrefresherrefresh="__e" bindscrolltolower="__e"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="__i0__"><uni-card vue-id="{{('20d66f6c-2-'+__i0__)+','+('20d66f6c-1')}}" title="{{item.$orig.author_id.nickname}}" sub-title="{{item.$orig.update_time}}" thumbnail="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png" class="data-v-a6387f88" bind:__l="__l" vue-slots="{{['default','title']}}"><view class="p_f data-v-a6387f88" slot="title"><block wx:if="{{item.$orig.author_id.avatar_file}}"><cloud-image vue-id="{{('20d66f6c-3-'+__i0__)+','+('20d66f6c-2-'+__i0__)}}" height="80rpx" width="80rpx" borderRadius="50%" src="{{item.$orig.author_id.avatar_file.url}}" class="data-v-a6387f88" bind:__l="__l"></cloud-image></block><block wx:else><image class="avatar data-v-a6387f88" src="{{emptyAvatar}}"></image></block><view class="data-v-a6387f88"><view class="title data-v-a6387f88">{{''+item.$orig.author_id.nickname+''}}</view><view class="subtitle data-v-a6387f88">{{''+item.m1+''}}</view></view><view data-event-opts="{{[['tap',[['reply',['$0'],[[['listData','',__i0__]]]]]]]}}" class="extra data-v-a6387f88" bindtap="__e">回复</view></view><text data-event-opts="{{[['tap',[['toArticle',['$0'],[[['listData','',__i0__]]]]]]]}}" class="uni-body data-v-a6387f88" bindtap="__e">{{''+item.$orig.author_id.nickname+": "+item.$orig.content+''}}</text><uni-card vue-id="{{('20d66f6c-4-'+__i0__)+','+('20d66f6c-2-'+__i0__)}}" is-shadow="{{false}}" isFull="{{true}}" data-event-opts="{{[['^click',[['toArticle',['$0'],[[['listData','',__i0__]]]]]]]}}" bind:click="__e" class="data-v-a6387f88" bind:__l="__l" vue-slots="{{['default']}}"><text class="uni-body data-v-a6387f88">{{''+item.$orig.parent_author_id.nickname+':'}}</text><text class="uni-body data-v-a6387f88">{{item.$orig.parent_author_content}}</text></uni-card></uni-card></block><uni-load-state vue-id="{{('20d66f6c-5')+','+('20d66f6c-1')}}" state="{{$root.a0}}" data-event-opts="{{[['^networkResume',[['refresh']]],['^loadMore',[['loadMore']]]]}}" bind:networkResume="__e" bind:loadMore="__e" class="data-v-a6387f88" bind:__l="__l"></uni-load-state></scroll-view><block wx:if="{{submit}}"><view data-event-opts="{{[['tap',[['closeInput',['$event']]]]]}}" class="comment-submit-box data-v-a6387f88" bindtap="__e"><view data-event-opts="{{[['tap',[['stopPrevent',['$event']]]]]}}" class="comment-add data-v-a6387f88" style="{{('bottom:'+KeyboardHeight+'px')}}" catchtap="__e"><view class="comment-submit data-v-a6387f88"><view data-event-opts="{{[['tap',[['closeInput',['$event']]]]]}}" class="btn-click cancel data-v-a6387f88" bindtap="__e">取消</view><view class="data-v-a6387f88"><block wx:if="{{showTag}}"><view class="replayTag data-v-a6387f88"><view class="data-v-a6387f88">{{"回复在 "+pUser+" 的评论下"}}</view><view data-event-opts="{{[['tap',[['tagClose',['$event']]]]]}}" class="replyTagClose data-v-a6387f88" bindtap="__e">×</view></view></block></view><view class="data-v-a6387f88"><view data-event-opts="{{[['tap',[['selectAdd']]]]}}" class="btn-click data-v-a6387f88" bindtap="__e">发布</view></view></view><textarea class="textarea data-v-a6387f88" placeholder="{{placeholder}}" adjust-position="{{false}}" show-confirm-bar="{{false}}" focus="{{focus}}" maxlength="800" data-event-opts="{{[['blur',[['blur',['$event']]]],['focus',[['focusOn',['$event']]]],['input',[['__set_model',['$0','content','$event',[]],['commentReq']]]]]}}" value="{{commentReq.content}}" bindblur="__e" bindfocus="__e" bindinput="__e"></textarea></view></view></block></block></unicloud-db></view>