chore: 清理废弃的用户端答题流程代码并优化SCSS导入

移除废弃的`user copy`目录及其所有相关文件,包括组件、类型定义、模拟数据和图片
在vite配置中全局导入SCSS变量,移除各组件中冗余的`@import`语句
更新TypeScript配置以包含build目录,并优化SCSS颜色函数的使用
This commit is contained in:
2026-02-09 09:02:35 +08:00
parent b71a758474
commit 0fd8ef527a
18 changed files with 5 additions and 1564 deletions

View File

@ -101,8 +101,6 @@ function toggleFlip(index: number) {
</template>
<style scoped lang="scss">
@import '@/styles/scss/variables.scss';
.perspective-container {
perspective: 1000px; // [3D透视] 设置观察者距离数值越小透视感越强产生近大远小的3D效果
}

View File

@ -82,8 +82,6 @@ onMounted(() => {
</template>
<style lang="scss" scoped>
@import '@/styles/scss/variables.scss';
.groups-container {
width: 100%;
padding: 0 60px;

View File

@ -81,7 +81,7 @@ onMounted(() => {
</template>
<style lang="scss" scoped>
@import '@/styles/scss/variables.scss';
@use 'sass:color';
.cards-container {
width: 100%;
@ -146,7 +146,7 @@ onMounted(() => {
.event-subtitle {
font-size: 1.1rem;
color: lighten($text-color, 15%);
color: color.adjust($text-color, $lightness: 15%);
}
}