feat: 优化用户界面组件与调整布局样式

- 新增田字格组件用于汉字书写练习
- 调整模板详情页的生成参数和页面编号
- 优化用户主页轮播图和游戏页布局
- 修复答题结果页图片显示和状态切换问题
- 移除卡片悬停阴影并优化背景图片显示
- 更新状态管理注释和类型声明
This commit is contained in:
2026-03-03 08:35:28 +08:00
parent 81643c61ae
commit 94af0bec6a
16 changed files with 121 additions and 157 deletions

View File

@ -90,7 +90,7 @@ onMounted(() => {
<div v-if="loading" class="h-full w-full flex-center">
<div class="i-svg-spinners-90-ring-with-bg text-4xl text-primary" />
</div>
<NCarousel v-else-if="events.length > 0" show-arrow draggable dot-placement="bottom" class="group h-full">
<NCarousel v-else-if="events.length > 0" show-arrow :show-dots="false" draggable dot-placement="bottom" class="group h-full">
<template #arrow="{ prev, next }">
<div class="custom-arrow left" @click="prev">
<icon-ic-round-arrow-back class="text-4xl text-icon text-white" />
@ -154,6 +154,7 @@ onMounted(() => {
width: 340px;
height: 480px;
background: url('@/assets/imgs/user/event-card-bg.svg') no-repeat center center;
background-size: 100% 100%;
border-radius: 8px 8px 40px 40px;
position: relative;
cursor: pointer;