From 100eca8176c938ab9bf3d8f6e7fac59a0a7f3834 Mon Sep 17 00:00:00 2001 From: TM <923727421@qq.com> Date: Tue, 15 Dec 2020 20:10:03 +0800 Subject: [PATCH] 添加限制 --- pages/businessData/businessData.axml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/businessData/businessData.axml b/pages/businessData/businessData.axml index 61716c0..f2ca353 100644 --- a/pages/businessData/businessData.axml +++ b/pages/businessData/businessData.axml @@ -4,7 +4,7 @@ <tab-content key="{{index}}" tabId="{{index}}" activeTab="{{activeTab2}}" a:if="{{index === 0}}"> <view class="tab-item"> <view class="search-box"> - <search-bar value="{{value}}" borderColor="#EDEDF2" onSubmit="searchMation" onInput="onhandInput" focus="{{false}}" maxLength="{{20}}" showCancelButton="{{false}}" placeholder="请输入用户名称" /> + <search-bar value="{{value}}" onClear="onClear" borderColor="#EDEDF2" onSubmit="searchMation" onInput="onhandInput" focus="{{false}}" maxLength="{{20}}" showCancelButton="{{false}}" placeholder="请输入用户名称" /> <view class="filer"> <text class="iconfont iconshaixuan" style="font-size:20px"></text> <text class="filer-tit" onTap="showFilter">筛选</text> @@ -65,7 +65,7 @@ </view> </scroll-view> <view a:else class="no-data"> - <cover-image src="../../static/nodata.png" class="no-data-img"/> + <cover-image src="../../static/img/nodata.png" class="no-data-img"/> <view class="no-data-text">暂无数据</view> </view> </view> @@ -73,7 +73,7 @@ <tab-content key="{{index}}" tabId="{{index}}" activeTab="{{activeTab2}}" a:elif="{{index === 1}}"> <view class="tab-item"> <view class="search-box"> - <search-bar value="{{value}}" borderColor="#EDEDF2" onSubmit="searchMation" onInput="onhandInput" focus="{{false}}" maxLength="{{20}}" showCancelButton="{{false}}" placeholder="请输入用户名称" /> + <search-bar value="{{value}}" onClear="onClear" borderColor="#EDEDF2" onSubmit="searchMation" onInput="onhandInput" focus="{{false}}" maxLength="{{20}}" showCancelButton="{{false}}" placeholder="请输入用户名称" /> <view class="filer"> <text class="iconfont iconshaixuan" style="font-size:20px"></text> <text class="filer-tit" onTap="showFilter">筛选</text> @@ -116,7 +116,7 @@ </view> </view> <view a:else class="no-data"> - <cover-image src="../../static/nodata.png" class="no-data-img"/> + <cover-image src="../../static/img/nodata.png" class="no-data-img"/> <view class="no-data-text">暂无数据</view> </view> </scroll-view> -- Gitblit v1.8.0