22 lines
1.1 KiB
XML
22 lines
1.1 KiB
XML
<scroll-view scroll-y="{{true}}" class="scroll-box" onScrollToLower="scroll_lower" lower-threshold="30">
|
|
<view class="item bg-white spacing-mb" a:if="{{data_list.length > 0}}" a:for="{{data_list}}">
|
|
<view class="base">
|
|
<view class="oh">
|
|
<image class="avatar fl" src="{{item.avatar}}" mode="widthFix" data-index="{{index}}" onError="user_avatar_error" />
|
|
<view class="desc fr tl">{{item.content}}</view>
|
|
</view>
|
|
<view class="cr-888 tr">{{item.add_time}}</view>
|
|
</view>
|
|
<view a: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 a:if="{{data_list.length == 0}}">
|
|
<import src="/pages/common/nodata.axml" />
|
|
<template is="nodata" data="{{status: data_list_loding_status}}"></template>
|
|
</view>
|
|
|
|
<import src="/pages/common/bottom_line.axml" />
|
|
<template is="bottom_line" data="{{status: data_bottom_line_status}}"></template>
|
|
</scroll-view> |