From 8383f2b2b2638468763a49b70cbefbd66fbd04c9 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期二, 07 五月 2024 20:33:20 +0800 Subject: [PATCH] # --- pages/phyz/bcp/bcpDbList.vue | 51 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 49 insertions(+), 2 deletions(-) diff --git a/pages/phyz/bcp/bcpDbList.vue b/pages/phyz/bcp/bcpDbList.vue index 11993dd..97868b2 100644 --- a/pages/phyz/bcp/bcpDbList.vue +++ b/pages/phyz/bcp/bcpDbList.vue @@ -49,10 +49,28 @@ <view style="height: 160rpx;text-align: center;color: #b9b9b9;"> - 宸茬粡鍒板簳浜� - </view> + <!-- 閫夋嫨妤煎眰寮圭獥 --> + <view> + <uni-popup ref="filter" type="dialog"> + <view class="filter-popup"> + <!-- 鏍囬 --> + <view class="title">绛涢��</view> + <view class="popup-item" style="background-color: #dfdfdf;"> + <view class="item-cl"> + <view>閿�鍞鍗曪細</view> + <input type="text" v-model="searchValue"> + </view> + </view> + <view class="btn filter-btn"> + <view class="btn-right" @click="filterConfirm()">寮�濮嬭皟鎷�</view> + </view> + </view> + </uni-popup> + </view> <!-- 搴曢儴鎿嶄綔鎸夐挳 --> <view class="buttom"> - <button size="mini" @click="unAuto('warn')">鎵嬪姩</button> - <button size="mini" type="primary" @click="auto('warn')">鑷姩</button> + <button size="mini" @click="isAuto('unAuto')">鎵嬪姩</button> + <button size="mini" type="primary" @click="isAuto('auto')">鑷姩</button> </view> </view> </template> @@ -233,6 +251,9 @@ } this.upDateCount() }, + isAuto(type) { + this.$refs.filter.open('bottom') + } } } </script> @@ -388,5 +409,31 @@ font-size: 22px; color: #3a3a3a; } + .filter-popup { + width: 100%; + height: 80vh; + background-color: #FFF; + position: relative; + border-radius: 30rpx 30rpx 0rpx 0rpx; + } + .filter-popup-item { + height: 100%; + width: 100%; + background-color: #c9cdd5; + } + .filter-popup-item-left { + width: 30%; + height: 100%; + background-color: #DCDFE6; + + } + .filter-btn { + position: absolute; + left: 0; + bottom: 0; + width: 100%; + background-color: #FFF; + } + </style> -- Gitblit v1.9.1