diff --git a/components.d.ts b/components.d.ts
index 293ab83..4a2e464 100644
--- a/components.d.ts
+++ b/components.d.ts
@@ -16,11 +16,11 @@ declare module 'vue' {
VanCheckbox: typeof import('vant/es')['Checkbox']
VanCheckboxGroup: typeof import('vant/es')['CheckboxGroup']
VanCol: typeof import('vant/es')['Col']
+ VanDialog: typeof import('vant/es')['Dialog']
VanDivider: typeof import('vant/es')['Divider']
VanField: typeof import('vant/es')['Field']
VanIcon: typeof import('vant/es')['Icon']
VanPopup: typeof import('vant/es')['Popup']
- VanRate: typeof import('vant/es')['Rate']
VanRow: typeof import('vant/es')['Row']
VanSearch: typeof import('vant/es')['Search']
VanSwitch: typeof import('vant/es')['Switch']
diff --git a/src/assets/css/main.scss b/src/assets/css/main.scss
index fcd2f48..9c41435 100644
--- a/src/assets/css/main.scss
+++ b/src/assets/css/main.scss
@@ -1,6 +1,6 @@
-@import 'base.scss';
+@import 'base';
@import '../../fonts/iconfont.css';
-@import 'vant.scss';
+@import 'vant';
a,
.green {
diff --git a/src/components/YLSelect.vue b/src/components/YLSelect.vue
index c92ebf7..a663699 100644
--- a/src/components/YLSelect.vue
+++ b/src/components/YLSelect.vue
@@ -2,8 +2,8 @@
-
+
@@ -65,7 +65,7 @@ export default defineComponent({
};
const format = (html) => {
- let div = document.createElement('div');
+ const div = document.createElement('div');
div.innerHTML = html;
return div.innerText;
};
@@ -85,6 +85,7 @@ export default defineComponent({
font-size: 16px; /* 增加字体大小 */
line-height: 1.5; /* 增加行高 */
}
+
.yl-select-label {
//width: 80%;
//overflow: hidden;
@@ -95,7 +96,7 @@ export default defineComponent({
diff --git a/src/views/Design/components/ActionCompoents/OptionAction.vue b/src/views/Design/components/ActionCompoents/OptionAction.vue
index ea3fcbf..92bcc63 100644
--- a/src/views/Design/components/ActionCompoents/OptionAction.vue
+++ b/src/views/Design/components/ActionCompoents/OptionAction.vue
@@ -47,9 +47,9 @@
diff --git a/src/views/Design/components/ActionCompoents/QuestionAction.vue b/src/views/Design/components/ActionCompoents/QuestionAction.vue
index 7707dc1..b6c7ff7 100644
--- a/src/views/Design/components/ActionCompoents/QuestionAction.vue
+++ b/src/views/Design/components/ActionCompoents/QuestionAction.vue
@@ -53,9 +53,9 @@
@@ -81,11 +81,7 @@
-
+
@@ -96,10 +92,10 @@ import { ref } from 'vue';
import { useCounterStore } from '@/stores/counter';
import { storeToRefs } from 'pinia';
import QuestionBefore from '@/views/Design/components/ActionCompoents/components/QuestionBefore.vue';
+import { v4 as uuidv4 } from 'uuid';
const store = useCounterStore();
const { questionsInfo } = storeToRefs(store);
const logics = questionsInfo.value.logics;
-import { v4 as uuidv4 } from 'uuid';
const props = defineProps({
index: {
diff --git a/src/views/Design/components/ActionCompoents/components/QuestionBefore.vue b/src/views/Design/components/ActionCompoents/components/QuestionBefore.vue
index 756f2e6..6dfb78b 100644
--- a/src/views/Design/components/ActionCompoents/components/QuestionBefore.vue
+++ b/src/views/Design/components/ActionCompoents/components/QuestionBefore.vue
@@ -84,8 +84,8 @@
@@ -354,9 +354,11 @@ const logicIf = (value, index) => {
flex: none;
width: 40px;
}
+
.jump-text {
width: 50px;
}
+
.question-before {
& .if {
flex: none;
@@ -386,6 +388,7 @@ const logicIf = (value, index) => {
& .option {
width: 100%;
}
+
& .skip-select {
width: 200px;
}
diff --git a/src/views/Survey/views/Create/Index.vue b/src/views/Survey/views/Create/Index.vue
index 99d2518..5133bce 100644
--- a/src/views/Survey/views/Create/Index.vue
+++ b/src/views/Survey/views/Create/Index.vue
@@ -20,8 +20,8 @@
添加题目
-
+
+