Files
2025-06-13 21:16:12 +08:00

1 line
4.1 KiB
Plaintext

<view><view class="uni-header"><view class="uni-group"><view class="uni-title"></view><view class="uni-sub-title"></view></view><view class="uni-group"><input class="uni-search" type="text" bindconfirm="{{a}}" placeholder="请输入搜索内容" value="{{b}}" bindinput="{{c}}"/><button class="uni-button" type="default" size="mini" bindtap="{{d}}">搜索</button><button class="uni-button" type="default" size="mini" bindtap="{{e}}">新增</button><button class="uni-button" type="default" size="mini" disabled="{{f}}" bindtap="{{g}}">批量删除</button><download-excel wx:if="{{h}}" u-s="{{['d']}}" class="hide-on-phone" u-i="ac9c780a-0" bind:__l="__l" u-p="{{h}}"><button class="uni-button" type="primary" size="mini">导出 Excel</button></download-excel></view></view><view class="uni-container"><unicloud-db wx:if="{{aa}}" class="r" u-s="{{['d']}}" u-r="udb" bindload="{{Z}}" u-i="ac9c780a-1" bind:__l="__l" u-p="{{aa}}"><view wx:for="{{i}}" wx:for-item="v0" wx:key="s" slot="{{v0.t}}"><uni-table wx:if="{{v0.o}}" class="r" u-s="{{['d']}}" u-r="table" bindselectionChange="{{W}}" u-i="{{v0.n}}" bind:__l="__l" u-p="{{v0.o}}"><uni-tr u-s="{{['d']}}" u-i="{{v0.k}}" bind:__l="__l"><uni-th wx:if="{{l}}" u-s="{{['d']}}" bindfilterChange="{{j}}" bindsortChange="{{k}}" u-i="{{v0.a}}" bind:__l="__l" u-p="{{l}}">font_color</uni-th><uni-th wx:if="{{o}}" u-s="{{['d']}}" bindfilterChange="{{m}}" bindsortChange="{{n}}" u-i="{{v0.b}}" bind:__l="__l" u-p="{{o}}">backgrond_color</uni-th><uni-th wx:if="{{r}}" u-s="{{['d']}}" bindfilterChange="{{p}}" bindsortChange="{{q}}" u-i="{{v0.c}}" bind:__l="__l" u-p="{{r}}">select_src</uni-th><uni-th wx:if="{{v}}" u-s="{{['d']}}" bindfilterChange="{{s}}" bindsortChange="{{t}}" u-i="{{v0.d}}" bind:__l="__l" u-p="{{v}}">temptele_src</uni-th><uni-th wx:if="{{y}}" u-s="{{['d']}}" bindfilterChange="{{w}}" bindsortChange="{{x}}" u-i="{{v0.e}}" bind:__l="__l" u-p="{{y}}">temptele_name</uni-th><uni-th wx:if="{{B}}" u-s="{{['d']}}" bindfilterChange="{{z}}" bindsortChange="{{A}}" u-i="{{v0.f}}" bind:__l="__l" u-p="{{B}}">select_icon_color</uni-th><uni-th wx:if="{{E}}" u-s="{{['d']}}" bindfilterChange="{{C}}" bindsortChange="{{D}}" u-i="{{v0.g}}" bind:__l="__l" u-p="{{E}}">icon_color</uni-th><uni-th wx:if="{{H}}" u-s="{{['d']}}" bindfilterChange="{{F}}" bindsortChange="{{G}}" u-i="{{v0.h}}" bind:__l="__l" u-p="{{H}}">user_name_color</uni-th><uni-th wx:if="{{K}}" u-s="{{['d']}}" bindfilterChange="{{I}}" bindsortChange="{{J}}" u-i="{{v0.i}}" bind:__l="__l" u-p="{{K}}">btn_color</uni-th><uni-th wx:if="{{L}}" u-s="{{['d']}}" u-i="{{v0.j}}" bind:__l="__l" u-p="{{L}}">操作</uni-th></uni-tr><uni-tr wx:for="{{v0.l}}" wx:for-item="item" wx:key="w" u-s="{{['d']}}" u-i="{{item.x}}" bind:__l="__l"><uni-td wx:if="{{M}}" u-s="{{['d']}}" u-i="{{item.b}}" bind:__l="__l" u-p="{{M}}">{{item.a}}</uni-td><uni-td wx:if="{{N}}" u-s="{{['d']}}" u-i="{{item.d}}" bind:__l="__l" u-p="{{N}}">{{item.c}}</uni-td><uni-td wx:if="{{O}}" u-s="{{['d']}}" u-i="{{item.f}}" bind:__l="__l" u-p="{{O}}">{{item.e}}</uni-td><uni-td wx:if="{{P}}" u-s="{{['d']}}" u-i="{{item.h}}" bind:__l="__l" u-p="{{P}}">{{item.g}}</uni-td><uni-td wx:if="{{Q}}" u-s="{{['d']}}" u-i="{{item.j}}" bind:__l="__l" u-p="{{Q}}">{{item.i}}</uni-td><uni-td wx:if="{{R}}" u-s="{{['d']}}" u-i="{{item.l}}" bind:__l="__l" u-p="{{R}}">{{item.k}}</uni-td><uni-td wx:if="{{S}}" u-s="{{['d']}}" u-i="{{item.n}}" bind:__l="__l" u-p="{{S}}">{{item.m}}</uni-td><uni-td wx:if="{{T}}" u-s="{{['d']}}" u-i="{{item.p}}" bind:__l="__l" u-p="{{T}}">{{item.o}}</uni-td><uni-td wx:if="{{U}}" u-s="{{['d']}}" u-i="{{item.r}}" bind:__l="__l" u-p="{{U}}">{{item.q}}</uni-td><uni-td wx:if="{{V}}" u-s="{{['d']}}" u-i="{{item.v}}" bind:__l="__l" u-p="{{V}}"><view class="uni-group"><button bindtap="{{item.s}}" class="uni-button" size="mini" type="primary">修改</button><button bindtap="{{item.t}}" class="uni-button" size="mini" type="warn">删除</button></view></uni-td></uni-tr></uni-table><view class="uni-pagination-box"><uni-pagination wx:if="{{v0.r}}" bindchange="{{X}}" u-i="{{v0.p}}" bind:__l="__l" bindupdateModelValue="{{v0.q}}" u-p="{{v0.r}}"/></view></view></unicloud-db></view></view>