From d1448cb0ef10f358bb7bddb4e1ec268515e0b787 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期二, 15 七月 2025 11:46:57 +0800 Subject: [PATCH] 项目初始化 --- uni_modules/uview-ui/components/u-back-top/props.js | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-back-top/props.js b/uni_modules/uview-ui/components/u-back-top/props.js new file mode 100644 index 0000000..6c702c2 --- /dev/null +++ b/uni_modules/uview-ui/components/u-back-top/props.js @@ -0,0 +1,54 @@ +export default { + props: { + // 杩斿洖椤堕儴鐨勫舰鐘讹紝circle-鍦嗗舰锛宻quare-鏂瑰舰 + mode: { + type: String, + default: uni.$u.props.backtop.mode + }, + // 鑷畾涔夊浘鏍� + icon: { + type: String, + default: uni.$u.props.backtop.icon + }, + // 鎻愮ず鏂囧瓧 + text: { + type: String, + default: uni.$u.props.backtop.text + }, + // 杩斿洖椤堕儴婊氬姩鏃堕棿 + duration: { + type: [String, Number], + default: uni.$u.props.backtop.duration + }, + // 婊氬姩璺濈 + scrollTop: { + type: [String, Number], + default: uni.$u.props.backtop.scrollTop + }, + // 璺濈椤堕儴澶氬皯璺濈鏄剧ず锛屽崟浣峱x + top: { + type: [String, Number], + default: uni.$u.props.backtop.top + }, + // 杩斿洖椤堕儴鎸夐挳鍒板簳閮ㄧ殑璺濈锛屽崟浣峱x + bottom: { + type: [String, Number], + default: uni.$u.props.backtop.bottom + }, + // 杩斿洖椤堕儴鎸夐挳鍒板彸杈圭殑璺濈锛屽崟浣峱x + right: { + type: [String, Number], + default: uni.$u.props.backtop.right + }, + // 灞傜骇 + zIndex: { + type: [String, Number], + default: uni.$u.props.backtop.zIndex + }, + // 鍥炬爣鐨勬牱寮忥紝瀵硅薄褰㈠紡 + iconStyle: { + type: Object, + default: uni.$u.props.backtop.iconStyle + } + } +} -- Gitblit v1.9.3