diff --git a/src/components/YLSelect.vue b/src/components/YLSelect.vue
index a663699..f89fb02 100644
--- a/src/components/YLSelect.vue
+++ b/src/components/YLSelect.vue
@@ -12,7 +12,7 @@
:value="item.value"
:disabled="item.disabled"
>
-
+
diff --git a/src/router/index.ts b/src/router/index.ts
index 65cdbaf..859375b 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -1,6 +1,7 @@
import { createRouter, createWebHistory } from 'vue-router';
import layout from '@/layouts/index.vue';
import Design from '@/views/Design/Index.vue';
+import Preview from '@/views/Design/Preview.vue';
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
@@ -43,10 +44,13 @@ const router = createRouter({
path: '/design',
name: 'design',
meta: {},
- // route level code-splitting
- // this generates a separate chunk (About.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
component: Design
+ },
+ {
+ path: '/preview',
+ name: 'preview',
+ meta: {},
+ component: Preview
}
]
});
diff --git a/src/views/Design/Index.vue b/src/views/Design/Index.vue
index 2476c83..e622ffd 100644
--- a/src/views/Design/Index.vue
+++ b/src/views/Design/Index.vue
@@ -43,7 +43,25 @@
:active="chooseQuestionId === element.id"
sn="lXEBBpE2"
/>
-
+
+
+
+
+
+
+
+
+ {{ act.label }}
+
+
+
+
+
+
@@ -60,6 +78,7 @@
diff --git a/src/views/Design/Preview.vue b/src/views/Design/Preview.vue
new file mode 100644
index 0000000..b1be816
--- /dev/null
+++ b/src/views/Design/Preview.vue
@@ -0,0 +1,48 @@
+
+
+
+
+
diff --git a/src/views/Design/components/ActionCompoents/QuestionAction.vue b/src/views/Design/components/ActionCompoents/QuestionAction.vue
index b6c7ff7..28359ee 100644
--- a/src/views/Design/components/ActionCompoents/QuestionAction.vue
+++ b/src/views/Design/components/ActionCompoents/QuestionAction.vue
@@ -44,9 +44,6 @@
{{ getSkipTypeText(0) }}
-
-
-
diff --git a/src/views/Design/components/ActionCompoents/components/QuestionBefore.vue b/src/views/Design/components/ActionCompoents/components/QuestionBefore.vue
index 6dfb78b..a52af10 100644
--- a/src/views/Design/components/ActionCompoents/components/QuestionBefore.vue
+++ b/src/views/Design/components/ActionCompoents/components/QuestionBefore.vue
@@ -173,7 +173,8 @@ skipOption.push(
.map((item) => {
return {
value: item.question_index,
- label: item.stem
+ // todo 吧title Q1 Q2 放到 题目的前面
+ label: item.title + item.stem
};
})
);
diff --git a/src/views/Design/components/ChooseQuestion.vue b/src/views/Design/components/ChooseQuestion.vue
index 0c87162..2a8eef2 100644
--- a/src/views/Design/components/ChooseQuestion.vue
+++ b/src/views/Design/components/ChooseQuestion.vue
@@ -8,11 +8,8 @@
-
-
-
- 添加选项
-
+
+
{{}}
@@ -41,9 +38,6 @@