refactor(css): 重构样式文件并优化主题样式

- 新增 theme.scss 文件,定义主题颜色- 新增 public.scss 文件,统一公共样式
- 修改 main.scss 文件,引入新的样式文件
-优化容器背景色渐变效果- 调整导航栏样式,增加面包屑导航
-统一问题类型样式,优化选择题样式
This commit is contained in:
陈昱达
2025-03-14 13:42:32 +08:00
parent b46104fa10
commit 10981d439f
15 changed files with 240 additions and 468 deletions

View File

@@ -41,7 +41,7 @@
</template>
</option-action>
</van-radio-group>
<van-checkbox-group v-if="element.question_type === 2" shape="square">
<van-checkbox-group v-if="element.question_type === 2" v-model="value" shape="square">
<option-action
v-model:data="element.options[optionIndex]"
:active="active"
@@ -96,6 +96,7 @@ const props = defineProps({
}
});
const { element } = toRefs(props);
const value = ref([]);
const emit = defineEmits(['update:element']);
const emitValue = () => {
emit('update:element', element.value);