1 line
2.9 KiB
Plaintext
1 line
2.9 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="3836c7f3-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="{{G}}" class="r" u-s="{{['d']}}" u-r="udb" bindload="{{F}}" u-i="3836c7f3-1" bind:__l="__l" u-p="{{G}}"><view wx:for="{{i}}" wx:for-item="v0" wx:key="n" slot="{{v0.o}}"><uni-table wx:if="{{v0.j}}" class="r" u-s="{{['d']}}" u-r="table" bindselectionChange="{{C}}" u-i="{{v0.i}}" bind:__l="__l" u-p="{{v0.j}}"><uni-tr u-s="{{['d']}}" u-i="{{v0.f}}" 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}}">content</uni-th><uni-th wx:if="{{o}}" u-s="{{['d']}}" bindfilterChange="{{m}}" bindsortChange="{{n}}" u-i="{{v0.b}}" bind:__l="__l" u-p="{{o}}">create_date</uni-th><uni-th wx:if="{{r}}" u-s="{{['d']}}" bindfilterChange="{{p}}" bindsortChange="{{q}}" u-i="{{v0.c}}" bind:__l="__l" u-p="{{r}}">device_id</uni-th><uni-th wx:if="{{v}}" u-s="{{['d']}}" bindfilterChange="{{s}}" bindsortChange="{{t}}" u-i="{{v0.d}}" bind:__l="__l" u-p="{{v}}">user_id</uni-th><uni-th wx:if="{{w}}" u-s="{{['d']}}" u-i="{{v0.e}}" bind:__l="__l" u-p="{{w}}">操作</uni-th></uni-tr><uni-tr wx:for="{{v0.g}}" wx:for-item="item" wx:key="m" u-s="{{['d']}}" u-i="{{item.n}}" bind:__l="__l"><uni-td wx:if="{{x}}" u-s="{{['d']}}" u-i="{{item.b}}" bind:__l="__l" u-p="{{x}}">{{item.a}}</uni-td><uni-td wx:if="{{y}}" u-s="{{['d']}}" u-i="{{item.e}}" bind:__l="__l" u-p="{{y}}"><uni-dateformat wx:if="{{item.d}}" u-i="{{item.c}}" bind:__l="__l" u-p="{{item.d}}"></uni-dateformat></uni-td><uni-td wx:if="{{z}}" u-s="{{['d']}}" u-i="{{item.g}}" bind:__l="__l" u-p="{{z}}">{{item.f}}</uni-td><uni-td wx:if="{{A}}" u-s="{{['d']}}" u-i="{{item.i}}" bind:__l="__l" u-p="{{A}}">{{item.h}}</uni-td><uni-td wx:if="{{B}}" u-s="{{['d']}}" u-i="{{item.l}}" bind:__l="__l" u-p="{{B}}"><view class="uni-group"><button bindtap="{{item.j}}" class="uni-button" size="mini" type="primary">修改</button><button bindtap="{{item.k}}" 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.m}}" bindchange="{{D}}" u-i="{{v0.k}}" bind:__l="__l" bindupdateModelValue="{{v0.l}}" u-p="{{v0.m}}"/></view></view></unicloud-db></view></view> |