From 767f8f90950ec6e45aecb4e58caab99204e39ef5 Mon Sep 17 00:00:00 2001
From: LCJ-MinYa <1049468118@qq.com>
Date: Thu, 26 Dec 2024 16:03:40 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=87=E6=9C=AC=E4=B8=A4=E7=AB=AF?=
=?UTF-8?q?=E5=AF=B9=E9=BD=90=E3=80=82=20=E6=AD=A5=E9=AA=A4=E6=9D=A1?=
=?UTF-8?q?=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/router/modules/demo.ts | 2 +-
src/views/demo/stepStyle.vue | 84 ++++++++++++++++++++++++++++++++++++
src/views/demo/textAlign.vue | 62 ++++++++++++++++++++++++++
3 files changed, 147 insertions(+), 1 deletion(-)
create mode 100644 src/views/demo/stepStyle.vue
create mode 100644 src/views/demo/textAlign.vue
diff --git a/src/router/modules/demo.ts b/src/router/modules/demo.ts
index 09e2769..22b9e6d 100644
--- a/src/router/modules/demo.ts
+++ b/src/router/modules/demo.ts
@@ -45,7 +45,7 @@ const components = { ...firstLevelComponents, ...secondLevelComponents };
const demoRoutes = Object.keys(components).map((path) => {
const isHasIndex = path.includes('/index.vue');
let cptPath = path.replace(route.FILE_NAME_PREFIX, '');
- cptPath = isHasIndex ? cptPath.replace('/index.vue', '') : path.replace('.vue', '');
+ cptPath = isHasIndex ? cptPath.replace('/index.vue', '') : cptPath.replace('.vue', '');
return {
path: cptPath,
name: route.convertPathToName(cptPath),
diff --git a/src/views/demo/stepStyle.vue b/src/views/demo/stepStyle.vue
new file mode 100644
index 0000000..2c08f6a
--- /dev/null
+++ b/src/views/demo/stepStyle.vue
@@ -0,0 +1,84 @@
+
+
+
+
+
+ {{ item.title }}
+
+
+
+
+
+
+
+
diff --git a/src/views/demo/textAlign.vue b/src/views/demo/textAlign.vue
new file mode 100644
index 0000000..577689d
--- /dev/null
+++ b/src/views/demo/textAlign.vue
@@ -0,0 +1,62 @@
+
+
+ 文字对齐方式一
+
+ {{ cItem }}
+
+
+ 文字对齐方式二
+
+ {{ item }}
+
+
+ 文字对齐方式三
+
+ {{ item }}
+
+
+
+
+
+
+