refactor(css): 优化 CSS 文件引用和样式定义
- 移除 CSS 文件名中的 .scss后缀 - 调整 YLSelect 组件样式 - 优化 QuestionBefore 组件布局- 统一 ActionCompoents 样式 - 调整 Survey 创建页面样式 - 更新 components.d.ts 文件
This commit is contained in:
@@ -53,9 +53,9 @@
|
||||
<van-action-sheet
|
||||
v-model:show="questionShow"
|
||||
title=""
|
||||
@select="questionMove"
|
||||
:actions="actions"
|
||||
cancel-text="取消"
|
||||
@select="questionMove"
|
||||
>
|
||||
<!-- <van-cell-group :border="false" class="ml10">-->
|
||||
<!-- <van-cell title="下移题目" :border="false" @click="questionMove('down')"></van-cell>-->
|
||||
@@ -81,11 +81,7 @@
|
||||
</header>
|
||||
<!-- 题前 题后逻辑 本来打算拆成两个 但是 只有最后的处理不一样-->
|
||||
<div class="before-or-after">
|
||||
<question-before
|
||||
v-model="questionsInfo.logics"
|
||||
:skipType="skipType"
|
||||
:activeQuestion="activeQuestion"
|
||||
></question-before>
|
||||
<question-before :skipType="skipType" :activeQuestion="activeQuestion"></question-before>
|
||||
</div>
|
||||
</div>
|
||||
</van-popup>
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user