22 lines
1.1 KiB
Plaintext
Executable File
22 lines
1.1 KiB
Plaintext
Executable File
<scroll-view scroll-y="{{true}}" class="scroll-box" bindscrolltolower="scroll_lower" lower-threshold="30">
|
|
<view class="item bg-white spacing-mb" s-if="data_list.length > 0" s-for="item, index in 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}}</view>
|
|
</view>
|
|
<view s-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 s-if="data_list.length == 0">
|
|
<import src="/pages/common/nodata.swan" />
|
|
<template is="nodata" data="{{{status: data_list_loding_status}}}"></template>
|
|
</view>
|
|
|
|
<import src="/pages/common/bottom_line.swan" />
|
|
<template is="bottom_line" data="{{{status: data_bottom_line_status}}}"></template>
|
|
</scroll-view> |