fix:修复分销中心实时动态显示问题
parent
c6bd290f8e
commit
0b7cd120a0
|
@ -14,38 +14,41 @@
|
||||||
class="scroll-box log-scroll"
|
class="scroll-box log-scroll"
|
||||||
scroll-with-animation="true"
|
scroll-with-animation="true"
|
||||||
>
|
>
|
||||||
<view
|
<view v-if="state.pagination.data">
|
||||||
class="log-item-box ss-flex ss-row-between"
|
<view
|
||||||
v-for="item in state.pagination.data"
|
class="log-item-box ss-flex ss-row-between"
|
||||||
:key="item.id"
|
v-for="item in state.pagination.data"
|
||||||
>
|
:key="item.id"
|
||||||
<view class="log-item-wrap">
|
>
|
||||||
<view class="log-item ss-flex ss-ellipsis-1 ss-col-center">
|
<view class="log-item-wrap">
|
||||||
<view class="ss-flex ss-col-center">
|
<view class="log-item ss-flex ss-ellipsis-1 ss-col-center">
|
||||||
<image
|
<view class="ss-flex ss-col-center">
|
||||||
v-if="item.oper_type === 'user'"
|
<image
|
||||||
class="log-img"
|
v-if="item.oper_type === 'user'"
|
||||||
:src="sheep.$url.cdn(item.oper?.avatar)"
|
class="log-img"
|
||||||
mode="aspectFill"
|
:src="sheep.$url.cdn(item.oper?.avatar)"
|
||||||
></image>
|
mode="aspectFill"
|
||||||
<image
|
></image>
|
||||||
v-else-if="item.oper_type === 'admin'"
|
<image
|
||||||
class="log-img"
|
v-else-if="item.oper_type === 'admin'"
|
||||||
:src="sheep.$url.static('/static/img/shop/avatar/default_user.png')"
|
class="log-img"
|
||||||
mode="aspectFill"
|
:src="sheep.$url.static('/static/img/shop/avatar/default_user.png')"
|
||||||
></image>
|
mode="aspectFill"
|
||||||
<image
|
></image>
|
||||||
v-else
|
<image
|
||||||
class="log-img"
|
v-else
|
||||||
:src="sheep.$url.static('/static/img/shop/avatar/notice.png')"
|
class="log-img"
|
||||||
mode="aspectFill"
|
:src="sheep.$url.static('/static/img/shop/avatar/notice.png')"
|
||||||
></image>
|
mode="aspectFill"
|
||||||
|
></image>
|
||||||
|
</view>
|
||||||
|
<view class="log-text ss-ellipsis-1">{{ item.remark }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="log-text ss-ellipsis-1">{{ item.remark }}</view>
|
|
||||||
</view>
|
</view>
|
||||||
|
<text class="log-time">{{ dayjs(item.create_time).fromNow() }}</text>
|
||||||
</view>
|
</view>
|
||||||
<text class="log-time">{{ dayjs(item.create_time).fromNow() }}</text>
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 加载更多 -->
|
<!-- 加载更多 -->
|
||||||
<uni-load-more
|
<uni-load-more
|
||||||
v-if="state.pagination.total > 0"
|
v-if="state.pagination.total > 0"
|
||||||
|
|
Loading…
Reference in New Issue