Fork自 纵之格 / ShopXO
体验新版 GitCode,发现更多精彩内容 >>
<scroll-view scroll-y="{{true}}" class="scroll-box" bindscrolltolower="scroll_lower" lower-threshold="30"> <view class="item bg-white spacing-mb" tt:if="{{data_list.length > 0}}" tt:for="{{data_list}}"> <view class="base"> <view class="oh"> <image class="avatar fl" src="{{item.avatar}}" mode="widthFix" data-index="{{index}}" binderror="user_avatar_error" /> <view class="desc fr tl">{{item.content}}</view> </view>
<view class="cr-888 tr">{{item.add_time_time}}</view>
</view> <view tt:if="{{(item.reply || null) != null}}" class="answer br-t"> <text class="reply-icon bg-main cr-fff">答</text> <text class="reply-content cr-888">{{item.reply}}</text> </view> </view> <view tt:if="{{data_list.length == 0}}"> <import src="/pages/common/nodata.ttml" /> <template is="nodata" data="{{status: data_list_loding_status}}"></template> </view> <import src="/pages/common/bottom_line.ttml" /> <template is="bottom_line" data="{{status: data_bottom_line_status}}"></template> </scroll-view>