From f4991944d13b94355fb8aaf03dad7d60ca530ee9 Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Thu, 30 Nov 2023 16:36:45 +0800
Subject: [PATCH] fix:是否修改
---
uni_modules/uview-ui/components/u-image/props.js | 84 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 84 insertions(+), 0 deletions(-)
diff --git a/uni_modules/uview-ui/components/u-image/props.js b/uni_modules/uview-ui/components/u-image/props.js
new file mode 100644
index 0000000..2eabb74
--- /dev/null
+++ b/uni_modules/uview-ui/components/u-image/props.js
@@ -0,0 +1,84 @@
+export default {
+ props: {
+ // ������������
+ src: {
+ type: String,
+ default: uni.$u.props.image.src
+ },
+ // ������������
+ mode: {
+ type: String,
+ default: uni.$u.props.image.mode
+ },
+ // ���������������������
+ width: {
+ type: [String, Number],
+ default: uni.$u.props.image.width
+ },
+ // ���������������������
+ height: {
+ type: [String, Number],
+ default: uni.$u.props.image.height
+ },
+ // ���������������circle-���������square-������
+ shape: {
+ type: String,
+ default: uni.$u.props.image.shape
+ },
+ // ���������������������
+ radius: {
+ type: [String, Number],
+ default: uni.$u.props.image.radius
+ },
+ // ������������������������������������App������������������������������������������
+ lazyLoad: {
+ type: Boolean,
+ default: uni.$u.props.image.lazyLoad
+ },
+ // ������������������������������������������������������
+ showMenuByLongpress: {
+ type: Boolean,
+ default: uni.$u.props.image.showMenuByLongpress
+ },
+ // ������������������������������������
+ loadingIcon: {
+ type: String,
+ default: uni.$u.props.image.loadingIcon
+ },
+ // ���������������������������������������
+ errorIcon: {
+ type: String,
+ default: uni.$u.props.image.errorIcon
+ },
+ // ������������������������������������������������slot
+ showLoading: {
+ type: Boolean,
+ default: uni.$u.props.image.showLoading
+ },
+ // ���������������������������������������������������slot
+ showError: {
+ type: Boolean,
+ default: uni.$u.props.image.showError
+ },
+ // ������������������������
+ fade: {
+ type: Boolean,
+ default: uni.$u.props.image.fade
+ },
+ // ���������������������������������������������������
+ webp: {
+ type: Boolean,
+ default: uni.$u.props.image.webp
+ },
+ // ���������������������ms
+ duration: {
+ type: [String, Number],
+ default: uni.$u.props.image.duration
+ },
+ // ���������������������������������������������������������������������������
+ bgColor: {
+ type: String,
+ default: uni.$u.props.image.bgColor
+ }
+ }
+}
--
Gitblit v1.8.0