Files
frontend-app/uni_modules/uview-plus/components/u-picker/picker.js
T

44 lines
1.1 KiB
JavaScript
Raw Normal View History

2025-12-16 09:13:48 +08:00
/*
* @Author : LQ
* @Description :
2026-07-23 14:31:06 +08:00
* @version : 3.0
2025-12-16 09:13:48 +08:00
* @Date : 2021-08-20 16:44:21
2026-07-23 14:31:06 +08:00
* @LastAuthor : jry
* @lastTime : 2025-12-19 08:55:21
* @FilePath : /uview-plus/libs/config/props/picker.js
2025-12-16 09:13:48 +08:00
*/
2026-07-23 14:31:06 +08:00
import { t } from '../../libs/i18n';
2025-12-16 09:13:48 +08:00
export default {
// picker
picker: {
show: false,
2026-07-23 14:31:06 +08:00
popupMode: 'bottom',
2025-12-16 09:13:48 +08:00
showToolbar: true,
title: '',
columns: [],
loading: false,
itemHeight: 44,
2026-07-23 14:31:06 +08:00
cancelText: t('up.common.cancel'),
confirmText: t('up.common.confirm'),
2025-12-16 09:13:48 +08:00
cancelColor: '#909193',
2026-07-23 14:31:06 +08:00
confirmColor: '',
2025-12-16 09:13:48 +08:00
visibleItemCount: 5,
keyName: 'text',
2026-07-23 14:31:06 +08:00
valueName: 'value',
2025-12-16 09:13:48 +08:00
closeOnClickOverlay: false,
defaultIndex: [],
2026-07-23 14:31:06 +08:00
immediateChange: true,
zIndex: 10076,
disabled: false,
disabledColor: '',
placeholder: t('up.common.pleaseChoose'),
inputProps: {},
bgColor: '',
round: 0,
duration: 300,
overlayOpacity: 0.5,
pageInline: false
2025-12-16 09:13:48 +08:00
}
2026-07-23 14:31:06 +08:00
};