小程序问答时间优化

This commit is contained in:
devil 2020-08-16 12:13:23 +08:00
parent 2d5d59586a
commit 364c0f548d
10 changed files with 10 additions and 10 deletions

View File

@ -5,7 +5,7 @@
<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 class="cr-888 tr">{{item.add_time_time}}</view>
</view>
<view a:if="{{(item.reply || null) != null}}" class="answer br-t">
<text class="reply-icon bg-main cr-fff">答</text>

View File

@ -2,7 +2,7 @@
<view class="item bg-white spacing-mb" a:if="{{data_list.length > 0}}" a:for="{{data_list}}">
<view class="base br-b-dashed oh">
<text class="name cr-666">{{item.name}}</text>
<text class="time fr cr-888">{{item.add_time}}</text>
<text class="time fr cr-888">{{item.add_time_time}}</text>
</view>
<view class="content">
<view class="desc">{{item.content}}</view>

View File

@ -5,7 +5,7 @@
<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 class="cr-888 tr">{{item.add_time_time}}</view>
</view>
<view s-if="(item.reply || null) != null" class="answer br-t">
<text class="reply-icon bg-main cr-fff">答</text>

View File

@ -2,7 +2,7 @@
<view class="item bg-white spacing-mb" s-if="data_list.length > 0" s-for="item, index in data_list">
<view class="base br-b-dashed oh">
<text class="name cr-666">{{item.name}}</text>
<text class="time fr cr-888">{{item.add_time}}</text>
<text class="time fr cr-888">{{item.add_time_time}}</text>
</view>
<view class="content">
<view class="desc">{{item.content}}</view>

View File

@ -5,7 +5,7 @@
<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 class="cr-888 tr">{{item.add_time_time}}</view>
</view>
<view qq:if="{{(item.reply || null) != null}}" class="answer br-t">
<text class="reply-icon bg-main cr-fff"></text>

View File

@ -2,7 +2,7 @@
<view class="item bg-white spacing-mb" qq:if="{{data_list.length > 0}}" qq:for="{{data_list}}">
<view class="base br-b-dashed oh">
<text class="name cr-666">{{item.name}}</text>
<text class="time fr cr-888">{{item.add_time}}</text>
<text class="time fr cr-888">{{item.add_time_time}}</text>
</view>
<view class="content">
<view class="desc">{{item.content}}</view>

View File

@ -5,7 +5,7 @@
<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 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>

View File

@ -2,7 +2,7 @@
<view class="item bg-white spacing-mb" tt:if="{{data_list.length > 0}}" tt:for="{{data_list}}">
<view class="base br-b-dashed oh">
<text class="name cr-666">{{item.name}}</text>
<text class="time fr cr-888">{{item.add_time}}</text>
<text class="time fr cr-888">{{item.add_time_time}}</text>
</view>
<view class="content">
<view class="desc">{{item.content}}</view>

View File

@ -5,7 +5,7 @@
<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 class="cr-888 tr">{{item.add_time_time}}</view>
</view>
<view wx:if="{{(item.reply || null) != null}}" class="answer br-t">
<text class="reply-icon bg-main cr-fff">答</text>

View File

@ -2,7 +2,7 @@
<view class="item bg-white spacing-mb" wx:if="{{data_list.length > 0}}" wx:for="{{data_list}}">
<view class="base br-b-dashed oh">
<text class="name cr-666">{{item.name}}</text>
<text class="time fr cr-888">{{item.add_time}}</text>
<text class="time fr cr-888">{{item.add_time_time}}</text>
</view>
<view class="content">
<view class="desc">{{item.content}}</view>