|
|
- <view class="community-page data-v-e933a2d8"><view class="banner-section data-v-e933a2d8"><uv-swiper vue-id="b4cbc03a-1" list="{{bannerList}}" indicator="{{true}}" indicatorMode="line" height="375rpx" class="data-v-e933a2d8" bind:__l="__l"></uv-swiper></view><view class="tab-section data-v-e933a2d8"><view class="tab-container data-v-e933a2d8"><view data-event-opts="{{[['tap',[['switchTab',['current']]]]]}}" class="{{['tab-item','data-v-e933a2d8',(currentTab==='current')?'active':'']}}" bindtap="__e"><text class="tab-text data-v-e933a2d8">木邻说</text><block wx:if="{{currentTab==='current'}}"><view class="tab-line data-v-e933a2d8"></view></block></view><view data-event-opts="{{[['tap',[['switchTab',['past']]]]]}}" class="{{['tab-item','data-v-e933a2d8',(currentTab==='past')?'active':'']}}" bindtap="__e"><text class="tab-text data-v-e933a2d8">木邻见</text><block wx:if="{{currentTab==='past'}}"><view class="tab-line data-v-e933a2d8"></view></block></view></view></view><view class="post-list data-v-e933a2d8"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="post-item data-v-e933a2d8"><view class="user-info data-v-e933a2d8"><image class="user-avatar data-v-e933a2d8" src="{{item.$orig.member.headImage}}" mode="aspectFill"></image><view class="user-details data-v-e933a2d8"><text class="username data-v-e933a2d8">{{item.$orig.member.nickName}}</text><text class="post-time data-v-e933a2d8">{{"发布时间:"+item.$orig.createTime}}</text></view></view><view class="post-content data-v-e933a2d8"><text class="post-text data-v-e933a2d8">{{item.$orig.content}}</text><block wx:if="{{item.g0}}"><view class="image-grid data-v-e933a2d8"><block wx:for="{{item.l0}}" wx:for-item="img" wx:for-index="imgIndex" wx:key="imgIndex"><image class="post-image data-v-e933a2d8" src="{{img}}" mode="aspectFill"></image></block></view></block></view><block wx:if="{{item.g1}}"><view class="comment-list data-v-e933a2d8"><view class="comment-header data-v-e933a2d8"><text class="comment-title data-v-e933a2d8">{{"回复 ("+item.g2+")"}}</text></view><block wx:for="{{item.$orig.communityCommentList}}" wx:for-item="comment" wx:for-index="commentIndex" wx:key="commentIndex"><view class="comment-item data-v-e933a2d8"><view class="comment-user-info data-v-e933a2d8"><text class="comment-username data-v-e933a2d8">{{comment.createBy}}</text><text class="comment-time data-v-e933a2d8">{{comment.createTime}}</text></view><text class="comment-content data-v-e933a2d8">{{comment.content}}</text></view></block></view></block></view></block></view><view data-event-opts="{{[['tap',[['openAction',['$event']]]]]}}" class="{{['action-btn','data-v-e933a2d8',currentTab==='current'?'current-btn':'photo']}}" bindtap="__e"><uv-icon vue-id="b4cbc03a-2" name="edit-pen-fill" size="20" color="white" class="data-v-e933a2d8" bind:__l="__l"></uv-icon><text class="action-text data-v-e933a2d8">{{actionButtonText}}</text></view></view>
|