<view class="notice-list-wrap">
|
<block wx:if="{{values.length > 0}}">
|
<block wx:for="{{values}}" wx:for-index="index" wx:key="index">
|
<view
|
class="notice-list-item"
|
data-index="{{index}}"
|
bindtap="showDialog"
|
>
|
<t-badge dot="{{!item.hasRead}}" offset="{{ [0, 0] }}" style="margin-top: 6px;">
|
</t-badge>
|
<view>
|
<!-- <view class="notice-list-type"> {{item.subTypeName}} </view> -->
|
<view class="notice-list-title limit-line"> {{item.title}} </view>
|
<view class="notice-list-content limit-line" user-select>
|
{{item.content}}
|
</view>
|
<view class="notice-list-time"> {{item.updateTime}} </view>
|
</view>
|
</view>
|
</block>
|
</block>
|
<t-empty-page wx:else description="{{emptyText}}"></t-empty-page>
|
<load-more
|
list-is-empty="{{!values.length}}"
|
status="{{loadStatus}}"
|
bind:retry="retry"
|
/>
|
</view>
|
|
<t-dialog
|
visible="{{showNoticeDetail}}"
|
title="{{showTitle}}"
|
confirm-btn="{{confirmBtn}}"
|
prevent-scroll-through
|
bind:confirm="closeDialog"
|
>
|
<scroll-view slot="content" scroll-y class="long-content">
|
<text class="content-container" user-select="{{true}}"
|
>{{showContent}}
|
</text>
|
</scroll-view>
|
</t-dialog>
|