From 1070f7bbb0f4dda00fd40b8e5e14fa23b8c4179c Mon Sep 17 00:00:00 2001 From: yinjiacheng Date: Wed, 9 Aug 2023 17:56:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0text=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 8 ++- pages/component/text/text-props.uvue | 92 ++++++++++++++++++++++++++++ pages/component/text/text.uvue | 10 ++- 3 files changed, 107 insertions(+), 3 deletions(-) create mode 100644 pages/component/text/text-props.uvue diff --git a/pages.json b/pages.json index f507a724..99b473a8 100644 --- a/pages.json +++ b/pages.json @@ -25,7 +25,13 @@ "style": { "navigationBarTitleText": "text" } - }, + }, + { + "path": "pages/component/text/text-props", + "style": { + "navigationBarTitleText": "text-props" + } + }, { "path": "pages/component/progress/progress", "style": { diff --git a/pages/component/text/text-props.uvue b/pages/component/text/text-props.uvue new file mode 100644 index 00000000..b22b1179 --- /dev/null +++ b/pages/component/text/text-props.uvue @@ -0,0 +1,92 @@ + + + + + \ No newline at end of file diff --git a/pages/component/text/text.uvue b/pages/component/text/text.uvue index 050db7e7..727f89ac 100644 --- a/pages/component/text/text.uvue +++ b/pages/component/text/text.uvue @@ -7,7 +7,8 @@ - + + @@ -52,7 +53,12 @@ this.canAdd = this.extraLine.length < 12; this.canRemove = this.extraLine.length > 0; } - } + }, + textProps: function () { + uni.navigateTo({ + url: '/pages/component/text/text-props' + }) + } } } -- GitLab