<t-input
        label="名称"
        placeholder="请输入名称"
        align="right"
        bindchange="onNameInput"
        value="{{name}}"
/>
<t-input wx:if="{{ isAccount == 1 }}" label="分类" disabled>
    <t-radio-group slot="suffix" default-value="CASH_SETTING" value="{{settingType}}" bind:change="changeItem" borderless t-class="box">
        <t-radio block="{{ false }}" label="资产账户" value="CASH_SETTING" />
        <t-radio block="{{ false }}" label="负债账户" value="OWE_SETTING" />
    </t-radio-group>
</t-input>
<t-input label="图标" disabled >
    <t-icon wx:if="{{icon}}" name="{{icon}}" slot="suffix" size="32" bind:tap="handleMultiAction" />
    <text wx:else slot="suffix" class="t-color-input" bind:tap="handleMultiAction">{{'请选择图标'}}</text>
</t-input>
<view class="bottom_box">
    <view class="space_box">
        <t-button wx:if="{{ isAdd == 0 }}" bind:tap="deleteSetting" theme="danger" variant="outline" block >删除</t-button>
        <t-button bind:tap="saveSetting" theme="primary" variant="outline" block >保存</t-button>
    </view>
</view>
<t-action-sheet id="t-action-sheet" bind:selected="handleSelected" bind:cancel="onCancel"/>
<t-dialog
        visible="{{showDeleteConfirm}}"
        title="确认删除？"
        confirm-btn="{{ { content: '确定', variant: 'base'} }}"
        cancel-btn="取消"
        bind:confirm="onConfirm"
        bind:cancel="closeDialog"
>
</t-dialog>
