|
@@ -16,12 +16,20 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 标签弹出层 -->
|
|
|
- <u-popup v-model="popShow" length="80%" duration="10" mode="top" :negative-top="188" border-radius="32">
|
|
|
+ <u-popup v-model="popShow" length="80%" @close="keyword=''" duration="10" mode="top" :negative-top="188" border-radius="32">
|
|
|
<u-navbar title="远程控制" title-color="#101010" >
|
|
|
<view class="u-nav-slot" slot="right" v-if="0" >
|
|
|
操作日志
|
|
|
</view>
|
|
|
</u-navbar>
|
|
|
+ <view class="head-head">
|
|
|
+ <u-search placeholder="请输入关键字" :show-action="false" v-model="keyword"></u-search>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ <view class="head-head-placeholder ">
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
<view class="popup-tabs" v-if="false">
|
|
|
<view class="tabs1">
|
|
|
<!-- <u-tabs :list="tenantList1" inactive-color="#777777" active-color="#333333 "
|
|
@@ -34,6 +42,8 @@
|
|
|
</view>
|
|
|
<view class="tabs-options">
|
|
|
<view class="item" v-for="(item, index) in tenantList"
|
|
|
+ v-show="keyword==''||(item.name&&item.name.indexOf(keyword)!=-1)"
|
|
|
+
|
|
|
:class="{
|
|
|
'item-index' : item.id==formData.tenantId
|
|
|
}"
|
|
@@ -131,6 +141,7 @@
|
|
|
current2: 0,
|
|
|
role:false,
|
|
|
codes:"",
|
|
|
+ keyword:'',
|
|
|
}
|
|
|
},
|
|
|
onReady() {
|
|
@@ -399,4 +410,17 @@
|
|
|
border: 1px solid #ff7b00;
|
|
|
color: #ff7b00;
|
|
|
}
|
|
|
+ .head-head{
|
|
|
+ background: #fff;
|
|
|
+ padding:24rpx;
|
|
|
+ position: fixed;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ top: 80rpx;
|
|
|
+ z-index: 991;
|
|
|
+ }
|
|
|
+ .head-head-placeholder{
|
|
|
+ height: 112rpx;
|
|
|
+
|
|
|
+ }
|
|
|
</style>
|