From 627c3e0a6920131d75eafa4646db373ccc936546 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 26 十月 2023 13:52:07 +0800
Subject: [PATCH] 小程序diamante
---
minipro_standard/uni_modules/uview-ui/components/u-image/props.js | 166 +++++++++++++++++++++++++++---------------------------
1 files changed, 83 insertions(+), 83 deletions(-)
diff --git a/minipro_standard/uni_modules/uview-ui/components/u-image/props.js b/minipro_standard/uni_modules/uview-ui/components/u-image/props.js
index 334fdf5..2eabb74 100644
--- a/minipro_standard/uni_modules/uview-ui/components/u-image/props.js
+++ b/minipro_standard/uni_modules/uview-ui/components/u-image/props.js
@@ -1,84 +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
- },
- // 鍥剧墖褰㈢姸锛宑ircle-鍦嗗舰锛宻quare-鏂瑰舰
- shape: {
- type: String,
- default: uni.$u.props.image.shape
- },
- // 鍦嗚锛屽崟浣嶄换鎰�
- radius: {
- type: [String, Number],
- default: uni.$u.props.image.radius
- },
- // 鏄惁鎳掑姞杞斤紝寰俊灏忕▼搴忋�丄pp銆佺櫨搴﹀皬绋嬪簭銆佸瓧鑺傝烦鍔ㄥ皬绋嬪簭
- 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
- },
- // 鏄惁鏄剧ず鍔犺浇涓殑鍥炬爣鎴栬�呰嚜瀹氫箟鐨剆lot
- showLoading: {
- type: Boolean,
- default: uni.$u.props.image.showLoading
- },
- // 鏄惁鏄剧ず鍔犺浇閿欒鐨勫浘鏍囨垨鑰呰嚜瀹氫箟鐨剆lot
- 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
- },
- // 杩囨浮鏃堕棿锛屽崟浣峬s
- duration: {
- type: [String, Number],
- default: uni.$u.props.image.duration
- },
- // 鑳屾櫙棰滆壊锛岀敤浜庢繁鑹查〉闈㈠姞杞藉浘鐗囨椂锛屼负浜嗗拰鑳屾櫙鑹茶瀺鍚�
- bgColor: {
- type: String,
- default: uni.$u.props.image.bgColor
- }
- }
+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
+ },
+ // 鍥剧墖褰㈢姸锛宑ircle-鍦嗗舰锛宻quare-鏂瑰舰
+ shape: {
+ type: String,
+ default: uni.$u.props.image.shape
+ },
+ // 鍦嗚锛屽崟浣嶄换鎰�
+ radius: {
+ type: [String, Number],
+ default: uni.$u.props.image.radius
+ },
+ // 鏄惁鎳掑姞杞斤紝寰俊灏忕▼搴忋�丄pp銆佺櫨搴﹀皬绋嬪簭銆佸瓧鑺傝烦鍔ㄥ皬绋嬪簭
+ 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
+ },
+ // 鏄惁鏄剧ず鍔犺浇涓殑鍥炬爣鎴栬�呰嚜瀹氫箟鐨剆lot
+ showLoading: {
+ type: Boolean,
+ default: uni.$u.props.image.showLoading
+ },
+ // 鏄惁鏄剧ず鍔犺浇閿欒鐨勫浘鏍囨垨鑰呰嚜瀹氫箟鐨剆lot
+ 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
+ },
+ // 杩囨浮鏃堕棿锛屽崟浣峬s
+ duration: {
+ type: [String, Number],
+ default: uni.$u.props.image.duration
+ },
+ // 鑳屾櫙棰滆壊锛岀敤浜庢繁鑹查〉闈㈠姞杞藉浘鐗囨椂锛屼负浜嗗拰鑳屾櫙鑹茶瀺鍚�
+ bgColor: {
+ type: String,
+ default: uni.$u.props.image.bgColor
+ }
+ }
}
--
Gitblit v1.9.3