From d8b41fff43a2cee6a8f714ffa807623b15803786 Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Fri, 20 Oct 2023 15:21:35 +0800 Subject: [PATCH] fix:立行立改Uniapp小程序新建项目 --- uni_modules/uview-ui/components/u-button/props.js | 161 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 161 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-button/props.js b/uni_modules/uview-ui/components/u-button/props.js new file mode 100644 index 0000000..07fd844 --- /dev/null +++ b/uni_modules/uview-ui/components/u-button/props.js @@ -0,0 +1,161 @@ +/* + * @Author : LQ + * @Description : + * @version : 1.0 + * @Date : 2021-08-16 10:04:04 + * @LastAuthor : LQ + * @lastTime : 2021-08-16 10:04:24 + * @FilePath : /u-view2.0/uview-ui/components/u-button/props.js + */ +export default { + props: { + // ��������������� + hairline: { + type: Boolean, + default: uni.$u.props.button.hairline + }, + // ������������������������info���primary���error���warning���success + type: { + type: String, + default: uni.$u.props.button.type + }, + // ���������������large���normal���small���mini + size: { + type: String, + default: uni.$u.props.button.size + }, + // ���������������circle������������������������square��������������� + shape: { + type: String, + default: uni.$u.props.button.shape + }, + // ������������������ + plain: { + type: Boolean, + default: uni.$u.props.button.plain + }, + // ������������������ + disabled: { + type: Boolean, + default: uni.$u.props.button.disabled + }, + // ��������������� + loading: { + type: Boolean, + default: uni.$u.props.button.loading + }, + // ��������������������� + loadingText: { + type: [String, Number], + default: uni.$u.props.button.loadingText + }, + // ������������������������ + loadingMode: { + type: String, + default: uni.$u.props.button.loadingMode + }, + // ������������������ + loadingSize: { + type: [String, Number], + default: uni.$u.props.button.loadingSize + }, + // ���������������������������uniapp������������button������������������ + // https://uniapp.dcloud.io/component/button + openType: { + type: String, + default: uni.$u.props.button.openType + }, + // ������ <form> ������������������������������ <form> ��������� submit/reset ������ + // ���������submit���������������������reset������������������ + formType: { + type: String, + default: uni.$u.props.button.formType + }, + // ������ APP ��������� APP ������������������open-type=launchApp��������� + // ���������������������QQ��������������� + appParameter: { + type: String, + default: uni.$u.props.button.appParameter + }, + // ��������������������������������������������������������������������������������� + hoverStopPropagation: { + type: Boolean, + default: uni.$u.props.button.hoverStopPropagation + }, + // ������������������������������������zh_CN ���������������zh_TW ���������������en ��������������������������������� + lang: { + type: String, + default: uni.$u.props.button.lang + }, + // ���������������open-type="contact"������������������������������������ + sessionFrom: { + type: String, + default: uni.$u.props.button.sessionFrom + }, + // ������������������������������open-type="contact"��������� + // ��������������������������������������������� + sendMessageTitle: { + type: String, + default: uni.$u.props.button.sendMessageTitle + }, + // ���������������������������������������������������open-type="contact"��������� + // ��������������������������������������������������� + sendMessagePath: { + type: String, + default: uni.$u.props.button.sendMessagePath + }, + // ������������������������������open-type="contact"��������� + // ��������������������������������������������������� + sendMessageImg: { + type: String, + default: uni.$u.props.button.sendMessageImg + }, + // ������������������������������������������������������ true������������������������������������������������"���������������������������"��������� + // ���������������������������������������������������open-type="contact"��������� + showMessageCard: { + type: Boolean, + default: uni.$u.props.button.showMessageCard + }, + // ���������������������������������������data-xxx���������������target.dataset.name������ + dataName: { + type: String, + default: uni.$u.props.button.dataName + }, + // ������������������������������������������ + throttleTime: { + type: [String, Number], + default: uni.$u.props.button.throttleTime + }, + // ��������������������������������������������� + hoverStartTime: { + type: [String, Number], + default: uni.$u.props.button.hoverStartTime + }, + // ��������������������������������������������������� + hoverStayTime: { + type: [String, Number], + default: uni.$u.props.button.hoverStayTime + }, + // ������������������������������props������������������slot������������ + // nvue������������������������������ + text: { + type: [String, Number], + default: uni.$u.props.button.text + }, + // ������������ + icon: { + type: String, + default: uni.$u.props.button.icon + }, + // ������������ + iconColor: { + type: String, + default: uni.$u.props.button.icon + }, + // ���������������������������linear-gradient��������� + color: { + type: String, + default: uni.$u.props.button.color + } + } +} -- Gitblit v1.8.0