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-cell/props.js | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 110 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-cell/props.js b/uni_modules/uview-ui/components/u-cell/props.js new file mode 100644 index 0000000..da03330 --- /dev/null +++ b/uni_modules/uview-ui/components/u-cell/props.js @@ -0,0 +1,110 @@ +export default { + props: { + // ������ + title: { + type: [String, Number], + default: uni.$u.props.cell.title + }, + // ��������������������������� + label: { + type: [String, Number], + default: uni.$u.props.cell.label + }, + // ��������������� + value: { + type: [String, Number], + default: uni.$u.props.cell.value + }, + // ���������������������������������������(������������������������������������) + icon: { + type: String, + default: uni.$u.props.cell.icon + }, + // ������������cell + disabled: { + type: Boolean, + default: uni.$u.props.cell.disabled + }, + // ��������������������� + border: { + type: Boolean, + default: uni.$u.props.cell.border + }, + // ������������������������(������������������������value������) + center: { + type: Boolean, + default: uni.$u.props.cell.center + }, + // ������������������URL������ + url: { + type: String, + default: uni.$u.props.cell.url + }, + // ������������������������������������������uView���������route������������������������������������ + linkType: { + type: String, + default: uni.$u.props.cell.linkType + }, + // ������������������������(������������������������������������) + clickable: { + type: Boolean, + default: uni.$u.props.cell.clickable + }, + // ��������������������������������������������� + isLink: { + type: Boolean, + default: uni.$u.props.cell.isLink + }, + // ������������������������������������������(���������������������������input������) + required: { + type: Boolean, + default: uni.$u.props.cell.required + }, + // ��������������������� + rightIcon: { + type: String, + default: uni.$u.props.cell.rightIcon + }, + // ���������������������������������������left���up���down + arrowDirection: { + type: String, + default: uni.$u.props.cell.arrowDirection + }, + // ������������������ + iconStyle: { + type: [Object, String], + default: () => { + return uni.$u.props.cell.iconStyle + } + }, + // ��������������������������� + rightIconStyle: { + type: [Object, String], + default: () => { + return uni.$u.props.cell.rightIconStyle + } + }, + // ��������������� + titleStyle: { + type: [Object, String], + default: () => { + return uni.$u.props.cell.titleStyle + } + }, + // ���������������������������������large + size: { + type: String, + default: uni.$u.props.cell.size + }, + // ������cell������������������������ + stop: { + type: Boolean, + default: uni.$u.props.cell.stop + }, + // ������������cell������������������ + name: { + type: [Number, String], + default: uni.$u.props.cell.name + } + } +} -- Gitblit v1.8.0