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-link/props.js | 39 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-link/props.js b/uni_modules/uview-ui/components/u-link/props.js new file mode 100644 index 0000000..d39353f --- /dev/null +++ b/uni_modules/uview-ui/components/u-link/props.js @@ -0,0 +1,39 @@ +export default { + props: { + // 鏂囧瓧棰滆壊 + color: { + type: String, + default: uni.$u.props.link.color + }, + // 瀛椾綋澶у皬锛屽崟浣峱x + fontSize: { + type: [String, Number], + default: uni.$u.props.link.fontSize + }, + // 鏄惁鏄剧ず涓嬪垝绾� + underLine: { + type: Boolean, + default: uni.$u.props.link.underLine + }, + // 瑕佽烦杞殑閾炬帴 + href: { + type: String, + default: uni.$u.props.link.href + }, + // 灏忕▼搴忎腑澶嶅埗鍒扮矘璐存澘鐨勬彁绀鸿 + mpTips: { + type: String, + default: uni.$u.props.link.mpTips + }, + // 涓嬪垝绾块鑹� + lineColor: { + type: String, + default: uni.$u.props.link.lineColor + }, + // 瓒呴摼鎺ョ殑闂锛屼笉浣跨敤slot褰㈠紡浼犲叆锛屾槸鍥犱负nvue涓嬫棤娉曚慨鏀归鑹� + text: { + type: String, + default: uni.$u.props.link.text + } + } +} -- Gitblit v1.9.3