<view bind:tap="showPopUp" class='topic-text'>
|
<text>专题管理:{{selectedTopics[searchOptions.sceneType].topicText}}</text>
|
<t-icon name="caret-down-small" size="36rpx" color="black'" />
|
</view>
|
|
<t-popup visible="{{popupVisible}}" bind:visible-change="onPopupVisibleChange" placement="bottom">
|
<view class="popup-btn-group">
|
<t-button block="{{false}}" t-class="t-class-button" theme="default" size="extra-small" bindtap="closePatrolList">取消
|
</t-button>
|
<view style="display: flex; align-items: center">
|
<t-checkbox t-class="t-class-checkbox" t-class-border="t-class-border-checkbox"
|
t-class-content="t-class-content-checkbox" t-class-label="t-class-label-checkbox" placement="right" borderless
|
icon="rectangle" block="{{true}}" label="全选" checked="{{selectedTopics[searchOptions.sceneType].checkAll}}"
|
bind:change="onCheckAll" />
|
<t-button block="{{false}}" t-class="t-class-button" theme="primary" size="extra-small"
|
bindtap="onLedgerPickerChange">
|
{{selectedTopics[searchOptions.sceneType].selectedCount > 0 ? '(' + selectedTopics[searchOptions.sceneType].selectedCount + ')' : ''}}
|
确定
|
</t-button>
|
</view>
|
</view>
|
<scroll-view style="height: 70vh" scroll-y="{{true}}">
|
<t-grid column="{{4}}" theme="card">
|
<t-grid-item wx:for="{{selectedTopics[searchOptions.sceneType].allLedgerTypes}}" wx:key="index"
|
class="{{item.selected ? 'patrol-task-item-selected' : 'patrol-task-item'}}" badge-props="{{ item.selected }}"
|
text="{{item.ledgerName}}" image="{{item.iconUrl}}" data-index="{{index}}" bindtap="choseLedgerType" />
|
</t-grid>
|
</scroll-view>
|
</t-popup>
|