更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -49,12 +49,6 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
/**
|
||||
* 移动端通用底部选择器(单选)。
|
||||
* 单据开单要选商品/仓库/客商/审批流,选项动辄上千条,
|
||||
* 原生 picker 无法搜索,这里统一用「搜索 + 列表 + 点选即回填」的抽屉。
|
||||
* 默认本地过滤;数据量大时传 remote 并监听 search,由页面做服务端搜索。
|
||||
*/
|
||||
import { computed, ref, watch } from 'vue'
|
||||
import FaIcon from '@/components/FaIcon.vue'
|
||||
|
||||
@@ -63,12 +57,9 @@ const props = defineProps({
|
||||
title: { type: String, default: '请选择' },
|
||||
placeholder: { type: String, default: '搜索' },
|
||||
options: { type: Array, default: () => [] },
|
||||
/** 当前选中值,用于高亮(可选) */
|
||||
modelValue: { type: [String, Number, null], default: null },
|
||||
/** 服务端搜索:关键字变化时向外抛 search,不在本地过滤 */
|
||||
remote: { type: Boolean, default: false },
|
||||
loading: { type: Boolean, default: false },
|
||||
/** 列表顶部提示(如「仅显示前 50 条」) */
|
||||
tip: { type: String, default: '' }
|
||||
})
|
||||
|
||||
@@ -173,7 +164,6 @@ function close() {
|
||||
min-height: 0;
|
||||
max-height: 52vh;
|
||||
padding: 0 $page-padding-x 20rpx;
|
||||
/* scroll-view 默认 content-box,加左右内边距会把内容顶出屏幕右侧 */
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user