mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-09-12 16:40:40 +08:00
refactor: 整体优化项目页面与组件样式与结构
1. 移除冗余组件注释与老旧类名,统一样式规范 2. 新增自定义导航栏适配,修复导航栏层级与返回按钮逻辑 3. 调整列表页面布局,统一添加box-border与间距规范 4. 优化友链弹窗与联系页面样式,修复文案与交互细节 5. 重构关于与免责声明页面,适配动态站点信息 6. 统一瞬间页面与投票页面的UI风格与代码结构
This commit is contained in:
@@ -184,18 +184,18 @@
|
||||
|
||||
<wd-sticky>
|
||||
<scroll-view scroll-x class="w-full whitespace-nowrap" :show-scrollbar="false">
|
||||
<view class="flex gap-2 px-3 pb-1 pt-2">
|
||||
<view class="uh-global-card-glass uh-shadow-xs inline-block border rounded-2xl px-4 py-1.5 text-sm"
|
||||
<view class="box-border flex gap-2 px-3 pb-1 pt-2">
|
||||
<view class="flex-1 uh-global-card-glass uh-shadow-xs inline-flex border rounded-2xl px-4 py-1.5 text-sm"
|
||||
:class="activeType === '' ? 'bg-primary font-bold' : 'text-gray-500'" @click="activeType = ''">
|
||||
全部
|
||||
</view>
|
||||
<view v-for="(type) in typeOptions" :key="type.typeName || '__none__'"
|
||||
class="uh-global-card-glass uh-shadow-xs inline-flex items-center gap-1 border rounded-2xl px-4 py-1.5 text-sm"
|
||||
<view v-for="(type) in typeOptions" :key="type.typeDisplayName"
|
||||
class="flex-1 box-border uh-global-card-glass uh-shadow-xs inline-flex items-center gap-1 border rounded-2xl px-4 py-1.5 text-sm"
|
||||
:class="activeType === type.typeName ? 'bg-primary font-bold' : 'text-gray-500'"
|
||||
@click="activeType = activeType === type.typeName ? '' : type.typeName">
|
||||
<view v-if="type.typeColor" class="shrink-0 h-2 w-2 rounded-full"
|
||||
:style="{ backgroundColor: type.typeColor }" />
|
||||
<text class="shrink-0">{{ type.typeDisplayName }}</text>
|
||||
<view class="shrink-0">{{ type.typeDisplayName }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
||||
Reference in New Issue
Block a user